mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-27 07:28:14 +00:00
Generated code
Kubernetes-commit: 93dffdc1af7f9cef48864e7764ffda16e230cab9
This commit is contained in:
parent
f19995f46d
commit
6767d6d397
@ -10657,6 +10657,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: operation
|
- name: operation
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
|
- name: subresource
|
||||||
|
type:
|
||||||
|
scalar: string
|
||||||
- name: time
|
- name: time
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
|
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
|
||||||
|
@ -31,6 +31,7 @@ type ManagedFieldsEntryApplyConfiguration struct {
|
|||||||
Time *v1.Time `json:"time,omitempty"`
|
Time *v1.Time `json:"time,omitempty"`
|
||||||
FieldsType *string `json:"fieldsType,omitempty"`
|
FieldsType *string `json:"fieldsType,omitempty"`
|
||||||
FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"`
|
FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"`
|
||||||
|
Subresource *string `json:"subresource,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ManagedFieldsEntryApplyConfiguration constructs an declarative configuration of the ManagedFieldsEntry type for use with
|
// ManagedFieldsEntryApplyConfiguration constructs an declarative configuration of the ManagedFieldsEntry type for use with
|
||||||
@ -86,3 +87,11 @@ func (b *ManagedFieldsEntryApplyConfiguration) WithFieldsV1(value v1.FieldsV1) *
|
|||||||
b.FieldsV1 = &value
|
b.FieldsV1 = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithSubresource sets the Subresource field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the Subresource field is set to the value of the last call.
|
||||||
|
func (b *ManagedFieldsEntryApplyConfiguration) WithSubresource(value string) *ManagedFieldsEntryApplyConfiguration {
|
||||||
|
b.Subresource = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user