mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-26 15:12:06 +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
|
||||
type:
|
||||
scalar: string
|
||||
- name: subresource
|
||||
type:
|
||||
scalar: string
|
||||
- name: time
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
|
||||
|
@ -25,12 +25,13 @@ import (
|
||||
// ManagedFieldsEntryApplyConfiguration represents an declarative configuration of the ManagedFieldsEntry type for use
|
||||
// with apply.
|
||||
type ManagedFieldsEntryApplyConfiguration struct {
|
||||
Manager *string `json:"manager,omitempty"`
|
||||
Operation *v1.ManagedFieldsOperationType `json:"operation,omitempty"`
|
||||
APIVersion *string `json:"apiVersion,omitempty"`
|
||||
Time *v1.Time `json:"time,omitempty"`
|
||||
FieldsType *string `json:"fieldsType,omitempty"`
|
||||
FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"`
|
||||
Manager *string `json:"manager,omitempty"`
|
||||
Operation *v1.ManagedFieldsOperationType `json:"operation,omitempty"`
|
||||
APIVersion *string `json:"apiVersion,omitempty"`
|
||||
Time *v1.Time `json:"time,omitempty"`
|
||||
FieldsType *string `json:"fieldsType,omitempty"`
|
||||
FieldsV1 *v1.FieldsV1 `json:"fieldsV1,omitempty"`
|
||||
Subresource *string `json:"subresource,omitempty"`
|
||||
}
|
||||
|
||||
// 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
|
||||
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