diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go index 78f4f4f51b7..f6be3de7327 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go @@ -43,6 +43,7 @@ func Example(name, namespace string) *ExampleApplyConfiguration { b.WithAPIVersion("cr.example.apiextensions.k8s.io/v1") return b } +func (b ExampleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -218,8 +219,24 @@ func (b *ExampleApplyConfiguration) WithStatus(value *ExampleStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ExampleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ExampleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ExampleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ExampleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example_test.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example_test.go new file mode 100644 index 00000000000..7ed9d3f6802 --- /dev/null +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example_test.go @@ -0,0 +1,23 @@ +/* +Copyright 2025 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + "k8s.io/apimachinery/pkg/runtime" +) + +var _ runtime.ApplyConfiguration = Example("", "") diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplespec.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplespec.go index 5335ff4f3b4..8263508d0e4 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplespec.go +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplespec.go @@ -30,6 +30,7 @@ type ExampleSpecApplyConfiguration struct { func ExampleSpec() *ExampleSpecApplyConfiguration { return &ExampleSpecApplyConfiguration{} } +func (b ExampleSpecApplyConfiguration) IsApplyConfiguration() {} // WithFoo sets the Foo field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go index 8ed38736a53..9d46b19cc3b 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/examplestatus.go @@ -34,6 +34,7 @@ type ExampleStatusApplyConfiguration struct { func ExampleStatus() *ExampleStatusApplyConfiguration { return &ExampleStatusApplyConfiguration{} } +func (b ExampleStatusApplyConfiguration) IsApplyConfiguration() {} // WithState sets the State field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcecolumndefinition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcecolumndefinition.go index eb77daba353..ccce784adf0 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcecolumndefinition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcecolumndefinition.go @@ -34,6 +34,7 @@ type CustomResourceColumnDefinitionApplyConfiguration struct { func CustomResourceColumnDefinition() *CustomResourceColumnDefinitionApplyConfiguration { return &CustomResourceColumnDefinitionApplyConfiguration{} } +func (b CustomResourceColumnDefinitionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourceconversion.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourceconversion.go index 25e43cc00c3..ada622ef1ea 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourceconversion.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourceconversion.go @@ -34,6 +34,7 @@ type CustomResourceConversionApplyConfiguration struct { func CustomResourceConversion() *CustomResourceConversionApplyConfiguration { return &CustomResourceConversionApplyConfiguration{} } +func (b CustomResourceConversionApplyConfiguration) IsApplyConfiguration() {} // WithStrategy sets the Strategy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go index 110620d6518..742af4ad811 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go @@ -42,6 +42,7 @@ func CustomResourceDefinition(name string) *CustomResourceDefinitionApplyConfigu b.WithAPIVersion("apiextensions.k8s.io/v1") return b } +func (b CustomResourceDefinitionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -217,8 +218,24 @@ func (b *CustomResourceDefinitionApplyConfiguration) WithStatus(value *CustomRes return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CustomResourceDefinitionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitioncondition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitioncondition.go index 228120520c5..ad187fba063 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitioncondition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitioncondition.go @@ -38,6 +38,7 @@ type CustomResourceDefinitionConditionApplyConfiguration struct { func CustomResourceDefinitionCondition() *CustomResourceDefinitionConditionApplyConfiguration { return &CustomResourceDefinitionConditionApplyConfiguration{} } +func (b CustomResourceDefinitionConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go index ca0c02f0e09..159150c2811 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionnames.go @@ -34,6 +34,7 @@ type CustomResourceDefinitionNamesApplyConfiguration struct { func CustomResourceDefinitionNames() *CustomResourceDefinitionNamesApplyConfiguration { return &CustomResourceDefinitionNamesApplyConfiguration{} } +func (b CustomResourceDefinitionNamesApplyConfiguration) IsApplyConfiguration() {} // WithPlural sets the Plural field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionspec.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionspec.go index 9d0573f44be..588e5ffa3e3 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionspec.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionspec.go @@ -38,6 +38,7 @@ type CustomResourceDefinitionSpecApplyConfiguration struct { func CustomResourceDefinitionSpec() *CustomResourceDefinitionSpecApplyConfiguration { return &CustomResourceDefinitionSpecApplyConfiguration{} } +func (b CustomResourceDefinitionSpecApplyConfiguration) IsApplyConfiguration() {} // WithGroup sets the Group field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionstatus.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionstatus.go index 4fd09be5a0e..0cdd76ee563 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionstatus.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionstatus.go @@ -31,6 +31,7 @@ type CustomResourceDefinitionStatusApplyConfiguration struct { func CustomResourceDefinitionStatus() *CustomResourceDefinitionStatusApplyConfiguration { return &CustomResourceDefinitionStatusApplyConfiguration{} } +func (b CustomResourceDefinitionStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go index f96ba88f467..ff8f0be7bf9 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinitionversion.go @@ -37,6 +37,7 @@ type CustomResourceDefinitionVersionApplyConfiguration struct { func CustomResourceDefinitionVersion() *CustomResourceDefinitionVersionApplyConfiguration { return &CustomResourceDefinitionVersionApplyConfiguration{} } +func (b CustomResourceDefinitionVersionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresources.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresources.go index f8d5be3c7f3..baf0ee6498e 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresources.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresources.go @@ -34,6 +34,7 @@ type CustomResourceSubresourcesApplyConfiguration struct { func CustomResourceSubresources() *CustomResourceSubresourcesApplyConfiguration { return &CustomResourceSubresourcesApplyConfiguration{} } +func (b CustomResourceSubresourcesApplyConfiguration) IsApplyConfiguration() {} // WithStatus sets the Status field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresourcescale.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresourcescale.go index 7859675fdd1..11edaab5f3f 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresourcescale.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcesubresourcescale.go @@ -31,6 +31,7 @@ type CustomResourceSubresourceScaleApplyConfiguration struct { func CustomResourceSubresourceScale() *CustomResourceSubresourceScaleApplyConfiguration { return &CustomResourceSubresourceScaleApplyConfiguration{} } +func (b CustomResourceSubresourceScaleApplyConfiguration) IsApplyConfiguration() {} // WithSpecReplicasPath sets the SpecReplicasPath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcevalidation.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcevalidation.go index 6a8cf17d551..6f08c12e5b9 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcevalidation.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcevalidation.go @@ -29,6 +29,7 @@ type CustomResourceValidationApplyConfiguration struct { func CustomResourceValidation() *CustomResourceValidationApplyConfiguration { return &CustomResourceValidationApplyConfiguration{} } +func (b CustomResourceValidationApplyConfiguration) IsApplyConfiguration() {} // WithOpenAPIV3Schema sets the OpenAPIV3Schema field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/externaldocumentation.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/externaldocumentation.go index 761a957a025..f4ec6145512 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/externaldocumentation.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/externaldocumentation.go @@ -30,6 +30,7 @@ type ExternalDocumentationApplyConfiguration struct { func ExternalDocumentation() *ExternalDocumentationApplyConfiguration { return &ExternalDocumentationApplyConfiguration{} } +func (b ExternalDocumentationApplyConfiguration) IsApplyConfiguration() {} // WithDescription sets the Description field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go index d6595ce1d5e..87b9f43885e 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go @@ -76,6 +76,7 @@ type JSONSchemaPropsApplyConfiguration struct { func JSONSchemaProps() *JSONSchemaPropsApplyConfiguration { return &JSONSchemaPropsApplyConfiguration{} } +func (b JSONSchemaPropsApplyConfiguration) IsApplyConfiguration() {} // WithID sets the ID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/selectablefield.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/selectablefield.go index 33f655a7648..01a509aee81 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/selectablefield.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/selectablefield.go @@ -29,6 +29,7 @@ type SelectableFieldApplyConfiguration struct { func SelectableField() *SelectableFieldApplyConfiguration { return &SelectableFieldApplyConfiguration{} } +func (b SelectableFieldApplyConfiguration) IsApplyConfiguration() {} // WithJSONPath sets the JSONPath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/servicereference.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/servicereference.go index 239780664df..6ee872d705b 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/servicereference.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/servicereference.go @@ -32,6 +32,7 @@ type ServiceReferenceApplyConfiguration struct { func ServiceReference() *ServiceReferenceApplyConfiguration { return &ServiceReferenceApplyConfiguration{} } +func (b ServiceReferenceApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go index 5ee41492848..d4d5ae9a542 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/validationrule.go @@ -38,6 +38,7 @@ type ValidationRuleApplyConfiguration struct { func ValidationRule() *ValidationRuleApplyConfiguration { return &ValidationRuleApplyConfiguration{} } +func (b ValidationRuleApplyConfiguration) IsApplyConfiguration() {} // WithRule sets the Rule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookclientconfig.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookclientconfig.go index 77f2227b95c..c8b5da7533a 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookclientconfig.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookclientconfig.go @@ -31,6 +31,7 @@ type WebhookClientConfigApplyConfiguration struct { func WebhookClientConfig() *WebhookClientConfigApplyConfiguration { return &WebhookClientConfigApplyConfiguration{} } +func (b WebhookClientConfigApplyConfiguration) IsApplyConfiguration() {} // WithURL sets the URL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookconversion.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookconversion.go index 884fbc5fa85..21d590d476d 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookconversion.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/webhookconversion.go @@ -30,6 +30,7 @@ type WebhookConversionApplyConfiguration struct { func WebhookConversion() *WebhookConversionApplyConfiguration { return &WebhookConversionApplyConfiguration{} } +func (b WebhookConversionApplyConfiguration) IsApplyConfiguration() {} // WithClientConfig sets the ClientConfig field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcecolumndefinition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcecolumndefinition.go index 9ee2318d1a5..66acc69074c 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcecolumndefinition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcecolumndefinition.go @@ -34,6 +34,7 @@ type CustomResourceColumnDefinitionApplyConfiguration struct { func CustomResourceColumnDefinition() *CustomResourceColumnDefinitionApplyConfiguration { return &CustomResourceColumnDefinitionApplyConfiguration{} } +func (b CustomResourceColumnDefinitionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourceconversion.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourceconversion.go index f652c96d525..1b24ec424d7 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourceconversion.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourceconversion.go @@ -35,6 +35,7 @@ type CustomResourceConversionApplyConfiguration struct { func CustomResourceConversion() *CustomResourceConversionApplyConfiguration { return &CustomResourceConversionApplyConfiguration{} } +func (b CustomResourceConversionApplyConfiguration) IsApplyConfiguration() {} // WithStrategy sets the Strategy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go index d56cff21fff..8df22620d6a 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinition.go @@ -42,6 +42,7 @@ func CustomResourceDefinition(name string) *CustomResourceDefinitionApplyConfigu b.WithAPIVersion("apiextensions.k8s.io/v1beta1") return b } +func (b CustomResourceDefinitionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -217,8 +218,24 @@ func (b *CustomResourceDefinitionApplyConfiguration) WithStatus(value *CustomRes return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CustomResourceDefinitionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CustomResourceDefinitionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitioncondition.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitioncondition.go index 4d19e1b5b6a..3d351e04d08 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitioncondition.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitioncondition.go @@ -38,6 +38,7 @@ type CustomResourceDefinitionConditionApplyConfiguration struct { func CustomResourceDefinitionCondition() *CustomResourceDefinitionConditionApplyConfiguration { return &CustomResourceDefinitionConditionApplyConfiguration{} } +func (b CustomResourceDefinitionConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionnames.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionnames.go index 44b49bcbbeb..5b714ccb12f 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionnames.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionnames.go @@ -34,6 +34,7 @@ type CustomResourceDefinitionNamesApplyConfiguration struct { func CustomResourceDefinitionNames() *CustomResourceDefinitionNamesApplyConfiguration { return &CustomResourceDefinitionNamesApplyConfiguration{} } +func (b CustomResourceDefinitionNamesApplyConfiguration) IsApplyConfiguration() {} // WithPlural sets the Plural field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionspec.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionspec.go index 5046882ae10..f7b5d1c144e 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionspec.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionspec.go @@ -43,6 +43,7 @@ type CustomResourceDefinitionSpecApplyConfiguration struct { func CustomResourceDefinitionSpec() *CustomResourceDefinitionSpecApplyConfiguration { return &CustomResourceDefinitionSpecApplyConfiguration{} } +func (b CustomResourceDefinitionSpecApplyConfiguration) IsApplyConfiguration() {} // WithGroup sets the Group field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionstatus.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionstatus.go index 2c9c5e23c1a..f7af52d96f3 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionstatus.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionstatus.go @@ -31,6 +31,7 @@ type CustomResourceDefinitionStatusApplyConfiguration struct { func CustomResourceDefinitionStatus() *CustomResourceDefinitionStatusApplyConfiguration { return &CustomResourceDefinitionStatusApplyConfiguration{} } +func (b CustomResourceDefinitionStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionversion.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionversion.go index 19ac26b039a..d7c6bfd6142 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionversion.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcedefinitionversion.go @@ -37,6 +37,7 @@ type CustomResourceDefinitionVersionApplyConfiguration struct { func CustomResourceDefinitionVersion() *CustomResourceDefinitionVersionApplyConfiguration { return &CustomResourceDefinitionVersionApplyConfiguration{} } +func (b CustomResourceDefinitionVersionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresources.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresources.go index 3ee82a0377c..6487e3dd1d1 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresources.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresources.go @@ -34,6 +34,7 @@ type CustomResourceSubresourcesApplyConfiguration struct { func CustomResourceSubresources() *CustomResourceSubresourcesApplyConfiguration { return &CustomResourceSubresourcesApplyConfiguration{} } +func (b CustomResourceSubresourcesApplyConfiguration) IsApplyConfiguration() {} // WithStatus sets the Status field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresourcescale.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresourcescale.go index b94d0e6685f..ad7b434b20a 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresourcescale.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcesubresourcescale.go @@ -31,6 +31,7 @@ type CustomResourceSubresourceScaleApplyConfiguration struct { func CustomResourceSubresourceScale() *CustomResourceSubresourceScaleApplyConfiguration { return &CustomResourceSubresourceScaleApplyConfiguration{} } +func (b CustomResourceSubresourceScaleApplyConfiguration) IsApplyConfiguration() {} // WithSpecReplicasPath sets the SpecReplicasPath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcevalidation.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcevalidation.go index a5cf3c096b6..f3686d3f952 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcevalidation.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/customresourcevalidation.go @@ -29,6 +29,7 @@ type CustomResourceValidationApplyConfiguration struct { func CustomResourceValidation() *CustomResourceValidationApplyConfiguration { return &CustomResourceValidationApplyConfiguration{} } +func (b CustomResourceValidationApplyConfiguration) IsApplyConfiguration() {} // WithOpenAPIV3Schema sets the OpenAPIV3Schema field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/externaldocumentation.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/externaldocumentation.go index 5140d66ceb9..de621e9000c 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/externaldocumentation.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/externaldocumentation.go @@ -30,6 +30,7 @@ type ExternalDocumentationApplyConfiguration struct { func ExternalDocumentation() *ExternalDocumentationApplyConfiguration { return &ExternalDocumentationApplyConfiguration{} } +func (b ExternalDocumentationApplyConfiguration) IsApplyConfiguration() {} // WithDescription sets the Description field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go index b90b9281c8d..7fc79b17dbc 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go @@ -76,6 +76,7 @@ type JSONSchemaPropsApplyConfiguration struct { func JSONSchemaProps() *JSONSchemaPropsApplyConfiguration { return &JSONSchemaPropsApplyConfiguration{} } +func (b JSONSchemaPropsApplyConfiguration) IsApplyConfiguration() {} // WithID sets the ID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/selectablefield.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/selectablefield.go index 1a372e6fafd..40b350cd400 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/selectablefield.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/selectablefield.go @@ -29,6 +29,7 @@ type SelectableFieldApplyConfiguration struct { func SelectableField() *SelectableFieldApplyConfiguration { return &SelectableFieldApplyConfiguration{} } +func (b SelectableFieldApplyConfiguration) IsApplyConfiguration() {} // WithJSONPath sets the JSONPath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/servicereference.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/servicereference.go index 70cc6b5b271..f7d6c7aa9c4 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/servicereference.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/servicereference.go @@ -32,6 +32,7 @@ type ServiceReferenceApplyConfiguration struct { func ServiceReference() *ServiceReferenceApplyConfiguration { return &ServiceReferenceApplyConfiguration{} } +func (b ServiceReferenceApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go index c9b3da89ba5..cff5fa1d01b 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/validationrule.go @@ -38,6 +38,7 @@ type ValidationRuleApplyConfiguration struct { func ValidationRule() *ValidationRuleApplyConfiguration { return &ValidationRuleApplyConfiguration{} } +func (b ValidationRuleApplyConfiguration) IsApplyConfiguration() {} // WithRule sets the Rule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/webhookclientconfig.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/webhookclientconfig.go index 76ff71b4aec..a892883a821 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/webhookclientconfig.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/webhookclientconfig.go @@ -31,6 +31,7 @@ type WebhookClientConfigApplyConfiguration struct { func WebhookClientConfig() *WebhookClientConfigApplyConfiguration { return &WebhookClientConfigApplyConfiguration{} } +func (b WebhookClientConfigApplyConfiguration) IsApplyConfiguration() {} // WithURL sets the URL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go b/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go index 202bf4f01a0..8456c21d31d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go @@ -385,3 +385,9 @@ type Unstructured interface { // If the items passed to fn are not retained, or are retained for the same duration, use EachListItem instead for memory efficiency. EachListItemWithAlloc(func(Object) error) error } + +// ApplyConfiguration is an interface that root apply configuration types implement. +type ApplyConfiguration interface { + // IsApplyConfiguration is implemented if the object is the root of an apply configuration. + IsApplyConfiguration() +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/auditannotation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/auditannotation.go index 0d50d44ac2c..db012f8361e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/auditannotation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/auditannotation.go @@ -30,6 +30,7 @@ type AuditAnnotationApplyConfiguration struct { func AuditAnnotation() *AuditAnnotationApplyConfiguration { return &AuditAnnotationApplyConfiguration{} } +func (b AuditAnnotationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/expressionwarning.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/expressionwarning.go index 1f890bcfcb6..0741e17b1b3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/expressionwarning.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/expressionwarning.go @@ -30,6 +30,7 @@ type ExpressionWarningApplyConfiguration struct { func ExpressionWarning() *ExpressionWarningApplyConfiguration { return &ExpressionWarningApplyConfiguration{} } +func (b ExpressionWarningApplyConfiguration) IsApplyConfiguration() {} // WithFieldRef sets the FieldRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchcondition.go index d8a816f1e2f..0fcd8f7b6bf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchcondition.go @@ -30,6 +30,7 @@ type MatchConditionApplyConfiguration struct { func MatchCondition() *MatchConditionApplyConfiguration { return &MatchConditionApplyConfiguration{} } +func (b MatchConditionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go index e840fe9ebb1..6f5a206e366 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go @@ -38,6 +38,7 @@ type MatchResourcesApplyConfiguration struct { func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } +func (b MatchResourcesApplyConfiguration) IsApplyConfiguration() {} // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go index cd8096f9020..2a0c02a6606 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhook.go @@ -45,6 +45,7 @@ type MutatingWebhookApplyConfiguration struct { func MutatingWebhook() *MutatingWebhookApplyConfiguration { return &MutatingWebhookApplyConfiguration{} } +func (b MutatingWebhookApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhookconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhookconfiguration.go index 4267f5fbfa4..9a12eba075f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhookconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/mutatingwebhookconfiguration.go @@ -79,6 +79,7 @@ func extractMutatingWebhookConfiguration(mutatingWebhookConfiguration *admission b.WithAPIVersion("admissionregistration.k8s.io/v1") return b, nil } +func (b MutatingWebhookConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -251,8 +252,24 @@ func (b *MutatingWebhookConfigurationApplyConfiguration) WithWebhooks(values ... return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *MutatingWebhookConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go index dd31981ad5e..c509703bb15 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/namedrulewithoperations.go @@ -34,6 +34,7 @@ type NamedRuleWithOperationsApplyConfiguration struct { func NamedRuleWithOperations() *NamedRuleWithOperationsApplyConfiguration { return &NamedRuleWithOperationsApplyConfiguration{} } +func (b NamedRuleWithOperationsApplyConfiguration) IsApplyConfiguration() {} // WithResourceNames adds the given value to the ResourceNames field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramkind.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramkind.go index 07577929ab3..94932806695 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramkind.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramkind.go @@ -30,6 +30,7 @@ type ParamKindApplyConfiguration struct { func ParamKind() *ParamKindApplyConfiguration { return &ParamKindApplyConfiguration{} } +func (b ParamKindApplyConfiguration) IsApplyConfiguration() {} // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go index 140233f6ba5..21abffd733c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go @@ -37,6 +37,7 @@ type ParamRefApplyConfiguration struct { func ParamRef() *ParamRefApplyConfiguration { return &ParamRefApplyConfiguration{} } +func (b ParamRefApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rule.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rule.go index a8c68136bd9..8d7f1d833ea 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rule.go @@ -36,6 +36,7 @@ type RuleApplyConfiguration struct { func Rule() *RuleApplyConfiguration { return &RuleApplyConfiguration{} } +func (b RuleApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroups adds the given value to the APIGroups field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rulewithoperations.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rulewithoperations.go index 55a985f9983..fb9bd3de24f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rulewithoperations.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/rulewithoperations.go @@ -34,6 +34,7 @@ type RuleWithOperationsApplyConfiguration struct { func RuleWithOperations() *RuleWithOperationsApplyConfiguration { return &RuleWithOperationsApplyConfiguration{} } +func (b RuleWithOperationsApplyConfiguration) IsApplyConfiguration() {} // WithOperations adds the given value to the Operations field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/servicereference.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/servicereference.go index 239780664df..6ee872d705b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/servicereference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/servicereference.go @@ -32,6 +32,7 @@ type ServiceReferenceApplyConfiguration struct { func ServiceReference() *ServiceReferenceApplyConfiguration { return &ServiceReferenceApplyConfiguration{} } +func (b ServiceReferenceApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/typechecking.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/typechecking.go index 723d10ecf5e..1e753f37195 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/typechecking.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/typechecking.go @@ -29,6 +29,7 @@ type TypeCheckingApplyConfiguration struct { func TypeChecking() *TypeCheckingApplyConfiguration { return &TypeCheckingApplyConfiguration{} } +func (b TypeCheckingApplyConfiguration) IsApplyConfiguration() {} // WithExpressionWarnings adds the given value to the ExpressionWarnings field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go index 730de03694f..bbfc66a6f6d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicy.go @@ -80,6 +80,7 @@ func extractValidatingAdmissionPolicy(validatingAdmissionPolicy *admissionregist b.WithAPIVersion("admissionregistration.k8s.io/v1") return b, nil } +func (b ValidatingAdmissionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ValidatingAdmissionPolicyApplyConfiguration) WithStatus(value *Validati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go index 2921a711fc8..416d26cbf8b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybinding.go @@ -79,6 +79,7 @@ func extractValidatingAdmissionPolicyBinding(validatingAdmissionPolicyBinding *a b.WithAPIVersion("admissionregistration.k8s.io/v1") return b, nil } +func (b ValidatingAdmissionPolicyBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) WithSpec(value *Val return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go index eb426af42ad..c339447084c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicybindingspec.go @@ -36,6 +36,7 @@ type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct { func ValidatingAdmissionPolicyBindingSpec() *ValidatingAdmissionPolicyBindingSpecApplyConfiguration { return &ValidatingAdmissionPolicyBindingSpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicyBindingSpecApplyConfiguration) IsApplyConfiguration() {} // WithPolicyName sets the PolicyName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go index 1635b30a61a..bdd21724fe2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicyspec.go @@ -39,6 +39,7 @@ type ValidatingAdmissionPolicySpecApplyConfiguration struct { func ValidatingAdmissionPolicySpec() *ValidatingAdmissionPolicySpecApplyConfiguration { return &ValidatingAdmissionPolicySpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithParamKind sets the ParamKind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicystatus.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicystatus.go index e6f4e845915..91f5b5a31c4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicystatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingadmissionpolicystatus.go @@ -35,6 +35,7 @@ type ValidatingAdmissionPolicyStatusApplyConfiguration struct { func ValidatingAdmissionPolicyStatus() *ValidatingAdmissionPolicyStatusApplyConfiguration { return &ValidatingAdmissionPolicyStatusApplyConfiguration{} } +func (b ValidatingAdmissionPolicyStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go index a2c705eb5c4..d108339fae1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhook.go @@ -44,6 +44,7 @@ type ValidatingWebhookApplyConfiguration struct { func ValidatingWebhook() *ValidatingWebhookApplyConfiguration { return &ValidatingWebhookApplyConfiguration{} } +func (b ValidatingWebhookApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go index a7bebb59f22..cfe2e328f8f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validatingwebhookconfiguration.go @@ -79,6 +79,7 @@ func extractValidatingWebhookConfiguration(validatingWebhookConfiguration *admis b.WithAPIVersion("admissionregistration.k8s.io/v1") return b, nil } +func (b ValidatingWebhookConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -251,8 +252,24 @@ func (b *ValidatingWebhookConfigurationApplyConfiguration) WithWebhooks(values . return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingWebhookConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validation.go index 9966a7a2860..6ed0234d969 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/validation.go @@ -36,6 +36,7 @@ type ValidationApplyConfiguration struct { func Validation() *ValidationApplyConfiguration { return &ValidationApplyConfiguration{} } +func (b ValidationApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/variable.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/variable.go index 9dd20afa720..ce0eae39f76 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/variable.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/variable.go @@ -30,6 +30,7 @@ type VariableApplyConfiguration struct { func Variable() *VariableApplyConfiguration { return &VariableApplyConfiguration{} } +func (b VariableApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/webhookclientconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/webhookclientconfig.go index 77f2227b95c..c8b5da7533a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/webhookclientconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/webhookclientconfig.go @@ -31,6 +31,7 @@ type WebhookClientConfigApplyConfiguration struct { func WebhookClientConfig() *WebhookClientConfigApplyConfiguration { return &WebhookClientConfigApplyConfiguration{} } +func (b WebhookClientConfigApplyConfiguration) IsApplyConfiguration() {} // WithURL sets the URL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/applyconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/applyconfiguration.go index b08ac722410..9f9d8f26445 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/applyconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/applyconfiguration.go @@ -29,6 +29,7 @@ type ApplyConfigurationApplyConfiguration struct { func ApplyConfiguration() *ApplyConfigurationApplyConfiguration { return &ApplyConfigurationApplyConfiguration{} } +func (b ApplyConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/auditannotation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/auditannotation.go index 958a5374063..6acdf6ab4f9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/auditannotation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/auditannotation.go @@ -30,6 +30,7 @@ type AuditAnnotationApplyConfiguration struct { func AuditAnnotation() *AuditAnnotationApplyConfiguration { return &AuditAnnotationApplyConfiguration{} } +func (b AuditAnnotationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/expressionwarning.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/expressionwarning.go index f36c2f0f5ce..2615d5f9107 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/expressionwarning.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/expressionwarning.go @@ -30,6 +30,7 @@ type ExpressionWarningApplyConfiguration struct { func ExpressionWarning() *ExpressionWarningApplyConfiguration { return &ExpressionWarningApplyConfiguration{} } +func (b ExpressionWarningApplyConfiguration) IsApplyConfiguration() {} // WithFieldRef sets the FieldRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/jsonpatch.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/jsonpatch.go index 418d86a2b5f..e84877803d8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/jsonpatch.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/jsonpatch.go @@ -29,6 +29,7 @@ type JSONPatchApplyConfiguration struct { func JSONPatch() *JSONPatchApplyConfiguration { return &JSONPatchApplyConfiguration{} } +func (b JSONPatchApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchcondition.go index 7f983dcb22a..bed5548d7ef 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchcondition.go @@ -30,6 +30,7 @@ type MatchConditionApplyConfiguration struct { func MatchCondition() *MatchConditionApplyConfiguration { return &MatchConditionApplyConfiguration{} } +func (b MatchConditionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go index e443535b6a6..186337f1c57 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/matchresources.go @@ -38,6 +38,7 @@ type MatchResourcesApplyConfiguration struct { func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } +func (b MatchResourcesApplyConfiguration) IsApplyConfiguration() {} // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicy.go index d66071c187b..041bec5e5c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicy.go @@ -79,6 +79,7 @@ func extractMutatingAdmissionPolicy(mutatingAdmissionPolicy *admissionregistrati b.WithAPIVersion("admissionregistration.k8s.io/v1alpha1") return b, nil } +func (b MutatingAdmissionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *MutatingAdmissionPolicyApplyConfiguration) WithSpec(value *MutatingAdmi return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *MutatingAdmissionPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingAdmissionPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go index 7cccd291b37..be0690a158b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybinding.go @@ -79,6 +79,7 @@ func extractMutatingAdmissionPolicyBinding(mutatingAdmissionPolicyBinding *admis b.WithAPIVersion("admissionregistration.k8s.io/v1alpha1") return b, nil } +func (b MutatingAdmissionPolicyBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *MutatingAdmissionPolicyBindingApplyConfiguration) WithSpec(value *Mutat return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingAdmissionPolicyBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybindingspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybindingspec.go index 04729f42b1f..39b25b6d56c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybindingspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicybindingspec.go @@ -31,6 +31,7 @@ type MutatingAdmissionPolicyBindingSpecApplyConfiguration struct { func MutatingAdmissionPolicyBindingSpec() *MutatingAdmissionPolicyBindingSpecApplyConfiguration { return &MutatingAdmissionPolicyBindingSpecApplyConfiguration{} } +func (b MutatingAdmissionPolicyBindingSpecApplyConfiguration) IsApplyConfiguration() {} // WithPolicyName sets the PolicyName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicyspec.go index 334056a3724..da4b2ded104 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutatingadmissionpolicyspec.go @@ -40,6 +40,7 @@ type MutatingAdmissionPolicySpecApplyConfiguration struct { func MutatingAdmissionPolicySpec() *MutatingAdmissionPolicySpecApplyConfiguration { return &MutatingAdmissionPolicySpecApplyConfiguration{} } +func (b MutatingAdmissionPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithParamKind sets the ParamKind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutation.go index 4ed9d93fdbb..266718ed61e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/mutation.go @@ -35,6 +35,7 @@ type MutationApplyConfiguration struct { func Mutation() *MutationApplyConfiguration { return &MutationApplyConfiguration{} } +func (b MutationApplyConfiguration) IsApplyConfiguration() {} // WithPatchType sets the PatchType field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go index f630224ac47..86cafce23ea 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go @@ -35,6 +35,7 @@ type NamedRuleWithOperationsApplyConfiguration struct { func NamedRuleWithOperations() *NamedRuleWithOperationsApplyConfiguration { return &NamedRuleWithOperationsApplyConfiguration{} } +func (b NamedRuleWithOperationsApplyConfiguration) IsApplyConfiguration() {} // WithResourceNames adds the given value to the ResourceNames field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramkind.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramkind.go index daf17fb2494..f0edb11f424 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramkind.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramkind.go @@ -30,6 +30,7 @@ type ParamKindApplyConfiguration struct { func ParamKind() *ParamKindApplyConfiguration { return &ParamKindApplyConfiguration{} } +func (b ParamKindApplyConfiguration) IsApplyConfiguration() {} // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go index 669fadbd40a..9fb69fa528a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/paramref.go @@ -37,6 +37,7 @@ type ParamRefApplyConfiguration struct { func ParamRef() *ParamRefApplyConfiguration { return &ParamRefApplyConfiguration{} } +func (b ParamRefApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/typechecking.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/typechecking.go index d1a7fff50ee..241324ddeea 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/typechecking.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/typechecking.go @@ -29,6 +29,7 @@ type TypeCheckingApplyConfiguration struct { func TypeChecking() *TypeCheckingApplyConfiguration { return &TypeCheckingApplyConfiguration{} } +func (b TypeCheckingApplyConfiguration) IsApplyConfiguration() {} // WithExpressionWarnings adds the given value to the ExpressionWarnings field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go index 7fd1c0651eb..a8efff6b3e2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicy.go @@ -80,6 +80,7 @@ func extractValidatingAdmissionPolicy(validatingAdmissionPolicy *admissionregist b.WithAPIVersion("admissionregistration.k8s.io/v1alpha1") return b, nil } +func (b ValidatingAdmissionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ValidatingAdmissionPolicyApplyConfiguration) WithStatus(value *Validati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go index ca8ac7dd096..5bcefba6750 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybinding.go @@ -79,6 +79,7 @@ func extractValidatingAdmissionPolicyBinding(validatingAdmissionPolicyBinding *a b.WithAPIVersion("admissionregistration.k8s.io/v1alpha1") return b, nil } +func (b ValidatingAdmissionPolicyBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) WithSpec(value *Val return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybindingspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybindingspec.go index 0f8e4e43570..2130cc14987 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybindingspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicybindingspec.go @@ -36,6 +36,7 @@ type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct { func ValidatingAdmissionPolicyBindingSpec() *ValidatingAdmissionPolicyBindingSpecApplyConfiguration { return &ValidatingAdmissionPolicyBindingSpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicyBindingSpecApplyConfiguration) IsApplyConfiguration() {} // WithPolicyName sets the PolicyName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicyspec.go index d5d3529949e..69c173f855b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicyspec.go @@ -39,6 +39,7 @@ type ValidatingAdmissionPolicySpecApplyConfiguration struct { func ValidatingAdmissionPolicySpec() *ValidatingAdmissionPolicySpecApplyConfiguration { return &ValidatingAdmissionPolicySpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithParamKind sets the ParamKind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicystatus.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicystatus.go index 2fec5ba477c..23a20dfad79 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicystatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validatingadmissionpolicystatus.go @@ -35,6 +35,7 @@ type ValidatingAdmissionPolicyStatusApplyConfiguration struct { func ValidatingAdmissionPolicyStatus() *ValidatingAdmissionPolicyStatusApplyConfiguration { return &ValidatingAdmissionPolicyStatusApplyConfiguration{} } +func (b ValidatingAdmissionPolicyStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validation.go index 5f730437345..7fbdc5cbc8a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/validation.go @@ -36,6 +36,7 @@ type ValidationApplyConfiguration struct { func Validation() *ValidationApplyConfiguration { return &ValidationApplyConfiguration{} } +func (b ValidationApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/variable.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/variable.go index 0459dae655c..e0e9008b8cc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/variable.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/variable.go @@ -30,6 +30,7 @@ type VariableApplyConfiguration struct { func Variable() *VariableApplyConfiguration { return &VariableApplyConfiguration{} } +func (b VariableApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/auditannotation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/auditannotation.go index 8718db94475..42a0194d435 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/auditannotation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/auditannotation.go @@ -30,6 +30,7 @@ type AuditAnnotationApplyConfiguration struct { func AuditAnnotation() *AuditAnnotationApplyConfiguration { return &AuditAnnotationApplyConfiguration{} } +func (b AuditAnnotationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/expressionwarning.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/expressionwarning.go index 66cfc8cdc75..74a11aae9f3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/expressionwarning.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/expressionwarning.go @@ -30,6 +30,7 @@ type ExpressionWarningApplyConfiguration struct { func ExpressionWarning() *ExpressionWarningApplyConfiguration { return &ExpressionWarningApplyConfiguration{} } +func (b ExpressionWarningApplyConfiguration) IsApplyConfiguration() {} // WithFieldRef sets the FieldRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchcondition.go index 63db7fc801e..59d8e634fec 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchcondition.go @@ -30,6 +30,7 @@ type MatchConditionApplyConfiguration struct { func MatchCondition() *MatchConditionApplyConfiguration { return &MatchConditionApplyConfiguration{} } +func (b MatchConditionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go index 4005e55a333..c292e09ce89 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/matchresources.go @@ -38,6 +38,7 @@ type MatchResourcesApplyConfiguration struct { func MatchResources() *MatchResourcesApplyConfiguration { return &MatchResourcesApplyConfiguration{} } +func (b MatchResourcesApplyConfiguration) IsApplyConfiguration() {} // WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go index b2ab76aefdb..61ab2e630e6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhook.go @@ -46,6 +46,7 @@ type MutatingWebhookApplyConfiguration struct { func MutatingWebhook() *MutatingWebhookApplyConfiguration { return &MutatingWebhookApplyConfiguration{} } +func (b MutatingWebhookApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhookconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhookconfiguration.go index 15c54c1253e..2e70502a384 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhookconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/mutatingwebhookconfiguration.go @@ -79,6 +79,7 @@ func extractMutatingWebhookConfiguration(mutatingWebhookConfiguration *admission b.WithAPIVersion("admissionregistration.k8s.io/v1beta1") return b, nil } +func (b MutatingWebhookConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -251,8 +252,24 @@ func (b *MutatingWebhookConfigurationApplyConfiguration) WithWebhooks(values ... return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *MutatingWebhookConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *MutatingWebhookConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/namedrulewithoperations.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/namedrulewithoperations.go index 62c617d2fa0..c265c358f15 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/namedrulewithoperations.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/namedrulewithoperations.go @@ -35,6 +35,7 @@ type NamedRuleWithOperationsApplyConfiguration struct { func NamedRuleWithOperations() *NamedRuleWithOperationsApplyConfiguration { return &NamedRuleWithOperationsApplyConfiguration{} } +func (b NamedRuleWithOperationsApplyConfiguration) IsApplyConfiguration() {} // WithResourceNames adds the given value to the ResourceNames field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramkind.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramkind.go index 39831252818..a9ddced7bb4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramkind.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramkind.go @@ -30,6 +30,7 @@ type ParamKindApplyConfiguration struct { func ParamKind() *ParamKindApplyConfiguration { return &ParamKindApplyConfiguration{} } +func (b ParamKindApplyConfiguration) IsApplyConfiguration() {} // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go index 5143b0cb90e..5a0647cccd7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/paramref.go @@ -37,6 +37,7 @@ type ParamRefApplyConfiguration struct { func ParamRef() *ParamRefApplyConfiguration { return &ParamRefApplyConfiguration{} } +func (b ParamRefApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/servicereference.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/servicereference.go index 70cc6b5b271..f7d6c7aa9c4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/servicereference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/servicereference.go @@ -32,6 +32,7 @@ type ServiceReferenceApplyConfiguration struct { func ServiceReference() *ServiceReferenceApplyConfiguration { return &ServiceReferenceApplyConfiguration{} } +func (b ServiceReferenceApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/typechecking.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/typechecking.go index cea6e11deed..ad46f833a0e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/typechecking.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/typechecking.go @@ -29,6 +29,7 @@ type TypeCheckingApplyConfiguration struct { func TypeChecking() *TypeCheckingApplyConfiguration { return &TypeCheckingApplyConfiguration{} } +func (b TypeCheckingApplyConfiguration) IsApplyConfiguration() {} // WithExpressionWarnings adds the given value to the ExpressionWarnings field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicy.go index 35a8adbf73d..84f9dea53a9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicy.go @@ -80,6 +80,7 @@ func extractValidatingAdmissionPolicy(validatingAdmissionPolicy *admissionregist b.WithAPIVersion("admissionregistration.k8s.io/v1beta1") return b, nil } +func (b ValidatingAdmissionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ValidatingAdmissionPolicyApplyConfiguration) WithStatus(value *Validati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybinding.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybinding.go index 191d045ef03..c0cdef9918c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybinding.go @@ -79,6 +79,7 @@ func extractValidatingAdmissionPolicyBinding(validatingAdmissionPolicyBinding *a b.WithAPIVersion("admissionregistration.k8s.io/v1beta1") return b, nil } +func (b ValidatingAdmissionPolicyBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) WithSpec(value *Val return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingAdmissionPolicyBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybindingspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybindingspec.go index bddc3a40c77..1eaa15e5b4a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybindingspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicybindingspec.go @@ -36,6 +36,7 @@ type ValidatingAdmissionPolicyBindingSpecApplyConfiguration struct { func ValidatingAdmissionPolicyBindingSpec() *ValidatingAdmissionPolicyBindingSpecApplyConfiguration { return &ValidatingAdmissionPolicyBindingSpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicyBindingSpecApplyConfiguration) IsApplyConfiguration() {} // WithPolicyName sets the PolicyName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicyspec.go index 8b235337d70..84f915162f2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicyspec.go @@ -39,6 +39,7 @@ type ValidatingAdmissionPolicySpecApplyConfiguration struct { func ValidatingAdmissionPolicySpec() *ValidatingAdmissionPolicySpecApplyConfiguration { return &ValidatingAdmissionPolicySpecApplyConfiguration{} } +func (b ValidatingAdmissionPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithParamKind sets the ParamKind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicystatus.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicystatus.go index 4612af0cffa..6e917ff8eb8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicystatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingadmissionpolicystatus.go @@ -35,6 +35,7 @@ type ValidatingAdmissionPolicyStatusApplyConfiguration struct { func ValidatingAdmissionPolicyStatus() *ValidatingAdmissionPolicyStatusApplyConfiguration { return &ValidatingAdmissionPolicyStatusApplyConfiguration{} } +func (b ValidatingAdmissionPolicyStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go index 1e107d68f7b..8395ffde17e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhook.go @@ -45,6 +45,7 @@ type ValidatingWebhookApplyConfiguration struct { func ValidatingWebhook() *ValidatingWebhookApplyConfiguration { return &ValidatingWebhookApplyConfiguration{} } +func (b ValidatingWebhookApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go index e775e55a32c..2ad1fb8cf69 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validatingwebhookconfiguration.go @@ -79,6 +79,7 @@ func extractValidatingWebhookConfiguration(validatingWebhookConfiguration *admis b.WithAPIVersion("admissionregistration.k8s.io/v1beta1") return b, nil } +func (b ValidatingWebhookConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -251,8 +252,24 @@ func (b *ValidatingWebhookConfigurationApplyConfiguration) WithWebhooks(values . return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ValidatingWebhookConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ValidatingWebhookConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validation.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validation.go index 019e8e7aa96..f5859262a39 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validation.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/validation.go @@ -36,6 +36,7 @@ type ValidationApplyConfiguration struct { func Validation() *ValidationApplyConfiguration { return &ValidationApplyConfiguration{} } +func (b ValidationApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/variable.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/variable.go index 0ece197db2a..13c1db4648c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/variable.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/variable.go @@ -30,6 +30,7 @@ type VariableApplyConfiguration struct { func Variable() *VariableApplyConfiguration { return &VariableApplyConfiguration{} } +func (b VariableApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/webhookclientconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/webhookclientconfig.go index 76ff71b4aec..a892883a821 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/webhookclientconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1/webhookclientconfig.go @@ -31,6 +31,7 @@ type WebhookClientConfigApplyConfiguration struct { func WebhookClientConfig() *WebhookClientConfigApplyConfiguration { return &WebhookClientConfigApplyConfiguration{} } +func (b WebhookClientConfigApplyConfiguration) IsApplyConfiguration() {} // WithURL sets the URL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/serverstorageversion.go b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/serverstorageversion.go index 8394298b93e..c6845457b5f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/serverstorageversion.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/serverstorageversion.go @@ -32,6 +32,7 @@ type ServerStorageVersionApplyConfiguration struct { func ServerStorageVersion() *ServerStorageVersionApplyConfiguration { return &ServerStorageVersionApplyConfiguration{} } +func (b ServerStorageVersionApplyConfiguration) IsApplyConfiguration() {} // WithAPIServerID sets the APIServerID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go index 0061d8afb05..9838e3c9c2f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversion.go @@ -80,6 +80,7 @@ func extractStorageVersion(storageVersion *apiserverinternalv1alpha1.StorageVers b.WithAPIVersion("internal.apiserver.k8s.io/v1alpha1") return b, nil } +func (b StorageVersionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *StorageVersionApplyConfiguration) WithStatus(value *StorageVersionStatu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StorageVersionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StorageVersionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StorageVersionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StorageVersionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go index 1ed71cf8e93..4a4a96b97b3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversioncondition.go @@ -39,6 +39,7 @@ type StorageVersionConditionApplyConfiguration struct { func StorageVersionCondition() *StorageVersionConditionApplyConfiguration { return &StorageVersionConditionApplyConfiguration{} } +func (b StorageVersionConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversionstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversionstatus.go index 2e25d675241..e11954c0bc5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversionstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1/storageversionstatus.go @@ -31,6 +31,7 @@ type StorageVersionStatusApplyConfiguration struct { func StorageVersionStatus() *StorageVersionStatusApplyConfiguration { return &StorageVersionStatusApplyConfiguration{} } +func (b StorageVersionStatusApplyConfiguration) IsApplyConfiguration() {} // WithStorageVersions adds the given value to the StorageVersions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go index bfdad4a7326..1c97bcc5983 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/controllerrevision.go @@ -83,6 +83,7 @@ func extractControllerRevision(controllerRevision *appsv1.ControllerRevision, fi b.WithAPIVersion("apps/v1") return b, nil } +func (b ControllerRevisionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -258,8 +259,24 @@ func (b *ControllerRevisionApplyConfiguration) WithRevision(value int64) *Contro return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ControllerRevisionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonset.go index 47883d043d2..14b4a88c6fc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonset.go @@ -82,6 +82,7 @@ func extractDaemonSet(daemonSet *appsv1.DaemonSet, fieldManager string, subresou b.WithAPIVersion("apps/v1") return b, nil } +func (b DaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DaemonSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go index 8c56e4994bd..309418c039e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetcondition.go @@ -39,6 +39,7 @@ type DaemonSetConditionApplyConfiguration struct { func DaemonSetCondition() *DaemonSetConditionApplyConfiguration { return &DaemonSetConditionApplyConfiguration{} } +func (b DaemonSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetspec.go index d2382b80e0f..a9a0c69587b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetspec.go @@ -38,6 +38,7 @@ type DaemonSetSpecApplyConfiguration struct { func DaemonSetSpec() *DaemonSetSpecApplyConfiguration { return &DaemonSetSpecApplyConfiguration{} } +func (b DaemonSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithSelector sets the Selector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetstatus.go index a40dc16512e..6388e38e023 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetstatus.go @@ -38,6 +38,7 @@ type DaemonSetStatusApplyConfiguration struct { func DaemonSetStatus() *DaemonSetStatusApplyConfiguration { return &DaemonSetStatusApplyConfiguration{} } +func (b DaemonSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithCurrentNumberScheduled sets the CurrentNumberScheduled field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetupdatestrategy.go index 993e1bd5721..e743da4d3ad 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/daemonsetupdatestrategy.go @@ -34,6 +34,7 @@ type DaemonSetUpdateStrategyApplyConfiguration struct { func DaemonSetUpdateStrategy() *DaemonSetUpdateStrategyApplyConfiguration { return &DaemonSetUpdateStrategyApplyConfiguration{} } +func (b DaemonSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go index 485357c0073..9678c87b23e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deployment.go @@ -82,6 +82,7 @@ func extractDeployment(deployment *appsv1.Deployment, fieldManager string, subre b.WithAPIVersion("apps/v1") return b, nil } +func (b DeploymentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DeploymentApplyConfiguration) WithStatus(value *DeploymentStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeploymentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go index 3a669363703..20fa7bb6678 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentcondition.go @@ -40,6 +40,7 @@ type DeploymentConditionApplyConfiguration struct { func DeploymentCondition() *DeploymentConditionApplyConfiguration { return &DeploymentConditionApplyConfiguration{} } +func (b DeploymentConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go index 5f34b0582ca..231b859332f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go @@ -41,6 +41,7 @@ type DeploymentSpecApplyConfiguration struct { func DeploymentSpec() *DeploymentSpecApplyConfiguration { return &DeploymentSpecApplyConfiguration{} } +func (b DeploymentSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstatus.go index 8d9e6cca288..aaecc827abb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstatus.go @@ -37,6 +37,7 @@ type DeploymentStatusApplyConfiguration struct { func DeploymentStatus() *DeploymentStatusApplyConfiguration { return &DeploymentStatusApplyConfiguration{} } +func (b DeploymentStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go index 7bf8a15954d..f5f4388bb9f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentstrategy.go @@ -34,6 +34,7 @@ type DeploymentStrategyApplyConfiguration struct { func DeploymentStrategy() *DeploymentStrategyApplyConfiguration { return &DeploymentStrategyApplyConfiguration{} } +func (b DeploymentStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go index 6e9c0e14f30..aee110a21f7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go @@ -82,6 +82,7 @@ func extractReplicaSet(replicaSet *appsv1.ReplicaSet, fieldManager string, subre b.WithAPIVersion("apps/v1") return b, nil } +func (b ReplicaSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ReplicaSetApplyConfiguration) WithStatus(value *ReplicaSetStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ReplicaSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetcondition.go index 0325ce05839..2a2668c5026 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetcondition.go @@ -39,6 +39,7 @@ type ReplicaSetConditionApplyConfiguration struct { func ReplicaSetCondition() *ReplicaSetConditionApplyConfiguration { return &ReplicaSetConditionApplyConfiguration{} } +func (b ReplicaSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetspec.go index 714ddcfe3df..0e4c801a205 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetspec.go @@ -37,6 +37,7 @@ type ReplicaSetSpecApplyConfiguration struct { func ReplicaSetSpec() *ReplicaSetSpecApplyConfiguration { return &ReplicaSetSpecApplyConfiguration{} } +func (b ReplicaSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetstatus.go index d11526d60a9..df43866fb0c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicasetstatus.go @@ -35,6 +35,7 @@ type ReplicaSetStatusApplyConfiguration struct { func ReplicaSetStatus() *ReplicaSetStatusApplyConfiguration { return &ReplicaSetStatusApplyConfiguration{} } +func (b ReplicaSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go index e898f5081c8..91f758b4850 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go @@ -34,6 +34,7 @@ type RollingUpdateDaemonSetApplyConfiguration struct { func RollingUpdateDaemonSet() *RollingUpdateDaemonSetApplyConfiguration { return &RollingUpdateDaemonSetApplyConfiguration{} } +func (b RollingUpdateDaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go index 2bc2937241f..72c424927bb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go @@ -34,6 +34,7 @@ type RollingUpdateDeploymentApplyConfiguration struct { func RollingUpdateDeployment() *RollingUpdateDeploymentApplyConfiguration { return &RollingUpdateDeploymentApplyConfiguration{} } +func (b RollingUpdateDeploymentApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go index dd0de81a6cb..da02b4b5875 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go @@ -34,6 +34,7 @@ type RollingUpdateStatefulSetStrategyApplyConfiguration struct { func RollingUpdateStatefulSetStrategy() *RollingUpdateStatefulSetStrategyApplyConfiguration { return &RollingUpdateStatefulSetStrategyApplyConfiguration{} } +func (b RollingUpdateStatefulSetStrategyApplyConfiguration) IsApplyConfiguration() {} // WithPartition sets the Partition field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go index cb5306935c0..fc682f68f9f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulset.go @@ -82,6 +82,7 @@ func extractStatefulSet(statefulSet *appsv1.StatefulSet, fieldManager string, su b.WithAPIVersion("apps/v1") return b, nil } +func (b StatefulSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *StatefulSetApplyConfiguration) WithStatus(value *StatefulSetStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StatefulSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.go index 45b2ad81f1d..5d92e3483d6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetcondition.go @@ -39,6 +39,7 @@ type StatefulSetConditionApplyConfiguration struct { func StatefulSetCondition() *StatefulSetConditionApplyConfiguration { return &StatefulSetConditionApplyConfiguration{} } +func (b StatefulSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetordinals.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetordinals.go index 86f39e16c16..40344a18cd6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetordinals.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetordinals.go @@ -29,6 +29,7 @@ type StatefulSetOrdinalsApplyConfiguration struct { func StatefulSetOrdinals() *StatefulSetOrdinalsApplyConfiguration { return &StatefulSetOrdinalsApplyConfiguration{} } +func (b StatefulSetOrdinalsApplyConfiguration) IsApplyConfiguration() {} // WithStart sets the Start field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetpersistentvolumeclaimretentionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetpersistentvolumeclaimretentionpolicy.go index dff3e2a76bf..dd383aa4ee6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetpersistentvolumeclaimretentionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetpersistentvolumeclaimretentionpolicy.go @@ -34,6 +34,7 @@ type StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration struct { func StatefulSetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration { return &StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration{} } +func (b StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithWhenDeleted sets the WhenDeleted field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetspec.go index c48b64fe39b..e936e9a4178 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetspec.go @@ -45,6 +45,7 @@ type StatefulSetSpecApplyConfiguration struct { func StatefulSetSpec() *StatefulSetSpecApplyConfiguration { return &StatefulSetSpecApplyConfiguration{} } +func (b StatefulSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetstatus.go index 637a1c649d2..805c714a6c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetstatus.go @@ -38,6 +38,7 @@ type StatefulSetStatusApplyConfiguration struct { func StatefulSetStatus() *StatefulSetStatusApplyConfiguration { return &StatefulSetStatusApplyConfiguration{} } +func (b StatefulSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetupdatestrategy.go index ae135d34d3b..b70b974d01a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1/statefulsetupdatestrategy.go @@ -34,6 +34,7 @@ type StatefulSetUpdateStrategyApplyConfiguration struct { func StatefulSetUpdateStrategy() *StatefulSetUpdateStrategyApplyConfiguration { return &StatefulSetUpdateStrategyApplyConfiguration{} } +func (b StatefulSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go index 910dd7bece1..f8406d26ae1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/controllerrevision.go @@ -83,6 +83,7 @@ func extractControllerRevision(controllerRevision *appsv1beta1.ControllerRevisio b.WithAPIVersion("apps/v1beta1") return b, nil } +func (b ControllerRevisionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -258,8 +259,24 @@ func (b *ControllerRevisionApplyConfiguration) WithRevision(value int64) *Contro return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ControllerRevisionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deployment.go index 057ea5b6f24..eae1504079c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deployment.go @@ -82,6 +82,7 @@ func extractDeployment(deployment *appsv1beta1.Deployment, fieldManager string, b.WithAPIVersion("apps/v1beta1") return b, nil } +func (b DeploymentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DeploymentApplyConfiguration) WithStatus(value *DeploymentStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeploymentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go index b0a45b1a6e4..2eff4f09f21 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentcondition.go @@ -40,6 +40,7 @@ type DeploymentConditionApplyConfiguration struct { func DeploymentCondition() *DeploymentConditionApplyConfiguration { return &DeploymentConditionApplyConfiguration{} } +func (b DeploymentConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go index 5531c756f9d..8b3692b1b5f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go @@ -42,6 +42,7 @@ type DeploymentSpecApplyConfiguration struct { func DeploymentSpec() *DeploymentSpecApplyConfiguration { return &DeploymentSpecApplyConfiguration{} } +func (b DeploymentSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstatus.go index 36b4fd42b6e..37b0e07d0cb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstatus.go @@ -37,6 +37,7 @@ type DeploymentStatusApplyConfiguration struct { func DeploymentStatus() *DeploymentStatusApplyConfiguration { return &DeploymentStatusApplyConfiguration{} } +func (b DeploymentStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go index 03e66555af1..20a2bb41981 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentstrategy.go @@ -34,6 +34,7 @@ type DeploymentStrategyApplyConfiguration struct { func DeploymentStrategy() *DeploymentStrategyApplyConfiguration { return &DeploymentStrategyApplyConfiguration{} } +func (b DeploymentStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollbackconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollbackconfig.go index 775f82eef80..a078e65a9f6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollbackconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollbackconfig.go @@ -29,6 +29,7 @@ type RollbackConfigApplyConfiguration struct { func RollbackConfig() *RollbackConfigApplyConfiguration { return &RollbackConfigApplyConfiguration{} } +func (b RollbackConfigApplyConfiguration) IsApplyConfiguration() {} // WithRevision sets the Revision field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go index 244701a5e01..8b14789e6b8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go @@ -34,6 +34,7 @@ type RollingUpdateDeploymentApplyConfiguration struct { func RollingUpdateDeployment() *RollingUpdateDeploymentApplyConfiguration { return &RollingUpdateDeploymentApplyConfiguration{} } +func (b RollingUpdateDeploymentApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go index 94c2971343e..0edc4416b56 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go @@ -34,6 +34,7 @@ type RollingUpdateStatefulSetStrategyApplyConfiguration struct { func RollingUpdateStatefulSetStrategy() *RollingUpdateStatefulSetStrategyApplyConfiguration { return &RollingUpdateStatefulSetStrategyApplyConfiguration{} } +func (b RollingUpdateStatefulSetStrategyApplyConfiguration) IsApplyConfiguration() {} // WithPartition sets the Partition field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go index ba8aa3a4ca1..d9b3af8ef20 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulset.go @@ -82,6 +82,7 @@ func extractStatefulSet(statefulSet *appsv1beta1.StatefulSet, fieldManager strin b.WithAPIVersion("apps/v1beta1") return b, nil } +func (b StatefulSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *StatefulSetApplyConfiguration) WithStatus(value *StatefulSetStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StatefulSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetcondition.go index 5a13584bc08..02ea3175fce 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetcondition.go @@ -39,6 +39,7 @@ type StatefulSetConditionApplyConfiguration struct { func StatefulSetCondition() *StatefulSetConditionApplyConfiguration { return &StatefulSetConditionApplyConfiguration{} } +func (b StatefulSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetordinals.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetordinals.go index 2e3049e5e22..fded29d8670 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetordinals.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetordinals.go @@ -29,6 +29,7 @@ type StatefulSetOrdinalsApplyConfiguration struct { func StatefulSetOrdinals() *StatefulSetOrdinalsApplyConfiguration { return &StatefulSetOrdinalsApplyConfiguration{} } +func (b StatefulSetOrdinalsApplyConfiguration) IsApplyConfiguration() {} // WithStart sets the Start field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetpersistentvolumeclaimretentionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetpersistentvolumeclaimretentionpolicy.go index f9b6fbd8816..9b239411763 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetpersistentvolumeclaimretentionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetpersistentvolumeclaimretentionpolicy.go @@ -34,6 +34,7 @@ type StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration struct { func StatefulSetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration { return &StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration{} } +func (b StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithWhenDeleted sets the WhenDeleted field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetspec.go index 137c7243b8d..931b27325c0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetspec.go @@ -45,6 +45,7 @@ type StatefulSetSpecApplyConfiguration struct { func StatefulSetSpec() *StatefulSetSpecApplyConfiguration { return &StatefulSetSpecApplyConfiguration{} } +func (b StatefulSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go index 27ae7540fd2..a8cd4e57dac 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go @@ -38,6 +38,7 @@ type StatefulSetStatusApplyConfiguration struct { func StatefulSetStatus() *StatefulSetStatusApplyConfiguration { return &StatefulSetStatusApplyConfiguration{} } +func (b StatefulSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetupdatestrategy.go index 24154f7af11..d11cf1f3b75 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetupdatestrategy.go @@ -34,6 +34,7 @@ type StatefulSetUpdateStrategyApplyConfiguration struct { func StatefulSetUpdateStrategy() *StatefulSetUpdateStrategyApplyConfiguration { return &StatefulSetUpdateStrategyApplyConfiguration{} } +func (b StatefulSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go index 6facd5384a8..4c08b852f83 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/controllerrevision.go @@ -83,6 +83,7 @@ func extractControllerRevision(controllerRevision *appsv1beta2.ControllerRevisio b.WithAPIVersion("apps/v1beta2") return b, nil } +func (b ControllerRevisionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -258,8 +259,24 @@ func (b *ControllerRevisionApplyConfiguration) WithRevision(value int64) *Contro return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ControllerRevisionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ControllerRevisionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go index 89a2ebd4b23..b7599b3c48b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonset.go @@ -82,6 +82,7 @@ func extractDaemonSet(daemonSet *appsv1beta2.DaemonSet, fieldManager string, sub b.WithAPIVersion("apps/v1beta2") return b, nil } +func (b DaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DaemonSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetcondition.go index 0aa47cf0afa..56ec5d1a466 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetcondition.go @@ -39,6 +39,7 @@ type DaemonSetConditionApplyConfiguration struct { func DaemonSetCondition() *DaemonSetConditionApplyConfiguration { return &DaemonSetConditionApplyConfiguration{} } +func (b DaemonSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetspec.go index 74d8bf51c62..31fa51442c5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetspec.go @@ -38,6 +38,7 @@ type DaemonSetSpecApplyConfiguration struct { func DaemonSetSpec() *DaemonSetSpecApplyConfiguration { return &DaemonSetSpecApplyConfiguration{} } +func (b DaemonSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithSelector sets the Selector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetstatus.go index 6b0fda89530..54e2df5a013 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetstatus.go @@ -38,6 +38,7 @@ type DaemonSetStatusApplyConfiguration struct { func DaemonSetStatus() *DaemonSetStatusApplyConfiguration { return &DaemonSetStatusApplyConfiguration{} } +func (b DaemonSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithCurrentNumberScheduled sets the CurrentNumberScheduled field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetupdatestrategy.go index 2cee58cf3e6..8c9f9f2e9ba 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/daemonsetupdatestrategy.go @@ -34,6 +34,7 @@ type DaemonSetUpdateStrategyApplyConfiguration struct { func DaemonSetUpdateStrategy() *DaemonSetUpdateStrategyApplyConfiguration { return &DaemonSetUpdateStrategyApplyConfiguration{} } +func (b DaemonSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go index 8948cc60667..bb6b67914df 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deployment.go @@ -82,6 +82,7 @@ func extractDeployment(deployment *appsv1beta2.Deployment, fieldManager string, b.WithAPIVersion("apps/v1beta2") return b, nil } +func (b DeploymentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DeploymentApplyConfiguration) WithStatus(value *DeploymentStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeploymentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go index f404dd9df5d..ac5dc6966a2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentcondition.go @@ -40,6 +40,7 @@ type DeploymentConditionApplyConfiguration struct { func DeploymentCondition() *DeploymentConditionApplyConfiguration { return &DeploymentConditionApplyConfiguration{} } +func (b DeploymentConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go index 1b55130c6b6..788eda87047 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go @@ -41,6 +41,7 @@ type DeploymentSpecApplyConfiguration struct { func DeploymentSpec() *DeploymentSpecApplyConfiguration { return &DeploymentSpecApplyConfiguration{} } +func (b DeploymentSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstatus.go index 554be024d98..08003fda6fc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstatus.go @@ -37,6 +37,7 @@ type DeploymentStatusApplyConfiguration struct { func DeploymentStatus() *DeploymentStatusApplyConfiguration { return &DeploymentStatusApplyConfiguration{} } +func (b DeploymentStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go index 6347a3a39e7..ccc062ea142 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentstrategy.go @@ -34,6 +34,7 @@ type DeploymentStrategyApplyConfiguration struct { func DeploymentStrategy() *DeploymentStrategyApplyConfiguration { return &DeploymentStrategyApplyConfiguration{} } +func (b DeploymentStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go index 679416b21f5..b289fdd4fb0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go @@ -82,6 +82,7 @@ func extractReplicaSet(replicaSet *appsv1beta2.ReplicaSet, fieldManager string, b.WithAPIVersion("apps/v1beta2") return b, nil } +func (b ReplicaSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ReplicaSetApplyConfiguration) WithStatus(value *ReplicaSetStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ReplicaSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetcondition.go index 3d8cd363261..b9e2d5f5daf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetcondition.go @@ -39,6 +39,7 @@ type ReplicaSetConditionApplyConfiguration struct { func ReplicaSetCondition() *ReplicaSetConditionApplyConfiguration { return &ReplicaSetConditionApplyConfiguration{} } +func (b ReplicaSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetspec.go index 1d77b9e0fd6..18fa0bf846f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetspec.go @@ -37,6 +37,7 @@ type ReplicaSetSpecApplyConfiguration struct { func ReplicaSetSpec() *ReplicaSetSpecApplyConfiguration { return &ReplicaSetSpecApplyConfiguration{} } +func (b ReplicaSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go index 13004fde389..68dda120e6b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicasetstatus.go @@ -35,6 +35,7 @@ type ReplicaSetStatusApplyConfiguration struct { func ReplicaSetStatus() *ReplicaSetStatusApplyConfiguration { return &ReplicaSetStatusApplyConfiguration{} } +func (b ReplicaSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go index ad6021d37a6..dfe9c9428cf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go @@ -34,6 +34,7 @@ type RollingUpdateDaemonSetApplyConfiguration struct { func RollingUpdateDaemonSet() *RollingUpdateDaemonSetApplyConfiguration { return &RollingUpdateDaemonSetApplyConfiguration{} } +func (b RollingUpdateDaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedeployment.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedeployment.go index b0cc3a4ee40..7e55ed523de 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedeployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedeployment.go @@ -34,6 +34,7 @@ type RollingUpdateDeploymentApplyConfiguration struct { func RollingUpdateDeployment() *RollingUpdateDeploymentApplyConfiguration { return &RollingUpdateDeploymentApplyConfiguration{} } +func (b RollingUpdateDeploymentApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go index 0046c264bbc..1ea232df843 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go @@ -34,6 +34,7 @@ type RollingUpdateStatefulSetStrategyApplyConfiguration struct { func RollingUpdateStatefulSetStrategy() *RollingUpdateStatefulSetStrategyApplyConfiguration { return &RollingUpdateStatefulSetStrategyApplyConfiguration{} } +func (b RollingUpdateStatefulSetStrategyApplyConfiguration) IsApplyConfiguration() {} // WithPartition sets the Partition field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go index 27067b6aa30..3942ed4b956 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/scale.go @@ -42,6 +42,7 @@ func Scale() *ScaleApplyConfiguration { b.WithAPIVersion("apps/v1beta2") return b } +func (b ScaleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -217,8 +218,24 @@ func (b *ScaleApplyConfiguration) WithStatus(value appsv1beta2.ScaleStatus) *Sca return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ScaleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulset.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulset.go index 933072421c2..d2d4e9cdbda 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulset.go @@ -82,6 +82,7 @@ func extractStatefulSet(statefulSet *appsv1beta2.StatefulSet, fieldManager strin b.WithAPIVersion("apps/v1beta2") return b, nil } +func (b StatefulSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *StatefulSetApplyConfiguration) WithStatus(value *StatefulSetStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StatefulSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StatefulSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetcondition.go index 50bef200342..e4fffbb366e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetcondition.go @@ -39,6 +39,7 @@ type StatefulSetConditionApplyConfiguration struct { func StatefulSetCondition() *StatefulSetConditionApplyConfiguration { return &StatefulSetConditionApplyConfiguration{} } +func (b StatefulSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetordinals.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetordinals.go index a899243a5a4..169a133f0c2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetordinals.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetordinals.go @@ -29,6 +29,7 @@ type StatefulSetOrdinalsApplyConfiguration struct { func StatefulSetOrdinals() *StatefulSetOrdinalsApplyConfiguration { return &StatefulSetOrdinalsApplyConfiguration{} } +func (b StatefulSetOrdinalsApplyConfiguration) IsApplyConfiguration() {} // WithStart sets the Start field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetpersistentvolumeclaimretentionpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetpersistentvolumeclaimretentionpolicy.go index d4d139ae3d8..2019bb39735 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetpersistentvolumeclaimretentionpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetpersistentvolumeclaimretentionpolicy.go @@ -34,6 +34,7 @@ type StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration struct { func StatefulSetPersistentVolumeClaimRetentionPolicy() *StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration { return &StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration{} } +func (b StatefulSetPersistentVolumeClaimRetentionPolicyApplyConfiguration) IsApplyConfiguration() {} // WithWhenDeleted sets the WhenDeleted field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetspec.go index 952ca0a814c..88043648c87 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetspec.go @@ -45,6 +45,7 @@ type StatefulSetSpecApplyConfiguration struct { func StatefulSetSpec() *StatefulSetSpecApplyConfiguration { return &StatefulSetSpecApplyConfiguration{} } +func (b StatefulSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go index a647cd7d265..127f07ae2be 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go @@ -38,6 +38,7 @@ type StatefulSetStatusApplyConfiguration struct { func StatefulSetStatus() *StatefulSetStatusApplyConfiguration { return &StatefulSetStatusApplyConfiguration{} } +func (b StatefulSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetupdatestrategy.go index f93db4f7985..8e74471dbc4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetupdatestrategy.go @@ -34,6 +34,7 @@ type StatefulSetUpdateStrategyApplyConfiguration struct { func StatefulSetUpdateStrategy() *StatefulSetUpdateStrategyApplyConfiguration { return &StatefulSetUpdateStrategyApplyConfiguration{} } +func (b StatefulSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/crossversionobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/crossversionobjectreference.go index 51ec6650126..008e2a2a492 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/crossversionobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/crossversionobjectreference.go @@ -31,6 +31,7 @@ type CrossVersionObjectReferenceApplyConfiguration struct { func CrossVersionObjectReference() *CrossVersionObjectReferenceApplyConfiguration { return &CrossVersionObjectReferenceApplyConfiguration{} } +func (b CrossVersionObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go index 8c9f08a7399..cbcbfb5798a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscaler.go @@ -82,6 +82,7 @@ func extractHorizontalPodAutoscaler(horizontalPodAutoscaler *autoscalingv1.Horiz b.WithAPIVersion("autoscaling/v1") return b, nil } +func (b HorizontalPodAutoscalerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *HorizontalPodAutoscalerApplyConfiguration) WithStatus(value *Horizontal return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *HorizontalPodAutoscalerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerspec.go index 0ca2f84ea91..4021150c10f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerspec.go @@ -32,6 +32,7 @@ type HorizontalPodAutoscalerSpecApplyConfiguration struct { func HorizontalPodAutoscalerSpec() *HorizontalPodAutoscalerSpecApplyConfiguration { return &HorizontalPodAutoscalerSpecApplyConfiguration{} } +func (b HorizontalPodAutoscalerSpecApplyConfiguration) IsApplyConfiguration() {} // WithScaleTargetRef sets the ScaleTargetRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerstatus.go index 8575214e1e9..d3fe54f4239 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/horizontalpodautoscalerstatus.go @@ -37,6 +37,7 @@ type HorizontalPodAutoscalerStatusApplyConfiguration struct { func HorizontalPodAutoscalerStatus() *HorizontalPodAutoscalerStatusApplyConfiguration { return &HorizontalPodAutoscalerStatusApplyConfiguration{} } +func (b HorizontalPodAutoscalerStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go index 13ae8e142d6..d5f9d72921e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scale.go @@ -41,6 +41,7 @@ func Scale() *ScaleApplyConfiguration { b.WithAPIVersion("autoscaling/v1") return b } +func (b ScaleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -216,8 +217,24 @@ func (b *ScaleApplyConfiguration) WithStatus(value *ScaleStatusApplyConfiguratio return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ScaleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go index 025004ba5fe..d4c799d19cd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalespec.go @@ -29,6 +29,7 @@ type ScaleSpecApplyConfiguration struct { func ScaleSpec() *ScaleSpecApplyConfiguration { return &ScaleSpecApplyConfiguration{} } +func (b ScaleSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go index 51f96d2357b..ea8a9ddd26a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go @@ -30,6 +30,7 @@ type ScaleStatusApplyConfiguration struct { func ScaleStatus() *ScaleStatusApplyConfiguration { return &ScaleStatusApplyConfiguration{} } +func (b ScaleStatusApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricsource.go index b6e071e8486..568c5a2c0e1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricsource.go @@ -35,6 +35,7 @@ type ContainerResourceMetricSourceApplyConfiguration struct { func ContainerResourceMetricSource() *ContainerResourceMetricSourceApplyConfiguration { return &ContainerResourceMetricSourceApplyConfiguration{} } +func (b ContainerResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricstatus.go index 46bd2bac200..92d9486dca7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/containerresourcemetricstatus.go @@ -35,6 +35,7 @@ type ContainerResourceMetricStatusApplyConfiguration struct { func ContainerResourceMetricStatus() *ContainerResourceMetricStatusApplyConfiguration { return &ContainerResourceMetricStatusApplyConfiguration{} } +func (b ContainerResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/crossversionobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/crossversionobjectreference.go index 645f098577e..dc72fb267ee 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/crossversionobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/crossversionobjectreference.go @@ -31,6 +31,7 @@ type CrossVersionObjectReferenceApplyConfiguration struct { func CrossVersionObjectReference() *CrossVersionObjectReferenceApplyConfiguration { return &CrossVersionObjectReferenceApplyConfiguration{} } +func (b CrossVersionObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricsource.go index a9c45b31a04..019d06c5246 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricsource.go @@ -30,6 +30,7 @@ type ExternalMetricSourceApplyConfiguration struct { func ExternalMetricSource() *ExternalMetricSourceApplyConfiguration { return &ExternalMetricSourceApplyConfiguration{} } +func (b ExternalMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go index 4280086f5e7..d5a0a4d7239 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go @@ -30,6 +30,7 @@ type ExternalMetricStatusApplyConfiguration struct { func ExternalMetricStatus() *ExternalMetricStatusApplyConfiguration { return &ExternalMetricStatusApplyConfiguration{} } +func (b ExternalMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go index 99a5cd4bd31..a2a3a5a785f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscaler.go @@ -82,6 +82,7 @@ func extractHorizontalPodAutoscaler(horizontalPodAutoscaler *autoscalingv2.Horiz b.WithAPIVersion("autoscaling/v2") return b, nil } +func (b HorizontalPodAutoscalerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *HorizontalPodAutoscalerApplyConfiguration) WithStatus(value *Horizontal return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *HorizontalPodAutoscalerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerbehavior.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerbehavior.go index 05750cc21da..c87f2447171 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerbehavior.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerbehavior.go @@ -30,6 +30,7 @@ type HorizontalPodAutoscalerBehaviorApplyConfiguration struct { func HorizontalPodAutoscalerBehavior() *HorizontalPodAutoscalerBehaviorApplyConfiguration { return &HorizontalPodAutoscalerBehaviorApplyConfiguration{} } +func (b HorizontalPodAutoscalerBehaviorApplyConfiguration) IsApplyConfiguration() {} // WithScaleUp sets the ScaleUp field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalercondition.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalercondition.go index 25ea39039a1..a6d3d22fd7e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalercondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalercondition.go @@ -39,6 +39,7 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct { func HorizontalPodAutoscalerCondition() *HorizontalPodAutoscalerConditionApplyConfiguration { return &HorizontalPodAutoscalerConditionApplyConfiguration{} } +func (b HorizontalPodAutoscalerConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerspec.go index e34ababc583..f67a3f39348 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerspec.go @@ -33,6 +33,7 @@ type HorizontalPodAutoscalerSpecApplyConfiguration struct { func HorizontalPodAutoscalerSpec() *HorizontalPodAutoscalerSpecApplyConfiguration { return &HorizontalPodAutoscalerSpecApplyConfiguration{} } +func (b HorizontalPodAutoscalerSpecApplyConfiguration) IsApplyConfiguration() {} // WithScaleTargetRef sets the ScaleTargetRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerstatus.go index f1a2c3f4e93..05ba669144d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/horizontalpodautoscalerstatus.go @@ -38,6 +38,7 @@ type HorizontalPodAutoscalerStatusApplyConfiguration struct { func HorizontalPodAutoscalerStatus() *HorizontalPodAutoscalerStatusApplyConfiguration { return &HorizontalPodAutoscalerStatusApplyConfiguration{} } +func (b HorizontalPodAutoscalerStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go index f89185c575c..3a547a69411 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingpolicy.go @@ -35,6 +35,7 @@ type HPAScalingPolicyApplyConfiguration struct { func HPAScalingPolicy() *HPAScalingPolicyApplyConfiguration { return &HPAScalingPolicyApplyConfiguration{} } +func (b HPAScalingPolicyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go index 6fd0f25cc1d..1713223a99a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/hpascalingrules.go @@ -37,6 +37,7 @@ type HPAScalingRulesApplyConfiguration struct { func HPAScalingRules() *HPAScalingRulesApplyConfiguration { return &HPAScalingRulesApplyConfiguration{} } +func (b HPAScalingRulesApplyConfiguration) IsApplyConfiguration() {} // WithStabilizationWindowSeconds sets the StabilizationWindowSeconds field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricidentifier.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricidentifier.go index 2f99f7d0b49..21aec37a72f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricidentifier.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricidentifier.go @@ -34,6 +34,7 @@ type MetricIdentifierApplyConfiguration struct { func MetricIdentifier() *MetricIdentifierApplyConfiguration { return &MetricIdentifierApplyConfiguration{} } +func (b MetricIdentifierApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go index 282b84a44f8..5cd1af739a1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricspec.go @@ -38,6 +38,7 @@ type MetricSpecApplyConfiguration struct { func MetricSpec() *MetricSpecApplyConfiguration { return &MetricSpecApplyConfiguration{} } +func (b MetricSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go index f1204824e55..595d89ca2cb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricstatus.go @@ -38,6 +38,7 @@ type MetricStatusApplyConfiguration struct { func MetricStatus() *MetricStatusApplyConfiguration { return &MetricStatusApplyConfiguration{} } +func (b MetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metrictarget.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metrictarget.go index 13d2e9365dd..784bb578e8e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metrictarget.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metrictarget.go @@ -37,6 +37,7 @@ type MetricTargetApplyConfiguration struct { func MetricTarget() *MetricTargetApplyConfiguration { return &MetricTargetApplyConfiguration{} } +func (b MetricTargetApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricvaluestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricvaluestatus.go index 59732548b8f..8e578058adb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricvaluestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/metricvaluestatus.go @@ -35,6 +35,7 @@ type MetricValueStatusApplyConfiguration struct { func MetricValueStatus() *MetricValueStatusApplyConfiguration { return &MetricValueStatusApplyConfiguration{} } +func (b MetricValueStatusApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricsource.go index 2391fa5c22c..38e0bc37c03 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricsource.go @@ -31,6 +31,7 @@ type ObjectMetricSourceApplyConfiguration struct { func ObjectMetricSource() *ObjectMetricSourceApplyConfiguration { return &ObjectMetricSourceApplyConfiguration{} } +func (b ObjectMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithDescribedObject sets the DescribedObject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go index 9ffd0c180d1..35546404c82 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go @@ -31,6 +31,7 @@ type ObjectMetricStatusApplyConfiguration struct { func ObjectMetricStatus() *ObjectMetricStatusApplyConfiguration { return &ObjectMetricStatusApplyConfiguration{} } +func (b ObjectMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go index 28a35a2ae18..2b7a8f8ad9c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricsource.go @@ -30,6 +30,7 @@ type PodsMetricSourceApplyConfiguration struct { func PodsMetricSource() *PodsMetricSourceApplyConfiguration { return &PodsMetricSourceApplyConfiguration{} } +func (b PodsMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricstatus.go index 4614282ce19..9c02545d011 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/podsmetricstatus.go @@ -30,6 +30,7 @@ type PodsMetricStatusApplyConfiguration struct { func PodsMetricStatus() *PodsMetricStatusApplyConfiguration { return &PodsMetricStatusApplyConfiguration{} } +func (b PodsMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricsource.go index ffc9042b9f7..5c852408a13 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricsource.go @@ -34,6 +34,7 @@ type ResourceMetricSourceApplyConfiguration struct { func ResourceMetricSource() *ResourceMetricSourceApplyConfiguration { return &ResourceMetricSourceApplyConfiguration{} } +func (b ResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricstatus.go index 0fdbfcb5553..a90f578d603 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/resourcemetricstatus.go @@ -34,6 +34,7 @@ type ResourceMetricStatusApplyConfiguration struct { func ResourceMetricStatus() *ResourceMetricStatusApplyConfiguration { return &ResourceMetricStatusApplyConfiguration{} } +func (b ResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricsource.go index f41c5af10f9..62429498a99 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricsource.go @@ -37,6 +37,7 @@ type ContainerResourceMetricSourceApplyConfiguration struct { func ContainerResourceMetricSource() *ContainerResourceMetricSourceApplyConfiguration { return &ContainerResourceMetricSourceApplyConfiguration{} } +func (b ContainerResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricstatus.go index 4cd56eea371..95e2fd9f6e7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/containerresourcemetricstatus.go @@ -37,6 +37,7 @@ type ContainerResourceMetricStatusApplyConfiguration struct { func ContainerResourceMetricStatus() *ContainerResourceMetricStatusApplyConfiguration { return &ContainerResourceMetricStatusApplyConfiguration{} } +func (b ContainerResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/crossversionobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/crossversionobjectreference.go index f03261612e3..09b2cf5a728 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/crossversionobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/crossversionobjectreference.go @@ -31,6 +31,7 @@ type CrossVersionObjectReferenceApplyConfiguration struct { func CrossVersionObjectReference() *CrossVersionObjectReferenceApplyConfiguration { return &CrossVersionObjectReferenceApplyConfiguration{} } +func (b CrossVersionObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricsource.go index 8dce4529dd2..e88afe341c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricsource.go @@ -37,6 +37,7 @@ type ExternalMetricSourceApplyConfiguration struct { func ExternalMetricSource() *ExternalMetricSourceApplyConfiguration { return &ExternalMetricSourceApplyConfiguration{} } +func (b ExternalMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetricName sets the MetricName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricstatus.go index 4034d7e55c8..c1dd836dacc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/externalmetricstatus.go @@ -37,6 +37,7 @@ type ExternalMetricStatusApplyConfiguration struct { func ExternalMetricStatus() *ExternalMetricStatusApplyConfiguration { return &ExternalMetricStatusApplyConfiguration{} } +func (b ExternalMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetricName sets the MetricName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go index 51ae849019e..e6ac8c950fb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscaler.go @@ -82,6 +82,7 @@ func extractHorizontalPodAutoscaler(horizontalPodAutoscaler *autoscalingv2beta1. b.WithAPIVersion("autoscaling/v2beta1") return b, nil } +func (b HorizontalPodAutoscalerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *HorizontalPodAutoscalerApplyConfiguration) WithStatus(value *Horizontal return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *HorizontalPodAutoscalerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalercondition.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalercondition.go index 445cd55ae68..3eaf4871517 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalercondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalercondition.go @@ -39,6 +39,7 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct { func HorizontalPodAutoscalerCondition() *HorizontalPodAutoscalerConditionApplyConfiguration { return &HorizontalPodAutoscalerConditionApplyConfiguration{} } +func (b HorizontalPodAutoscalerConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerspec.go index 6f111ceafd8..8c244cc07c2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerspec.go @@ -32,6 +32,7 @@ type HorizontalPodAutoscalerSpecApplyConfiguration struct { func HorizontalPodAutoscalerSpec() *HorizontalPodAutoscalerSpecApplyConfiguration { return &HorizontalPodAutoscalerSpecApplyConfiguration{} } +func (b HorizontalPodAutoscalerSpecApplyConfiguration) IsApplyConfiguration() {} // WithScaleTargetRef sets the ScaleTargetRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go index 391b577258f..34b8a07da4b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/horizontalpodautoscalerstatus.go @@ -38,6 +38,7 @@ type HorizontalPodAutoscalerStatusApplyConfiguration struct { func HorizontalPodAutoscalerStatus() *HorizontalPodAutoscalerStatusApplyConfiguration { return &HorizontalPodAutoscalerStatusApplyConfiguration{} } +func (b HorizontalPodAutoscalerStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go index 3a5faa3b2e4..2b9ed7cc0e9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricspec.go @@ -38,6 +38,7 @@ type MetricSpecApplyConfiguration struct { func MetricSpec() *MetricSpecApplyConfiguration { return &MetricSpecApplyConfiguration{} } +func (b MetricSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go index f281e182d10..d12dd6b3f62 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/metricstatus.go @@ -38,6 +38,7 @@ type MetricStatusApplyConfiguration struct { func MetricStatus() *MetricStatusApplyConfiguration { return &MetricStatusApplyConfiguration{} } +func (b MetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricsource.go index a9e2eead4d3..4422fda2ed9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricsource.go @@ -38,6 +38,7 @@ type ObjectMetricSourceApplyConfiguration struct { func ObjectMetricSource() *ObjectMetricSourceApplyConfiguration { return &ObjectMetricSourceApplyConfiguration{} } +func (b ObjectMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithTarget sets the Target field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricstatus.go index 4d3be8df6cb..1bee5987823 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/objectmetricstatus.go @@ -38,6 +38,7 @@ type ObjectMetricStatusApplyConfiguration struct { func ObjectMetricStatus() *ObjectMetricStatusApplyConfiguration { return &ObjectMetricStatusApplyConfiguration{} } +func (b ObjectMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithTarget sets the Target field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go index cfcd752e243..79c6a00f9b0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricsource.go @@ -36,6 +36,7 @@ type PodsMetricSourceApplyConfiguration struct { func PodsMetricSource() *PodsMetricSourceApplyConfiguration { return &PodsMetricSourceApplyConfiguration{} } +func (b PodsMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetricName sets the MetricName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go index f7a7777fd4f..8354da64da8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/podsmetricstatus.go @@ -36,6 +36,7 @@ type PodsMetricStatusApplyConfiguration struct { func PodsMetricStatus() *PodsMetricStatusApplyConfiguration { return &PodsMetricStatusApplyConfiguration{} } +func (b PodsMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetricName sets the MetricName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricsource.go index ad97d83c3cc..f0054f00c55 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricsource.go @@ -36,6 +36,7 @@ type ResourceMetricSourceApplyConfiguration struct { func ResourceMetricSource() *ResourceMetricSourceApplyConfiguration { return &ResourceMetricSourceApplyConfiguration{} } +func (b ResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricstatus.go index 78fbeaad064..783eb6f09ab 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta1/resourcemetricstatus.go @@ -36,6 +36,7 @@ type ResourceMetricStatusApplyConfiguration struct { func ResourceMetricStatus() *ResourceMetricStatusApplyConfiguration { return &ResourceMetricStatusApplyConfiguration{} } +func (b ResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricsource.go index 1050165ea36..0229dfaa383 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricsource.go @@ -35,6 +35,7 @@ type ContainerResourceMetricSourceApplyConfiguration struct { func ContainerResourceMetricSource() *ContainerResourceMetricSourceApplyConfiguration { return &ContainerResourceMetricSourceApplyConfiguration{} } +func (b ContainerResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricstatus.go index 708f68bc6bf..9344c3e1268 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/containerresourcemetricstatus.go @@ -35,6 +35,7 @@ type ContainerResourceMetricStatusApplyConfiguration struct { func ContainerResourceMetricStatus() *ContainerResourceMetricStatusApplyConfiguration { return &ContainerResourceMetricStatusApplyConfiguration{} } +func (b ContainerResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/crossversionobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/crossversionobjectreference.go index c281084b165..6ef3de62725 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/crossversionobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/crossversionobjectreference.go @@ -31,6 +31,7 @@ type CrossVersionObjectReferenceApplyConfiguration struct { func CrossVersionObjectReference() *CrossVersionObjectReferenceApplyConfiguration { return &CrossVersionObjectReferenceApplyConfiguration{} } +func (b CrossVersionObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricsource.go index d34ca114940..31a1ae4db59 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricsource.go @@ -30,6 +30,7 @@ type ExternalMetricSourceApplyConfiguration struct { func ExternalMetricSource() *ExternalMetricSourceApplyConfiguration { return &ExternalMetricSourceApplyConfiguration{} } +func (b ExternalMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricstatus.go index be29e607fa4..52286a8fdad 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/externalmetricstatus.go @@ -30,6 +30,7 @@ type ExternalMetricStatusApplyConfiguration struct { func ExternalMetricStatus() *ExternalMetricStatusApplyConfiguration { return &ExternalMetricStatusApplyConfiguration{} } +func (b ExternalMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go index 19794ff426e..93cdd789771 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscaler.go @@ -82,6 +82,7 @@ func extractHorizontalPodAutoscaler(horizontalPodAutoscaler *autoscalingv2beta2. b.WithAPIVersion("autoscaling/v2beta2") return b, nil } +func (b HorizontalPodAutoscalerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *HorizontalPodAutoscalerApplyConfiguration) WithStatus(value *Horizontal return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *HorizontalPodAutoscalerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *HorizontalPodAutoscalerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerbehavior.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerbehavior.go index e9b1a9fb9e2..56ad85b81ea 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerbehavior.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerbehavior.go @@ -30,6 +30,7 @@ type HorizontalPodAutoscalerBehaviorApplyConfiguration struct { func HorizontalPodAutoscalerBehavior() *HorizontalPodAutoscalerBehaviorApplyConfiguration { return &HorizontalPodAutoscalerBehaviorApplyConfiguration{} } +func (b HorizontalPodAutoscalerBehaviorApplyConfiguration) IsApplyConfiguration() {} // WithScaleUp sets the ScaleUp field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go index f888691249f..962c3b73634 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalercondition.go @@ -39,6 +39,7 @@ type HorizontalPodAutoscalerConditionApplyConfiguration struct { func HorizontalPodAutoscalerCondition() *HorizontalPodAutoscalerConditionApplyConfiguration { return &HorizontalPodAutoscalerConditionApplyConfiguration{} } +func (b HorizontalPodAutoscalerConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerspec.go index 9629e4bd598..b8705bc67da 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerspec.go @@ -33,6 +33,7 @@ type HorizontalPodAutoscalerSpecApplyConfiguration struct { func HorizontalPodAutoscalerSpec() *HorizontalPodAutoscalerSpecApplyConfiguration { return &HorizontalPodAutoscalerSpecApplyConfiguration{} } +func (b HorizontalPodAutoscalerSpecApplyConfiguration) IsApplyConfiguration() {} // WithScaleTargetRef sets the ScaleTargetRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerstatus.go index 1eee645050d..71412c2b8a9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/horizontalpodautoscalerstatus.go @@ -38,6 +38,7 @@ type HorizontalPodAutoscalerStatusApplyConfiguration struct { func HorizontalPodAutoscalerStatus() *HorizontalPodAutoscalerStatusApplyConfiguration { return &HorizontalPodAutoscalerStatusApplyConfiguration{} } +func (b HorizontalPodAutoscalerStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingpolicy.go index 2bbbbddec4b..4f4f380bd7b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingpolicy.go @@ -35,6 +35,7 @@ type HPAScalingPolicyApplyConfiguration struct { func HPAScalingPolicy() *HPAScalingPolicyApplyConfiguration { return &HPAScalingPolicyApplyConfiguration{} } +func (b HPAScalingPolicyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingrules.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingrules.go index 92aa449aa47..1fa952e637d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingrules.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/hpascalingrules.go @@ -35,6 +35,7 @@ type HPAScalingRulesApplyConfiguration struct { func HPAScalingRules() *HPAScalingRulesApplyConfiguration { return &HPAScalingRulesApplyConfiguration{} } +func (b HPAScalingRulesApplyConfiguration) IsApplyConfiguration() {} // WithStabilizationWindowSeconds sets the StabilizationWindowSeconds field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricidentifier.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricidentifier.go index e8b2abb0e61..ae7e802017a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricidentifier.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricidentifier.go @@ -34,6 +34,7 @@ type MetricIdentifierApplyConfiguration struct { func MetricIdentifier() *MetricIdentifierApplyConfiguration { return &MetricIdentifierApplyConfiguration{} } +func (b MetricIdentifierApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go index 3da1617cfb4..46cdcfb48b7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricspec.go @@ -38,6 +38,7 @@ type MetricSpecApplyConfiguration struct { func MetricSpec() *MetricSpecApplyConfiguration { return &MetricSpecApplyConfiguration{} } +func (b MetricSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go index b528bd76059..fb93d3fe230 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricstatus.go @@ -38,6 +38,7 @@ type MetricStatusApplyConfiguration struct { func MetricStatus() *MetricStatusApplyConfiguration { return &MetricStatusApplyConfiguration{} } +func (b MetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go index 286856d8233..27e0a32f73e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metrictarget.go @@ -37,6 +37,7 @@ type MetricTargetApplyConfiguration struct { func MetricTarget() *MetricTargetApplyConfiguration { return &MetricTargetApplyConfiguration{} } +func (b MetricTargetApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricvaluestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricvaluestatus.go index cc409fc283b..715c97f7578 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricvaluestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/metricvaluestatus.go @@ -35,6 +35,7 @@ type MetricValueStatusApplyConfiguration struct { func MetricValueStatus() *MetricValueStatusApplyConfiguration { return &MetricValueStatusApplyConfiguration{} } +func (b MetricValueStatusApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricsource.go index 17b492fa06a..a5659d45595 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricsource.go @@ -31,6 +31,7 @@ type ObjectMetricSourceApplyConfiguration struct { func ObjectMetricSource() *ObjectMetricSourceApplyConfiguration { return &ObjectMetricSourceApplyConfiguration{} } +func (b ObjectMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithDescribedObject sets the DescribedObject field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricstatus.go index e87417f2e7e..e622f92caaa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/objectmetricstatus.go @@ -31,6 +31,7 @@ type ObjectMetricStatusApplyConfiguration struct { func ObjectMetricStatus() *ObjectMetricStatusApplyConfiguration { return &ObjectMetricStatusApplyConfiguration{} } +func (b ObjectMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricsource.go index 6ecbb180719..66538797347 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricsource.go @@ -30,6 +30,7 @@ type PodsMetricSourceApplyConfiguration struct { func PodsMetricSource() *PodsMetricSourceApplyConfiguration { return &PodsMetricSourceApplyConfiguration{} } +func (b PodsMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricstatus.go index cd102972611..b43a241ff58 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/podsmetricstatus.go @@ -30,6 +30,7 @@ type PodsMetricStatusApplyConfiguration struct { func PodsMetricStatus() *PodsMetricStatusApplyConfiguration { return &PodsMetricStatusApplyConfiguration{} } +func (b PodsMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithMetric sets the Metric field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricsource.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricsource.go index c482d75f4b8..45b98721db7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricsource.go @@ -34,6 +34,7 @@ type ResourceMetricSourceApplyConfiguration struct { func ResourceMetricSource() *ResourceMetricSourceApplyConfiguration { return &ResourceMetricSourceApplyConfiguration{} } +func (b ResourceMetricSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricstatus.go index eb13e90b7d3..270674c636f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2beta2/resourcemetricstatus.go @@ -34,6 +34,7 @@ type ResourceMetricStatusApplyConfiguration struct { func ResourceMetricStatus() *ResourceMetricStatusApplyConfiguration { return &ResourceMetricStatusApplyConfiguration{} } +func (b ResourceMetricStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go index f96cba1c5c4..623b183cf76 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjob.go @@ -82,6 +82,7 @@ func extractCronJob(cronJob *batchv1.CronJob, fieldManager string, subresource s b.WithAPIVersion("batch/v1") return b, nil } +func (b CronJobApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *CronJobApplyConfiguration) WithStatus(value *CronJobStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CronJobApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go index f53d140d3bd..c9b1e649973 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobspec.go @@ -40,6 +40,7 @@ type CronJobSpecApplyConfiguration struct { func CronJobSpec() *CronJobSpecApplyConfiguration { return &CronJobSpecApplyConfiguration{} } +func (b CronJobSpecApplyConfiguration) IsApplyConfiguration() {} // WithSchedule sets the Schedule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go index d29d9e8922f..98778174f04 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/cronjobstatus.go @@ -36,6 +36,7 @@ type CronJobStatusApplyConfiguration struct { func CronJobStatus() *CronJobStatusApplyConfiguration { return &CronJobStatusApplyConfiguration{} } +func (b CronJobStatusApplyConfiguration) IsApplyConfiguration() {} // WithActive adds the given value to the Active field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go index e508f144154..8aeec8f3d85 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/job.go @@ -82,6 +82,7 @@ func extractJob(job *batchv1.Job, fieldManager string, subresource string) (*Job b.WithAPIVersion("batch/v1") return b, nil } +func (b JobApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *JobApplyConfiguration) WithStatus(value *JobStatusApplyConfiguration) * return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *JobApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *JobApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *JobApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *JobApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go index fb3c65aba61..7e6a61cd606 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobcondition.go @@ -40,6 +40,7 @@ type JobConditionApplyConfiguration struct { func JobCondition() *JobConditionApplyConfiguration { return &JobConditionApplyConfiguration{} } +func (b JobConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go index 2104fe113d3..be2bcdddd45 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go @@ -50,6 +50,7 @@ type JobSpecApplyConfiguration struct { func JobSpec() *JobSpecApplyConfiguration { return &JobSpecApplyConfiguration{} } +func (b JobSpecApplyConfiguration) IsApplyConfiguration() {} // WithParallelism sets the Parallelism field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go index 071a0153f54..7123ca69690 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobstatus.go @@ -43,6 +43,7 @@ type JobStatusApplyConfiguration struct { func JobStatus() *JobStatusApplyConfiguration { return &JobStatusApplyConfiguration{} } +func (b JobStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go index b9666b03db5..4b837829a4a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobtemplatespec.go @@ -36,6 +36,7 @@ type JobTemplateSpecApplyConfiguration struct { func JobTemplateSpec() *JobTemplateSpecApplyConfiguration { return &JobTemplateSpecApplyConfiguration{} } +func (b JobTemplateSpecApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -192,3 +193,9 @@ func (b *JobTemplateSpecApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *JobTemplateSpecApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go index 05a68b3c94b..a310b8d2894 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go @@ -29,6 +29,7 @@ type PodFailurePolicyApplyConfiguration struct { func PodFailurePolicy() *PodFailurePolicyApplyConfiguration { return &PodFailurePolicyApplyConfiguration{} } +func (b PodFailurePolicyApplyConfiguration) IsApplyConfiguration() {} // WithRules adds the given value to the Rules field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go index aa4dfc4c142..315a0d0600c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go @@ -35,6 +35,7 @@ type PodFailurePolicyOnExitCodesRequirementApplyConfiguration struct { func PodFailurePolicyOnExitCodesRequirement() *PodFailurePolicyOnExitCodesRequirementApplyConfiguration { return &PodFailurePolicyOnExitCodesRequirementApplyConfiguration{} } +func (b PodFailurePolicyOnExitCodesRequirementApplyConfiguration) IsApplyConfiguration() {} // WithContainerName sets the ContainerName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go index 6459a6e5943..9c5a5f5fb1b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go @@ -34,6 +34,7 @@ type PodFailurePolicyOnPodConditionsPatternApplyConfiguration struct { func PodFailurePolicyOnPodConditionsPattern() *PodFailurePolicyOnPodConditionsPatternApplyConfiguration { return &PodFailurePolicyOnPodConditionsPatternApplyConfiguration{} } +func (b PodFailurePolicyOnPodConditionsPatternApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go index 847ec7c9548..702d44a69c9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go @@ -35,6 +35,7 @@ type PodFailurePolicyRuleApplyConfiguration struct { func PodFailurePolicyRule() *PodFailurePolicyRuleApplyConfiguration { return &PodFailurePolicyRuleApplyConfiguration{} } +func (b PodFailurePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithAction sets the Action field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go index a3f4f39e2ea..22839f0fd6e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicy.go @@ -29,6 +29,7 @@ type SuccessPolicyApplyConfiguration struct { func SuccessPolicy() *SuccessPolicyApplyConfiguration { return &SuccessPolicyApplyConfiguration{} } +func (b SuccessPolicyApplyConfiguration) IsApplyConfiguration() {} // WithRules adds the given value to the Rules field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go index 2b5e3d91fe6..931e1a1f7c0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/successpolicyrule.go @@ -30,6 +30,7 @@ type SuccessPolicyRuleApplyConfiguration struct { func SuccessPolicyRule() *SuccessPolicyRuleApplyConfiguration { return &SuccessPolicyRuleApplyConfiguration{} } +func (b SuccessPolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithSucceededIndexes sets the SucceededIndexes field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go index ff6b57b86cb..fb9b7ef5a7b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1/uncountedterminatedpods.go @@ -34,6 +34,7 @@ type UncountedTerminatedPodsApplyConfiguration struct { func UncountedTerminatedPods() *UncountedTerminatedPodsApplyConfiguration { return &UncountedTerminatedPodsApplyConfiguration{} } +func (b UncountedTerminatedPodsApplyConfiguration) IsApplyConfiguration() {} // WithSucceeded adds the given value to the Succeeded field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go index 133ed36fa28..89b181cd867 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjob.go @@ -82,6 +82,7 @@ func extractCronJob(cronJob *batchv1beta1.CronJob, fieldManager string, subresou b.WithAPIVersion("batch/v1beta1") return b, nil } +func (b CronJobApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *CronJobApplyConfiguration) WithStatus(value *CronJobStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CronJobApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CronJobApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go index 30604ac7edb..0173751f414 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobspec.go @@ -40,6 +40,7 @@ type CronJobSpecApplyConfiguration struct { func CronJobSpec() *CronJobSpecApplyConfiguration { return &CronJobSpecApplyConfiguration{} } +func (b CronJobSpecApplyConfiguration) IsApplyConfiguration() {} // WithSchedule sets the Schedule field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go index 335f9e0dce8..1103b76f6c1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/cronjobstatus.go @@ -36,6 +36,7 @@ type CronJobStatusApplyConfiguration struct { func CronJobStatus() *CronJobStatusApplyConfiguration { return &CronJobStatusApplyConfiguration{} } +func (b CronJobStatusApplyConfiguration) IsApplyConfiguration() {} // WithActive adds the given value to the Active field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go index 4106b8e5537..f126244a850 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/batch/v1beta1/jobtemplatespec.go @@ -37,6 +37,7 @@ type JobTemplateSpecApplyConfiguration struct { func JobTemplateSpec() *JobTemplateSpecApplyConfiguration { return &JobTemplateSpecApplyConfiguration{} } +func (b JobTemplateSpecApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -193,3 +194,9 @@ func (b *JobTemplateSpecApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *JobTemplateSpecApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go index 998e5723c8d..e78702cb35b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequest.go @@ -80,6 +80,7 @@ func extractCertificateSigningRequest(certificateSigningRequest *certificatesv1. b.WithAPIVersion("certificates.k8s.io/v1") return b, nil } +func (b CertificateSigningRequestApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *CertificateSigningRequestApplyConfiguration) WithStatus(value *Certific return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CertificateSigningRequestApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go index a6dedcb595e..86865ee9473 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestcondition.go @@ -40,6 +40,7 @@ type CertificateSigningRequestConditionApplyConfiguration struct { func CertificateSigningRequestCondition() *CertificateSigningRequestConditionApplyConfiguration { return &CertificateSigningRequestConditionApplyConfiguration{} } +func (b CertificateSigningRequestConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go index 82da53c9e19..f305f29f45b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go @@ -40,6 +40,7 @@ type CertificateSigningRequestSpecApplyConfiguration struct { func CertificateSigningRequestSpec() *CertificateSigningRequestSpecApplyConfiguration { return &CertificateSigningRequestSpecApplyConfiguration{} } +func (b CertificateSigningRequestSpecApplyConfiguration) IsApplyConfiguration() {} // WithRequest adds the given value to the Request field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequeststatus.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequeststatus.go index 897f6d1e982..372fb66ea4c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequeststatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequeststatus.go @@ -30,6 +30,7 @@ type CertificateSigningRequestStatusApplyConfiguration struct { func CertificateSigningRequestStatus() *CertificateSigningRequestStatusApplyConfiguration { return &CertificateSigningRequestStatusApplyConfiguration{} } +func (b CertificateSigningRequestStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go index 6ae6b269d25..82c2efc2f03 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundle.go @@ -79,6 +79,7 @@ func extractClusterTrustBundle(clusterTrustBundle *certificatesv1alpha1.ClusterT b.WithAPIVersion("certificates.k8s.io/v1alpha1") return b, nil } +func (b ClusterTrustBundleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ClusterTrustBundleApplyConfiguration) WithSpec(value *ClusterTrustBundl return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTrustBundleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundlespec.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundlespec.go index 7bb36f7084d..94540ce184f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundlespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1alpha1/clustertrustbundlespec.go @@ -30,6 +30,7 @@ type ClusterTrustBundleSpecApplyConfiguration struct { func ClusterTrustBundleSpec() *ClusterTrustBundleSpecApplyConfiguration { return &ClusterTrustBundleSpecApplyConfiguration{} } +func (b ClusterTrustBundleSpecApplyConfiguration) IsApplyConfiguration() {} // WithSignerName sets the SignerName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go index a1f57f268f6..49009d3b0d7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequest.go @@ -80,6 +80,7 @@ func extractCertificateSigningRequest(certificateSigningRequest *certificatesv1b b.WithAPIVersion("certificates.k8s.io/v1beta1") return b, nil } +func (b CertificateSigningRequestApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *CertificateSigningRequestApplyConfiguration) WithStatus(value *Certific return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CertificateSigningRequestApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CertificateSigningRequestApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go index a845ec40479..20483bc9a29 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestcondition.go @@ -40,6 +40,7 @@ type CertificateSigningRequestConditionApplyConfiguration struct { func CertificateSigningRequestCondition() *CertificateSigningRequestConditionApplyConfiguration { return &CertificateSigningRequestConditionApplyConfiguration{} } +func (b CertificateSigningRequestConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go index ee4016c76d9..96dc091a873 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go @@ -40,6 +40,7 @@ type CertificateSigningRequestSpecApplyConfiguration struct { func CertificateSigningRequestSpec() *CertificateSigningRequestSpecApplyConfiguration { return &CertificateSigningRequestSpecApplyConfiguration{} } +func (b CertificateSigningRequestSpecApplyConfiguration) IsApplyConfiguration() {} // WithRequest adds the given value to the Request field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequeststatus.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequeststatus.go index f82e8aed3bc..f52583a215d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequeststatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequeststatus.go @@ -30,6 +30,7 @@ type CertificateSigningRequestStatusApplyConfiguration struct { func CertificateSigningRequestStatus() *CertificateSigningRequestStatusApplyConfiguration { return &CertificateSigningRequestStatusApplyConfiguration{} } +func (b CertificateSigningRequestStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundle.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundle.go index 365fb9b0e0c..dc0dab1ae9e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundle.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundle.go @@ -79,6 +79,7 @@ func extractClusterTrustBundle(clusterTrustBundle *certificatesv1beta1.ClusterTr b.WithAPIVersion("certificates.k8s.io/v1beta1") return b, nil } +func (b ClusterTrustBundleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ClusterTrustBundleApplyConfiguration) WithSpec(value *ClusterTrustBundl return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTrustBundleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTrustBundleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundlespec.go b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundlespec.go index 157a9efa840..a490da8fc29 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundlespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/clustertrustbundlespec.go @@ -30,6 +30,7 @@ type ClusterTrustBundleSpecApplyConfiguration struct { func ClusterTrustBundleSpec() *ClusterTrustBundleSpecApplyConfiguration { return &ClusterTrustBundleSpecApplyConfiguration{} } +func (b ClusterTrustBundleSpecApplyConfiguration) IsApplyConfiguration() {} // WithSignerName sets the SignerName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go index 2a69e773cd7..1918345671c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/lease.go @@ -81,6 +81,7 @@ func extractLease(lease *coordinationv1.Lease, fieldManager string, subresource b.WithAPIVersion("coordination.k8s.io/v1") return b, nil } +func (b LeaseApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *LeaseApplyConfiguration) WithSpec(value *LeaseSpecApplyConfiguration) * return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *LeaseApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go index d0099872c89..507672509b5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1/leasespec.go @@ -40,6 +40,7 @@ type LeaseSpecApplyConfiguration struct { func LeaseSpec() *LeaseSpecApplyConfiguration { return &LeaseSpecApplyConfiguration{} } +func (b LeaseSpecApplyConfiguration) IsApplyConfiguration() {} // WithHolderIdentity sets the HolderIdentity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidate.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidate.go index b2cc2338eac..e3d9b5ab683 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidate.go @@ -81,6 +81,7 @@ func extractLeaseCandidate(leaseCandidate *coordinationv1alpha2.LeaseCandidate, b.WithAPIVersion("coordination.k8s.io/v1alpha2") return b, nil } +func (b LeaseCandidateApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *LeaseCandidateApplyConfiguration) WithSpec(value *LeaseCandidateSpecApp return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *LeaseCandidateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidatespec.go index f52aaab24be..2343957a59e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1alpha2/leasecandidatespec.go @@ -39,6 +39,7 @@ type LeaseCandidateSpecApplyConfiguration struct { func LeaseCandidateSpec() *LeaseCandidateSpecApplyConfiguration { return &LeaseCandidateSpecApplyConfiguration{} } +func (b LeaseCandidateSpecApplyConfiguration) IsApplyConfiguration() {} // WithLeaseName sets the LeaseName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go index b321fe6b433..377d8f493a1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/lease.go @@ -81,6 +81,7 @@ func extractLease(lease *coordinationv1beta1.Lease, fieldManager string, subreso b.WithAPIVersion("coordination.k8s.io/v1beta1") return b, nil } +func (b LeaseApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *LeaseApplyConfiguration) WithSpec(value *LeaseSpecApplyConfiguration) * return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *LeaseApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *LeaseApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidate.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidate.go index 2e1c812191e..57c0c859116 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidate.go @@ -81,6 +81,7 @@ func extractLeaseCandidate(leaseCandidate *coordinationv1beta1.LeaseCandidate, f b.WithAPIVersion("coordination.k8s.io/v1beta1") return b, nil } +func (b LeaseCandidateApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *LeaseCandidateApplyConfiguration) WithSpec(value *LeaseCandidateSpecApp return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *LeaseCandidateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *LeaseCandidateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidatespec.go index c3ea12c813c..517287b283f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasecandidatespec.go @@ -39,6 +39,7 @@ type LeaseCandidateSpecApplyConfiguration struct { func LeaseCandidateSpec() *LeaseCandidateSpecApplyConfiguration { return &LeaseCandidateSpecApplyConfiguration{} } +func (b LeaseCandidateSpecApplyConfiguration) IsApplyConfiguration() {} // WithLeaseName sets the LeaseName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go index 8c7fddfc614..d1aa8373ccd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/coordination/v1beta1/leasespec.go @@ -40,6 +40,7 @@ type LeaseSpecApplyConfiguration struct { func LeaseSpec() *LeaseSpecApplyConfiguration { return &LeaseSpecApplyConfiguration{} } +func (b LeaseSpecApplyConfiguration) IsApplyConfiguration() {} // WithHolderIdentity sets the HolderIdentity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/affinity.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/affinity.go index 45484f140dc..90b8c9004ee 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/affinity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/affinity.go @@ -31,6 +31,7 @@ type AffinityApplyConfiguration struct { func Affinity() *AffinityApplyConfiguration { return &AffinityApplyConfiguration{} } +func (b AffinityApplyConfiguration) IsApplyConfiguration() {} // WithNodeAffinity sets the NodeAffinity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/apparmorprofile.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/apparmorprofile.go index 3f7de21b390..402b9e13709 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/apparmorprofile.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/apparmorprofile.go @@ -34,6 +34,7 @@ type AppArmorProfileApplyConfiguration struct { func AppArmorProfile() *AppArmorProfileApplyConfiguration { return &AppArmorProfileApplyConfiguration{} } +func (b AppArmorProfileApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/attachedvolume.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/attachedvolume.go index 2c76161a103..501f135522e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/attachedvolume.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/attachedvolume.go @@ -34,6 +34,7 @@ type AttachedVolumeApplyConfiguration struct { func AttachedVolume() *AttachedVolumeApplyConfiguration { return &AttachedVolumeApplyConfiguration{} } +func (b AttachedVolumeApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go index d08786965e9..50af34a2acd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go @@ -32,6 +32,7 @@ type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct { func AWSElasticBlockStoreVolumeSource() *AWSElasticBlockStoreVolumeSourceApplyConfiguration { return &AWSElasticBlockStoreVolumeSourceApplyConfiguration{} } +func (b AWSElasticBlockStoreVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeID sets the VolumeID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurediskvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurediskvolumesource.go index d4d20dfa91b..7d1755fe4bc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurediskvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurediskvolumesource.go @@ -38,6 +38,7 @@ type AzureDiskVolumeSourceApplyConfiguration struct { func AzureDiskVolumeSource() *AzureDiskVolumeSourceApplyConfiguration { return &AzureDiskVolumeSourceApplyConfiguration{} } +func (b AzureDiskVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDiskName sets the DiskName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go index 70a6b17be88..e83b00d18d3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go @@ -32,6 +32,7 @@ type AzureFilePersistentVolumeSourceApplyConfiguration struct { func AzureFilePersistentVolumeSource() *AzureFilePersistentVolumeSourceApplyConfiguration { return &AzureFilePersistentVolumeSourceApplyConfiguration{} } +func (b AzureFilePersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithSecretName sets the SecretName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilevolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilevolumesource.go index ff0c867919e..826f7f4ad74 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilevolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilevolumesource.go @@ -31,6 +31,7 @@ type AzureFileVolumeSourceApplyConfiguration struct { func AzureFileVolumeSource() *AzureFileVolumeSourceApplyConfiguration { return &AzureFileVolumeSourceApplyConfiguration{} } +func (b AzureFileVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithSecretName sets the SecretName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/capabilities.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/capabilities.go index e5c52b3c137..df2c1a96ad9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/capabilities.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/capabilities.go @@ -34,6 +34,7 @@ type CapabilitiesApplyConfiguration struct { func Capabilities() *CapabilitiesApplyConfiguration { return &CapabilitiesApplyConfiguration{} } +func (b CapabilitiesApplyConfiguration) IsApplyConfiguration() {} // WithAdd adds the given value to the Add field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfspersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfspersistentvolumesource.go index f3ee2d03e9f..1b2a3e7c273 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfspersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfspersistentvolumesource.go @@ -34,6 +34,7 @@ type CephFSPersistentVolumeSourceApplyConfiguration struct { func CephFSPersistentVolumeSource() *CephFSPersistentVolumeSourceApplyConfiguration { return &CephFSPersistentVolumeSourceApplyConfiguration{} } +func (b CephFSPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithMonitors adds the given value to the Monitors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfsvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfsvolumesource.go index 77d53d6eb04..113f1e0358c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfsvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cephfsvolumesource.go @@ -34,6 +34,7 @@ type CephFSVolumeSourceApplyConfiguration struct { func CephFSVolumeSource() *CephFSVolumeSourceApplyConfiguration { return &CephFSVolumeSourceApplyConfiguration{} } +func (b CephFSVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithMonitors adds the given value to the Monitors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go index b2657348829..dae5400bed1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go @@ -32,6 +32,7 @@ type CinderPersistentVolumeSourceApplyConfiguration struct { func CinderPersistentVolumeSource() *CinderPersistentVolumeSourceApplyConfiguration { return &CinderPersistentVolumeSourceApplyConfiguration{} } +func (b CinderPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeID sets the VolumeID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go index 131cbf219c6..b27b8bb27e4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go @@ -32,6 +32,7 @@ type CinderVolumeSourceApplyConfiguration struct { func CinderVolumeSource() *CinderVolumeSourceApplyConfiguration { return &CinderVolumeSourceApplyConfiguration{} } +func (b CinderVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeID sets the VolumeID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clientipconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clientipconfig.go index 02c4e55e138..5ea9d015f13 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clientipconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clientipconfig.go @@ -29,6 +29,7 @@ type ClientIPConfigApplyConfiguration struct { func ClientIPConfig() *ClientIPConfigApplyConfiguration { return &ClientIPConfigApplyConfiguration{} } +func (b ClientIPConfigApplyConfiguration) IsApplyConfiguration() {} // WithTimeoutSeconds sets the TimeoutSeconds field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go index ab1c578c858..b6e194ec65c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go @@ -37,6 +37,7 @@ type ClusterTrustBundleProjectionApplyConfiguration struct { func ClusterTrustBundleProjection() *ClusterTrustBundleProjectionApplyConfiguration { return &ClusterTrustBundleProjectionApplyConfiguration{} } +func (b ClusterTrustBundleProjectionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go index 60be6fe8011..6230bbba534 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentcondition.go @@ -36,6 +36,7 @@ type ComponentConditionApplyConfiguration struct { func ComponentCondition() *ComponentConditionApplyConfiguration { return &ComponentConditionApplyConfiguration{} } +func (b ComponentConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go index 340a55e2d25..567446df870 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/componentstatus.go @@ -79,6 +79,7 @@ func extractComponentStatus(componentStatus *corev1.ComponentStatus, fieldManage b.WithAPIVersion("v1") return b, nil } +func (b ComponentStatusApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -251,8 +252,24 @@ func (b *ComponentStatusApplyConfiguration) WithConditions(values ...*ComponentC return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ComponentStatusApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ComponentStatusApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ComponentStatusApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ComponentStatusApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go index 2ff2c4d20c9..496f7cadbee 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go @@ -83,6 +83,7 @@ func extractConfigMap(configMap *corev1.ConfigMap, fieldManager string, subresou b.WithAPIVersion("v1") return b, nil } +func (b ConfigMapApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -278,8 +279,24 @@ func (b *ConfigMapApplyConfiguration) WithBinaryData(entries map[string][]byte) return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ConfigMapApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ConfigMapApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ConfigMapApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ConfigMapApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapenvsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapenvsource.go index 4c0d2cbdd9d..958aa3ac33c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapenvsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapenvsource.go @@ -30,6 +30,7 @@ type ConfigMapEnvSourceApplyConfiguration struct { func ConfigMapEnvSource() *ConfigMapEnvSourceApplyConfiguration { return &ConfigMapEnvSourceApplyConfiguration{} } +func (b ConfigMapEnvSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapkeyselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapkeyselector.go index 97c0e7210aa..e511a8b3d49 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapkeyselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapkeyselector.go @@ -31,6 +31,7 @@ type ConfigMapKeySelectorApplyConfiguration struct { func ConfigMapKeySelector() *ConfigMapKeySelectorApplyConfiguration { return &ConfigMapKeySelectorApplyConfiguration{} } +func (b ConfigMapKeySelectorApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapnodeconfigsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapnodeconfigsource.go index 135bb7d427e..b2a43728a3f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapnodeconfigsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapnodeconfigsource.go @@ -37,6 +37,7 @@ type ConfigMapNodeConfigSourceApplyConfiguration struct { func ConfigMapNodeConfigSource() *ConfigMapNodeConfigSourceApplyConfiguration { return &ConfigMapNodeConfigSourceApplyConfiguration{} } +func (b ConfigMapNodeConfigSourceApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapprojection.go index d8c5e21d3a5..d765664a9ad 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapprojection.go @@ -31,6 +31,7 @@ type ConfigMapProjectionApplyConfiguration struct { func ConfigMapProjection() *ConfigMapProjectionApplyConfiguration { return &ConfigMapProjectionApplyConfiguration{} } +func (b ConfigMapProjectionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go index b5f41039775..f2bd97186aa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go @@ -32,6 +32,7 @@ type ConfigMapVolumeSourceApplyConfiguration struct { func ConfigMapVolumeSource() *ConfigMapVolumeSourceApplyConfiguration { return &ConfigMapVolumeSourceApplyConfiguration{} } +func (b ConfigMapVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go index eed5f7d0273..0aca6262003 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go @@ -56,6 +56,7 @@ type ContainerApplyConfiguration struct { func Container() *ContainerApplyConfiguration { return &ContainerApplyConfiguration{} } +func (b ContainerApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go index bc9428fd10e..12575331409 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerimage.go @@ -30,6 +30,7 @@ type ContainerImageApplyConfiguration struct { func ContainerImage() *ContainerImageApplyConfiguration { return &ContainerImageApplyConfiguration{} } +func (b ContainerImageApplyConfiguration) IsApplyConfiguration() {} // WithNames adds the given value to the Names field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.go index 2ad47b3a961..3ef7a016f45 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerport.go @@ -37,6 +37,7 @@ type ContainerPortApplyConfiguration struct { func ContainerPort() *ContainerPortApplyConfiguration { return &ContainerPortApplyConfiguration{} } +func (b ContainerPortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerresizepolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerresizepolicy.go index d45dbceaf9f..e2cab8609da 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerresizepolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerresizepolicy.go @@ -34,6 +34,7 @@ type ContainerResizePolicyApplyConfiguration struct { func ContainerResizePolicy() *ContainerResizePolicyApplyConfiguration { return &ContainerResizePolicyApplyConfiguration{} } +func (b ContainerResizePolicyApplyConfiguration) IsApplyConfiguration() {} // WithResourceName sets the ResourceName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstate.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstate.go index b958e017742..d1318610031 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstate.go @@ -31,6 +31,7 @@ type ContainerStateApplyConfiguration struct { func ContainerState() *ContainerStateApplyConfiguration { return &ContainerStateApplyConfiguration{} } +func (b ContainerStateApplyConfiguration) IsApplyConfiguration() {} // WithWaiting sets the Waiting field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go index 0ed59c17745..75bb6ce959c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go @@ -33,6 +33,7 @@ type ContainerStateRunningApplyConfiguration struct { func ContainerStateRunning() *ContainerStateRunningApplyConfiguration { return &ContainerStateRunningApplyConfiguration{} } +func (b ContainerStateRunningApplyConfiguration) IsApplyConfiguration() {} // WithStartedAt sets the StartedAt field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go index cfadd93c99f..60b7dc9362b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go @@ -39,6 +39,7 @@ type ContainerStateTerminatedApplyConfiguration struct { func ContainerStateTerminated() *ContainerStateTerminatedApplyConfiguration { return &ContainerStateTerminatedApplyConfiguration{} } +func (b ContainerStateTerminatedApplyConfiguration) IsApplyConfiguration() {} // WithExitCode sets the ExitCode field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatewaiting.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatewaiting.go index 7756c7da03a..5e2c05ce2dd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatewaiting.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatewaiting.go @@ -30,6 +30,7 @@ type ContainerStateWaitingApplyConfiguration struct { func ContainerStateWaiting() *ContainerStateWaitingApplyConfiguration { return &ContainerStateWaitingApplyConfiguration{} } +func (b ContainerStateWaitingApplyConfiguration) IsApplyConfiguration() {} // WithReason sets the Reason field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go index 8f64501bb1b..071c2ea220c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go @@ -47,6 +47,7 @@ type ContainerStatusApplyConfiguration struct { func ContainerStatus() *ContainerStatusApplyConfiguration { return &ContainerStatusApplyConfiguration{} } +func (b ContainerStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containeruser.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containeruser.go index 34ec8e41465..9d5d187fc99 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containeruser.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/containeruser.go @@ -29,6 +29,7 @@ type ContainerUserApplyConfiguration struct { func ContainerUser() *ContainerUserApplyConfiguration { return &ContainerUserApplyConfiguration{} } +func (b ContainerUserApplyConfiguration) IsApplyConfiguration() {} // WithLinux sets the Linux field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csipersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csipersistentvolumesource.go index a614d10805b..5fcbc94f6da 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csipersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csipersistentvolumesource.go @@ -38,6 +38,7 @@ type CSIPersistentVolumeSourceApplyConfiguration struct { func CSIPersistentVolumeSource() *CSIPersistentVolumeSourceApplyConfiguration { return &CSIPersistentVolumeSourceApplyConfiguration{} } +func (b CSIPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csivolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csivolumesource.go index b58d9bbb4b5..e89686c4ea0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csivolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/csivolumesource.go @@ -33,6 +33,7 @@ type CSIVolumeSourceApplyConfiguration struct { func CSIVolumeSource() *CSIVolumeSourceApplyConfiguration { return &CSIVolumeSourceApplyConfiguration{} } +func (b CSIVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/daemonendpoint.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/daemonendpoint.go index 5be27ec0c57..10a7270b036 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/daemonendpoint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/daemonendpoint.go @@ -29,6 +29,7 @@ type DaemonEndpointApplyConfiguration struct { func DaemonEndpoint() *DaemonEndpointApplyConfiguration { return &DaemonEndpointApplyConfiguration{} } +func (b DaemonEndpointApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapiprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapiprojection.go index ed6b8b1bbe4..c5392b7c441 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapiprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapiprojection.go @@ -29,6 +29,7 @@ type DownwardAPIProjectionApplyConfiguration struct { func DownwardAPIProjection() *DownwardAPIProjectionApplyConfiguration { return &DownwardAPIProjectionApplyConfiguration{} } +func (b DownwardAPIProjectionApplyConfiguration) IsApplyConfiguration() {} // WithItems adds the given value to the Items field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go index ec9d013dd94..dfbc5a88882 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumefile.go @@ -32,6 +32,7 @@ type DownwardAPIVolumeFileApplyConfiguration struct { func DownwardAPIVolumeFile() *DownwardAPIVolumeFileApplyConfiguration { return &DownwardAPIVolumeFileApplyConfiguration{} } +func (b DownwardAPIVolumeFileApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go index eef9d7ef8d5..2a2e79fc3e7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go @@ -30,6 +30,7 @@ type DownwardAPIVolumeSourceApplyConfiguration struct { func DownwardAPIVolumeSource() *DownwardAPIVolumeSourceApplyConfiguration { return &DownwardAPIVolumeSourceApplyConfiguration{} } +func (b DownwardAPIVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithItems adds the given value to the Items field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go index 63e9f56ab71..4ceb64dbd85 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/emptydirvolumesource.go @@ -35,6 +35,7 @@ type EmptyDirVolumeSourceApplyConfiguration struct { func EmptyDirVolumeSource() *EmptyDirVolumeSourceApplyConfiguration { return &EmptyDirVolumeSourceApplyConfiguration{} } +func (b EmptyDirVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithMedium sets the Medium field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go index 536e697a9a6..2f5d06a920b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go @@ -32,6 +32,7 @@ type EndpointAddressApplyConfiguration struct { func EndpointAddress() *EndpointAddressApplyConfiguration { return &EndpointAddressApplyConfiguration{} } +func (b EndpointAddressApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointport.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointport.go index 05ee64ddca4..0289fc51f5c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointport.go @@ -36,6 +36,7 @@ type EndpointPortApplyConfiguration struct { func EndpointPort() *EndpointPortApplyConfiguration { return &EndpointPortApplyConfiguration{} } +func (b EndpointPortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go index d2f910196de..1cb1d40aed6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go @@ -81,6 +81,7 @@ func extractEndpoints(endpoints *corev1.Endpoints, fieldManager string, subresou b.WithAPIVersion("v1") return b, nil } +func (b EndpointsApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -253,8 +254,24 @@ func (b *EndpointsApplyConfiguration) WithSubsets(values ...*EndpointSubsetApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EndpointsApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EndpointsApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EndpointsApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EndpointsApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointsubset.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointsubset.go index 33cd8496a73..11b525833e3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointsubset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointsubset.go @@ -31,6 +31,7 @@ type EndpointSubsetApplyConfiguration struct { func EndpointSubset() *EndpointSubsetApplyConfiguration { return &EndpointSubsetApplyConfiguration{} } +func (b EndpointSubsetApplyConfiguration) IsApplyConfiguration() {} // WithAddresses adds the given value to the Addresses field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envfromsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envfromsource.go index 7aa181cf1a0..d5cf676effa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envfromsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envfromsource.go @@ -31,6 +31,7 @@ type EnvFromSourceApplyConfiguration struct { func EnvFromSource() *EnvFromSourceApplyConfiguration { return &EnvFromSourceApplyConfiguration{} } +func (b EnvFromSourceApplyConfiguration) IsApplyConfiguration() {} // WithPrefix sets the Prefix field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvar.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvar.go index 5894166ca4b..a22e38b65c0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvar.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvar.go @@ -31,6 +31,7 @@ type EnvVarApplyConfiguration struct { func EnvVar() *EnvVarApplyConfiguration { return &EnvVarApplyConfiguration{} } +func (b EnvVarApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvarsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvarsource.go index a3a55ea7af4..fc1f2885456 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvarsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/envvarsource.go @@ -32,6 +32,7 @@ type EnvVarSourceApplyConfiguration struct { func EnvVarSource() *EnvVarSourceApplyConfiguration { return &EnvVarSourceApplyConfiguration{} } +func (b EnvVarSourceApplyConfiguration) IsApplyConfiguration() {} // WithFieldRef sets the FieldRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go index 4b74439fc10..2c34563f6de 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainer.go @@ -34,6 +34,7 @@ type EphemeralContainerApplyConfiguration struct { func EphemeralContainer() *EphemeralContainerApplyConfiguration { return &EphemeralContainerApplyConfiguration{} } +func (b EphemeralContainerApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go index d5d13d27a07..7bf889bf7d5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralcontainercommon.go @@ -56,6 +56,7 @@ type EphemeralContainerCommonApplyConfiguration struct { func EphemeralContainerCommon() *EphemeralContainerCommonApplyConfiguration { return &EphemeralContainerCommonApplyConfiguration{} } +func (b EphemeralContainerCommonApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralvolumesource.go index d2c8c6722e8..a3733c866a7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/ephemeralvolumesource.go @@ -29,6 +29,7 @@ type EphemeralVolumeSourceApplyConfiguration struct { func EphemeralVolumeSource() *EphemeralVolumeSourceApplyConfiguration { return &EphemeralVolumeSourceApplyConfiguration{} } +func (b EphemeralVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go index 9496ea77339..a4f1905090e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/event.go @@ -94,6 +94,7 @@ func extractEvent(event *corev1.Event, fieldManager string, subresource string) b.WithAPIVersion("v1") return b, nil } +func (b EventApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -365,8 +366,24 @@ func (b *EventApplyConfiguration) WithReportingInstance(value string) *EventAppl return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EventApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EventApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EventApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EventApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go index c90954bccbd..cfe39c3744a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventseries.go @@ -34,6 +34,7 @@ type EventSeriesApplyConfiguration struct { func EventSeries() *EventSeriesApplyConfiguration { return &EventSeriesApplyConfiguration{} } +func (b EventSeriesApplyConfiguration) IsApplyConfiguration() {} // WithCount sets the Count field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventsource.go index 97edb049310..0f0f2a570be 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/eventsource.go @@ -30,6 +30,7 @@ type EventSourceApplyConfiguration struct { func EventSource() *EventSourceApplyConfiguration { return &EventSourceApplyConfiguration{} } +func (b EventSourceApplyConfiguration) IsApplyConfiguration() {} // WithComponent sets the Component field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/execaction.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/execaction.go index b7208a91cfe..f969d21dd5a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/execaction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/execaction.go @@ -29,6 +29,7 @@ type ExecActionApplyConfiguration struct { func ExecAction() *ExecActionApplyConfiguration { return &ExecActionApplyConfiguration{} } +func (b ExecActionApplyConfiguration) IsApplyConfiguration() {} // WithCommand adds the given value to the Command field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go index 000ff2cc62d..4398afc76e2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/fcvolumesource.go @@ -33,6 +33,7 @@ type FCVolumeSourceApplyConfiguration struct { func FCVolumeSource() *FCVolumeSourceApplyConfiguration { return &FCVolumeSourceApplyConfiguration{} } +func (b FCVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithTargetWWNs adds the given value to the TargetWWNs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexpersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexpersistentvolumesource.go index 355c2c82d07..1aaa69fe3a9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexpersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexpersistentvolumesource.go @@ -33,6 +33,7 @@ type FlexPersistentVolumeSourceApplyConfiguration struct { func FlexPersistentVolumeSource() *FlexPersistentVolumeSourceApplyConfiguration { return &FlexPersistentVolumeSourceApplyConfiguration{} } +func (b FlexPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexvolumesource.go index 08ae9e1bead..2280d378ec8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flexvolumesource.go @@ -33,6 +33,7 @@ type FlexVolumeSourceApplyConfiguration struct { func FlexVolumeSource() *FlexVolumeSourceApplyConfiguration { return &FlexVolumeSourceApplyConfiguration{} } +func (b FlexVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flockervolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flockervolumesource.go index e4ecbba0e48..32775639099 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flockervolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/flockervolumesource.go @@ -30,6 +30,7 @@ type FlockerVolumeSourceApplyConfiguration struct { func FlockerVolumeSource() *FlockerVolumeSourceApplyConfiguration { return &FlockerVolumeSourceApplyConfiguration{} } +func (b FlockerVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithDatasetName sets the DatasetName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gcepersistentdiskvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gcepersistentdiskvolumesource.go index 56c4d03fa21..6333c52fcf0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gcepersistentdiskvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gcepersistentdiskvolumesource.go @@ -32,6 +32,7 @@ type GCEPersistentDiskVolumeSourceApplyConfiguration struct { func GCEPersistentDiskVolumeSource() *GCEPersistentDiskVolumeSourceApplyConfiguration { return &GCEPersistentDiskVolumeSourceApplyConfiguration{} } +func (b GCEPersistentDiskVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithPDName sets the PDName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go index 4ed92317c87..c19901861a0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/gitrepovolumesource.go @@ -31,6 +31,7 @@ type GitRepoVolumeSourceApplyConfiguration struct { func GitRepoVolumeSource() *GitRepoVolumeSourceApplyConfiguration { return &GitRepoVolumeSourceApplyConfiguration{} } +func (b GitRepoVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithRepository sets the Repository field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfspersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfspersistentvolumesource.go index c9a23ca5d74..6b094786f38 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfspersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfspersistentvolumesource.go @@ -32,6 +32,7 @@ type GlusterfsPersistentVolumeSourceApplyConfiguration struct { func GlusterfsPersistentVolumeSource() *GlusterfsPersistentVolumeSourceApplyConfiguration { return &GlusterfsPersistentVolumeSourceApplyConfiguration{} } +func (b GlusterfsPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfsvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfsvolumesource.go index 8c27f8c70d1..dc794590536 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfsvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/glusterfsvolumesource.go @@ -31,6 +31,7 @@ type GlusterfsVolumeSourceApplyConfiguration struct { func GlusterfsVolumeSource() *GlusterfsVolumeSourceApplyConfiguration { return &GlusterfsVolumeSourceApplyConfiguration{} } +func (b GlusterfsVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithEndpointsName sets the EndpointsName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/grpcaction.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/grpcaction.go index 0f3a886714d..4d50eb89680 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/grpcaction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/grpcaction.go @@ -30,6 +30,7 @@ type GRPCActionApplyConfiguration struct { func GRPCAction() *GRPCActionApplyConfiguration { return &GRPCActionApplyConfiguration{} } +func (b GRPCActionApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go index ec9ea174137..025cf0b164b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostalias.go @@ -30,6 +30,7 @@ type HostAliasApplyConfiguration struct { func HostAlias() *HostAliasApplyConfiguration { return &HostAliasApplyConfiguration{} } +func (b HostAliasApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostip.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostip.go index 439b5ce2d6b..e63e6a612b3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostip.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostip.go @@ -29,6 +29,7 @@ type HostIPApplyConfiguration struct { func HostIP() *HostIPApplyConfiguration { return &HostIPApplyConfiguration{} } +func (b HostIPApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostpathvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostpathvolumesource.go index 6a41d67cd06..35ff08b8130 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostpathvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/hostpathvolumesource.go @@ -34,6 +34,7 @@ type HostPathVolumeSourceApplyConfiguration struct { func HostPathVolumeSource() *HostPathVolumeSourceApplyConfiguration { return &HostPathVolumeSourceApplyConfiguration{} } +func (b HostPathVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go index ca61c5ae244..4774a2404da 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpgetaction.go @@ -38,6 +38,7 @@ type HTTPGetActionApplyConfiguration struct { func HTTPGetAction() *HTTPGetActionApplyConfiguration { return &HTTPGetActionApplyConfiguration{} } +func (b HTTPGetActionApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go index 25263716699..69863638910 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go @@ -30,6 +30,7 @@ type HTTPHeaderApplyConfiguration struct { func HTTPHeader() *HTTPHeaderApplyConfiguration { return &HTTPHeaderApplyConfiguration{} } +func (b HTTPHeaderApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/imagevolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/imagevolumesource.go index 9a146e68526..4843fe2074c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/imagevolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/imagevolumesource.go @@ -34,6 +34,7 @@ type ImageVolumeSourceApplyConfiguration struct { func ImageVolumeSource() *ImageVolumeSourceApplyConfiguration { return &ImageVolumeSourceApplyConfiguration{} } +func (b ImageVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithReference sets the Reference field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsipersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsipersistentvolumesource.go index 42f420c5686..99703e3d145 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsipersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsipersistentvolumesource.go @@ -39,6 +39,7 @@ type ISCSIPersistentVolumeSourceApplyConfiguration struct { func ISCSIPersistentVolumeSource() *ISCSIPersistentVolumeSourceApplyConfiguration { return &ISCSIPersistentVolumeSourceApplyConfiguration{} } +func (b ISCSIPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsivolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsivolumesource.go index 61055434bce..7e9956ef2e9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsivolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/iscsivolumesource.go @@ -39,6 +39,7 @@ type ISCSIVolumeSourceApplyConfiguration struct { func ISCSIVolumeSource() *ISCSIVolumeSourceApplyConfiguration { return &ISCSIVolumeSourceApplyConfiguration{} } +func (b ISCSIVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithTargetPortal sets the TargetPortal field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go index c961b07955b..6194c26ffa2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/keytopath.go @@ -31,6 +31,7 @@ type KeyToPathApplyConfiguration struct { func KeyToPath() *KeyToPathApplyConfiguration { return &KeyToPathApplyConfiguration{} } +func (b KeyToPathApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecycle.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecycle.go index f8c18a7502c..07eefe2f57e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecycle.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecycle.go @@ -35,6 +35,7 @@ type LifecycleApplyConfiguration struct { func Lifecycle() *LifecycleApplyConfiguration { return &LifecycleApplyConfiguration{} } +func (b LifecycleApplyConfiguration) IsApplyConfiguration() {} // WithPostStart sets the PostStart field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go index b7c706d58dd..7199214208a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/lifecyclehandler.go @@ -32,6 +32,7 @@ type LifecycleHandlerApplyConfiguration struct { func LifecycleHandler() *LifecycleHandlerApplyConfiguration { return &LifecycleHandlerApplyConfiguration{} } +func (b LifecycleHandlerApplyConfiguration) IsApplyConfiguration() {} // WithExec sets the Exec field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go index 517cc4cd3c6..349a212d569 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrange.go @@ -81,6 +81,7 @@ func extractLimitRange(limitRange *corev1.LimitRange, fieldManager string, subre b.WithAPIVersion("v1") return b, nil } +func (b LimitRangeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *LimitRangeApplyConfiguration) WithSpec(value *LimitRangeSpecApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *LimitRangeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *LimitRangeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *LimitRangeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *LimitRangeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangeitem.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangeitem.go index 5ad8ac0e6e2..4e430348793 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangeitem.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangeitem.go @@ -38,6 +38,7 @@ type LimitRangeItemApplyConfiguration struct { func LimitRangeItem() *LimitRangeItemApplyConfiguration { return &LimitRangeItemApplyConfiguration{} } +func (b LimitRangeItemApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangespec.go index 8d69c1c0cd7..590d1c040b1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/limitrangespec.go @@ -29,6 +29,7 @@ type LimitRangeSpecApplyConfiguration struct { func LimitRangeSpec() *LimitRangeSpecApplyConfiguration { return &LimitRangeSpecApplyConfiguration{} } +func (b LimitRangeSpecApplyConfiguration) IsApplyConfiguration() {} // WithLimits adds the given value to the Limits field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go index fbab4815ab8..603d9249ce9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/linuxcontaineruser.go @@ -31,6 +31,7 @@ type LinuxContainerUserApplyConfiguration struct { func LinuxContainerUser() *LinuxContainerUserApplyConfiguration { return &LinuxContainerUserApplyConfiguration{} } +func (b LinuxContainerUserApplyConfiguration) IsApplyConfiguration() {} // WithUID sets the UID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalanceringress.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalanceringress.go index ae5c410a243..ee64678aa60 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalanceringress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalanceringress.go @@ -36,6 +36,7 @@ type LoadBalancerIngressApplyConfiguration struct { func LoadBalancerIngress() *LoadBalancerIngressApplyConfiguration { return &LoadBalancerIngressApplyConfiguration{} } +func (b LoadBalancerIngressApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalancerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalancerstatus.go index bb3d616c15f..eb13a13ed3e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalancerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/loadbalancerstatus.go @@ -29,6 +29,7 @@ type LoadBalancerStatusApplyConfiguration struct { func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration { return &LoadBalancerStatusApplyConfiguration{} } +func (b LoadBalancerStatusApplyConfiguration) IsApplyConfiguration() {} // WithIngress adds the given value to the Ingress field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localobjectreference.go index c55d6803dc8..018660e3b5a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localobjectreference.go @@ -29,6 +29,7 @@ type LocalObjectReferenceApplyConfiguration struct { func LocalObjectReference() *LocalObjectReferenceApplyConfiguration { return &LocalObjectReferenceApplyConfiguration{} } +func (b LocalObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localvolumesource.go index db711d99349..5220eb467f3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/localvolumesource.go @@ -30,6 +30,7 @@ type LocalVolumeSourceApplyConfiguration struct { func LocalVolumeSource() *LocalVolumeSourceApplyConfiguration { return &LocalVolumeSourceApplyConfiguration{} } +func (b LocalVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/modifyvolumestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/modifyvolumestatus.go index 9a1a6af2a6e..5b1596ec873 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/modifyvolumestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/modifyvolumestatus.go @@ -34,6 +34,7 @@ type ModifyVolumeStatusApplyConfiguration struct { func ModifyVolumeStatus() *ModifyVolumeStatusApplyConfiguration { return &ModifyVolumeStatusApplyConfiguration{} } +func (b ModifyVolumeStatusApplyConfiguration) IsApplyConfiguration() {} // WithTargetVolumeAttributesClassName sets the TargetVolumeAttributesClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespace.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespace.go index 0aba283ce55..671a3cbccb8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespace.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespace.go @@ -80,6 +80,7 @@ func extractNamespace(namespace *corev1.Namespace, fieldManager string, subresou b.WithAPIVersion("v1") return b, nil } +func (b NamespaceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *NamespaceApplyConfiguration) WithStatus(value *NamespaceStatusApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *NamespaceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *NamespaceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *NamespaceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *NamespaceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacecondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacecondition.go index 82b4cc1ca3b..82bbc8045c7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacecondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacecondition.go @@ -38,6 +38,7 @@ type NamespaceConditionApplyConfiguration struct { func NamespaceCondition() *NamespaceConditionApplyConfiguration { return &NamespaceConditionApplyConfiguration{} } +func (b NamespaceConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go index 1f8fcaf9a12..924d336e4c3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go @@ -33,6 +33,7 @@ type NamespaceSpecApplyConfiguration struct { func NamespaceSpec() *NamespaceSpecApplyConfiguration { return &NamespaceSpecApplyConfiguration{} } +func (b NamespaceSpecApplyConfiguration) IsApplyConfiguration() {} // WithFinalizers adds the given value to the Finalizers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go index 1484be68429..7b7475f8f90 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go @@ -34,6 +34,7 @@ type NamespaceStatusApplyConfiguration struct { func NamespaceStatus() *NamespaceStatusApplyConfiguration { return &NamespaceStatusApplyConfiguration{} } +func (b NamespaceStatusApplyConfiguration) IsApplyConfiguration() {} // WithPhase sets the Phase field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nfsvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nfsvolumesource.go index ed49a87a9eb..10a74d56b9b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nfsvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nfsvolumesource.go @@ -31,6 +31,7 @@ type NFSVolumeSourceApplyConfiguration struct { func NFSVolumeSource() *NFSVolumeSourceApplyConfiguration { return &NFSVolumeSourceApplyConfiguration{} } +func (b NFSVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithServer sets the Server field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/node.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/node.go index d365047b7fe..3682e62e217 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/node.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/node.go @@ -80,6 +80,7 @@ func extractNode(node *corev1.Node, fieldManager string, subresource string) (*N b.WithAPIVersion("v1") return b, nil } +func (b NodeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *NodeApplyConfiguration) WithStatus(value *NodeStatusApplyConfiguration) return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *NodeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *NodeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *NodeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *NodeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaddress.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaddress.go index 779fe0e2fdc..b23b3446abb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaddress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaddress.go @@ -34,6 +34,7 @@ type NodeAddressApplyConfiguration struct { func NodeAddress() *NodeAddressApplyConfiguration { return &NodeAddressApplyConfiguration{} } +func (b NodeAddressApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaffinity.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaffinity.go index 5d11d746dcd..6bdb8086fbd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaffinity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeaffinity.go @@ -30,6 +30,7 @@ type NodeAffinityApplyConfiguration struct { func NodeAffinity() *NodeAffinityApplyConfiguration { return &NodeAffinityApplyConfiguration{} } +func (b NodeAffinityApplyConfiguration) IsApplyConfiguration() {} // WithRequiredDuringSchedulingIgnoredDuringExecution sets the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodecondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodecondition.go index e3a2d3bb063..fc67d9930a9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodecondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodecondition.go @@ -39,6 +39,7 @@ type NodeConditionApplyConfiguration struct { func NodeCondition() *NodeConditionApplyConfiguration { return &NodeConditionApplyConfiguration{} } +func (b NodeConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go index 00a671fc0c7..c8de84738d1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go @@ -29,6 +29,7 @@ type NodeConfigSourceApplyConfiguration struct { func NodeConfigSource() *NodeConfigSourceApplyConfiguration { return &NodeConfigSourceApplyConfiguration{} } +func (b NodeConfigSourceApplyConfiguration) IsApplyConfiguration() {} // WithConfigMap sets the ConfigMap field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go index d5ccc45c6a8..ee3d09db44a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go @@ -32,6 +32,7 @@ type NodeConfigStatusApplyConfiguration struct { func NodeConfigStatus() *NodeConfigStatusApplyConfiguration { return &NodeConfigStatusApplyConfiguration{} } +func (b NodeConfigStatusApplyConfiguration) IsApplyConfiguration() {} // WithAssigned sets the Assigned field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodedaemonendpoints.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodedaemonendpoints.go index 11228b36913..ce609fdb1aa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodedaemonendpoints.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodedaemonendpoints.go @@ -29,6 +29,7 @@ type NodeDaemonEndpointsApplyConfiguration struct { func NodeDaemonEndpoints() *NodeDaemonEndpointsApplyConfiguration { return &NodeDaemonEndpointsApplyConfiguration{} } +func (b NodeDaemonEndpointsApplyConfiguration) IsApplyConfiguration() {} // WithKubeletEndpoint sets the KubeletEndpoint field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodefeatures.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodefeatures.go index 678b0e36d6e..edd36159b26 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodefeatures.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodefeatures.go @@ -29,6 +29,7 @@ type NodeFeaturesApplyConfiguration struct { func NodeFeatures() *NodeFeaturesApplyConfiguration { return &NodeFeaturesApplyConfiguration{} } +func (b NodeFeaturesApplyConfiguration) IsApplyConfiguration() {} // WithSupplementalGroupsPolicy sets the SupplementalGroupsPolicy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandler.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandler.go index c7c664974e0..ff9e820e3af 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandler.go @@ -30,6 +30,7 @@ type NodeRuntimeHandlerApplyConfiguration struct { func NodeRuntimeHandler() *NodeRuntimeHandlerApplyConfiguration { return &NodeRuntimeHandlerApplyConfiguration{} } +func (b NodeRuntimeHandlerApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandlerfeatures.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandlerfeatures.go index a295b609690..6d2b6167adf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandlerfeatures.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/noderuntimehandlerfeatures.go @@ -30,6 +30,7 @@ type NodeRuntimeHandlerFeaturesApplyConfiguration struct { func NodeRuntimeHandlerFeatures() *NodeRuntimeHandlerFeaturesApplyConfiguration { return &NodeRuntimeHandlerFeaturesApplyConfiguration{} } +func (b NodeRuntimeHandlerFeaturesApplyConfiguration) IsApplyConfiguration() {} // WithRecursiveReadOnlyMounts sets the RecursiveReadOnlyMounts field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go index 6eab109795e..d41c1f7c6ce 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselector.go @@ -29,6 +29,7 @@ type NodeSelectorApplyConfiguration struct { func NodeSelector() *NodeSelectorApplyConfiguration { return &NodeSelectorApplyConfiguration{} } +func (b NodeSelectorApplyConfiguration) IsApplyConfiguration() {} // WithNodeSelectorTerms adds the given value to the NodeSelectorTerms field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorrequirement.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorrequirement.go index 4dcbc9a2e77..12d03337461 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorrequirement.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorrequirement.go @@ -35,6 +35,7 @@ type NodeSelectorRequirementApplyConfiguration struct { func NodeSelectorRequirement() *NodeSelectorRequirementApplyConfiguration { return &NodeSelectorRequirementApplyConfiguration{} } +func (b NodeSelectorRequirementApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorterm.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorterm.go index 9d0d780f3e0..14f9ec98f2e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorterm.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeselectorterm.go @@ -30,6 +30,7 @@ type NodeSelectorTermApplyConfiguration struct { func NodeSelectorTerm() *NodeSelectorTermApplyConfiguration { return &NodeSelectorTermApplyConfiguration{} } +func (b NodeSelectorTermApplyConfiguration) IsApplyConfiguration() {} // WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go index 8ac3497127b..64c7b0ea512 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodespec.go @@ -35,6 +35,7 @@ type NodeSpecApplyConfiguration struct { func NodeSpec() *NodeSpecApplyConfiguration { return &NodeSpecApplyConfiguration{} } +func (b NodeSpecApplyConfiguration) IsApplyConfiguration() {} // WithPodCIDR sets the PodCIDR field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go index 3859ccd503e..1039f881d34 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go @@ -45,6 +45,7 @@ type NodeStatusApplyConfiguration struct { func NodeStatus() *NodeStatusApplyConfiguration { return &NodeStatusApplyConfiguration{} } +func (b NodeStatusApplyConfiguration) IsApplyConfiguration() {} // WithCapacity sets the Capacity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeswapstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeswapstatus.go index 2a7a2e685db..0f53b151d81 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeswapstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeswapstatus.go @@ -29,6 +29,7 @@ type NodeSwapStatusApplyConfiguration struct { func NodeSwapStatus() *NodeSwapStatusApplyConfiguration { return &NodeSwapStatusApplyConfiguration{} } +func (b NodeSwapStatusApplyConfiguration) IsApplyConfiguration() {} // WithCapacity sets the Capacity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodesysteminfo.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodesysteminfo.go index 55effd71718..da599b3ad9c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodesysteminfo.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodesysteminfo.go @@ -39,6 +39,7 @@ type NodeSystemInfoApplyConfiguration struct { func NodeSystemInfo() *NodeSystemInfoApplyConfiguration { return &NodeSystemInfoApplyConfiguration{} } +func (b NodeSystemInfoApplyConfiguration) IsApplyConfiguration() {} // WithMachineID sets the MachineID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectfieldselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectfieldselector.go index c129c998b16..82e2bd4010a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectfieldselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectfieldselector.go @@ -30,6 +30,7 @@ type ObjectFieldSelectorApplyConfiguration struct { func ObjectFieldSelector() *ObjectFieldSelectorApplyConfiguration { return &ObjectFieldSelectorApplyConfiguration{} } +func (b ObjectFieldSelectorApplyConfiguration) IsApplyConfiguration() {} // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go index 4cd3f226ef3..5db4d85ccf3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go @@ -39,6 +39,7 @@ type ObjectReferenceApplyConfiguration struct { func ObjectReference() *ObjectReferenceApplyConfiguration { return &ObjectReferenceApplyConfiguration{} } +func (b ObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go index 6840c1c8869..25a0c69df1e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolume.go @@ -80,6 +80,7 @@ func extractPersistentVolume(persistentVolume *corev1.PersistentVolume, fieldMan b.WithAPIVersion("v1") return b, nil } +func (b PersistentVolumeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *PersistentVolumeApplyConfiguration) WithStatus(value *PersistentVolumeS return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PersistentVolumeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PersistentVolumeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PersistentVolumeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PersistentVolumeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaim.go index 93b8b69d4d0..e42d443b44a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaim.go @@ -82,6 +82,7 @@ func extractPersistentVolumeClaim(persistentVolumeClaim *corev1.PersistentVolume b.WithAPIVersion("v1") return b, nil } +func (b PersistentVolumeClaimApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *PersistentVolumeClaimApplyConfiguration) WithStatus(value *PersistentVo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PersistentVolumeClaimApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PersistentVolumeClaimApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PersistentVolumeClaimApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PersistentVolumeClaimApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimcondition.go index 40025d533b2..b0b53a276c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimcondition.go @@ -39,6 +39,7 @@ type PersistentVolumeClaimConditionApplyConfiguration struct { func PersistentVolumeClaimCondition() *PersistentVolumeClaimConditionApplyConfiguration { return &PersistentVolumeClaimConditionApplyConfiguration{} } +func (b PersistentVolumeClaimConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimspec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimspec.go index 2c2be16b37d..a2018283fa4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimspec.go @@ -42,6 +42,7 @@ type PersistentVolumeClaimSpecApplyConfiguration struct { func PersistentVolumeClaimSpec() *PersistentVolumeClaimSpecApplyConfiguration { return &PersistentVolumeClaimSpecApplyConfiguration{} } +func (b PersistentVolumeClaimSpecApplyConfiguration) IsApplyConfiguration() {} // WithAccessModes adds the given value to the AccessModes field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go index 6cea23a2ce1..e64a7329a47 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go @@ -40,6 +40,7 @@ type PersistentVolumeClaimStatusApplyConfiguration struct { func PersistentVolumeClaimStatus() *PersistentVolumeClaimStatusApplyConfiguration { return &PersistentVolumeClaimStatusApplyConfiguration{} } +func (b PersistentVolumeClaimStatusApplyConfiguration) IsApplyConfiguration() {} // WithPhase sets the Phase field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go index 4db3cbf12c8..12d30462674 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimtemplate.go @@ -36,6 +36,7 @@ type PersistentVolumeClaimTemplateApplyConfiguration struct { func PersistentVolumeClaimTemplate() *PersistentVolumeClaimTemplateApplyConfiguration { return &PersistentVolumeClaimTemplateApplyConfiguration{} } +func (b PersistentVolumeClaimTemplateApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -192,3 +193,9 @@ func (b *PersistentVolumeClaimTemplateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PersistentVolumeClaimTemplateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimvolumesource.go index ccccdfb4930..2de3e445ae1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimvolumesource.go @@ -30,6 +30,7 @@ type PersistentVolumeClaimVolumeSourceApplyConfiguration struct { func PersistentVolumeClaimVolumeSource() *PersistentVolumeClaimVolumeSourceApplyConfiguration { return &PersistentVolumeClaimVolumeSourceApplyConfiguration{} } +func (b PersistentVolumeClaimVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithClaimName sets the ClaimName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go index aba01246224..b2965151aff 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumesource.go @@ -50,6 +50,7 @@ type PersistentVolumeSourceApplyConfiguration struct { func PersistentVolumeSource() *PersistentVolumeSourceApplyConfiguration { return &PersistentVolumeSourceApplyConfiguration{} } +func (b PersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithGCEPersistentDisk sets the GCEPersistentDisk field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go index 792e3b94401..7eb101a9088 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumespec.go @@ -42,6 +42,7 @@ type PersistentVolumeSpecApplyConfiguration struct { func PersistentVolumeSpec() *PersistentVolumeSpecApplyConfiguration { return &PersistentVolumeSpecApplyConfiguration{} } +func (b PersistentVolumeSpecApplyConfiguration) IsApplyConfiguration() {} // WithCapacity sets the Capacity field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go index 0bb077ae097..7aa109e05af 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go @@ -37,6 +37,7 @@ type PersistentVolumeStatusApplyConfiguration struct { func PersistentVolumeStatus() *PersistentVolumeStatusApplyConfiguration { return &PersistentVolumeStatusApplyConfiguration{} } +func (b PersistentVolumeStatusApplyConfiguration) IsApplyConfiguration() {} // WithPhase sets the Phase field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/photonpersistentdiskvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/photonpersistentdiskvolumesource.go index d8dc103e2af..21326dae06b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/photonpersistentdiskvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/photonpersistentdiskvolumesource.go @@ -30,6 +30,7 @@ type PhotonPersistentDiskVolumeSourceApplyConfiguration struct { func PhotonPersistentDiskVolumeSource() *PhotonPersistentDiskVolumeSourceApplyConfiguration { return &PhotonPersistentDiskVolumeSourceApplyConfiguration{} } +func (b PhotonPersistentDiskVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithPdID sets the PdID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go index 29526709f39..df4e99b32f0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go @@ -82,6 +82,7 @@ func extractPod(pod *corev1.Pod, fieldManager string, subresource string) (*PodA b.WithAPIVersion("v1") return b, nil } +func (b PodApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *PodApplyConfiguration) WithStatus(value *PodStatusApplyConfiguration) * return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PodApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PodApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PodApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PodApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinity.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinity.go index 23fed954646..65cd35d8583 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinity.go @@ -30,6 +30,7 @@ type PodAffinityApplyConfiguration struct { func PodAffinity() *PodAffinityApplyConfiguration { return &PodAffinityApplyConfiguration{} } +func (b PodAffinityApplyConfiguration) IsApplyConfiguration() {} // WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go index 1cc1ca0d063..a41ef17fbb4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go @@ -38,6 +38,7 @@ type PodAffinityTermApplyConfiguration struct { func PodAffinityTerm() *PodAffinityTermApplyConfiguration { return &PodAffinityTermApplyConfiguration{} } +func (b PodAffinityTermApplyConfiguration) IsApplyConfiguration() {} // WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podantiaffinity.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podantiaffinity.go index ae9848963df..c57b8c77f4e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podantiaffinity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podantiaffinity.go @@ -30,6 +30,7 @@ type PodAntiAffinityApplyConfiguration struct { func PodAntiAffinity() *PodAntiAffinityApplyConfiguration { return &PodAntiAffinityApplyConfiguration{} } +func (b PodAntiAffinityApplyConfiguration) IsApplyConfiguration() {} // WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go index 90bb8711b18..cf274c37889 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go @@ -40,6 +40,7 @@ type PodConditionApplyConfiguration struct { func PodCondition() *PodConditionApplyConfiguration { return &PodConditionApplyConfiguration{} } +func (b PodConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfig.go index 2e0ce9a91e6..50ca31fbd22 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfig.go @@ -31,6 +31,7 @@ type PodDNSConfigApplyConfiguration struct { func PodDNSConfig() *PodDNSConfigApplyConfiguration { return &PodDNSConfigApplyConfiguration{} } +func (b PodDNSConfigApplyConfiguration) IsApplyConfiguration() {} // WithNameservers adds the given value to the Nameservers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfigoption.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfigoption.go index 458b333bf23..3e977cccc29 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfigoption.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/poddnsconfigoption.go @@ -30,6 +30,7 @@ type PodDNSConfigOptionApplyConfiguration struct { func PodDNSConfigOption() *PodDNSConfigOptionApplyConfiguration { return &PodDNSConfigOptionApplyConfiguration{} } +func (b PodDNSConfigOptionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podip.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podip.go index 73f089856f7..ca12a0cebf2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podip.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podip.go @@ -29,6 +29,7 @@ type PodIPApplyConfiguration struct { func PodIP() *PodIPApplyConfiguration { return &PodIPApplyConfiguration{} } +func (b PodIPApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podos.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podos.go index 22a74560115..e78bd9c0520 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podos.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podos.go @@ -33,6 +33,7 @@ type PodOSApplyConfiguration struct { func PodOS() *PodOSApplyConfiguration { return &PodOSApplyConfiguration{} } +func (b PodOSApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podreadinessgate.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podreadinessgate.go index 4298b1ca62a..2788e615365 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podreadinessgate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podreadinessgate.go @@ -33,6 +33,7 @@ type PodReadinessGateApplyConfiguration struct { func PodReadinessGate() *PodReadinessGateApplyConfiguration { return &PodReadinessGateApplyConfiguration{} } +func (b PodReadinessGateApplyConfiguration) IsApplyConfiguration() {} // WithConditionType sets the ConditionType field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go index b0bd67fa113..d22bfda1fb2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaim.go @@ -31,6 +31,7 @@ type PodResourceClaimApplyConfiguration struct { func PodResourceClaim() *PodResourceClaimApplyConfiguration { return &PodResourceClaimApplyConfiguration{} } +func (b PodResourceClaimApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaimstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaimstatus.go index f60ad4b0529..045face9843 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaimstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podresourceclaimstatus.go @@ -30,6 +30,7 @@ type PodResourceClaimStatusApplyConfiguration struct { func PodResourceClaimStatus() *PodResourceClaimStatusApplyConfiguration { return &PodResourceClaimStatusApplyConfiguration{} } +func (b PodResourceClaimStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podschedulinggate.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podschedulinggate.go index 3d910927765..6ec078276a7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podschedulinggate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podschedulinggate.go @@ -29,6 +29,7 @@ type PodSchedulingGateApplyConfiguration struct { func PodSchedulingGate() *PodSchedulingGateApplyConfiguration { return &PodSchedulingGateApplyConfiguration{} } +func (b PodSchedulingGateApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go index f0a3e662c83..c8cd2782d5c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go @@ -45,6 +45,7 @@ type PodSecurityContextApplyConfiguration struct { func PodSecurityContext() *PodSecurityContextApplyConfiguration { return &PodSecurityContextApplyConfiguration{} } +func (b PodSecurityContextApplyConfiguration) IsApplyConfiguration() {} // WithSELinuxOptions sets the SELinuxOptions field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go index 96f6eb94b1c..90ec3e2e392 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go @@ -72,6 +72,7 @@ type PodSpecApplyConfiguration struct { func PodSpec() *PodSpecApplyConfiguration { return &PodSpecApplyConfiguration{} } +func (b PodSpecApplyConfiguration) IsApplyConfiguration() {} // WithVolumes adds the given value to the Volumes field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go index 28ad57bac54..8303dfd815f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go @@ -50,6 +50,7 @@ type PodStatusApplyConfiguration struct { func PodStatus() *PodStatusApplyConfiguration { return &PodStatusApplyConfiguration{} } +func (b PodStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go index 7886ea2d9b9..e723125f2e3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplate.go @@ -81,6 +81,7 @@ func extractPodTemplate(podTemplate *corev1.PodTemplate, fieldManager string, su b.WithAPIVersion("v1") return b, nil } +func (b PodTemplateApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *PodTemplateApplyConfiguration) WithTemplate(value *PodTemplateSpecApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PodTemplateApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PodTemplateApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PodTemplateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PodTemplateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go index 2e0904a2424..3eba496840d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/podtemplatespec.go @@ -36,6 +36,7 @@ type PodTemplateSpecApplyConfiguration struct { func PodTemplateSpec() *PodTemplateSpecApplyConfiguration { return &PodTemplateSpecApplyConfiguration{} } +func (b PodTemplateSpecApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -192,3 +193,9 @@ func (b *PodTemplateSpecApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PodTemplateSpecApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go index eff8fc2acb0..d7cbf1eb455 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portstatus.go @@ -35,6 +35,7 @@ type PortStatusApplyConfiguration struct { func PortStatus() *PortStatusApplyConfiguration { return &PortStatusApplyConfiguration{} } +func (b PortStatusApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go index 29715e02192..257f6d60e09 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go @@ -31,6 +31,7 @@ type PortworxVolumeSourceApplyConfiguration struct { func PortworxVolumeSource() *PortworxVolumeSourceApplyConfiguration { return &PortworxVolumeSourceApplyConfiguration{} } +func (b PortworxVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeID sets the VolumeID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/preferredschedulingterm.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/preferredschedulingterm.go index b88a3646fc5..e4aafaa87fa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/preferredschedulingterm.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/preferredschedulingterm.go @@ -30,6 +30,7 @@ type PreferredSchedulingTermApplyConfiguration struct { func PreferredSchedulingTerm() *PreferredSchedulingTermApplyConfiguration { return &PreferredSchedulingTermApplyConfiguration{} } +func (b PreferredSchedulingTermApplyConfiguration) IsApplyConfiguration() {} // WithWeight sets the Weight field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probe.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probe.go index d6c654689b9..54ed0f84ced 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probe.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probe.go @@ -35,6 +35,7 @@ type ProbeApplyConfiguration struct { func Probe() *ProbeApplyConfiguration { return &ProbeApplyConfiguration{} } +func (b ProbeApplyConfiguration) IsApplyConfiguration() {} // WithExec sets the Exec field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probehandler.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probehandler.go index 1f88745eabf..35baec9a927 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probehandler.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/probehandler.go @@ -32,6 +32,7 @@ type ProbeHandlerApplyConfiguration struct { func ProbeHandler() *ProbeHandlerApplyConfiguration { return &ProbeHandlerApplyConfiguration{} } +func (b ProbeHandlerApplyConfiguration) IsApplyConfiguration() {} // WithExec sets the Exec field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go index c922ec8cc28..540fd21d078 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go @@ -30,6 +30,7 @@ type ProjectedVolumeSourceApplyConfiguration struct { func ProjectedVolumeSource() *ProjectedVolumeSourceApplyConfiguration { return &ProjectedVolumeSourceApplyConfiguration{} } +func (b ProjectedVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithSources adds the given value to the Sources field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go index 9a042a0a12d..649e86468ab 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/quobytevolumesource.go @@ -34,6 +34,7 @@ type QuobyteVolumeSourceApplyConfiguration struct { func QuobyteVolumeSource() *QuobyteVolumeSourceApplyConfiguration { return &QuobyteVolumeSourceApplyConfiguration{} } +func (b QuobyteVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithRegistry sets the Registry field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdpersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdpersistentvolumesource.go index 64f25724a36..bba6d6f07f0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdpersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdpersistentvolumesource.go @@ -36,6 +36,7 @@ type RBDPersistentVolumeSourceApplyConfiguration struct { func RBDPersistentVolumeSource() *RBDPersistentVolumeSourceApplyConfiguration { return &RBDPersistentVolumeSourceApplyConfiguration{} } +func (b RBDPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithCephMonitors adds the given value to the CephMonitors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdvolumesource.go index 8dae198c09c..95776994915 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/rbdvolumesource.go @@ -36,6 +36,7 @@ type RBDVolumeSourceApplyConfiguration struct { func RBDVolumeSource() *RBDVolumeSourceApplyConfiguration { return &RBDVolumeSourceApplyConfiguration{} } +func (b RBDVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithCephMonitors adds the given value to the CephMonitors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontroller.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontroller.go index 4ef551914c7..6b06c2907c0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontroller.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontroller.go @@ -82,6 +82,7 @@ func extractReplicationController(replicationController *corev1.ReplicationContr b.WithAPIVersion("v1") return b, nil } +func (b ReplicationControllerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ReplicationControllerApplyConfiguration) WithStatus(value *ReplicationC return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ReplicationControllerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ReplicationControllerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ReplicationControllerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ReplicationControllerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go index dfcecc05321..8c7f565f8e5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollercondition.go @@ -38,6 +38,7 @@ type ReplicationControllerConditionApplyConfiguration struct { func ReplicationControllerCondition() *ReplicationControllerConditionApplyConfiguration { return &ReplicationControllerConditionApplyConfiguration{} } +func (b ReplicationControllerConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerspec.go index 07bac9f4c92..50b17ad1444 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerspec.go @@ -32,6 +32,7 @@ type ReplicationControllerSpecApplyConfiguration struct { func ReplicationControllerSpec() *ReplicationControllerSpecApplyConfiguration { return &ReplicationControllerSpecApplyConfiguration{} } +func (b ReplicationControllerSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerstatus.go index c8046aa5a47..a0ecdd770b6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/replicationcontrollerstatus.go @@ -34,6 +34,7 @@ type ReplicationControllerStatusApplyConfiguration struct { func ReplicationControllerStatus() *ReplicationControllerStatusApplyConfiguration { return &ReplicationControllerStatusApplyConfiguration{} } +func (b ReplicationControllerStatusApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourceclaim.go index b00c6924857..049dcb6dd4f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourceclaim.go @@ -30,6 +30,7 @@ type ResourceClaimApplyConfiguration struct { func ResourceClaim() *ResourceClaimApplyConfiguration { return &ResourceClaimApplyConfiguration{} } +func (b ResourceClaimApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcefieldselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcefieldselector.go index 1b4918a633f..020d9303b8e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcefieldselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcefieldselector.go @@ -35,6 +35,7 @@ type ResourceFieldSelectorApplyConfiguration struct { func ResourceFieldSelector() *ResourceFieldSelectorApplyConfiguration { return &ResourceFieldSelectorApplyConfiguration{} } +func (b ResourceFieldSelectorApplyConfiguration) IsApplyConfiguration() {} // WithContainerName sets the ContainerName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcehealth.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcehealth.go index 0338780b3e7..498d0d3d091 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcehealth.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcehealth.go @@ -34,6 +34,7 @@ type ResourceHealthApplyConfiguration struct { func ResourceHealth() *ResourceHealthApplyConfiguration { return &ResourceHealthApplyConfiguration{} } +func (b ResourceHealthApplyConfiguration) IsApplyConfiguration() {} // WithResourceID sets the ResourceID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequota.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequota.go index cd67f104c96..7abe77b29ec 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequota.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequota.go @@ -82,6 +82,7 @@ func extractResourceQuota(resourceQuota *corev1.ResourceQuota, fieldManager stri b.WithAPIVersion("v1") return b, nil } +func (b ResourceQuotaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ResourceQuotaApplyConfiguration) WithStatus(value *ResourceQuotaStatusA return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceQuotaApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceQuotaApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceQuotaApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceQuotaApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go index 36d342fcdd4..081107c909d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotaspec.go @@ -35,6 +35,7 @@ type ResourceQuotaSpecApplyConfiguration struct { func ResourceQuotaSpec() *ResourceQuotaSpecApplyConfiguration { return &ResourceQuotaSpecApplyConfiguration{} } +func (b ResourceQuotaSpecApplyConfiguration) IsApplyConfiguration() {} // WithHard sets the Hard field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go index 6338a130829..ea4a793fda3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go @@ -34,6 +34,7 @@ type ResourceQuotaStatusApplyConfiguration struct { func ResourceQuotaStatus() *ResourceQuotaStatusApplyConfiguration { return &ResourceQuotaStatusApplyConfiguration{} } +func (b ResourceQuotaStatusApplyConfiguration) IsApplyConfiguration() {} // WithHard sets the Hard field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go index ea77647a91b..53997148859 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go @@ -35,6 +35,7 @@ type ResourceRequirementsApplyConfiguration struct { func ResourceRequirements() *ResourceRequirementsApplyConfiguration { return &ResourceRequirementsApplyConfiguration{} } +func (b ResourceRequirementsApplyConfiguration) IsApplyConfiguration() {} // WithLimits sets the Limits field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcestatus.go index e9958665989..bb32e37022b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcestatus.go @@ -34,6 +34,7 @@ type ResourceStatusApplyConfiguration struct { func ResourceStatus() *ResourceStatusApplyConfiguration { return &ResourceStatusApplyConfiguration{} } +func (b ResourceStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go index b07f46de918..52c04dc4e59 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiopersistentvolumesource.go @@ -38,6 +38,7 @@ type ScaleIOPersistentVolumeSourceApplyConfiguration struct { func ScaleIOPersistentVolumeSource() *ScaleIOPersistentVolumeSourceApplyConfiguration { return &ScaleIOPersistentVolumeSourceApplyConfiguration{} } +func (b ScaleIOPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithGateway sets the Gateway field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiovolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiovolumesource.go index 740c05ebb7d..553d8c6bbe8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiovolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scaleiovolumesource.go @@ -38,6 +38,7 @@ type ScaleIOVolumeSourceApplyConfiguration struct { func ScaleIOVolumeSource() *ScaleIOVolumeSourceApplyConfiguration { return &ScaleIOVolumeSourceApplyConfiguration{} } +func (b ScaleIOVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithGateway sets the Gateway field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopedresourceselectorrequirement.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopedresourceselectorrequirement.go index c2481f49063..017fa8bc4a5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopedresourceselectorrequirement.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopedresourceselectorrequirement.go @@ -35,6 +35,7 @@ type ScopedResourceSelectorRequirementApplyConfiguration struct { func ScopedResourceSelectorRequirement() *ScopedResourceSelectorRequirementApplyConfiguration { return &ScopedResourceSelectorRequirementApplyConfiguration{} } +func (b ScopedResourceSelectorRequirementApplyConfiguration) IsApplyConfiguration() {} // WithScopeName sets the ScopeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopeselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopeselector.go index a9fb9a1b197..637958eeca5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopeselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/scopeselector.go @@ -29,6 +29,7 @@ type ScopeSelectorApplyConfiguration struct { func ScopeSelector() *ScopeSelectorApplyConfiguration { return &ScopeSelectorApplyConfiguration{} } +func (b ScopeSelectorApplyConfiguration) IsApplyConfiguration() {} // WithMatchExpressions adds the given value to the MatchExpressions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/seccompprofile.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/seccompprofile.go index 754bfd1b3e8..0474978ed7d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/seccompprofile.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/seccompprofile.go @@ -34,6 +34,7 @@ type SeccompProfileApplyConfiguration struct { func SeccompProfile() *SeccompProfileApplyConfiguration { return &SeccompProfileApplyConfiguration{} } +func (b SeccompProfileApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secret.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secret.go index 9c8532d20cf..ff859d86bc9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secret.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secret.go @@ -84,6 +84,7 @@ func extractSecret(secret *corev1.Secret, fieldManager string, subresource strin b.WithAPIVersion("v1") return b, nil } +func (b SecretApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -287,8 +288,24 @@ func (b *SecretApplyConfiguration) WithType(value corev1.SecretType) *SecretAppl return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *SecretApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *SecretApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *SecretApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *SecretApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretenvsource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretenvsource.go index d3cc9f6a625..88a15d0d1b4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretenvsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretenvsource.go @@ -30,6 +30,7 @@ type SecretEnvSourceApplyConfiguration struct { func SecretEnvSource() *SecretEnvSourceApplyConfiguration { return &SecretEnvSourceApplyConfiguration{} } +func (b SecretEnvSourceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretkeyselector.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretkeyselector.go index f1cd8b2d31e..659306c55cf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretkeyselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretkeyselector.go @@ -31,6 +31,7 @@ type SecretKeySelectorApplyConfiguration struct { func SecretKeySelector() *SecretKeySelectorApplyConfiguration { return &SecretKeySelectorApplyConfiguration{} } +func (b SecretKeySelectorApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretprojection.go index 99fa36ecc0e..084bb8fa431 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretprojection.go @@ -31,6 +31,7 @@ type SecretProjectionApplyConfiguration struct { func SecretProjection() *SecretProjectionApplyConfiguration { return &SecretProjectionApplyConfiguration{} } +func (b SecretProjectionApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretreference.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretreference.go index f5e0de23aa6..dc38e1467dd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretreference.go @@ -30,6 +30,7 @@ type SecretReferenceApplyConfiguration struct { func SecretReference() *SecretReferenceApplyConfiguration { return &SecretReferenceApplyConfiguration{} } +func (b SecretReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretvolumesource.go index 9f765d354da..e90e13b59ac 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/secretvolumesource.go @@ -32,6 +32,7 @@ type SecretVolumeSourceApplyConfiguration struct { func SecretVolumeSource() *SecretVolumeSourceApplyConfiguration { return &SecretVolumeSourceApplyConfiguration{} } +func (b SecretVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithSecretName sets the SecretName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/securitycontext.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/securitycontext.go index 99faab72da0..610ba4d76bc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/securitycontext.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/securitycontext.go @@ -44,6 +44,7 @@ type SecurityContextApplyConfiguration struct { func SecurityContext() *SecurityContextApplyConfiguration { return &SecurityContextApplyConfiguration{} } +func (b SecurityContextApplyConfiguration) IsApplyConfiguration() {} // WithCapabilities sets the Capabilities field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/selinuxoptions.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/selinuxoptions.go index bad01300f04..ef0e9b07a0b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/selinuxoptions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/selinuxoptions.go @@ -32,6 +32,7 @@ type SELinuxOptionsApplyConfiguration struct { func SELinuxOptions() *SELinuxOptionsApplyConfiguration { return &SELinuxOptionsApplyConfiguration{} } +func (b SELinuxOptionsApplyConfiguration) IsApplyConfiguration() {} // WithUser sets the User field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/service.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/service.go index 85f6b25a910..90d2ca0f8d3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/service.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/service.go @@ -82,6 +82,7 @@ func extractService(service *corev1.Service, fieldManager string, subresource st b.WithAPIVersion("v1") return b, nil } +func (b ServiceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ServiceApplyConfiguration) WithStatus(value *ServiceStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ServiceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ServiceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ServiceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ServiceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccount.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccount.go index 0d80ded9e7a..768acb2eb6c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccount.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccount.go @@ -83,6 +83,7 @@ func extractServiceAccount(serviceAccount *corev1.ServiceAccount, fieldManager s b.WithAPIVersion("v1") return b, nil } +func (b ServiceAccountApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *ServiceAccountApplyConfiguration) WithAutomountServiceAccountToken(valu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ServiceAccountApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ServiceAccountApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ServiceAccountApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ServiceAccountApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccounttokenprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccounttokenprojection.go index fab81bf8a2f..06ef2968ee7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccounttokenprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceaccounttokenprojection.go @@ -31,6 +31,7 @@ type ServiceAccountTokenProjectionApplyConfiguration struct { func ServiceAccountTokenProjection() *ServiceAccountTokenProjectionApplyConfiguration { return &ServiceAccountTokenProjectionApplyConfiguration{} } +func (b ServiceAccountTokenProjectionApplyConfiguration) IsApplyConfiguration() {} // WithAudience sets the Audience field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceport.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceport.go index 4d5774d8d44..d2e66b65774 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/serviceport.go @@ -39,6 +39,7 @@ type ServicePortApplyConfiguration struct { func ServicePort() *ServicePortApplyConfiguration { return &ServicePortApplyConfiguration{} } +func (b ServicePortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go index 41367dce4f0..d60816d2acf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go @@ -52,6 +52,7 @@ type ServiceSpecApplyConfiguration struct { func ServiceSpec() *ServiceSpecApplyConfiguration { return &ServiceSpecApplyConfiguration{} } +func (b ServiceSpecApplyConfiguration) IsApplyConfiguration() {} // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicestatus.go index 11c3f8a80a8..e1a25400a03 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/servicestatus.go @@ -34,6 +34,7 @@ type ServiceStatusApplyConfiguration struct { func ServiceStatus() *ServiceStatusApplyConfiguration { return &ServiceStatusApplyConfiguration{} } +func (b ServiceStatusApplyConfiguration) IsApplyConfiguration() {} // WithLoadBalancer sets the LoadBalancer field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sessionaffinityconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sessionaffinityconfig.go index 13b045fffc8..e3e71da7fad 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sessionaffinityconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sessionaffinityconfig.go @@ -29,6 +29,7 @@ type SessionAffinityConfigApplyConfiguration struct { func SessionAffinityConfig() *SessionAffinityConfigApplyConfiguration { return &SessionAffinityConfigApplyConfiguration{} } +func (b SessionAffinityConfigApplyConfiguration) IsApplyConfiguration() {} // WithClientIP sets the ClientIP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sleepaction.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sleepaction.go index b4115609b1a..c6ef5457798 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sleepaction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sleepaction.go @@ -29,6 +29,7 @@ type SleepActionApplyConfiguration struct { func SleepAction() *SleepActionApplyConfiguration { return &SleepActionApplyConfiguration{} } +func (b SleepActionApplyConfiguration) IsApplyConfiguration() {} // WithSeconds sets the Seconds field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageospersistentvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageospersistentvolumesource.go index 7381a498e1f..e404d808c2e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageospersistentvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageospersistentvolumesource.go @@ -33,6 +33,7 @@ type StorageOSPersistentVolumeSourceApplyConfiguration struct { func StorageOSPersistentVolumeSource() *StorageOSPersistentVolumeSourceApplyConfiguration { return &StorageOSPersistentVolumeSourceApplyConfiguration{} } +func (b StorageOSPersistentVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeName sets the VolumeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageosvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageosvolumesource.go index 81d9373c196..f48d8dc5a56 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageosvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/storageosvolumesource.go @@ -33,6 +33,7 @@ type StorageOSVolumeSourceApplyConfiguration struct { func StorageOSVolumeSource() *StorageOSVolumeSourceApplyConfiguration { return &StorageOSVolumeSourceApplyConfiguration{} } +func (b StorageOSVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumeName sets the VolumeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sysctl.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sysctl.go index 7719eb7d606..57d8772a722 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sysctl.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/sysctl.go @@ -30,6 +30,7 @@ type SysctlApplyConfiguration struct { func Sysctl() *SysctlApplyConfiguration { return &SysctlApplyConfiguration{} } +func (b SysctlApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/taint.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/taint.go index 4b9e43051fc..7098461cf13 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/taint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/taint.go @@ -37,6 +37,7 @@ type TaintApplyConfiguration struct { func Taint() *TaintApplyConfiguration { return &TaintApplyConfiguration{} } +func (b TaintApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/tcpsocketaction.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/tcpsocketaction.go index cba1a7d0816..2a5a39322c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/tcpsocketaction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/tcpsocketaction.go @@ -34,6 +34,7 @@ type TCPSocketActionApplyConfiguration struct { func TCPSocketAction() *TCPSocketActionApplyConfiguration { return &TCPSocketActionApplyConfiguration{} } +func (b TCPSocketActionApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/toleration.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/toleration.go index a0a0aac0032..3460a815a99 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/toleration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/toleration.go @@ -37,6 +37,7 @@ type TolerationApplyConfiguration struct { func Toleration() *TolerationApplyConfiguration { return &TolerationApplyConfiguration{} } +func (b TolerationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorlabelrequirement.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorlabelrequirement.go index 674ddec93ce..7d9e2266226 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorlabelrequirement.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorlabelrequirement.go @@ -30,6 +30,7 @@ type TopologySelectorLabelRequirementApplyConfiguration struct { func TopologySelectorLabelRequirement() *TopologySelectorLabelRequirementApplyConfiguration { return &TopologySelectorLabelRequirementApplyConfiguration{} } +func (b TopologySelectorLabelRequirementApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorterm.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorterm.go index 7812ae5204d..0bab55635c9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorterm.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyselectorterm.go @@ -29,6 +29,7 @@ type TopologySelectorTermApplyConfiguration struct { func TopologySelectorTerm() *TopologySelectorTermApplyConfiguration { return &TopologySelectorTermApplyConfiguration{} } +func (b TopologySelectorTermApplyConfiguration) IsApplyConfiguration() {} // WithMatchLabelExpressions adds the given value to the MatchLabelExpressions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go index ab814e8e090..565b262d22d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go @@ -41,6 +41,7 @@ type TopologySpreadConstraintApplyConfiguration struct { func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration { return &TopologySpreadConstraintApplyConfiguration{} } +func (b TopologySpreadConstraintApplyConfiguration) IsApplyConfiguration() {} // WithMaxSkew sets the MaxSkew field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedlocalobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedlocalobjectreference.go index 1e63b79889e..473040f1400 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedlocalobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedlocalobjectreference.go @@ -31,6 +31,7 @@ type TypedLocalObjectReferenceApplyConfiguration struct { func TypedLocalObjectReference() *TypedLocalObjectReferenceApplyConfiguration { return &TypedLocalObjectReferenceApplyConfiguration{} } +func (b TypedLocalObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedobjectreference.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedobjectreference.go index f07de8902e6..0059bcc0e95 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedobjectreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/typedobjectreference.go @@ -32,6 +32,7 @@ type TypedObjectReferenceApplyConfiguration struct { func TypedObjectReference() *TypedObjectReferenceApplyConfiguration { return &TypedObjectReferenceApplyConfiguration{} } +func (b TypedObjectReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volume.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volume.go index e47cd031dd3..93013b17f81 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volume.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volume.go @@ -30,6 +30,7 @@ type VolumeApplyConfiguration struct { func Volume() *VolumeApplyConfiguration { return &VolumeApplyConfiguration{} } +func (b VolumeApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumedevice.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumedevice.go index 0bc52aad2a1..e3970dc4493 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumedevice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumedevice.go @@ -30,6 +30,7 @@ type VolumeDeviceApplyConfiguration struct { func VolumeDevice() *VolumeDeviceApplyConfiguration { return &VolumeDeviceApplyConfiguration{} } +func (b VolumeDeviceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemount.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemount.go index ccd426a0cff..2c8ec0c3243 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemount.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemount.go @@ -39,6 +39,7 @@ type VolumeMountApplyConfiguration struct { func VolumeMount() *VolumeMountApplyConfiguration { return &VolumeMountApplyConfiguration{} } +func (b VolumeMountApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemountstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemountstatus.go index f55c407235e..7ec3855ebf2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemountstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumemountstatus.go @@ -36,6 +36,7 @@ type VolumeMountStatusApplyConfiguration struct { func VolumeMountStatus() *VolumeMountStatusApplyConfiguration { return &VolumeMountStatusApplyConfiguration{} } +func (b VolumeMountStatusApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumenodeaffinity.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumenodeaffinity.go index 9198c25dc88..4ee3f4a95ae 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumenodeaffinity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumenodeaffinity.go @@ -29,6 +29,7 @@ type VolumeNodeAffinityApplyConfiguration struct { func VolumeNodeAffinity() *VolumeNodeAffinityApplyConfiguration { return &VolumeNodeAffinityApplyConfiguration{} } +func (b VolumeNodeAffinityApplyConfiguration) IsApplyConfiguration() {} // WithRequired sets the Required field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeprojection.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeprojection.go index c14e9fe6970..9f8d5c7e8d1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeprojection.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeprojection.go @@ -33,6 +33,7 @@ type VolumeProjectionApplyConfiguration struct { func VolumeProjection() *VolumeProjectionApplyConfiguration { return &VolumeProjectionApplyConfiguration{} } +func (b VolumeProjectionApplyConfiguration) IsApplyConfiguration() {} // WithSecret sets the Secret field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeresourcerequirements.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeresourcerequirements.go index 5c83ae6d45e..f258b693550 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeresourcerequirements.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumeresourcerequirements.go @@ -34,6 +34,7 @@ type VolumeResourceRequirementsApplyConfiguration struct { func VolumeResourceRequirements() *VolumeResourceRequirementsApplyConfiguration { return &VolumeResourceRequirementsApplyConfiguration{} } +func (b VolumeResourceRequirementsApplyConfiguration) IsApplyConfiguration() {} // WithLimits sets the Limits field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumesource.go index aeead953cf5..1e017209b4b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/volumesource.go @@ -58,6 +58,7 @@ type VolumeSourceApplyConfiguration struct { func VolumeSource() *VolumeSourceApplyConfiguration { return &VolumeSourceApplyConfiguration{} } +func (b VolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithHostPath sets the HostPath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/vspherevirtualdiskvolumesource.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/vspherevirtualdiskvolumesource.go index ea8fd8d62e3..183417ec99d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/vspherevirtualdiskvolumesource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/vspherevirtualdiskvolumesource.go @@ -32,6 +32,7 @@ type VsphereVirtualDiskVolumeSourceApplyConfiguration struct { func VsphereVirtualDiskVolumeSource() *VsphereVirtualDiskVolumeSourceApplyConfiguration { return &VsphereVirtualDiskVolumeSourceApplyConfiguration{} } +func (b VsphereVirtualDiskVolumeSourceApplyConfiguration) IsApplyConfiguration() {} // WithVolumePath sets the VolumePath field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/weightedpodaffinityterm.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/weightedpodaffinityterm.go index c49ef93eb4b..b4059910759 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/weightedpodaffinityterm.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/weightedpodaffinityterm.go @@ -30,6 +30,7 @@ type WeightedPodAffinityTermApplyConfiguration struct { func WeightedPodAffinityTerm() *WeightedPodAffinityTermApplyConfiguration { return &WeightedPodAffinityTermApplyConfiguration{} } +func (b WeightedPodAffinityTermApplyConfiguration) IsApplyConfiguration() {} // WithWeight sets the Weight field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/windowssecuritycontextoptions.go b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/windowssecuritycontextoptions.go index bb37a500b48..613665af783 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/core/v1/windowssecuritycontextoptions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/core/v1/windowssecuritycontextoptions.go @@ -32,6 +32,7 @@ type WindowsSecurityContextOptionsApplyConfiguration struct { func WindowsSecurityContextOptions() *WindowsSecurityContextOptionsApplyConfiguration { return &WindowsSecurityContextOptionsApplyConfiguration{} } +func (b WindowsSecurityContextOptionsApplyConfiguration) IsApplyConfiguration() {} // WithGMSACredentialSpecName sets the GMSACredentialSpecName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpoint.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpoint.go index df45a6fb8aa..f6f92f50d5f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpoint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpoint.go @@ -40,6 +40,7 @@ type EndpointApplyConfiguration struct { func Endpoint() *EndpointApplyConfiguration { return &EndpointApplyConfiguration{} } +func (b EndpointApplyConfiguration) IsApplyConfiguration() {} // WithAddresses adds the given value to the Addresses field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointconditions.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointconditions.go index 20f0b97124a..aaa3826ba8f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointconditions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointconditions.go @@ -31,6 +31,7 @@ type EndpointConditionsApplyConfiguration struct { func EndpointConditions() *EndpointConditionsApplyConfiguration { return &EndpointConditionsApplyConfiguration{} } +func (b EndpointConditionsApplyConfiguration) IsApplyConfiguration() {} // WithReady sets the Ready field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointhints.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointhints.go index 7afda39b6ba..cc4ab94857b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointhints.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointhints.go @@ -30,6 +30,7 @@ type EndpointHintsApplyConfiguration struct { func EndpointHints() *EndpointHintsApplyConfiguration { return &EndpointHintsApplyConfiguration{} } +func (b EndpointHintsApplyConfiguration) IsApplyConfiguration() {} // WithForZones adds the given value to the ForZones field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointport.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointport.go index b55c868cb1a..9aa92756d81 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointport.go @@ -36,6 +36,7 @@ type EndpointPortApplyConfiguration struct { func EndpointPort() *EndpointPortApplyConfiguration { return &EndpointPortApplyConfiguration{} } +func (b EndpointPortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go index a27c0ab1a09..d976ca8229b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/endpointslice.go @@ -83,6 +83,7 @@ func extractEndpointSlice(endpointSlice *discoveryv1.EndpointSlice, fieldManager b.WithAPIVersion("discovery.k8s.io/v1") return b, nil } +func (b EndpointSliceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *EndpointSliceApplyConfiguration) WithPorts(values ...*EndpointPortApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EndpointSliceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/fornode.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/fornode.go index 3b2304d3079..686da658684 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/fornode.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/fornode.go @@ -29,6 +29,7 @@ type ForNodeApplyConfiguration struct { func ForNode() *ForNodeApplyConfiguration { return &ForNodeApplyConfiguration{} } +func (b ForNodeApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/forzone.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/forzone.go index 505d11ae2f1..2276d941787 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/forzone.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1/forzone.go @@ -29,6 +29,7 @@ type ForZoneApplyConfiguration struct { func ForZone() *ForZoneApplyConfiguration { return &ForZoneApplyConfiguration{} } +func (b ForZoneApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpoint.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpoint.go index 5d87dae72ef..cbd2e93cf8e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpoint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpoint.go @@ -39,6 +39,7 @@ type EndpointApplyConfiguration struct { func Endpoint() *EndpointApplyConfiguration { return &EndpointApplyConfiguration{} } +func (b EndpointApplyConfiguration) IsApplyConfiguration() {} // WithAddresses adds the given value to the Addresses field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointconditions.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointconditions.go index 13f5fa55755..aa558bfdb6a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointconditions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointconditions.go @@ -31,6 +31,7 @@ type EndpointConditionsApplyConfiguration struct { func EndpointConditions() *EndpointConditionsApplyConfiguration { return &EndpointConditionsApplyConfiguration{} } +func (b EndpointConditionsApplyConfiguration) IsApplyConfiguration() {} // WithReady sets the Ready field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointhints.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointhints.go index 9637f9940fa..4d4f2a23d7a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointhints.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointhints.go @@ -30,6 +30,7 @@ type EndpointHintsApplyConfiguration struct { func EndpointHints() *EndpointHintsApplyConfiguration { return &EndpointHintsApplyConfiguration{} } +func (b EndpointHintsApplyConfiguration) IsApplyConfiguration() {} // WithForZones adds the given value to the ForZones field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointport.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointport.go index 07cfc684b25..23f13b54973 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointport.go @@ -36,6 +36,7 @@ type EndpointPortApplyConfiguration struct { func EndpointPort() *EndpointPortApplyConfiguration { return &EndpointPortApplyConfiguration{} } +func (b EndpointPortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointslice.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointslice.go index 46133ea3247..437cef59cfe 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointslice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/endpointslice.go @@ -83,6 +83,7 @@ func extractEndpointSlice(endpointSlice *discoveryv1beta1.EndpointSlice, fieldMa b.WithAPIVersion("discovery.k8s.io/v1beta1") return b, nil } +func (b EndpointSliceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *EndpointSliceApplyConfiguration) WithPorts(values ...*EndpointPortApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EndpointSliceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EndpointSliceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/fornode.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/fornode.go index 79aff881d2d..241b8f788e4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/fornode.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/fornode.go @@ -29,6 +29,7 @@ type ForNodeApplyConfiguration struct { func ForNode() *ForNodeApplyConfiguration { return &ForNodeApplyConfiguration{} } +func (b ForNodeApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/forzone.go b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/forzone.go index 4af09cc49bb..e5b99762ece 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/forzone.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/discovery/v1beta1/forzone.go @@ -29,6 +29,7 @@ type ForZoneApplyConfiguration struct { func ForZone() *ForZoneApplyConfiguration { return &ForZoneApplyConfiguration{} } +func (b ForZoneApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/events/v1/event.go b/staging/src/k8s.io/client-go/applyconfigurations/events/v1/event.go index 64896c3d845..391dfc96a58 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/events/v1/event.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/events/v1/event.go @@ -95,6 +95,7 @@ func extractEvent(event *eventsv1.Event, fieldManager string, subresource string b.WithAPIVersion("events.k8s.io/v1") return b, nil } +func (b EventApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -366,8 +367,24 @@ func (b *EventApplyConfiguration) WithDeprecatedCount(value int32) *EventApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EventApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EventApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EventApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EventApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/events/v1/eventseries.go b/staging/src/k8s.io/client-go/applyconfigurations/events/v1/eventseries.go index c90954bccbd..cfe39c3744a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/events/v1/eventseries.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/events/v1/eventseries.go @@ -34,6 +34,7 @@ type EventSeriesApplyConfiguration struct { func EventSeries() *EventSeriesApplyConfiguration { return &EventSeriesApplyConfiguration{} } +func (b EventSeriesApplyConfiguration) IsApplyConfiguration() {} // WithCount sets the Count field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/event.go b/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/event.go index dc302e395a1..c57af55b5d8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/event.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/event.go @@ -95,6 +95,7 @@ func extractEvent(event *eventsv1beta1.Event, fieldManager string, subresource s b.WithAPIVersion("events.k8s.io/v1beta1") return b, nil } +func (b EventApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -366,8 +367,24 @@ func (b *EventApplyConfiguration) WithDeprecatedCount(value int32) *EventApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EventApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EventApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EventApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EventApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/eventseries.go b/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/eventseries.go index 75d936e8be8..4ff6c5d6d6d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/eventseries.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/events/v1beta1/eventseries.go @@ -34,6 +34,7 @@ type EventSeriesApplyConfiguration struct { func EventSeries() *EventSeriesApplyConfiguration { return &EventSeriesApplyConfiguration{} } +func (b EventSeriesApplyConfiguration) IsApplyConfiguration() {} // WithCount sets the Count field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonset.go index a75e38bfb73..081b00d06c7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonset.go @@ -82,6 +82,7 @@ func extractDaemonSet(daemonSet *extensionsv1beta1.DaemonSet, fieldManager strin b.WithAPIVersion("extensions/v1beta1") return b, nil } +func (b DaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DaemonSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DaemonSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetcondition.go index 0312a309942..7c54e1e4ae9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetcondition.go @@ -39,6 +39,7 @@ type DaemonSetConditionApplyConfiguration struct { func DaemonSetCondition() *DaemonSetConditionApplyConfiguration { return &DaemonSetConditionApplyConfiguration{} } +func (b DaemonSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetspec.go index d628969187a..84fb0c0c646 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetspec.go @@ -39,6 +39,7 @@ type DaemonSetSpecApplyConfiguration struct { func DaemonSetSpec() *DaemonSetSpecApplyConfiguration { return &DaemonSetSpecApplyConfiguration{} } +func (b DaemonSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithSelector sets the Selector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetstatus.go index 373f9ef97a7..63b2379f800 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetstatus.go @@ -38,6 +38,7 @@ type DaemonSetStatusApplyConfiguration struct { func DaemonSetStatus() *DaemonSetStatusApplyConfiguration { return &DaemonSetStatusApplyConfiguration{} } +func (b DaemonSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithCurrentNumberScheduled sets the CurrentNumberScheduled field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetupdatestrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetupdatestrategy.go index d3403605f84..2aa4c68e71c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetupdatestrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/daemonsetupdatestrategy.go @@ -34,6 +34,7 @@ type DaemonSetUpdateStrategyApplyConfiguration struct { func DaemonSetUpdateStrategy() *DaemonSetUpdateStrategyApplyConfiguration { return &DaemonSetUpdateStrategyApplyConfiguration{} } +func (b DaemonSetUpdateStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deployment.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deployment.go index 94fac18c688..d9351479cbd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deployment.go @@ -82,6 +82,7 @@ func extractDeployment(deployment *extensionsv1beta1.Deployment, fieldManager st b.WithAPIVersion("extensions/v1beta1") return b, nil } +func (b DeploymentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *DeploymentApplyConfiguration) WithStatus(value *DeploymentStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeploymentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeploymentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentcondition.go index 2b64508d9d2..9c108218890 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentcondition.go @@ -40,6 +40,7 @@ type DeploymentConditionApplyConfiguration struct { func DeploymentCondition() *DeploymentConditionApplyConfiguration { return &DeploymentConditionApplyConfiguration{} } +func (b DeploymentConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentspec.go index 5531c756f9d..8b3692b1b5f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentspec.go @@ -42,6 +42,7 @@ type DeploymentSpecApplyConfiguration struct { func DeploymentSpec() *DeploymentSpecApplyConfiguration { return &DeploymentSpecApplyConfiguration{} } +func (b DeploymentSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstatus.go index 36b4fd42b6e..37b0e07d0cb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstatus.go @@ -37,6 +37,7 @@ type DeploymentStatusApplyConfiguration struct { func DeploymentStatus() *DeploymentStatusApplyConfiguration { return &DeploymentStatusApplyConfiguration{} } +func (b DeploymentStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstrategy.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstrategy.go index b142b0deb07..d26bc9c896c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstrategy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/deploymentstrategy.go @@ -34,6 +34,7 @@ type DeploymentStrategyApplyConfiguration struct { func DeploymentStrategy() *DeploymentStrategyApplyConfiguration { return &DeploymentStrategyApplyConfiguration{} } +func (b DeploymentStrategyApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingresspath.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingresspath.go index 32e0c8b1d21..e6359288fa0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingresspath.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingresspath.go @@ -35,6 +35,7 @@ type HTTPIngressPathApplyConfiguration struct { func HTTPIngressPath() *HTTPIngressPathApplyConfiguration { return &HTTPIngressPathApplyConfiguration{} } +func (b HTTPIngressPathApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingressrulevalue.go index 12454522374..4f63f2b2e56 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/httpingressrulevalue.go @@ -29,6 +29,7 @@ type HTTPIngressRuleValueApplyConfiguration struct { func HTTPIngressRuleValue() *HTTPIngressRuleValueApplyConfiguration { return &HTTPIngressRuleValueApplyConfiguration{} } +func (b HTTPIngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithPaths adds the given value to the Paths field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingress.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingress.go index 8cc05cc62c4..6c7925317db 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingress.go @@ -82,6 +82,7 @@ func extractIngress(ingress *extensionsv1beta1.Ingress, fieldManager string, sub b.WithAPIVersion("extensions/v1beta1") return b, nil } +func (b IngressApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *IngressApplyConfiguration) WithStatus(value *IngressStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IngressApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IngressApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IngressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IngressApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressbackend.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressbackend.go index 9d386f16086..10f576802d0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressbackend.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressbackend.go @@ -36,6 +36,7 @@ type IngressBackendApplyConfiguration struct { func IngressBackend() *IngressBackendApplyConfiguration { return &IngressBackendApplyConfiguration{} } +func (b IngressBackendApplyConfiguration) IsApplyConfiguration() {} // WithServiceName sets the ServiceName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalanceringress.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalanceringress.go index 12dbc35969b..d446af15075 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalanceringress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalanceringress.go @@ -31,6 +31,7 @@ type IngressLoadBalancerIngressApplyConfiguration struct { func IngressLoadBalancerIngress() *IngressLoadBalancerIngressApplyConfiguration { return &IngressLoadBalancerIngressApplyConfiguration{} } +func (b IngressLoadBalancerIngressApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalancerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalancerstatus.go index e896ab34155..b2825d1db9a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalancerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressloadbalancerstatus.go @@ -29,6 +29,7 @@ type IngressLoadBalancerStatusApplyConfiguration struct { func IngressLoadBalancerStatus() *IngressLoadBalancerStatusApplyConfiguration { return &IngressLoadBalancerStatusApplyConfiguration{} } +func (b IngressLoadBalancerStatusApplyConfiguration) IsApplyConfiguration() {} // WithIngress adds the given value to the Ingress field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressportstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressportstatus.go index 4ee3f01617f..86384828a1f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressportstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressportstatus.go @@ -35,6 +35,7 @@ type IngressPortStatusApplyConfiguration struct { func IngressPortStatus() *IngressPortStatusApplyConfiguration { return &IngressPortStatusApplyConfiguration{} } +func (b IngressPortStatusApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrule.go index 809fada928e..6861cdca117 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrule.go @@ -30,6 +30,7 @@ type IngressRuleApplyConfiguration struct { func IngressRule() *IngressRuleApplyConfiguration { return &IngressRuleApplyConfiguration{} } +func (b IngressRuleApplyConfiguration) IsApplyConfiguration() {} // WithHost sets the Host field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrulevalue.go index 4a641247556..47258b2b9d5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressrulevalue.go @@ -29,6 +29,7 @@ type IngressRuleValueApplyConfiguration struct { func IngressRuleValue() *IngressRuleValueApplyConfiguration { return &IngressRuleValueApplyConfiguration{} } +func (b IngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithHTTP sets the HTTP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressspec.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressspec.go index 58fbde8b352..8600f6d3da5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressspec.go @@ -32,6 +32,7 @@ type IngressSpecApplyConfiguration struct { func IngressSpec() *IngressSpecApplyConfiguration { return &IngressSpecApplyConfiguration{} } +func (b IngressSpecApplyConfiguration) IsApplyConfiguration() {} // WithIngressClassName sets the IngressClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressstatus.go index 3aed616889c..401a79db27a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingressstatus.go @@ -29,6 +29,7 @@ type IngressStatusApplyConfiguration struct { func IngressStatus() *IngressStatusApplyConfiguration { return &IngressStatusApplyConfiguration{} } +func (b IngressStatusApplyConfiguration) IsApplyConfiguration() {} // WithLoadBalancer sets the LoadBalancer field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingresstls.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingresstls.go index 63648cd4649..1b2484ee877 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingresstls.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ingresstls.go @@ -30,6 +30,7 @@ type IngressTLSApplyConfiguration struct { func IngressTLS() *IngressTLSApplyConfiguration { return &IngressTLSApplyConfiguration{} } +func (b IngressTLSApplyConfiguration) IsApplyConfiguration() {} // WithHosts adds the given value to the Hosts field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ipblock.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ipblock.go index 4a671130b85..c3e71744ecd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ipblock.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/ipblock.go @@ -30,6 +30,7 @@ type IPBlockApplyConfiguration struct { func IPBlock() *IPBlockApplyConfiguration { return &IPBlockApplyConfiguration{} } +func (b IPBlockApplyConfiguration) IsApplyConfiguration() {} // WithCIDR sets the CIDR field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicy.go index 5ce0eb31f55..e1f0aad86f5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicy.go @@ -81,6 +81,7 @@ func extractNetworkPolicy(networkPolicy *extensionsv1beta1.NetworkPolicy, fieldM b.WithAPIVersion("extensions/v1beta1") return b, nil } +func (b NetworkPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyegressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyegressrule.go index ca3e174f93c..963e75974a4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyegressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyegressrule.go @@ -30,6 +30,7 @@ type NetworkPolicyEgressRuleApplyConfiguration struct { func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration { return &NetworkPolicyEgressRuleApplyConfiguration{} } +func (b NetworkPolicyEgressRuleApplyConfiguration) IsApplyConfiguration() {} // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyingressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyingressrule.go index 16071372047..e5d32238a03 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyingressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyingressrule.go @@ -30,6 +30,7 @@ type NetworkPolicyIngressRuleApplyConfiguration struct { func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration { return &NetworkPolicyIngressRuleApplyConfiguration{} } +func (b NetworkPolicyIngressRuleApplyConfiguration) IsApplyConfiguration() {} // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicypeer.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicypeer.go index 8a0fa574152..ef69b2112be 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicypeer.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicypeer.go @@ -35,6 +35,7 @@ type NetworkPolicyPeerApplyConfiguration struct { func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration { return &NetworkPolicyPeerApplyConfiguration{} } +func (b NetworkPolicyPeerApplyConfiguration) IsApplyConfiguration() {} // WithPodSelector sets the PodSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyport.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyport.go index 6bc1c1977b6..d803d10e1bb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyport.go @@ -36,6 +36,7 @@ type NetworkPolicyPortApplyConfiguration struct { func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration { return &NetworkPolicyPortApplyConfiguration{} } +func (b NetworkPolicyPortApplyConfiguration) IsApplyConfiguration() {} // WithProtocol sets the Protocol field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyspec.go index 4454329c5b5..6a3e8a42013 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/networkpolicyspec.go @@ -37,6 +37,7 @@ type NetworkPolicySpecApplyConfiguration struct { func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration { return &NetworkPolicySpecApplyConfiguration{} } +func (b NetworkPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithPodSelector sets the PodSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicaset.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicaset.go index 97a972f5311..dbe787b5bfd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicaset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicaset.go @@ -82,6 +82,7 @@ func extractReplicaSet(replicaSet *extensionsv1beta1.ReplicaSet, fieldManager st b.WithAPIVersion("extensions/v1beta1") return b, nil } +func (b ReplicaSetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ReplicaSetApplyConfiguration) WithStatus(value *ReplicaSetStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ReplicaSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ReplicaSetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetcondition.go index 540079fe53d..1122cbcffd6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetcondition.go @@ -39,6 +39,7 @@ type ReplicaSetConditionApplyConfiguration struct { func ReplicaSetCondition() *ReplicaSetConditionApplyConfiguration { return &ReplicaSetConditionApplyConfiguration{} } +func (b ReplicaSetConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetspec.go index 27653dd1af8..90b95ba361a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetspec.go @@ -37,6 +37,7 @@ type ReplicaSetSpecApplyConfiguration struct { func ReplicaSetSpec() *ReplicaSetSpecApplyConfiguration { return &ReplicaSetSpecApplyConfiguration{} } +func (b ReplicaSetSpecApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetstatus.go index 46abc94322b..84a05112068 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/replicasetstatus.go @@ -35,6 +35,7 @@ type ReplicaSetStatusApplyConfiguration struct { func ReplicaSetStatus() *ReplicaSetStatusApplyConfiguration { return &ReplicaSetStatusApplyConfiguration{} } +func (b ReplicaSetStatusApplyConfiguration) IsApplyConfiguration() {} // WithReplicas sets the Replicas field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollbackconfig.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollbackconfig.go index 775f82eef80..a078e65a9f6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollbackconfig.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollbackconfig.go @@ -29,6 +29,7 @@ type RollbackConfigApplyConfiguration struct { func RollbackConfig() *RollbackConfigApplyConfiguration { return &RollbackConfigApplyConfiguration{} } +func (b RollbackConfigApplyConfiguration) IsApplyConfiguration() {} // WithRevision sets the Revision field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedaemonset.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedaemonset.go index 4352f7fac7f..bd22d0107c2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedaemonset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedaemonset.go @@ -34,6 +34,7 @@ type RollingUpdateDaemonSetApplyConfiguration struct { func RollingUpdateDaemonSet() *RollingUpdateDaemonSetApplyConfiguration { return &RollingUpdateDaemonSetApplyConfiguration{} } +func (b RollingUpdateDaemonSetApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedeployment.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedeployment.go index 244701a5e01..8b14789e6b8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedeployment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/rollingupdatedeployment.go @@ -34,6 +34,7 @@ type RollingUpdateDeploymentApplyConfiguration struct { func RollingUpdateDeployment() *RollingUpdateDeploymentApplyConfiguration { return &RollingUpdateDeploymentApplyConfiguration{} } +func (b RollingUpdateDeploymentApplyConfiguration) IsApplyConfiguration() {} // WithMaxUnavailable sets the MaxUnavailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/scale.go b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/scale.go index 53e73439eb6..84dcc97c401 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/scale.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/extensions/v1beta1/scale.go @@ -42,6 +42,7 @@ func Scale() *ScaleApplyConfiguration { b.WithAPIVersion("extensions/v1beta1") return b } +func (b ScaleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -217,8 +218,24 @@ func (b *ScaleApplyConfiguration) WithStatus(value extensionsv1beta1.ScaleStatus return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ScaleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ScaleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/exemptprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/exemptprioritylevelconfiguration.go index 4e5805f3945..9495b1f36c4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/exemptprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/exemptprioritylevelconfiguration.go @@ -30,6 +30,7 @@ type ExemptPriorityLevelConfigurationApplyConfiguration struct { func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration { return &ExemptPriorityLevelConfigurationApplyConfiguration{} } +func (b ExemptPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowdistinguishermethod.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowdistinguishermethod.go index f8923ae7b35..816258f31e4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowdistinguishermethod.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowdistinguishermethod.go @@ -33,6 +33,7 @@ type FlowDistinguisherMethodApplyConfiguration struct { func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration { return &FlowDistinguisherMethodApplyConfiguration{} } +func (b FlowDistinguisherMethodApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschema.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschema.go index 3219319aeda..5ffebfd3220 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschema.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschema.go @@ -80,6 +80,7 @@ func extractFlowSchema(flowSchema *flowcontrolv1.FlowSchema, fieldManager string b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1") return b, nil } +func (b FlowSchemaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *FlowSchemaApplyConfiguration) WithStatus(value *FlowSchemaStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlowSchemaApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemacondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemacondition.go index d1c3dfbc672..f6d0cbe0d28 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemacondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemacondition.go @@ -38,6 +38,7 @@ type FlowSchemaConditionApplyConfiguration struct { func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration { return &FlowSchemaConditionApplyConfiguration{} } +func (b FlowSchemaConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemaspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemaspec.go index 4efd5d2875f..259e82ed14c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemaspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemaspec.go @@ -32,6 +32,7 @@ type FlowSchemaSpecApplyConfiguration struct { func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration { return &FlowSchemaSpecApplyConfiguration{} } +func (b FlowSchemaSpecApplyConfiguration) IsApplyConfiguration() {} // WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemastatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemastatus.go index 6f951967e88..8ca1f01d276 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemastatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/flowschemastatus.go @@ -29,6 +29,7 @@ type FlowSchemaStatusApplyConfiguration struct { func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration { return &FlowSchemaStatusApplyConfiguration{} } +func (b FlowSchemaStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/groupsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/groupsubject.go index 0be9eddfd6f..d025a28cb8e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/groupsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/groupsubject.go @@ -29,6 +29,7 @@ type GroupSubjectApplyConfiguration struct { func GroupSubject() *GroupSubjectApplyConfiguration { return &GroupSubjectApplyConfiguration{} } +func (b GroupSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitedprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitedprioritylevelconfiguration.go index 8e276429850..27281aed3ce 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitedprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitedprioritylevelconfiguration.go @@ -32,6 +32,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration { return &LimitedPriorityLevelConfigurationApplyConfiguration{} } +func (b LimitedPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitresponse.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitresponse.go index dc2e919d7f4..813edc9df11 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitresponse.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/limitresponse.go @@ -34,6 +34,7 @@ type LimitResponseApplyConfiguration struct { func LimitResponse() *LimitResponseApplyConfiguration { return &LimitResponseApplyConfiguration{} } +func (b LimitResponseApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/nonresourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/nonresourcepolicyrule.go index 29c26b3406e..2536a4b231a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/nonresourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/nonresourcepolicyrule.go @@ -30,6 +30,7 @@ type NonResourcePolicyRuleApplyConfiguration struct { func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration { return &NonResourcePolicyRuleApplyConfiguration{} } +func (b NonResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/policyruleswithsubjects.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/policyruleswithsubjects.go index 088afdc584b..d9195381f3d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/policyruleswithsubjects.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/policyruleswithsubjects.go @@ -31,6 +31,7 @@ type PolicyRulesWithSubjectsApplyConfiguration struct { func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration { return &PolicyRulesWithSubjectsApplyConfiguration{} } +func (b PolicyRulesWithSubjectsApplyConfiguration) IsApplyConfiguration() {} // WithSubjects adds the given value to the Subjects field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfiguration.go index 50d5e51326c..8fb6a66454d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfiguration.go @@ -80,6 +80,7 @@ func extractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1 b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1") return b, nil } +func (b PriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *PriorityLevelConfigurationApplyConfiguration) WithStatus(value *Priorit return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityLevelConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationcondition.go index a7810adfbfa..ff6cf120020 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationcondition.go @@ -38,6 +38,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct { func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration { return &PriorityLevelConfigurationConditionApplyConfiguration{} } +func (b PriorityLevelConfigurationConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationreference.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationreference.go index f445713f0cc..c0b6528cd83 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationreference.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationReferenceApplyConfiguration struct { func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration { return &PriorityLevelConfigurationReferenceApplyConfiguration{} } +func (b PriorityLevelConfigurationReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationspec.go index 45e4cdcd8ad..6bd750a0687 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationspec.go @@ -35,6 +35,7 @@ type PriorityLevelConfigurationSpecApplyConfiguration struct { func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration { return &PriorityLevelConfigurationSpecApplyConfiguration{} } +func (b PriorityLevelConfigurationSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationstatus.go index ff650bc3d58..2e3055e5c4b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/prioritylevelconfigurationstatus.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationStatusApplyConfiguration struct { func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration { return &PriorityLevelConfigurationStatusApplyConfiguration{} } +func (b PriorityLevelConfigurationStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/queuingconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/queuingconfiguration.go index 7488f9bbe2d..3d31cdde321 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/queuingconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/queuingconfiguration.go @@ -31,6 +31,7 @@ type QueuingConfigurationApplyConfiguration struct { func QueuingConfiguration() *QueuingConfigurationApplyConfiguration { return &QueuingConfigurationApplyConfiguration{} } +func (b QueuingConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithQueues sets the Queues field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/resourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/resourcepolicyrule.go index 7428582a82e..f5551a61c55 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/resourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/resourcepolicyrule.go @@ -33,6 +33,7 @@ type ResourcePolicyRuleApplyConfiguration struct { func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration { return &ResourcePolicyRuleApplyConfiguration{} } +func (b ResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/serviceaccountsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/serviceaccountsubject.go index 58ad10764b3..4dfb3489543 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/serviceaccountsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/serviceaccountsubject.go @@ -30,6 +30,7 @@ type ServiceAccountSubjectApplyConfiguration struct { func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration { return &ServiceAccountSubjectApplyConfiguration{} } +func (b ServiceAccountSubjectApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/subject.go index e2f6f3849b7..d5e75b523fd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/subject.go @@ -36,6 +36,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/usersubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/usersubject.go index fd90067d4da..8e49ad65ef1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/usersubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1/usersubject.go @@ -29,6 +29,7 @@ type UserSubjectApplyConfiguration struct { func UserSubject() *UserSubjectApplyConfiguration { return &UserSubjectApplyConfiguration{} } +func (b UserSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/exemptprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/exemptprioritylevelconfiguration.go index 45ccc5cb759..959f52064ae 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/exemptprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/exemptprioritylevelconfiguration.go @@ -30,6 +30,7 @@ type ExemptPriorityLevelConfigurationApplyConfiguration struct { func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration { return &ExemptPriorityLevelConfigurationApplyConfiguration{} } +func (b ExemptPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go index 11aa62bba20..a4569d11334 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowdistinguishermethod.go @@ -33,6 +33,7 @@ type FlowDistinguisherMethodApplyConfiguration struct { func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration { return &FlowDistinguisherMethodApplyConfiguration{} } +func (b FlowDistinguisherMethodApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go index f5d69b8a50b..09c40405ff3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschema.go @@ -80,6 +80,7 @@ func extractFlowSchema(flowSchema *flowcontrolv1beta1.FlowSchema, fieldManager s b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") return b, nil } +func (b FlowSchemaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *FlowSchemaApplyConfiguration) WithStatus(value *FlowSchemaStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlowSchemaApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go index e7dcb4366ac..d4dbc41ae14 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemacondition.go @@ -38,6 +38,7 @@ type FlowSchemaConditionApplyConfiguration struct { func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration { return &FlowSchemaConditionApplyConfiguration{} } +func (b FlowSchemaConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go index 1d6e8fc58e7..83de1216186 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemaspec.go @@ -32,6 +32,7 @@ type FlowSchemaSpecApplyConfiguration struct { func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration { return &FlowSchemaSpecApplyConfiguration{} } +func (b FlowSchemaSpecApplyConfiguration) IsApplyConfiguration() {} // WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go index 5ad8a432b28..8a6861ecc13 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/flowschemastatus.go @@ -29,6 +29,7 @@ type FlowSchemaStatusApplyConfiguration struct { func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration { return &FlowSchemaStatusApplyConfiguration{} } +func (b FlowSchemaStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go index cc274fe2f3b..52b64414da2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/groupsubject.go @@ -29,6 +29,7 @@ type GroupSubjectApplyConfiguration struct { func GroupSubject() *GroupSubjectApplyConfiguration { return &GroupSubjectApplyConfiguration{} } +func (b GroupSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go index 0fe5feca12f..8a25a3a1c96 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitedprioritylevelconfiguration.go @@ -32,6 +32,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration { return &LimitedPriorityLevelConfigurationApplyConfiguration{} } +func (b LimitedPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithAssuredConcurrencyShares sets the AssuredConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go index 20e1b17bd39..3f6d9679393 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/limitresponse.go @@ -34,6 +34,7 @@ type LimitResponseApplyConfiguration struct { func LimitResponse() *LimitResponseApplyConfiguration { return &LimitResponseApplyConfiguration{} } +func (b LimitResponseApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go index 3c571ccb062..cae561acaf0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/nonresourcepolicyrule.go @@ -30,6 +30,7 @@ type NonResourcePolicyRuleApplyConfiguration struct { func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration { return &NonResourcePolicyRuleApplyConfiguration{} } +func (b NonResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go index 32a082dc76d..8be058a5419 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/policyruleswithsubjects.go @@ -31,6 +31,7 @@ type PolicyRulesWithSubjectsApplyConfiguration struct { func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration { return &PolicyRulesWithSubjectsApplyConfiguration{} } +func (b PolicyRulesWithSubjectsApplyConfiguration) IsApplyConfiguration() {} // WithSubjects adds the given value to the Subjects field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go index 54030159e31..a67079097df 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfiguration.go @@ -80,6 +80,7 @@ func extractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1 b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta1") return b, nil } +func (b PriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *PriorityLevelConfigurationApplyConfiguration) WithStatus(value *Priorit return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityLevelConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go index 74eda91700a..f2ba65d4a41 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationcondition.go @@ -38,6 +38,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct { func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration { return &PriorityLevelConfigurationConditionApplyConfiguration{} } +func (b PriorityLevelConfigurationConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go index b5e773e82ac..0c4e0e9ee2b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationreference.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationReferenceApplyConfiguration struct { func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration { return &PriorityLevelConfigurationReferenceApplyConfiguration{} } +func (b PriorityLevelConfigurationReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go index 775f476ddd6..48fbedfb278 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationspec.go @@ -35,6 +35,7 @@ type PriorityLevelConfigurationSpecApplyConfiguration struct { func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration { return &PriorityLevelConfigurationSpecApplyConfiguration{} } +func (b PriorityLevelConfigurationSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go index 875b01efec9..70a538524be 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/prioritylevelconfigurationstatus.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationStatusApplyConfiguration struct { func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration { return &PriorityLevelConfigurationStatusApplyConfiguration{} } +func (b PriorityLevelConfigurationStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go index 85a8b88630f..f0556087d98 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/queuingconfiguration.go @@ -31,6 +31,7 @@ type QueuingConfigurationApplyConfiguration struct { func QueuingConfiguration() *QueuingConfigurationApplyConfiguration { return &QueuingConfigurationApplyConfiguration{} } +func (b QueuingConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithQueues sets the Queues field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go index 5c67dad7592..b984c4256cc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/resourcepolicyrule.go @@ -33,6 +33,7 @@ type ResourcePolicyRuleApplyConfiguration struct { func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration { return &ResourcePolicyRuleApplyConfiguration{} } +func (b ResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go index 439e5ff7530..cf1092fbd1c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/serviceaccountsubject.go @@ -30,6 +30,7 @@ type ServiceAccountSubjectApplyConfiguration struct { func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration { return &ServiceAccountSubjectApplyConfiguration{} } +func (b ServiceAccountSubjectApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go index 000508065da..96f5ef95568 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/subject.go @@ -36,6 +36,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go index bc2deae4c2c..6ff60afd847 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1/usersubject.go @@ -29,6 +29,7 @@ type UserSubjectApplyConfiguration struct { func UserSubject() *UserSubjectApplyConfiguration { return &UserSubjectApplyConfiguration{} } +func (b UserSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/exemptprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/exemptprioritylevelconfiguration.go index 0c02d9b3892..ea627e97a82 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/exemptprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/exemptprioritylevelconfiguration.go @@ -30,6 +30,7 @@ type ExemptPriorityLevelConfigurationApplyConfiguration struct { func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration { return &ExemptPriorityLevelConfigurationApplyConfiguration{} } +func (b ExemptPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowdistinguishermethod.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowdistinguishermethod.go index 3922c472960..fac8117d5ad 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowdistinguishermethod.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowdistinguishermethod.go @@ -33,6 +33,7 @@ type FlowDistinguisherMethodApplyConfiguration struct { func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration { return &FlowDistinguisherMethodApplyConfiguration{} } +func (b FlowDistinguisherMethodApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschema.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschema.go index fcab6df87fa..db8cb397a80 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschema.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschema.go @@ -80,6 +80,7 @@ func extractFlowSchema(flowSchema *flowcontrolv1beta2.FlowSchema, fieldManager s b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta2") return b, nil } +func (b FlowSchemaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *FlowSchemaApplyConfiguration) WithStatus(value *FlowSchemaStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlowSchemaApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemacondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemacondition.go index f47130eeb07..51c785b5d8f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemacondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemacondition.go @@ -38,6 +38,7 @@ type FlowSchemaConditionApplyConfiguration struct { func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration { return &FlowSchemaConditionApplyConfiguration{} } +func (b FlowSchemaConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemaspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemaspec.go index 6eab63bfa9f..510e1283ca5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemaspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemaspec.go @@ -32,6 +32,7 @@ type FlowSchemaSpecApplyConfiguration struct { func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration { return &FlowSchemaSpecApplyConfiguration{} } +func (b FlowSchemaSpecApplyConfiguration) IsApplyConfiguration() {} // WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemastatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemastatus.go index 70ac997e452..a4a18144038 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemastatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/flowschemastatus.go @@ -29,6 +29,7 @@ type FlowSchemaStatusApplyConfiguration struct { func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration { return &FlowSchemaStatusApplyConfiguration{} } +func (b FlowSchemaStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/groupsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/groupsubject.go index 25207d7c1a2..4bf0387a7ed 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/groupsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/groupsubject.go @@ -29,6 +29,7 @@ type GroupSubjectApplyConfiguration struct { func GroupSubject() *GroupSubjectApplyConfiguration { return &GroupSubjectApplyConfiguration{} } +func (b GroupSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitedprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitedprioritylevelconfiguration.go index 298dd463706..b4693dbc9d6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitedprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitedprioritylevelconfiguration.go @@ -32,6 +32,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration { return &LimitedPriorityLevelConfigurationApplyConfiguration{} } +func (b LimitedPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithAssuredConcurrencyShares sets the AssuredConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitresponse.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitresponse.go index 58cd78006bc..3fe58570dd1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitresponse.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/limitresponse.go @@ -34,6 +34,7 @@ type LimitResponseApplyConfiguration struct { func LimitResponse() *LimitResponseApplyConfiguration { return &LimitResponseApplyConfiguration{} } +func (b LimitResponseApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/nonresourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/nonresourcepolicyrule.go index 5032ee4898b..63b54667ec4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/nonresourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/nonresourcepolicyrule.go @@ -30,6 +30,7 @@ type NonResourcePolicyRuleApplyConfiguration struct { func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration { return &NonResourcePolicyRuleApplyConfiguration{} } +func (b NonResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/policyruleswithsubjects.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/policyruleswithsubjects.go index 2bb8c871828..fd0b259d4a4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/policyruleswithsubjects.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/policyruleswithsubjects.go @@ -31,6 +31,7 @@ type PolicyRulesWithSubjectsApplyConfiguration struct { func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration { return &PolicyRulesWithSubjectsApplyConfiguration{} } +func (b PolicyRulesWithSubjectsApplyConfiguration) IsApplyConfiguration() {} // WithSubjects adds the given value to the Subjects field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfiguration.go index 116bcfd311b..7cb04bb758d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfiguration.go @@ -80,6 +80,7 @@ func extractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1 b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta2") return b, nil } +func (b PriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *PriorityLevelConfigurationApplyConfiguration) WithStatus(value *Priorit return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityLevelConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationcondition.go index caf517be3b3..99e3e5d18c5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationcondition.go @@ -38,6 +38,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct { func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration { return &PriorityLevelConfigurationConditionApplyConfiguration{} } +func (b PriorityLevelConfigurationConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationreference.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationreference.go index bbf718b60f9..44352b94f72 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationreference.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationReferenceApplyConfiguration struct { func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration { return &PriorityLevelConfigurationReferenceApplyConfiguration{} } +func (b PriorityLevelConfigurationReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationspec.go index c680ea1ef37..43f93c3d0f2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationspec.go @@ -35,6 +35,7 @@ type PriorityLevelConfigurationSpecApplyConfiguration struct { func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration { return &PriorityLevelConfigurationSpecApplyConfiguration{} } +func (b PriorityLevelConfigurationSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationstatus.go index 7a1f8790b93..a6bf5d80130 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/prioritylevelconfigurationstatus.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationStatusApplyConfiguration struct { func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration { return &PriorityLevelConfigurationStatusApplyConfiguration{} } +func (b PriorityLevelConfigurationStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/queuingconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/queuingconfiguration.go index 19c34c5f831..8e5908520e4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/queuingconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/queuingconfiguration.go @@ -31,6 +31,7 @@ type QueuingConfigurationApplyConfiguration struct { func QueuingConfiguration() *QueuingConfigurationApplyConfiguration { return &QueuingConfigurationApplyConfiguration{} } +func (b QueuingConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithQueues sets the Queues field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/resourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/resourcepolicyrule.go index 070d2ed4651..b1bacf51029 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/resourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/resourcepolicyrule.go @@ -33,6 +33,7 @@ type ResourcePolicyRuleApplyConfiguration struct { func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration { return &ResourcePolicyRuleApplyConfiguration{} } +func (b ResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/serviceaccountsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/serviceaccountsubject.go index c0d44721ccc..2fcacbbeecd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/serviceaccountsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/serviceaccountsubject.go @@ -30,6 +30,7 @@ type ServiceAccountSubjectApplyConfiguration struct { func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration { return &ServiceAccountSubjectApplyConfiguration{} } +func (b ServiceAccountSubjectApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/subject.go index 2b569a62810..802fa936c5a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/subject.go @@ -36,6 +36,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/usersubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/usersubject.go index c249f042dae..22c1520f4a8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/usersubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2/usersubject.go @@ -29,6 +29,7 @@ type UserSubjectApplyConfiguration struct { func UserSubject() *UserSubjectApplyConfiguration { return &UserSubjectApplyConfiguration{} } +func (b UserSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/exemptprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/exemptprioritylevelconfiguration.go index b9bf6993af3..58c03f6655d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/exemptprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/exemptprioritylevelconfiguration.go @@ -30,6 +30,7 @@ type ExemptPriorityLevelConfigurationApplyConfiguration struct { func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration { return &ExemptPriorityLevelConfigurationApplyConfiguration{} } +func (b ExemptPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowdistinguishermethod.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowdistinguishermethod.go index cc32fa10055..d0f3407bb93 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowdistinguishermethod.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowdistinguishermethod.go @@ -33,6 +33,7 @@ type FlowDistinguisherMethodApplyConfiguration struct { func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration { return &FlowDistinguisherMethodApplyConfiguration{} } +func (b FlowDistinguisherMethodApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschema.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschema.go index 5f6416c7c1c..b20c8ce69b9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschema.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschema.go @@ -80,6 +80,7 @@ func extractFlowSchema(flowSchema *flowcontrolv1beta3.FlowSchema, fieldManager s b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta3") return b, nil } +func (b FlowSchemaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *FlowSchemaApplyConfiguration) WithStatus(value *FlowSchemaStatusApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlowSchemaApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlowSchemaApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemacondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemacondition.go index d5ba21f71b0..d459f0fb038 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemacondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemacondition.go @@ -38,6 +38,7 @@ type FlowSchemaConditionApplyConfiguration struct { func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration { return &FlowSchemaConditionApplyConfiguration{} } +func (b FlowSchemaConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemaspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemaspec.go index 7141f6a6a11..393f06f1b4f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemaspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemaspec.go @@ -32,6 +32,7 @@ type FlowSchemaSpecApplyConfiguration struct { func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration { return &FlowSchemaSpecApplyConfiguration{} } +func (b FlowSchemaSpecApplyConfiguration) IsApplyConfiguration() {} // WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemastatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemastatus.go index 294ddc9098c..62be87147f8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemastatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/flowschemastatus.go @@ -29,6 +29,7 @@ type FlowSchemaStatusApplyConfiguration struct { func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration { return &FlowSchemaStatusApplyConfiguration{} } +func (b FlowSchemaStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/groupsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/groupsubject.go index 6576e716eff..e7b15b9c890 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/groupsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/groupsubject.go @@ -29,6 +29,7 @@ type GroupSubjectApplyConfiguration struct { func GroupSubject() *GroupSubjectApplyConfiguration { return &GroupSubjectApplyConfiguration{} } +func (b GroupSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitedprioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitedprioritylevelconfiguration.go index bd98dd683c5..37818f39c14 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitedprioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitedprioritylevelconfiguration.go @@ -32,6 +32,7 @@ type LimitedPriorityLevelConfigurationApplyConfiguration struct { func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration { return &LimitedPriorityLevelConfigurationApplyConfiguration{} } +func (b LimitedPriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitresponse.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitresponse.go index 2c289c7775c..c46766274cb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitresponse.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/limitresponse.go @@ -34,6 +34,7 @@ type LimitResponseApplyConfiguration struct { func LimitResponse() *LimitResponseApplyConfiguration { return &LimitResponseApplyConfiguration{} } +func (b LimitResponseApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/nonresourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/nonresourcepolicyrule.go index 2dd0d2b0680..3e91dcc70a3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/nonresourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/nonresourcepolicyrule.go @@ -30,6 +30,7 @@ type NonResourcePolicyRuleApplyConfiguration struct { func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration { return &NonResourcePolicyRuleApplyConfiguration{} } +func (b NonResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/policyruleswithsubjects.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/policyruleswithsubjects.go index cc64dc585ba..5ff806d6e0a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/policyruleswithsubjects.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/policyruleswithsubjects.go @@ -31,6 +31,7 @@ type PolicyRulesWithSubjectsApplyConfiguration struct { func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration { return &PolicyRulesWithSubjectsApplyConfiguration{} } +func (b PolicyRulesWithSubjectsApplyConfiguration) IsApplyConfiguration() {} // WithSubjects adds the given value to the Subjects field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfiguration.go index bb036c46621..9a0dad0234e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfiguration.go @@ -80,6 +80,7 @@ func extractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1 b.WithAPIVersion("flowcontrol.apiserver.k8s.io/v1beta3") return b, nil } +func (b PriorityLevelConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *PriorityLevelConfigurationApplyConfiguration) WithStatus(value *Priorit return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityLevelConfigurationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityLevelConfigurationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationcondition.go index 01695f14481..97b0c90d7bc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationcondition.go @@ -38,6 +38,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct { func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration { return &PriorityLevelConfigurationConditionApplyConfiguration{} } +func (b PriorityLevelConfigurationConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationreference.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationreference.go index 566aaa916b1..1223d576f0a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationreference.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationReferenceApplyConfiguration struct { func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration { return &PriorityLevelConfigurationReferenceApplyConfiguration{} } +func (b PriorityLevelConfigurationReferenceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationspec.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationspec.go index c9508547876..6bb52539d6a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationspec.go @@ -35,6 +35,7 @@ type PriorityLevelConfigurationSpecApplyConfiguration struct { func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration { return &PriorityLevelConfigurationSpecApplyConfiguration{} } +func (b PriorityLevelConfigurationSpecApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationstatus.go index be2436457ee..b2711ab661c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/prioritylevelconfigurationstatus.go @@ -29,6 +29,7 @@ type PriorityLevelConfigurationStatusApplyConfiguration struct { func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration { return &PriorityLevelConfigurationStatusApplyConfiguration{} } +func (b PriorityLevelConfigurationStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/queuingconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/queuingconfiguration.go index f9a3c6d1a6e..b30b835c354 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/queuingconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/queuingconfiguration.go @@ -31,6 +31,7 @@ type QueuingConfigurationApplyConfiguration struct { func QueuingConfiguration() *QueuingConfigurationApplyConfiguration { return &QueuingConfigurationApplyConfiguration{} } +func (b QueuingConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithQueues sets the Queues field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/resourcepolicyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/resourcepolicyrule.go index e38f711db0a..f520480d2fc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/resourcepolicyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/resourcepolicyrule.go @@ -33,6 +33,7 @@ type ResourcePolicyRuleApplyConfiguration struct { func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration { return &ResourcePolicyRuleApplyConfiguration{} } +func (b ResourcePolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/serviceaccountsubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/serviceaccountsubject.go index a5ed40c2ae6..e56c2e4b5ce 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/serviceaccountsubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/serviceaccountsubject.go @@ -30,6 +30,7 @@ type ServiceAccountSubjectApplyConfiguration struct { func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration { return &ServiceAccountSubjectApplyConfiguration{} } +func (b ServiceAccountSubjectApplyConfiguration) IsApplyConfiguration() {} // WithNamespace sets the Namespace field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/subject.go index 46499f5418c..3f5a0f5ea1c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/subject.go @@ -36,6 +36,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/usersubject.go b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/usersubject.go index 7b3ec2ba824..b7269969b23 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/usersubject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3/usersubject.go @@ -29,6 +29,7 @@ type UserSubjectApplyConfiguration struct { func UserSubject() *UserSubjectApplyConfiguration { return &UserSubjectApplyConfiguration{} } +func (b UserSubjectApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereview.go b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereview.go index 8a49806759b..0d428e06bc0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereview.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereview.go @@ -80,6 +80,7 @@ func extractImageReview(imageReview *imagepolicyv1alpha1.ImageReview, fieldManag b.WithAPIVersion("imagepolicy.k8s.io/v1alpha1") return b, nil } +func (b ImageReviewApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ImageReviewApplyConfiguration) WithStatus(value *ImageReviewStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ImageReviewApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ImageReviewApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ImageReviewApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ImageReviewApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewcontainerspec.go b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewcontainerspec.go index adfdb325842..fb7420e93a5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewcontainerspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewcontainerspec.go @@ -29,6 +29,7 @@ type ImageReviewContainerSpecApplyConfiguration struct { func ImageReviewContainerSpec() *ImageReviewContainerSpecApplyConfiguration { return &ImageReviewContainerSpecApplyConfiguration{} } +func (b ImageReviewContainerSpecApplyConfiguration) IsApplyConfiguration() {} // WithImage sets the Image field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewspec.go b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewspec.go index 7efc36a3214..67c8220b613 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewspec.go @@ -31,6 +31,7 @@ type ImageReviewSpecApplyConfiguration struct { func ImageReviewSpec() *ImageReviewSpecApplyConfiguration { return &ImageReviewSpecApplyConfiguration{} } +func (b ImageReviewSpecApplyConfiguration) IsApplyConfiguration() {} // WithContainers adds the given value to the Containers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewstatus.go index e26a427e69e..2c48b63daa6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/imagepolicy/v1alpha1/imagereviewstatus.go @@ -31,6 +31,7 @@ type ImageReviewStatusApplyConfiguration struct { func ImageReviewStatus() *ImageReviewStatusApplyConfiguration { return &ImageReviewStatusApplyConfiguration{} } +func (b ImageReviewStatusApplyConfiguration) IsApplyConfiguration() {} // WithAllowed sets the Allowed field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/condition.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/condition.go index 69063df65b6..89f9f268137 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/condition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/condition.go @@ -38,6 +38,7 @@ type ConditionApplyConfiguration struct { func Condition() *ConditionApplyConfiguration { return &ConditionApplyConfiguration{} } +func (b ConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go index ab398ef5634..a872d19cafb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/deleteoptions.go @@ -42,6 +42,7 @@ func DeleteOptions() *DeleteOptionsApplyConfiguration { b.WithAPIVersion("meta.k8s.io/v1") return b } +func (b DeleteOptionsApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -108,3 +109,13 @@ func (b *DeleteOptionsApplyConfiguration) WithIgnoreStoreReadErrorWithClusterBre b.IgnoreStoreReadErrorWithClusterBreakingPotential = &value return b } + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeleteOptionsApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeleteOptionsApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselector.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselector.go index 1f33c94e0c7..9db7c213d7e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselector.go @@ -30,6 +30,7 @@ type LabelSelectorApplyConfiguration struct { func LabelSelector() *LabelSelectorApplyConfiguration { return &LabelSelectorApplyConfiguration{} } +func (b LabelSelectorApplyConfiguration) IsApplyConfiguration() {} // WithMatchLabels puts the entries into the MatchLabels field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go index c8b015c9852..846d4754b24 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/labelselectorrequirement.go @@ -35,6 +35,7 @@ type LabelSelectorRequirementApplyConfiguration struct { func LabelSelectorRequirement() *LabelSelectorRequirementApplyConfiguration { return &LabelSelectorRequirementApplyConfiguration{} } +func (b LabelSelectorRequirementApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go index 7175537c3e6..871f152dd63 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/managedfieldsentry.go @@ -39,6 +39,7 @@ type ManagedFieldsEntryApplyConfiguration struct { func ManagedFieldsEntry() *ManagedFieldsEntryApplyConfiguration { return &ManagedFieldsEntryApplyConfiguration{} } +func (b ManagedFieldsEntryApplyConfiguration) IsApplyConfiguration() {} // WithManager sets the Manager field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go index 9b98d2209b9..6375f94954e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/objectmeta.go @@ -46,6 +46,7 @@ type ObjectMetaApplyConfiguration struct { func ObjectMeta() *ObjectMetaApplyConfiguration { return &ObjectMetaApplyConfiguration{} } +func (b ObjectMetaApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -174,3 +175,8 @@ func (b *ObjectMetaApplyConfiguration) WithFinalizers(values ...string) *ObjectM func (b *ObjectMetaApplyConfiguration) GetName() *string { return b.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ObjectMetaApplyConfiguration) GetNamespace() *string { + return b.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/ownerreference.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/ownerreference.go index 2776152322e..3f7509471d8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/ownerreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/ownerreference.go @@ -38,6 +38,7 @@ type OwnerReferenceApplyConfiguration struct { func OwnerReference() *OwnerReferenceApplyConfiguration { return &OwnerReferenceApplyConfiguration{} } +func (b OwnerReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/preconditions.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/preconditions.go index 8f8b6c6b3a0..3c5894db3ae 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/preconditions.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/preconditions.go @@ -34,6 +34,7 @@ type PreconditionsApplyConfiguration struct { func Preconditions() *PreconditionsApplyConfiguration { return &PreconditionsApplyConfiguration{} } +func (b PreconditionsApplyConfiguration) IsApplyConfiguration() {} // WithUID sets the UID field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/typemeta.go b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/typemeta.go index 979044384c2..aee1efd1deb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/typemeta.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/meta/v1/typemeta.go @@ -30,6 +30,7 @@ type TypeMetaApplyConfiguration struct { func TypeMeta() *TypeMetaApplyConfiguration { return &TypeMetaApplyConfiguration{} } +func (b TypeMetaApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -46,3 +47,13 @@ func (b *TypeMetaApplyConfiguration) WithAPIVersion(value string) *TypeMetaApply b.APIVersion = &value return b } + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TypeMetaApplyConfiguration) GetKind() *string { + return b.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TypeMetaApplyConfiguration) GetAPIVersion() *string { + return b.APIVersion +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingresspath.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingresspath.go index 96f9b1f567c..b1968955abf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingresspath.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingresspath.go @@ -35,6 +35,7 @@ type HTTPIngressPathApplyConfiguration struct { func HTTPIngressPath() *HTTPIngressPathApplyConfiguration { return &HTTPIngressPathApplyConfiguration{} } +func (b HTTPIngressPathApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingressrulevalue.go index ad9a7a67716..9f5060caadc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/httpingressrulevalue.go @@ -29,6 +29,7 @@ type HTTPIngressRuleValueApplyConfiguration struct { func HTTPIngressRuleValue() *HTTPIngressRuleValueApplyConfiguration { return &HTTPIngressRuleValueApplyConfiguration{} } +func (b HTTPIngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithPaths adds the given value to the Paths field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingress.go index 9e275f24fd9..3085e4cf5df 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingress.go @@ -82,6 +82,7 @@ func extractIngress(ingress *networkingv1.Ingress, fieldManager string, subresou b.WithAPIVersion("networking.k8s.io/v1") return b, nil } +func (b IngressApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *IngressApplyConfiguration) WithStatus(value *IngressStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IngressApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IngressApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IngressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IngressApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressbackend.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressbackend.go index b014b7beefa..73b1522a2f7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressbackend.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressbackend.go @@ -34,6 +34,7 @@ type IngressBackendApplyConfiguration struct { func IngressBackend() *IngressBackendApplyConfiguration { return &IngressBackendApplyConfiguration{} } +func (b IngressBackendApplyConfiguration) IsApplyConfiguration() {} // WithService sets the Service field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclass.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclass.go index f723b5d7008..a03b9127189 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclass.go @@ -79,6 +79,7 @@ func extractIngressClass(ingressClass *networkingv1.IngressClass, fieldManager s b.WithAPIVersion("networking.k8s.io/v1") return b, nil } +func (b IngressClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *IngressClassApplyConfiguration) WithSpec(value *IngressClassSpecApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IngressClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassparametersreference.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassparametersreference.go index 0dba1ebc5dd..889aa14c783 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassparametersreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassparametersreference.go @@ -33,6 +33,7 @@ type IngressClassParametersReferenceApplyConfiguration struct { func IngressClassParametersReference() *IngressClassParametersReferenceApplyConfiguration { return &IngressClassParametersReferenceApplyConfiguration{} } +func (b IngressClassParametersReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassspec.go index 23e84843449..5aeee1c9ff8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressclassspec.go @@ -30,6 +30,7 @@ type IngressClassSpecApplyConfiguration struct { func IngressClassSpec() *IngressClassSpecApplyConfiguration { return &IngressClassSpecApplyConfiguration{} } +func (b IngressClassSpecApplyConfiguration) IsApplyConfiguration() {} // WithController sets the Controller field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalanceringress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalanceringress.go index d0feb44da45..bacf5efde80 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalanceringress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalanceringress.go @@ -31,6 +31,7 @@ type IngressLoadBalancerIngressApplyConfiguration struct { func IngressLoadBalancerIngress() *IngressLoadBalancerIngressApplyConfiguration { return &IngressLoadBalancerIngressApplyConfiguration{} } +func (b IngressLoadBalancerIngressApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalancerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalancerstatus.go index 08c841f06bc..7c74b25fb77 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalancerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressloadbalancerstatus.go @@ -29,6 +29,7 @@ type IngressLoadBalancerStatusApplyConfiguration struct { func IngressLoadBalancerStatus() *IngressLoadBalancerStatusApplyConfiguration { return &IngressLoadBalancerStatusApplyConfiguration{} } +func (b IngressLoadBalancerStatusApplyConfiguration) IsApplyConfiguration() {} // WithIngress adds the given value to the Ingress field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressportstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressportstatus.go index 84ba243ab97..9a71609cf00 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressportstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressportstatus.go @@ -35,6 +35,7 @@ type IngressPortStatusApplyConfiguration struct { func IngressPortStatus() *IngressPortStatusApplyConfiguration { return &IngressPortStatusApplyConfiguration{} } +func (b IngressPortStatusApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrule.go index 20a1816bf13..416d7e13077 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrule.go @@ -30,6 +30,7 @@ type IngressRuleApplyConfiguration struct { func IngressRule() *IngressRuleApplyConfiguration { return &IngressRuleApplyConfiguration{} } +func (b IngressRuleApplyConfiguration) IsApplyConfiguration() {} // WithHost sets the Host field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrulevalue.go index 1e13e378be9..4c5cb7a7e51 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressrulevalue.go @@ -29,6 +29,7 @@ type IngressRuleValueApplyConfiguration struct { func IngressRuleValue() *IngressRuleValueApplyConfiguration { return &IngressRuleValueApplyConfiguration{} } +func (b IngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithHTTP sets the HTTP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressservicebackend.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressservicebackend.go index 07876afd17e..8bc4b85d41d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressservicebackend.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressservicebackend.go @@ -30,6 +30,7 @@ type IngressServiceBackendApplyConfiguration struct { func IngressServiceBackend() *IngressServiceBackendApplyConfiguration { return &IngressServiceBackendApplyConfiguration{} } +func (b IngressServiceBackendApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressspec.go index 0572153aa1b..a76deaf5a13 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressspec.go @@ -32,6 +32,7 @@ type IngressSpecApplyConfiguration struct { func IngressSpec() *IngressSpecApplyConfiguration { return &IngressSpecApplyConfiguration{} } +func (b IngressSpecApplyConfiguration) IsApplyConfiguration() {} // WithIngressClassName sets the IngressClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressstatus.go index bd1327c93f1..2e4d5c7b745 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingressstatus.go @@ -29,6 +29,7 @@ type IngressStatusApplyConfiguration struct { func IngressStatus() *IngressStatusApplyConfiguration { return &IngressStatusApplyConfiguration{} } +func (b IngressStatusApplyConfiguration) IsApplyConfiguration() {} // WithLoadBalancer sets the LoadBalancer field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingresstls.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingresstls.go index 44092503f92..bf9bac4e5d6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingresstls.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ingresstls.go @@ -30,6 +30,7 @@ type IngressTLSApplyConfiguration struct { func IngressTLS() *IngressTLSApplyConfiguration { return &IngressTLSApplyConfiguration{} } +func (b IngressTLSApplyConfiguration) IsApplyConfiguration() {} // WithHosts adds the given value to the Hosts field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddress.go index f3098b96bef..a5407dbc73c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddress.go @@ -79,6 +79,7 @@ func extractIPAddress(iPAddress *networkingv1.IPAddress, fieldManager string, su b.WithAPIVersion("networking.k8s.io/v1") return b, nil } +func (b IPAddressApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *IPAddressApplyConfiguration) WithSpec(value *IPAddressSpecApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IPAddressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddressspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddressspec.go index bac6e7912f7..41a760d9490 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddressspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipaddressspec.go @@ -29,6 +29,7 @@ type IPAddressSpecApplyConfiguration struct { func IPAddressSpec() *IPAddressSpecApplyConfiguration { return &IPAddressSpecApplyConfiguration{} } +func (b IPAddressSpecApplyConfiguration) IsApplyConfiguration() {} // WithParentRef sets the ParentRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipblock.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipblock.go index f3447a8f10b..84cf0468484 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipblock.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/ipblock.go @@ -30,6 +30,7 @@ type IPBlockApplyConfiguration struct { func IPBlock() *IPBlockApplyConfiguration { return &IPBlockApplyConfiguration{} } +func (b IPBlockApplyConfiguration) IsApplyConfiguration() {} // WithCIDR sets the CIDR field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicy.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicy.go index e8da1be0652..6c6a76e8bfb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicy.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicy.go @@ -81,6 +81,7 @@ func extractNetworkPolicy(networkPolicy *networkingv1.NetworkPolicy, fieldManage b.WithAPIVersion("networking.k8s.io/v1") return b, nil } +func (b NetworkPolicyApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *NetworkPolicyApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyegressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyegressrule.go index 46e2706eceb..04e43bf2e64 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyegressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyegressrule.go @@ -30,6 +30,7 @@ type NetworkPolicyEgressRuleApplyConfiguration struct { func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration { return &NetworkPolicyEgressRuleApplyConfiguration{} } +func (b NetworkPolicyEgressRuleApplyConfiguration) IsApplyConfiguration() {} // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyingressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyingressrule.go index 6e987597869..3826407047e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyingressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyingressrule.go @@ -30,6 +30,7 @@ type NetworkPolicyIngressRuleApplyConfiguration struct { func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration { return &NetworkPolicyIngressRuleApplyConfiguration{} } +func (b NetworkPolicyIngressRuleApplyConfiguration) IsApplyConfiguration() {} // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicypeer.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicypeer.go index 716ceeeefb7..6cd4e4489c7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicypeer.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicypeer.go @@ -35,6 +35,7 @@ type NetworkPolicyPeerApplyConfiguration struct { func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration { return &NetworkPolicyPeerApplyConfiguration{} } +func (b NetworkPolicyPeerApplyConfiguration) IsApplyConfiguration() {} // WithPodSelector sets the PodSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyport.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyport.go index 2ded0aecf69..d1626e79ef8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyport.go @@ -36,6 +36,7 @@ type NetworkPolicyPortApplyConfiguration struct { func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration { return &NetworkPolicyPortApplyConfiguration{} } +func (b NetworkPolicyPortApplyConfiguration) IsApplyConfiguration() {} // WithProtocol sets the Protocol field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyspec.go index 48369b921ca..ccc95b8103d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/networkpolicyspec.go @@ -37,6 +37,7 @@ type NetworkPolicySpecApplyConfiguration struct { func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration { return &NetworkPolicySpecApplyConfiguration{} } +func (b NetworkPolicySpecApplyConfiguration) IsApplyConfiguration() {} // WithPodSelector sets the PodSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/parentreference.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/parentreference.go index 896c0f8a6dc..ea165fb97f9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/parentreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/parentreference.go @@ -32,6 +32,7 @@ type ParentReferenceApplyConfiguration struct { func ParentReference() *ParentReferenceApplyConfiguration { return &ParentReferenceApplyConfiguration{} } +func (b ParentReferenceApplyConfiguration) IsApplyConfiguration() {} // WithGroup sets the Group field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicebackendport.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicebackendport.go index 517f9748380..07378ab2b23 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicebackendport.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicebackendport.go @@ -30,6 +30,7 @@ type ServiceBackendPortApplyConfiguration struct { func ServiceBackendPort() *ServiceBackendPortApplyConfiguration { return &ServiceBackendPortApplyConfiguration{} } +func (b ServiceBackendPortApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidr.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidr.go index 1590c1579c4..fc06d85ed92 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidr.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidr.go @@ -80,6 +80,7 @@ func extractServiceCIDR(serviceCIDR *networkingv1.ServiceCIDR, fieldManager stri b.WithAPIVersion("networking.k8s.io/v1") return b, nil } +func (b ServiceCIDRApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ServiceCIDRApplyConfiguration) WithStatus(value *ServiceCIDRStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ServiceCIDRApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrspec.go index f84b7ba1e0b..e50916ab357 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrspec.go @@ -29,6 +29,7 @@ type ServiceCIDRSpecApplyConfiguration struct { func ServiceCIDRSpec() *ServiceCIDRSpecApplyConfiguration { return &ServiceCIDRSpecApplyConfiguration{} } +func (b ServiceCIDRSpecApplyConfiguration) IsApplyConfiguration() {} // WithCIDRs adds the given value to the CIDRs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrstatus.go index 9e3d52ae8b3..b1b7de0a664 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1/servicecidrstatus.go @@ -33,6 +33,7 @@ type ServiceCIDRStatusApplyConfiguration struct { func ServiceCIDRStatus() *ServiceCIDRStatusApplyConfiguration { return &ServiceCIDRStatusApplyConfiguration{} } +func (b ServiceCIDRStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingresspath.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingresspath.go index c7301c6a32d..7334f4b8a67 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingresspath.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingresspath.go @@ -35,6 +35,7 @@ type HTTPIngressPathApplyConfiguration struct { func HTTPIngressPath() *HTTPIngressPathApplyConfiguration { return &HTTPIngressPathApplyConfiguration{} } +func (b HTTPIngressPathApplyConfiguration) IsApplyConfiguration() {} // WithPath sets the Path field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingressrulevalue.go index 12454522374..4f63f2b2e56 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/httpingressrulevalue.go @@ -29,6 +29,7 @@ type HTTPIngressRuleValueApplyConfiguration struct { func HTTPIngressRuleValue() *HTTPIngressRuleValueApplyConfiguration { return &HTTPIngressRuleValueApplyConfiguration{} } +func (b HTTPIngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithPaths adds the given value to the Paths field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingress.go index 5d26cd75ce6..9ef43b1429d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingress.go @@ -82,6 +82,7 @@ func extractIngress(ingress *networkingv1beta1.Ingress, fieldManager string, sub b.WithAPIVersion("networking.k8s.io/v1beta1") return b, nil } +func (b IngressApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *IngressApplyConfiguration) WithStatus(value *IngressStatusApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IngressApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IngressApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IngressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IngressApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressbackend.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressbackend.go index 9d386f16086..10f576802d0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressbackend.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressbackend.go @@ -36,6 +36,7 @@ type IngressBackendApplyConfiguration struct { func IngressBackend() *IngressBackendApplyConfiguration { return &IngressBackendApplyConfiguration{} } +func (b IngressBackendApplyConfiguration) IsApplyConfiguration() {} // WithServiceName sets the ServiceName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclass.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclass.go index 272e0339fc2..ec8062c50e2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclass.go @@ -79,6 +79,7 @@ func extractIngressClass(ingressClass *networkingv1beta1.IngressClass, fieldMana b.WithAPIVersion("networking.k8s.io/v1beta1") return b, nil } +func (b IngressClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *IngressClassApplyConfiguration) WithSpec(value *IngressClassSpecApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IngressClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IngressClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassparametersreference.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassparametersreference.go index 2a307a67603..c8c71f4c137 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassparametersreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassparametersreference.go @@ -33,6 +33,7 @@ type IngressClassParametersReferenceApplyConfiguration struct { func IngressClassParametersReference() *IngressClassParametersReferenceApplyConfiguration { return &IngressClassParametersReferenceApplyConfiguration{} } +func (b IngressClassParametersReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassspec.go index eefbf62b87a..52c0635194d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressclassspec.go @@ -30,6 +30,7 @@ type IngressClassSpecApplyConfiguration struct { func IngressClassSpec() *IngressClassSpecApplyConfiguration { return &IngressClassSpecApplyConfiguration{} } +func (b IngressClassSpecApplyConfiguration) IsApplyConfiguration() {} // WithController sets the Controller field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalanceringress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalanceringress.go index 12dbc35969b..d446af15075 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalanceringress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalanceringress.go @@ -31,6 +31,7 @@ type IngressLoadBalancerIngressApplyConfiguration struct { func IngressLoadBalancerIngress() *IngressLoadBalancerIngressApplyConfiguration { return &IngressLoadBalancerIngressApplyConfiguration{} } +func (b IngressLoadBalancerIngressApplyConfiguration) IsApplyConfiguration() {} // WithIP sets the IP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalancerstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalancerstatus.go index e896ab34155..b2825d1db9a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalancerstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressloadbalancerstatus.go @@ -29,6 +29,7 @@ type IngressLoadBalancerStatusApplyConfiguration struct { func IngressLoadBalancerStatus() *IngressLoadBalancerStatusApplyConfiguration { return &IngressLoadBalancerStatusApplyConfiguration{} } +func (b IngressLoadBalancerStatusApplyConfiguration) IsApplyConfiguration() {} // WithIngress adds the given value to the Ingress field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressportstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressportstatus.go index 4ee3f01617f..86384828a1f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressportstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressportstatus.go @@ -35,6 +35,7 @@ type IngressPortStatusApplyConfiguration struct { func IngressPortStatus() *IngressPortStatusApplyConfiguration { return &IngressPortStatusApplyConfiguration{} } +func (b IngressPortStatusApplyConfiguration) IsApplyConfiguration() {} // WithPort sets the Port field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrule.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrule.go index 809fada928e..6861cdca117 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrule.go @@ -30,6 +30,7 @@ type IngressRuleApplyConfiguration struct { func IngressRule() *IngressRuleApplyConfiguration { return &IngressRuleApplyConfiguration{} } +func (b IngressRuleApplyConfiguration) IsApplyConfiguration() {} // WithHost sets the Host field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrulevalue.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrulevalue.go index 4a641247556..47258b2b9d5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrulevalue.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressrulevalue.go @@ -29,6 +29,7 @@ type IngressRuleValueApplyConfiguration struct { func IngressRuleValue() *IngressRuleValueApplyConfiguration { return &IngressRuleValueApplyConfiguration{} } +func (b IngressRuleValueApplyConfiguration) IsApplyConfiguration() {} // WithHTTP sets the HTTP field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressspec.go index 58fbde8b352..8600f6d3da5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressspec.go @@ -32,6 +32,7 @@ type IngressSpecApplyConfiguration struct { func IngressSpec() *IngressSpecApplyConfiguration { return &IngressSpecApplyConfiguration{} } +func (b IngressSpecApplyConfiguration) IsApplyConfiguration() {} // WithIngressClassName sets the IngressClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressstatus.go index 3aed616889c..401a79db27a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingressstatus.go @@ -29,6 +29,7 @@ type IngressStatusApplyConfiguration struct { func IngressStatus() *IngressStatusApplyConfiguration { return &IngressStatusApplyConfiguration{} } +func (b IngressStatusApplyConfiguration) IsApplyConfiguration() {} // WithLoadBalancer sets the LoadBalancer field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingresstls.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingresstls.go index 63648cd4649..1b2484ee877 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingresstls.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ingresstls.go @@ -30,6 +30,7 @@ type IngressTLSApplyConfiguration struct { func IngressTLS() *IngressTLSApplyConfiguration { return &IngressTLSApplyConfiguration{} } +func (b IngressTLSApplyConfiguration) IsApplyConfiguration() {} // WithHosts adds the given value to the Hosts field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddress.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddress.go index f58b54da5a6..f1f9680da04 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddress.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddress.go @@ -79,6 +79,7 @@ func extractIPAddress(iPAddress *networkingv1beta1.IPAddress, fieldManager strin b.WithAPIVersion("networking.k8s.io/v1beta1") return b, nil } +func (b IPAddressApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *IPAddressApplyConfiguration) WithSpec(value *IPAddressSpecApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *IPAddressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *IPAddressApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddressspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddressspec.go index 76b02137d23..74f32031102 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddressspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/ipaddressspec.go @@ -29,6 +29,7 @@ type IPAddressSpecApplyConfiguration struct { func IPAddressSpec() *IPAddressSpecApplyConfiguration { return &IPAddressSpecApplyConfiguration{} } +func (b IPAddressSpecApplyConfiguration) IsApplyConfiguration() {} // WithParentRef sets the ParentRef field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/parentreference.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/parentreference.go index 1863938f16c..1b2a191fc07 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/parentreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/parentreference.go @@ -32,6 +32,7 @@ type ParentReferenceApplyConfiguration struct { func ParentReference() *ParentReferenceApplyConfiguration { return &ParentReferenceApplyConfiguration{} } +func (b ParentReferenceApplyConfiguration) IsApplyConfiguration() {} // WithGroup sets the Group field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidr.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidr.go index 6a53db5c079..37a6ee6f487 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidr.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidr.go @@ -80,6 +80,7 @@ func extractServiceCIDR(serviceCIDR *networkingv1beta1.ServiceCIDR, fieldManager b.WithAPIVersion("networking.k8s.io/v1beta1") return b, nil } +func (b ServiceCIDRApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *ServiceCIDRApplyConfiguration) WithStatus(value *ServiceCIDRStatusApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ServiceCIDRApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ServiceCIDRApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrspec.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrspec.go index 1f283532d31..672864d2abb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrspec.go @@ -29,6 +29,7 @@ type ServiceCIDRSpecApplyConfiguration struct { func ServiceCIDRSpec() *ServiceCIDRSpecApplyConfiguration { return &ServiceCIDRSpecApplyConfiguration{} } +func (b ServiceCIDRSpecApplyConfiguration) IsApplyConfiguration() {} // WithCIDRs adds the given value to the CIDRs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrstatus.go index f2dd92404dd..737ad727113 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/networking/v1beta1/servicecidrstatus.go @@ -33,6 +33,7 @@ type ServiceCIDRStatusApplyConfiguration struct { func ServiceCIDRStatus() *ServiceCIDRStatusApplyConfiguration { return &ServiceCIDRStatusApplyConfiguration{} } +func (b ServiceCIDRStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/overhead.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/overhead.go index 30ce9fb42e0..6fbb6c12df2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/overhead.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/overhead.go @@ -33,6 +33,7 @@ type OverheadApplyConfiguration struct { func Overhead() *OverheadApplyConfiguration { return &OverheadApplyConfiguration{} } +func (b OverheadApplyConfiguration) IsApplyConfiguration() {} // WithPodFixed sets the PodFixed field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/runtimeclass.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/runtimeclass.go index 067dc170300..0c855cfdcb7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/runtimeclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/runtimeclass.go @@ -81,6 +81,7 @@ func extractRuntimeClass(runtimeClass *nodev1.RuntimeClass, fieldManager string, b.WithAPIVersion("node.k8s.io/v1") return b, nil } +func (b RuntimeClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -264,8 +265,24 @@ func (b *RuntimeClassApplyConfiguration) WithScheduling(value *SchedulingApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RuntimeClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/scheduling.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/scheduling.go index b45400fbcd7..904d7975386 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1/scheduling.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1/scheduling.go @@ -34,6 +34,7 @@ type SchedulingApplyConfiguration struct { func Scheduling() *SchedulingApplyConfiguration { return &SchedulingApplyConfiguration{} } +func (b SchedulingApplyConfiguration) IsApplyConfiguration() {} // WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/overhead.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/overhead.go index 84770a09205..56e57ae6006 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/overhead.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/overhead.go @@ -33,6 +33,7 @@ type OverheadApplyConfiguration struct { func Overhead() *OverheadApplyConfiguration { return &OverheadApplyConfiguration{} } +func (b OverheadApplyConfiguration) IsApplyConfiguration() {} // WithPodFixed sets the PodFixed field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclass.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclass.go index 5ddca3b6e13..f185c31669b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclass.go @@ -79,6 +79,7 @@ func extractRuntimeClass(runtimeClass *nodev1alpha1.RuntimeClass, fieldManager s b.WithAPIVersion("node.k8s.io/v1alpha1") return b, nil } +func (b RuntimeClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *RuntimeClassApplyConfiguration) WithSpec(value *RuntimeClassSpecApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RuntimeClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclassspec.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclassspec.go index 1aa43eb1320..0210208f47b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclassspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/runtimeclassspec.go @@ -31,6 +31,7 @@ type RuntimeClassSpecApplyConfiguration struct { func RuntimeClassSpec() *RuntimeClassSpecApplyConfiguration { return &RuntimeClassSpecApplyConfiguration{} } +func (b RuntimeClassSpecApplyConfiguration) IsApplyConfiguration() {} // WithRuntimeHandler sets the RuntimeHandler field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/scheduling.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/scheduling.go index 6ce49ad8664..6f6832789a8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/scheduling.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1alpha1/scheduling.go @@ -34,6 +34,7 @@ type SchedulingApplyConfiguration struct { func Scheduling() *SchedulingApplyConfiguration { return &SchedulingApplyConfiguration{} } +func (b SchedulingApplyConfiguration) IsApplyConfiguration() {} // WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/overhead.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/overhead.go index cf767e702ee..034966d0432 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/overhead.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/overhead.go @@ -33,6 +33,7 @@ type OverheadApplyConfiguration struct { func Overhead() *OverheadApplyConfiguration { return &OverheadApplyConfiguration{} } +func (b OverheadApplyConfiguration) IsApplyConfiguration() {} // WithPodFixed sets the PodFixed field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/runtimeclass.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/runtimeclass.go index b17de67639a..f6cbcf8fd3a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/runtimeclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/runtimeclass.go @@ -81,6 +81,7 @@ func extractRuntimeClass(runtimeClass *nodev1beta1.RuntimeClass, fieldManager st b.WithAPIVersion("node.k8s.io/v1beta1") return b, nil } +func (b RuntimeClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -264,8 +265,24 @@ func (b *RuntimeClassApplyConfiguration) WithScheduling(value *SchedulingApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RuntimeClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RuntimeClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/scheduling.go b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/scheduling.go index 23d0b97527d..1b5de463b45 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/scheduling.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/node/v1beta1/scheduling.go @@ -34,6 +34,7 @@ type SchedulingApplyConfiguration struct { func Scheduling() *SchedulingApplyConfiguration { return &SchedulingApplyConfiguration{} } +func (b SchedulingApplyConfiguration) IsApplyConfiguration() {} // WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go index 079c6f3bcf7..da18b73a226 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/eviction.go @@ -81,6 +81,7 @@ func extractEviction(eviction *policyv1.Eviction, fieldManager string, subresour b.WithAPIVersion("policy/v1") return b, nil } +func (b EvictionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *EvictionApplyConfiguration) WithDeleteOptions(value *metav1.DeleteOptio return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EvictionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudget.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudget.go index 82ec5a0826b..995a4f661b9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudget.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudget.go @@ -82,6 +82,7 @@ func extractPodDisruptionBudget(podDisruptionBudget *policyv1.PodDisruptionBudge b.WithAPIVersion("policy/v1") return b, nil } +func (b PodDisruptionBudgetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *PodDisruptionBudgetApplyConfiguration) WithStatus(value *PodDisruptionB return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PodDisruptionBudgetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetspec.go index 3c66739bd5c..1dcdaa7ee55 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetspec.go @@ -38,6 +38,7 @@ type PodDisruptionBudgetSpecApplyConfiguration struct { func PodDisruptionBudgetSpec() *PodDisruptionBudgetSpecApplyConfiguration { return &PodDisruptionBudgetSpecApplyConfiguration{} } +func (b PodDisruptionBudgetSpecApplyConfiguration) IsApplyConfiguration() {} // WithMinAvailable sets the MinAvailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetstatus.go index d3c44d90ab1..babd024215f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1/poddisruptionbudgetstatus.go @@ -40,6 +40,7 @@ type PodDisruptionBudgetStatusApplyConfiguration struct { func PodDisruptionBudgetStatus() *PodDisruptionBudgetStatusApplyConfiguration { return &PodDisruptionBudgetStatusApplyConfiguration{} } +func (b PodDisruptionBudgetStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/eviction.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/eviction.go index 0b5945935a1..be0f1c1c1b1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/eviction.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/eviction.go @@ -81,6 +81,7 @@ func extractEviction(eviction *policyv1beta1.Eviction, fieldManager string, subr b.WithAPIVersion("policy/v1beta1") return b, nil } +func (b EvictionApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *EvictionApplyConfiguration) WithDeleteOptions(value *v1.DeleteOptionsAp return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *EvictionApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *EvictionApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudget.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudget.go index 7743da76a87..159f19eae9f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudget.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudget.go @@ -82,6 +82,7 @@ func extractPodDisruptionBudget(podDisruptionBudget *policyv1beta1.PodDisruption b.WithAPIVersion("policy/v1beta1") return b, nil } +func (b PodDisruptionBudgetApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *PodDisruptionBudgetApplyConfiguration) WithStatus(value *PodDisruptionB return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PodDisruptionBudgetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PodDisruptionBudgetApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetspec.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetspec.go index d8fecf7a36e..50fbec75c0e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetspec.go @@ -38,6 +38,7 @@ type PodDisruptionBudgetSpecApplyConfiguration struct { func PodDisruptionBudgetSpec() *PodDisruptionBudgetSpecApplyConfiguration { return &PodDisruptionBudgetSpecApplyConfiguration{} } +func (b PodDisruptionBudgetSpecApplyConfiguration) IsApplyConfiguration() {} // WithMinAvailable sets the MinAvailable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetstatus.go index e66a7fb3861..9aba324e837 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/policy/v1beta1/poddisruptionbudgetstatus.go @@ -40,6 +40,7 @@ type PodDisruptionBudgetStatusApplyConfiguration struct { func PodDisruptionBudgetStatus() *PodDisruptionBudgetStatusApplyConfiguration { return &PodDisruptionBudgetStatusApplyConfiguration{} } +func (b PodDisruptionBudgetStatusApplyConfiguration) IsApplyConfiguration() {} // WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go index b7049a8efae..29ce765c129 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/aggregationrule.go @@ -33,6 +33,7 @@ type AggregationRuleApplyConfiguration struct { func AggregationRule() *AggregationRuleApplyConfiguration { return &AggregationRuleApplyConfiguration{} } +func (b AggregationRuleApplyConfiguration) IsApplyConfiguration() {} // WithClusterRoleSelectors adds the given value to the ClusterRoleSelectors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrole.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrole.go index 9b46fdbe917..b8634870ea0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrole.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrole.go @@ -80,6 +80,7 @@ func extractClusterRole(clusterRole *rbacv1.ClusterRole, fieldManager string, su b.WithAPIVersion("rbac.authorization.k8s.io/v1") return b, nil } +func (b ClusterRoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleApplyConfiguration) WithAggregationRule(value *AggregationRu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrolebinding.go index 7775bff0f89..0fd5a9514aa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/clusterrolebinding.go @@ -80,6 +80,7 @@ func extractClusterRoleBinding(clusterRoleBinding *rbacv1.ClusterRoleBinding, fi b.WithAPIVersion("rbac.authorization.k8s.io/v1") return b, nil } +func (b ClusterRoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/policyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/policyrule.go index a2e66d1096a..8647328e198 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/policyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/policyrule.go @@ -33,6 +33,7 @@ type PolicyRuleApplyConfiguration struct { func PolicyRule() *PolicyRuleApplyConfiguration { return &PolicyRuleApplyConfiguration{} } +func (b PolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/role.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/role.go index b592753f6d6..1a363eebb93 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/role.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/role.go @@ -81,6 +81,7 @@ func extractRole(role *rbacv1.Role, fieldManager string, subresource string) (*R b.WithAPIVersion("rbac.authorization.k8s.io/v1") return b, nil } +func (b RoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -253,8 +254,24 @@ func (b *RoleApplyConfiguration) WithRules(values ...*PolicyRuleApplyConfigurati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/rolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/rolebinding.go index 32f12e87c76..fcda064c0ba 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/rolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/rolebinding.go @@ -82,6 +82,7 @@ func extractRoleBinding(roleBinding *rbacv1.RoleBinding, fieldManager string, su b.WithAPIVersion("rbac.authorization.k8s.io/v1") return b, nil } +func (b RoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -262,8 +263,24 @@ func (b *RoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyConfigura return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/roleref.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/roleref.go index 646a3bb194d..8090801757e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/roleref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/roleref.go @@ -31,6 +31,7 @@ type RoleRefApplyConfiguration struct { func RoleRef() *RoleRefApplyConfiguration { return &RoleRefApplyConfiguration{} } +func (b RoleRefApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/subject.go index e1d9c5cfb81..83f5e4b01f2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1/subject.go @@ -32,6 +32,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/aggregationrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/aggregationrule.go index ff4aeb59e5e..d9ebc9e964b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/aggregationrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/aggregationrule.go @@ -33,6 +33,7 @@ type AggregationRuleApplyConfiguration struct { func AggregationRule() *AggregationRuleApplyConfiguration { return &AggregationRuleApplyConfiguration{} } +func (b AggregationRuleApplyConfiguration) IsApplyConfiguration() {} // WithClusterRoleSelectors adds the given value to the ClusterRoleSelectors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrole.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrole.go index ecc75d34039..e0ccc04be4d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrole.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrole.go @@ -80,6 +80,7 @@ func extractClusterRole(clusterRole *rbacv1alpha1.ClusterRole, fieldManager stri b.WithAPIVersion("rbac.authorization.k8s.io/v1alpha1") return b, nil } +func (b ClusterRoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleApplyConfiguration) WithAggregationRule(value *AggregationRu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrolebinding.go index 3b8c43a39e8..d7085ae9c60 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/clusterrolebinding.go @@ -80,6 +80,7 @@ func extractClusterRoleBinding(clusterRoleBinding *rbacv1alpha1.ClusterRoleBindi b.WithAPIVersion("rbac.authorization.k8s.io/v1alpha1") return b, nil } +func (b ClusterRoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/policyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/policyrule.go index 89d7a2914f7..f8bda35b1a2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/policyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/policyrule.go @@ -33,6 +33,7 @@ type PolicyRuleApplyConfiguration struct { func PolicyRule() *PolicyRuleApplyConfiguration { return &PolicyRuleApplyConfiguration{} } +func (b PolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/role.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/role.go index 3fbd9854326..0cefea4f092 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/role.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/role.go @@ -81,6 +81,7 @@ func extractRole(role *rbacv1alpha1.Role, fieldManager string, subresource strin b.WithAPIVersion("rbac.authorization.k8s.io/v1alpha1") return b, nil } +func (b RoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -253,8 +254,24 @@ func (b *RoleApplyConfiguration) WithRules(values ...*PolicyRuleApplyConfigurati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/rolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/rolebinding.go index 37c0d37cf2c..d40781804c4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/rolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/rolebinding.go @@ -82,6 +82,7 @@ func extractRoleBinding(roleBinding *rbacv1alpha1.RoleBinding, fieldManager stri b.WithAPIVersion("rbac.authorization.k8s.io/v1alpha1") return b, nil } +func (b RoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -262,8 +263,24 @@ func (b *RoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyConfigura return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/roleref.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/roleref.go index 4b2553117df..f404f038c32 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/roleref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/roleref.go @@ -31,6 +31,7 @@ type RoleRefApplyConfiguration struct { func RoleRef() *RoleRefApplyConfiguration { return &RoleRefApplyConfiguration{} } +func (b RoleRefApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/subject.go index 665b42af50f..44c16ab3524 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1alpha1/subject.go @@ -32,6 +32,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/aggregationrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/aggregationrule.go index e9bb68dcb68..95f431f26e7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/aggregationrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/aggregationrule.go @@ -33,6 +33,7 @@ type AggregationRuleApplyConfiguration struct { func AggregationRule() *AggregationRuleApplyConfiguration { return &AggregationRuleApplyConfiguration{} } +func (b AggregationRuleApplyConfiguration) IsApplyConfiguration() {} // WithClusterRoleSelectors adds the given value to the ClusterRoleSelectors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrole.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrole.go index 124e47ef7c2..6fe51e22447 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrole.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrole.go @@ -80,6 +80,7 @@ func extractClusterRole(clusterRole *rbacv1beta1.ClusterRole, fieldManager strin b.WithAPIVersion("rbac.authorization.k8s.io/v1beta1") return b, nil } +func (b ClusterRoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleApplyConfiguration) WithAggregationRule(value *AggregationRu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrolebinding.go index 140e7e1761d..e75ab7a883b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/clusterrolebinding.go @@ -80,6 +80,7 @@ func extractClusterRoleBinding(clusterRoleBinding *rbacv1beta1.ClusterRoleBindin b.WithAPIVersion("rbac.authorization.k8s.io/v1beta1") return b, nil } +func (b ClusterRoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -260,8 +261,24 @@ func (b *ClusterRoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyCo return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterRoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterRoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/policyrule.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/policyrule.go index dc630df206a..e7cbbc123e9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/policyrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/policyrule.go @@ -33,6 +33,7 @@ type PolicyRuleApplyConfiguration struct { func PolicyRule() *PolicyRuleApplyConfiguration { return &PolicyRuleApplyConfiguration{} } +func (b PolicyRuleApplyConfiguration) IsApplyConfiguration() {} // WithVerbs adds the given value to the Verbs field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go index 82240514fde..7a628b95452 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/role.go @@ -81,6 +81,7 @@ func extractRole(role *rbacv1beta1.Role, fieldManager string, subresource string b.WithAPIVersion("rbac.authorization.k8s.io/v1beta1") return b, nil } +func (b RoleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -253,8 +254,24 @@ func (b *RoleApplyConfiguration) WithRules(values ...*PolicyRuleApplyConfigurati return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/rolebinding.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/rolebinding.go index 1c66b976eb1..be180c3f518 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/rolebinding.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/rolebinding.go @@ -82,6 +82,7 @@ func extractRoleBinding(roleBinding *rbacv1beta1.RoleBinding, fieldManager strin b.WithAPIVersion("rbac.authorization.k8s.io/v1beta1") return b, nil } +func (b RoleBindingApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -262,8 +263,24 @@ func (b *RoleBindingApplyConfiguration) WithRoleRef(value *RoleRefApplyConfigura return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *RoleBindingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *RoleBindingApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/roleref.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/roleref.go index 19d0420a816..0395d0a03ab 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/roleref.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/roleref.go @@ -31,6 +31,7 @@ type RoleRefApplyConfiguration struct { func RoleRef() *RoleRefApplyConfiguration { return &RoleRefApplyConfiguration{} } +func (b RoleRefApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/subject.go b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/subject.go index f7c1a21a9cc..79e3fe89daa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/subject.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/rbac/v1beta1/subject.go @@ -32,6 +32,7 @@ type SubjectApplyConfiguration struct { func Subject() *SubjectApplyConfiguration { return &SubjectApplyConfiguration{} } +func (b SubjectApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/celdeviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/celdeviceselector.go index c59b6a2e370..ae756b88ac5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/celdeviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/celdeviceselector.go @@ -29,6 +29,7 @@ type CELDeviceSelectorApplyConfiguration struct { func CELDeviceSelector() *CELDeviceSelectorApplyConfiguration { return &CELDeviceSelectorApplyConfiguration{} } +func (b CELDeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/deviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/deviceselector.go index 574299d15e4..08728a4f114 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/deviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/deviceselector.go @@ -29,6 +29,7 @@ type DeviceSelectorApplyConfiguration struct { func DeviceSelector() *DeviceSelectorApplyConfiguration { return &DeviceSelectorApplyConfiguration{} } +func (b DeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithCEL sets the CEL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaint.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaint.go index 0dcd9a58c36..8b69c06a094 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaint.go @@ -37,6 +37,7 @@ type DeviceTaintApplyConfiguration struct { func DeviceTaint() *DeviceTaintApplyConfiguration { return &DeviceTaintApplyConfiguration{} } +func (b DeviceTaintApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrule.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrule.go index d4f84399a36..f3327cf7585 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrule.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrule.go @@ -79,6 +79,7 @@ func extractDeviceTaintRule(deviceTaintRule *resourcev1alpha3.DeviceTaintRule, f b.WithAPIVersion("resource.k8s.io/v1alpha3") return b, nil } +func (b DeviceTaintRuleApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *DeviceTaintRuleApplyConfiguration) WithSpec(value *DeviceTaintRuleSpecA return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeviceTaintRuleApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeviceTaintRuleApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeviceTaintRuleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeviceTaintRuleApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrulespec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrulespec.go index a14ada3d450..fbf5d59b47f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrulespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintrulespec.go @@ -30,6 +30,7 @@ type DeviceTaintRuleSpecApplyConfiguration struct { func DeviceTaintRuleSpec() *DeviceTaintRuleSpecApplyConfiguration { return &DeviceTaintRuleSpecApplyConfiguration{} } +func (b DeviceTaintRuleSpecApplyConfiguration) IsApplyConfiguration() {} // WithDeviceSelector sets the DeviceSelector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintselector.go index aecb2aa2458..1bcac1cce64 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1alpha3/devicetaintselector.go @@ -33,6 +33,7 @@ type DeviceTaintSelectorApplyConfiguration struct { func DeviceTaintSelector() *DeviceTaintSelectorApplyConfiguration { return &DeviceTaintSelectorApplyConfiguration{} } +func (b DeviceTaintSelectorApplyConfiguration) IsApplyConfiguration() {} // WithDeviceClassName sets the DeviceClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocateddevicestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocateddevicestatus.go index cd518977143..43ac5a77f92 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocateddevicestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocateddevicestatus.go @@ -39,6 +39,7 @@ type AllocatedDeviceStatusApplyConfiguration struct { func AllocatedDeviceStatus() *AllocatedDeviceStatusApplyConfiguration { return &AllocatedDeviceStatusApplyConfiguration{} } +func (b AllocatedDeviceStatusApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocationresult.go index 549ef71afd1..a79d8e3d3e8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/allocationresult.go @@ -34,6 +34,7 @@ type AllocationResultApplyConfiguration struct { func AllocationResult() *AllocationResultApplyConfiguration { return &AllocationResultApplyConfiguration{} } +func (b AllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithDevices sets the Devices field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/basicdevice.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/basicdevice.go index 065d0bf4f1b..6abd191c104 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/basicdevice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/basicdevice.go @@ -40,6 +40,7 @@ type BasicDeviceApplyConfiguration struct { func BasicDevice() *BasicDeviceApplyConfiguration { return &BasicDeviceApplyConfiguration{} } +func (b BasicDeviceApplyConfiguration) IsApplyConfiguration() {} // WithAttributes puts the entries into the Attributes field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/celdeviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/celdeviceselector.go index c4a28bbf8ab..7c5a17dc201 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/celdeviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/celdeviceselector.go @@ -29,6 +29,7 @@ type CELDeviceSelectorApplyConfiguration struct { func CELDeviceSelector() *CELDeviceSelectorApplyConfiguration { return &CELDeviceSelectorApplyConfiguration{} } +func (b CELDeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counter.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counter.go index b33ed99a592..d13dd74f1c3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counter.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counter.go @@ -33,6 +33,7 @@ type CounterApplyConfiguration struct { func Counter() *CounterApplyConfiguration { return &CounterApplyConfiguration{} } +func (b CounterApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counterset.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counterset.go index 7592fa4d5bf..c0c5b8c2cd4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counterset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/counterset.go @@ -30,6 +30,7 @@ type CounterSetApplyConfiguration struct { func CounterSet() *CounterSetApplyConfiguration { return &CounterSetApplyConfiguration{} } +func (b CounterSetApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/device.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/device.go index f635267e215..9059b7c201a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/device.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/device.go @@ -30,6 +30,7 @@ type DeviceApplyConfiguration struct { func Device() *DeviceApplyConfiguration { return &DeviceApplyConfiguration{} } +func (b DeviceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationconfiguration.go index b5218ba4a3b..b6172c2ccbe 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationconfiguration.go @@ -35,6 +35,7 @@ type DeviceAllocationConfigurationApplyConfiguration struct { func DeviceAllocationConfiguration() *DeviceAllocationConfigurationApplyConfiguration { return &DeviceAllocationConfigurationApplyConfiguration{} } +func (b DeviceAllocationConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithSource sets the Source field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationresult.go index bf309cf2380..ec5c94c2c26 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceallocationresult.go @@ -30,6 +30,7 @@ type DeviceAllocationResultApplyConfiguration struct { func DeviceAllocationResult() *DeviceAllocationResultApplyConfiguration { return &DeviceAllocationResultApplyConfiguration{} } +func (b DeviceAllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithResults adds the given value to the Results field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceattribute.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceattribute.go index 6e88ae38a11..d140f5c818f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceattribute.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceattribute.go @@ -32,6 +32,7 @@ type DeviceAttributeApplyConfiguration struct { func DeviceAttribute() *DeviceAttributeApplyConfiguration { return &DeviceAttributeApplyConfiguration{} } +func (b DeviceAttributeApplyConfiguration) IsApplyConfiguration() {} // WithIntValue sets the IntValue field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecapacity.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecapacity.go index dcb3504b83d..a62877b4edf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecapacity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecapacity.go @@ -33,6 +33,7 @@ type DeviceCapacityApplyConfiguration struct { func DeviceCapacity() *DeviceCapacityApplyConfiguration { return &DeviceCapacityApplyConfiguration{} } +func (b DeviceCapacityApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaim.go index 95c1c2e6e92..abf4be1965f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaim.go @@ -31,6 +31,7 @@ type DeviceClaimApplyConfiguration struct { func DeviceClaim() *DeviceClaimApplyConfiguration { return &DeviceClaimApplyConfiguration{} } +func (b DeviceClaimApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaimconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaimconfiguration.go index beac5e9d956..2e4b5eccb5d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaimconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclaimconfiguration.go @@ -30,6 +30,7 @@ type DeviceClaimConfigurationApplyConfiguration struct { func DeviceClaimConfiguration() *DeviceClaimConfigurationApplyConfiguration { return &DeviceClaimConfigurationApplyConfiguration{} } +func (b DeviceClaimConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclass.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclass.go index c71e222590e..894580cd0b1 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclass.go @@ -79,6 +79,7 @@ func extractDeviceClass(deviceClass *resourcev1beta1.DeviceClass, fieldManager s b.WithAPIVersion("resource.k8s.io/v1beta1") return b, nil } +func (b DeviceClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *DeviceClassApplyConfiguration) WithSpec(value *DeviceClassSpecApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeviceClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassconfiguration.go index 3ce90eab567..b89753144e5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassconfiguration.go @@ -29,6 +29,7 @@ type DeviceClassConfigurationApplyConfiguration struct { func DeviceClassConfiguration() *DeviceClassConfigurationApplyConfiguration { return &DeviceClassConfigurationApplyConfiguration{} } +func (b DeviceClassConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithOpaque sets the Opaque field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassspec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassspec.go index 901b0800ebc..4f0369a5762 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceclassspec.go @@ -30,6 +30,7 @@ type DeviceClassSpecApplyConfiguration struct { func DeviceClassSpec() *DeviceClassSpecApplyConfiguration { return &DeviceClassSpecApplyConfiguration{} } +func (b DeviceClassSpecApplyConfiguration) IsApplyConfiguration() {} // WithSelectors adds the given value to the Selectors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconfiguration.go index b0f41f5a195..026c8ab449d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconfiguration.go @@ -29,6 +29,7 @@ type DeviceConfigurationApplyConfiguration struct { func DeviceConfiguration() *DeviceConfigurationApplyConfiguration { return &DeviceConfigurationApplyConfiguration{} } +func (b DeviceConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithOpaque sets the Opaque field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconstraint.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconstraint.go index 0c5fc2525a6..4417dac5468 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconstraint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceconstraint.go @@ -34,6 +34,7 @@ type DeviceConstraintApplyConfiguration struct { func DeviceConstraint() *DeviceConstraintApplyConfiguration { return &DeviceConstraintApplyConfiguration{} } +func (b DeviceConstraintApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecounterconsumption.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecounterconsumption.go index a8a8a5f5812..8fa6de37ed4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecounterconsumption.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicecounterconsumption.go @@ -30,6 +30,7 @@ type DeviceCounterConsumptionApplyConfiguration struct { func DeviceCounterConsumption() *DeviceCounterConsumptionApplyConfiguration { return &DeviceCounterConsumptionApplyConfiguration{} } +func (b DeviceCounterConsumptionApplyConfiguration) IsApplyConfiguration() {} // WithCounterSet sets the CounterSet field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequest.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequest.go index 1be114f02a4..d290e511afd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequest.go @@ -40,6 +40,7 @@ type DeviceRequestApplyConfiguration struct { func DeviceRequest() *DeviceRequestApplyConfiguration { return &DeviceRequestApplyConfiguration{} } +func (b DeviceRequestApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequestallocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequestallocationresult.go index aa207351db9..53d2a451a1e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequestallocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicerequestallocationresult.go @@ -34,6 +34,7 @@ type DeviceRequestAllocationResultApplyConfiguration struct { func DeviceRequestAllocationResult() *DeviceRequestAllocationResultApplyConfiguration { return &DeviceRequestAllocationResultApplyConfiguration{} } +func (b DeviceRequestAllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithRequest sets the Request field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceselector.go index bf60bf4345d..6bef41404ec 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/deviceselector.go @@ -29,6 +29,7 @@ type DeviceSelectorApplyConfiguration struct { func DeviceSelector() *DeviceSelectorApplyConfiguration { return &DeviceSelectorApplyConfiguration{} } +func (b DeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithCEL sets the CEL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicesubrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicesubrequest.go index f2ea8200134..fecc737e846 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicesubrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicesubrequest.go @@ -38,6 +38,7 @@ type DeviceSubRequestApplyConfiguration struct { func DeviceSubRequest() *DeviceSubRequestApplyConfiguration { return &DeviceSubRequestApplyConfiguration{} } +func (b DeviceSubRequestApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetaint.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetaint.go index bfa826f063f..ec84cb9838b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetaint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetaint.go @@ -37,6 +37,7 @@ type DeviceTaintApplyConfiguration struct { func DeviceTaint() *DeviceTaintApplyConfiguration { return &DeviceTaintApplyConfiguration{} } +func (b DeviceTaintApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetoleration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetoleration.go index 977af67043c..0db4a1cc2cd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetoleration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/devicetoleration.go @@ -37,6 +37,7 @@ type DeviceTolerationApplyConfiguration struct { func DeviceToleration() *DeviceTolerationApplyConfiguration { return &DeviceTolerationApplyConfiguration{} } +func (b DeviceTolerationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/networkdevicedata.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/networkdevicedata.go index c9d48801933..10b9eef59e6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/networkdevicedata.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/networkdevicedata.go @@ -31,6 +31,7 @@ type NetworkDeviceDataApplyConfiguration struct { func NetworkDeviceData() *NetworkDeviceDataApplyConfiguration { return &NetworkDeviceDataApplyConfiguration{} } +func (b NetworkDeviceDataApplyConfiguration) IsApplyConfiguration() {} // WithInterfaceName sets the InterfaceName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/opaquedeviceconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/opaquedeviceconfiguration.go index 0b52fa93a8f..e58a2210d4c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/opaquedeviceconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/opaquedeviceconfiguration.go @@ -34,6 +34,7 @@ type OpaqueDeviceConfigurationApplyConfiguration struct { func OpaqueDeviceConfiguration() *OpaqueDeviceConfigurationApplyConfiguration { return &OpaqueDeviceConfigurationApplyConfiguration{} } +func (b OpaqueDeviceConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaim.go index ee16718fd70..82055340f3b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaim.go @@ -82,6 +82,7 @@ func extractResourceClaim(resourceClaim *resourcev1beta1.ResourceClaim, fieldMan b.WithAPIVersion("resource.k8s.io/v1beta1") return b, nil } +func (b ResourceClaimApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ResourceClaimApplyConfiguration) WithStatus(value *ResourceClaimStatusA return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceClaimApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimconsumerreference.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimconsumerreference.go index f6eefdda533..54a88d47a3f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimconsumerreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimconsumerreference.go @@ -36,6 +36,7 @@ type ResourceClaimConsumerReferenceApplyConfiguration struct { func ResourceClaimConsumerReference() *ResourceClaimConsumerReferenceApplyConfiguration { return &ResourceClaimConsumerReferenceApplyConfiguration{} } +func (b ResourceClaimConsumerReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimspec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimspec.go index c6b1b0b4be0..aae81b9ebc4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimspec.go @@ -29,6 +29,7 @@ type ResourceClaimSpecApplyConfiguration struct { func ResourceClaimSpec() *ResourceClaimSpecApplyConfiguration { return &ResourceClaimSpecApplyConfiguration{} } +func (b ResourceClaimSpecApplyConfiguration) IsApplyConfiguration() {} // WithDevices sets the Devices field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimstatus.go index bb3db18bebf..43f040c043a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimstatus.go @@ -31,6 +31,7 @@ type ResourceClaimStatusApplyConfiguration struct { func ResourceClaimStatus() *ResourceClaimStatusApplyConfiguration { return &ResourceClaimStatusApplyConfiguration{} } +func (b ResourceClaimStatusApplyConfiguration) IsApplyConfiguration() {} // WithAllocation sets the Allocation field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplate.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplate.go index 490ecf5e748..deb46a25285 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplate.go @@ -81,6 +81,7 @@ func extractResourceClaimTemplate(resourceClaimTemplate *resourcev1beta1.Resourc b.WithAPIVersion("resource.k8s.io/v1beta1") return b, nil } +func (b ResourceClaimTemplateApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *ResourceClaimTemplateApplyConfiguration) WithSpec(value *ResourceClaimT return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceClaimTemplateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplatespec.go index 9df32360f75..28dde62ddd5 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceclaimtemplatespec.go @@ -36,6 +36,7 @@ type ResourceClaimTemplateSpecApplyConfiguration struct { func ResourceClaimTemplateSpec() *ResourceClaimTemplateSpecApplyConfiguration { return &ResourceClaimTemplateSpecApplyConfiguration{} } +func (b ResourceClaimTemplateSpecApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -192,3 +193,9 @@ func (b *ResourceClaimTemplateSpecApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimTemplateSpecApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourcepool.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourcepool.go index 33c155b5280..e7cfdafeaa6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourcepool.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourcepool.go @@ -31,6 +31,7 @@ type ResourcePoolApplyConfiguration struct { func ResourcePool() *ResourcePoolApplyConfiguration { return &ResourcePoolApplyConfiguration{} } +func (b ResourcePoolApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslice.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslice.go index d169ad1017e..d4d78a71ab9 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslice.go @@ -79,6 +79,7 @@ func extractResourceSlice(resourceSlice *resourcev1beta1.ResourceSlice, fieldMan b.WithAPIVersion("resource.k8s.io/v1beta1") return b, nil } +func (b ResourceSliceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ResourceSliceApplyConfiguration) WithSpec(value *ResourceSliceSpecApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceSliceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslicespec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslicespec.go index 6eaae7da85e..e5529bb47aa 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslicespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta1/resourceslicespec.go @@ -40,6 +40,7 @@ type ResourceSliceSpecApplyConfiguration struct { func ResourceSliceSpec() *ResourceSliceSpecApplyConfiguration { return &ResourceSliceSpecApplyConfiguration{} } +func (b ResourceSliceSpecApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocateddevicestatus.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocateddevicestatus.go index a69cf26eb3b..56874c6449c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocateddevicestatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocateddevicestatus.go @@ -39,6 +39,7 @@ type AllocatedDeviceStatusApplyConfiguration struct { func AllocatedDeviceStatus() *AllocatedDeviceStatusApplyConfiguration { return &AllocatedDeviceStatusApplyConfiguration{} } +func (b AllocatedDeviceStatusApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocationresult.go index a82b01c967e..51e5af8605e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/allocationresult.go @@ -34,6 +34,7 @@ type AllocationResultApplyConfiguration struct { func AllocationResult() *AllocationResultApplyConfiguration { return &AllocationResultApplyConfiguration{} } +func (b AllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithDevices sets the Devices field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/celdeviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/celdeviceselector.go index c2c3e52f0ea..2612e972cbd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/celdeviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/celdeviceselector.go @@ -29,6 +29,7 @@ type CELDeviceSelectorApplyConfiguration struct { func CELDeviceSelector() *CELDeviceSelectorApplyConfiguration { return &CELDeviceSelectorApplyConfiguration{} } +func (b CELDeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithExpression sets the Expression field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counter.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counter.go index 4afdb9a3a5d..cacbb2108ed 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counter.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counter.go @@ -33,6 +33,7 @@ type CounterApplyConfiguration struct { func Counter() *CounterApplyConfiguration { return &CounterApplyConfiguration{} } +func (b CounterApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counterset.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counterset.go index 2882b4ef25a..490e7f97d7d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counterset.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/counterset.go @@ -30,6 +30,7 @@ type CounterSetApplyConfiguration struct { func CounterSet() *CounterSetApplyConfiguration { return &CounterSetApplyConfiguration{} } +func (b CounterSetApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/device.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/device.go index a05eb513f73..f441f31cdfe 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/device.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/device.go @@ -41,6 +41,7 @@ type DeviceApplyConfiguration struct { func Device() *DeviceApplyConfiguration { return &DeviceApplyConfiguration{} } +func (b DeviceApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationconfiguration.go index 971fe807c8d..50126074586 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationconfiguration.go @@ -35,6 +35,7 @@ type DeviceAllocationConfigurationApplyConfiguration struct { func DeviceAllocationConfiguration() *DeviceAllocationConfigurationApplyConfiguration { return &DeviceAllocationConfigurationApplyConfiguration{} } +func (b DeviceAllocationConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithSource sets the Source field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationresult.go index 5d9f0130732..0e6eeafdae8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceallocationresult.go @@ -30,6 +30,7 @@ type DeviceAllocationResultApplyConfiguration struct { func DeviceAllocationResult() *DeviceAllocationResultApplyConfiguration { return &DeviceAllocationResultApplyConfiguration{} } +func (b DeviceAllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithResults adds the given value to the Results field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceattribute.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceattribute.go index c5f88c3f781..32028f64e3a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceattribute.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceattribute.go @@ -32,6 +32,7 @@ type DeviceAttributeApplyConfiguration struct { func DeviceAttribute() *DeviceAttributeApplyConfiguration { return &DeviceAttributeApplyConfiguration{} } +func (b DeviceAttributeApplyConfiguration) IsApplyConfiguration() {} // WithIntValue sets the IntValue field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecapacity.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecapacity.go index f62168cdee6..16126c86258 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecapacity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecapacity.go @@ -33,6 +33,7 @@ type DeviceCapacityApplyConfiguration struct { func DeviceCapacity() *DeviceCapacityApplyConfiguration { return &DeviceCapacityApplyConfiguration{} } +func (b DeviceCapacityApplyConfiguration) IsApplyConfiguration() {} // WithValue sets the Value field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaim.go index 33af599ac81..93cf82d7f15 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaim.go @@ -31,6 +31,7 @@ type DeviceClaimApplyConfiguration struct { func DeviceClaim() *DeviceClaimApplyConfiguration { return &DeviceClaimApplyConfiguration{} } +func (b DeviceClaimApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaimconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaimconfiguration.go index 08464b399a7..d9dad7cde87 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaimconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclaimconfiguration.go @@ -30,6 +30,7 @@ type DeviceClaimConfigurationApplyConfiguration struct { func DeviceClaimConfiguration() *DeviceClaimConfigurationApplyConfiguration { return &DeviceClaimConfigurationApplyConfiguration{} } +func (b DeviceClaimConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclass.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclass.go index a361f331e1f..39cac1154ab 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclass.go @@ -79,6 +79,7 @@ func extractDeviceClass(deviceClass *resourcev1beta2.DeviceClass, fieldManager s b.WithAPIVersion("resource.k8s.io/v1beta2") return b, nil } +func (b DeviceClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *DeviceClassApplyConfiguration) WithSpec(value *DeviceClassSpecApplyConf return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *DeviceClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *DeviceClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassconfiguration.go index 90441028029..e6ac0f19574 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassconfiguration.go @@ -29,6 +29,7 @@ type DeviceClassConfigurationApplyConfiguration struct { func DeviceClassConfiguration() *DeviceClassConfigurationApplyConfiguration { return &DeviceClassConfigurationApplyConfiguration{} } +func (b DeviceClassConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithOpaque sets the Opaque field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassspec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassspec.go index c92a83e6b5f..8e1c1d33266 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceclassspec.go @@ -30,6 +30,7 @@ type DeviceClassSpecApplyConfiguration struct { func DeviceClassSpec() *DeviceClassSpecApplyConfiguration { return &DeviceClassSpecApplyConfiguration{} } +func (b DeviceClassSpecApplyConfiguration) IsApplyConfiguration() {} // WithSelectors adds the given value to the Selectors field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconfiguration.go index 2032433f347..bc7cc1dd302 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconfiguration.go @@ -29,6 +29,7 @@ type DeviceConfigurationApplyConfiguration struct { func DeviceConfiguration() *DeviceConfigurationApplyConfiguration { return &DeviceConfigurationApplyConfiguration{} } +func (b DeviceConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithOpaque sets the Opaque field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconstraint.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconstraint.go index 460ffdd0803..b996f75f4bf 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconstraint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceconstraint.go @@ -34,6 +34,7 @@ type DeviceConstraintApplyConfiguration struct { func DeviceConstraint() *DeviceConstraintApplyConfiguration { return &DeviceConstraintApplyConfiguration{} } +func (b DeviceConstraintApplyConfiguration) IsApplyConfiguration() {} // WithRequests adds the given value to the Requests field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecounterconsumption.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecounterconsumption.go index 9d6d0a87384..3099ffb015e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecounterconsumption.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicecounterconsumption.go @@ -30,6 +30,7 @@ type DeviceCounterConsumptionApplyConfiguration struct { func DeviceCounterConsumption() *DeviceCounterConsumptionApplyConfiguration { return &DeviceCounterConsumptionApplyConfiguration{} } +func (b DeviceCounterConsumptionApplyConfiguration) IsApplyConfiguration() {} // WithCounterSet sets the CounterSet field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequest.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequest.go index 426c9748767..d8d81312590 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequest.go @@ -31,6 +31,7 @@ type DeviceRequestApplyConfiguration struct { func DeviceRequest() *DeviceRequestApplyConfiguration { return &DeviceRequestApplyConfiguration{} } +func (b DeviceRequestApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequestallocationresult.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequestallocationresult.go index ab826812e67..fba5211fc0a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequestallocationresult.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicerequestallocationresult.go @@ -34,6 +34,7 @@ type DeviceRequestAllocationResultApplyConfiguration struct { func DeviceRequestAllocationResult() *DeviceRequestAllocationResultApplyConfiguration { return &DeviceRequestAllocationResultApplyConfiguration{} } +func (b DeviceRequestAllocationResultApplyConfiguration) IsApplyConfiguration() {} // WithRequest sets the Request field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceselector.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceselector.go index fd064e5f6cb..1765bf915c6 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceselector.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/deviceselector.go @@ -29,6 +29,7 @@ type DeviceSelectorApplyConfiguration struct { func DeviceSelector() *DeviceSelectorApplyConfiguration { return &DeviceSelectorApplyConfiguration{} } +func (b DeviceSelectorApplyConfiguration) IsApplyConfiguration() {} // WithCEL sets the CEL field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicesubrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicesubrequest.go index aaf8600adfa..84c74ad60fd 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicesubrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicesubrequest.go @@ -38,6 +38,7 @@ type DeviceSubRequestApplyConfiguration struct { func DeviceSubRequest() *DeviceSubRequestApplyConfiguration { return &DeviceSubRequestApplyConfiguration{} } +func (b DeviceSubRequestApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetaint.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetaint.go index b21f98a1528..f26dee918eb 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetaint.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetaint.go @@ -37,6 +37,7 @@ type DeviceTaintApplyConfiguration struct { func DeviceTaint() *DeviceTaintApplyConfiguration { return &DeviceTaintApplyConfiguration{} } +func (b DeviceTaintApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetoleration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetoleration.go index ae471233f4d..03be27f5658 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetoleration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/devicetoleration.go @@ -37,6 +37,7 @@ type DeviceTolerationApplyConfiguration struct { func DeviceToleration() *DeviceTolerationApplyConfiguration { return &DeviceTolerationApplyConfiguration{} } +func (b DeviceTolerationApplyConfiguration) IsApplyConfiguration() {} // WithKey sets the Key field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/exactdevicerequest.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/exactdevicerequest.go index 2d7d7155e46..7c5d4b233c2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/exactdevicerequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/exactdevicerequest.go @@ -38,6 +38,7 @@ type ExactDeviceRequestApplyConfiguration struct { func ExactDeviceRequest() *ExactDeviceRequestApplyConfiguration { return &ExactDeviceRequestApplyConfiguration{} } +func (b ExactDeviceRequestApplyConfiguration) IsApplyConfiguration() {} // WithDeviceClassName sets the DeviceClassName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/networkdevicedata.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/networkdevicedata.go index 9b0944f8f21..dd9f9960cc2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/networkdevicedata.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/networkdevicedata.go @@ -31,6 +31,7 @@ type NetworkDeviceDataApplyConfiguration struct { func NetworkDeviceData() *NetworkDeviceDataApplyConfiguration { return &NetworkDeviceDataApplyConfiguration{} } +func (b NetworkDeviceDataApplyConfiguration) IsApplyConfiguration() {} // WithInterfaceName sets the InterfaceName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/opaquedeviceconfiguration.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/opaquedeviceconfiguration.go index aa8fe43f3e4..318e9b7a0b2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/opaquedeviceconfiguration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/opaquedeviceconfiguration.go @@ -34,6 +34,7 @@ type OpaqueDeviceConfigurationApplyConfiguration struct { func OpaqueDeviceConfiguration() *OpaqueDeviceConfigurationApplyConfiguration { return &OpaqueDeviceConfigurationApplyConfiguration{} } +func (b OpaqueDeviceConfigurationApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaim.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaim.go index 65b3a6e0bb2..0d8d59db991 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaim.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaim.go @@ -82,6 +82,7 @@ func extractResourceClaim(resourceClaim *resourcev1beta2.ResourceClaim, fieldMan b.WithAPIVersion("resource.k8s.io/v1beta2") return b, nil } +func (b ResourceClaimApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -257,8 +258,24 @@ func (b *ResourceClaimApplyConfiguration) WithStatus(value *ResourceClaimStatusA return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceClaimApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimconsumerreference.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimconsumerreference.go index b7824e8599a..cd9682dd710 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimconsumerreference.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimconsumerreference.go @@ -36,6 +36,7 @@ type ResourceClaimConsumerReferenceApplyConfiguration struct { func ResourceClaimConsumerReference() *ResourceClaimConsumerReferenceApplyConfiguration { return &ResourceClaimConsumerReferenceApplyConfiguration{} } +func (b ResourceClaimConsumerReferenceApplyConfiguration) IsApplyConfiguration() {} // WithAPIGroup sets the APIGroup field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimspec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimspec.go index e1fce171572..0da085aeb31 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimspec.go @@ -29,6 +29,7 @@ type ResourceClaimSpecApplyConfiguration struct { func ResourceClaimSpec() *ResourceClaimSpecApplyConfiguration { return &ResourceClaimSpecApplyConfiguration{} } +func (b ResourceClaimSpecApplyConfiguration) IsApplyConfiguration() {} // WithDevices sets the Devices field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimstatus.go index a3e7ae258fd..13473da013a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimstatus.go @@ -31,6 +31,7 @@ type ResourceClaimStatusApplyConfiguration struct { func ResourceClaimStatus() *ResourceClaimStatusApplyConfiguration { return &ResourceClaimStatusApplyConfiguration{} } +func (b ResourceClaimStatusApplyConfiguration) IsApplyConfiguration() {} // WithAllocation sets the Allocation field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplate.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplate.go index eb1f3ca0606..2e79c66405b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplate.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplate.go @@ -81,6 +81,7 @@ func extractResourceClaimTemplate(resourceClaimTemplate *resourcev1beta2.Resourc b.WithAPIVersion("resource.k8s.io/v1beta2") return b, nil } +func (b ResourceClaimTemplateApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -248,8 +249,24 @@ func (b *ResourceClaimTemplateApplyConfiguration) WithSpec(value *ResourceClaimT return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceClaimTemplateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimTemplateApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplatespec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplatespec.go index c2aef66c7dd..b04cd09a57a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplatespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceclaimtemplatespec.go @@ -36,6 +36,7 @@ type ResourceClaimTemplateSpecApplyConfiguration struct { func ResourceClaimTemplateSpec() *ResourceClaimTemplateSpecApplyConfiguration { return &ResourceClaimTemplateSpecApplyConfiguration{} } +func (b ResourceClaimTemplateSpecApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -192,3 +193,9 @@ func (b *ResourceClaimTemplateSpecApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceClaimTemplateSpecApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourcepool.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourcepool.go index 6923085d6b8..becd2641f36 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourcepool.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourcepool.go @@ -31,6 +31,7 @@ type ResourcePoolApplyConfiguration struct { func ResourcePool() *ResourcePoolApplyConfiguration { return &ResourcePoolApplyConfiguration{} } +func (b ResourcePoolApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslice.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslice.go index 7333d709dea..d62ff1e13fc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslice.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslice.go @@ -79,6 +79,7 @@ func extractResourceSlice(resourceSlice *resourcev1beta2.ResourceSlice, fieldMan b.WithAPIVersion("resource.k8s.io/v1beta2") return b, nil } +func (b ResourceSliceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *ResourceSliceApplyConfiguration) WithSpec(value *ResourceSliceSpecApply return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ResourceSliceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ResourceSliceApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslicespec.go b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslicespec.go index 5a000829f98..bb8d76f8b89 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslicespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/resource/v1beta2/resourceslicespec.go @@ -40,6 +40,7 @@ type ResourceSliceSpecApplyConfiguration struct { func ResourceSliceSpec() *ResourceSliceSpecApplyConfiguration { return &ResourceSliceSpecApplyConfiguration{} } +func (b ResourceSliceSpecApplyConfiguration) IsApplyConfiguration() {} // WithDriver sets the Driver field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1/priorityclass.go b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1/priorityclass.go index 24f122cc01f..907a1501423 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1/priorityclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1/priorityclass.go @@ -83,6 +83,7 @@ func extractPriorityClass(priorityClass *schedulingv1.PriorityClass, fieldManage b.WithAPIVersion("scheduling.k8s.io/v1") return b, nil } +func (b PriorityClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -274,8 +275,24 @@ func (b *PriorityClassApplyConfiguration) WithPreemptionPolicy(value corev1.Pree return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1alpha1/priorityclass.go b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1alpha1/priorityclass.go index 37a50ef6ad7..e658b1195db 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1alpha1/priorityclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1alpha1/priorityclass.go @@ -83,6 +83,7 @@ func extractPriorityClass(priorityClass *schedulingv1alpha1.PriorityClass, field b.WithAPIVersion("scheduling.k8s.io/v1alpha1") return b, nil } +func (b PriorityClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -274,8 +275,24 @@ func (b *PriorityClassApplyConfiguration) WithPreemptionPolicy(value corev1.Pree return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go index 4b6d5203917..3b5ad5f911f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/scheduling/v1beta1/priorityclass.go @@ -83,6 +83,7 @@ func extractPriorityClass(priorityClass *schedulingv1beta1.PriorityClass, fieldM b.WithAPIVersion("scheduling.k8s.io/v1beta1") return b, nil } +func (b PriorityClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -274,8 +275,24 @@ func (b *PriorityClassApplyConfiguration) WithPreemptionPolicy(value corev1.Pree return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *PriorityClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *PriorityClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriver.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriver.go index 6941e4cdc53..99a8bf39333 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriver.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriver.go @@ -79,6 +79,7 @@ func extractCSIDriver(cSIDriver *storagev1.CSIDriver, fieldManager string, subre b.WithAPIVersion("storage.k8s.io/v1") return b, nil } +func (b CSIDriverApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *CSIDriverApplyConfiguration) WithSpec(value *CSIDriverSpecApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSIDriverApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go index fc6f2fbf947..c6c37636c24 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go @@ -41,6 +41,7 @@ type CSIDriverSpecApplyConfiguration struct { func CSIDriverSpec() *CSIDriverSpecApplyConfiguration { return &CSIDriverSpecApplyConfiguration{} } +func (b CSIDriverSpecApplyConfiguration) IsApplyConfiguration() {} // WithAttachRequired sets the AttachRequired field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinode.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinode.go index f31620709c4..8d141a52501 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinode.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinode.go @@ -79,6 +79,7 @@ func extractCSINode(cSINode *storagev1.CSINode, fieldManager string, subresource b.WithAPIVersion("storage.k8s.io/v1") return b, nil } +func (b CSINodeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *CSINodeApplyConfiguration) WithSpec(value *CSINodeSpecApplyConfiguratio return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSINodeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodedriver.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodedriver.go index 8c69e435e7e..3c219de596a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodedriver.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodedriver.go @@ -32,6 +32,7 @@ type CSINodeDriverApplyConfiguration struct { func CSINodeDriver() *CSINodeDriverApplyConfiguration { return &CSINodeDriverApplyConfiguration{} } +func (b CSINodeDriverApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodespec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodespec.go index 21d3ba7cccf..758915424f2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csinodespec.go @@ -29,6 +29,7 @@ type CSINodeSpecApplyConfiguration struct { func CSINodeSpec() *CSINodeSpecApplyConfiguration { return &CSINodeSpecApplyConfiguration{} } +func (b CSINodeSpecApplyConfiguration) IsApplyConfiguration() {} // WithDrivers adds the given value to the Drivers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csistoragecapacity.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csistoragecapacity.go index 226fb1f70c2..9a5c41c601e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csistoragecapacity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/csistoragecapacity.go @@ -85,6 +85,7 @@ func extractCSIStorageCapacity(cSIStorageCapacity *storagev1.CSIStorageCapacity, b.WithAPIVersion("storage.k8s.io/v1") return b, nil } +func (b CSIStorageCapacityApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *CSIStorageCapacityApplyConfiguration) WithMaximumVolumeSize(value resou return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSIStorageCapacityApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/storageclass.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/storageclass.go index cab39900e43..0e6c9fbed3f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/storageclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/storageclass.go @@ -87,6 +87,7 @@ func extractStorageClass(storageClass *storagev1.StorageClass, fieldManager stri b.WithAPIVersion("storage.k8s.io/v1") return b, nil } +func (b StorageClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -315,8 +316,24 @@ func (b *StorageClassApplyConfiguration) WithAllowedTopologies(values ...*applyc return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StorageClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/tokenrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/tokenrequest.go index 77b96db2f05..236da7b289b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/tokenrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/tokenrequest.go @@ -30,6 +30,7 @@ type TokenRequestApplyConfiguration struct { func TokenRequest() *TokenRequestApplyConfiguration { return &TokenRequestApplyConfiguration{} } +func (b TokenRequestApplyConfiguration) IsApplyConfiguration() {} // WithAudience sets the Audience field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachment.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachment.go index b28b8c33f7e..a7c0a24f84a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachment.go @@ -80,6 +80,7 @@ func extractVolumeAttachment(volumeAttachment *storagev1.VolumeAttachment, field b.WithAPIVersion("storage.k8s.io/v1") return b, nil } +func (b VolumeAttachmentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *VolumeAttachmentApplyConfiguration) WithStatus(value *VolumeAttachmentS return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *VolumeAttachmentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentsource.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentsource.go index 1c865c001f3..3bd063578b4 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentsource.go @@ -34,6 +34,7 @@ type VolumeAttachmentSourceApplyConfiguration struct { func VolumeAttachmentSource() *VolumeAttachmentSourceApplyConfiguration { return &VolumeAttachmentSourceApplyConfiguration{} } +func (b VolumeAttachmentSourceApplyConfiguration) IsApplyConfiguration() {} // WithPersistentVolumeName sets the PersistentVolumeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentspec.go index 8965392352e..84c550427e7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentspec.go @@ -31,6 +31,7 @@ type VolumeAttachmentSpecApplyConfiguration struct { func VolumeAttachmentSpec() *VolumeAttachmentSpecApplyConfiguration { return &VolumeAttachmentSpecApplyConfiguration{} } +func (b VolumeAttachmentSpecApplyConfiguration) IsApplyConfiguration() {} // WithAttacher sets the Attacher field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentstatus.go index 14293376d09..6a2dcdcf139 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeattachmentstatus.go @@ -32,6 +32,7 @@ type VolumeAttachmentStatusApplyConfiguration struct { func VolumeAttachmentStatus() *VolumeAttachmentStatusApplyConfiguration { return &VolumeAttachmentStatusApplyConfiguration{} } +func (b VolumeAttachmentStatusApplyConfiguration) IsApplyConfiguration() {} // WithAttached sets the Attached field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeerror.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeerror.go index 9becf77268c..5ddaea25d7a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeerror.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumeerror.go @@ -35,6 +35,7 @@ type VolumeErrorApplyConfiguration struct { func VolumeError() *VolumeErrorApplyConfiguration { return &VolumeErrorApplyConfiguration{} } +func (b VolumeErrorApplyConfiguration) IsApplyConfiguration() {} // WithTime sets the Time field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumenoderesources.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumenoderesources.go index 735853c48b8..b365f351b58 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumenoderesources.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1/volumenoderesources.go @@ -29,6 +29,7 @@ type VolumeNodeResourcesApplyConfiguration struct { func VolumeNodeResources() *VolumeNodeResourcesApplyConfiguration { return &VolumeNodeResourcesApplyConfiguration{} } +func (b VolumeNodeResourcesApplyConfiguration) IsApplyConfiguration() {} // WithCount sets the Count field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/csistoragecapacity.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/csistoragecapacity.go index 518f7a7f6c6..92e70f10094 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/csistoragecapacity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/csistoragecapacity.go @@ -85,6 +85,7 @@ func extractCSIStorageCapacity(cSIStorageCapacity *storagev1alpha1.CSIStorageCap b.WithAPIVersion("storage.k8s.io/v1alpha1") return b, nil } +func (b CSIStorageCapacityApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *CSIStorageCapacityApplyConfiguration) WithMaximumVolumeSize(value resou return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSIStorageCapacityApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachment.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachment.go index b66cf0094dc..ae8ab651ae3 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachment.go @@ -80,6 +80,7 @@ func extractVolumeAttachment(volumeAttachment *storagev1alpha1.VolumeAttachment, b.WithAPIVersion("storage.k8s.io/v1alpha1") return b, nil } +func (b VolumeAttachmentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *VolumeAttachmentApplyConfiguration) WithStatus(value *VolumeAttachmentS return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *VolumeAttachmentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentsource.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentsource.go index be7da5dd150..9a0a8ae3968 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentsource.go @@ -34,6 +34,7 @@ type VolumeAttachmentSourceApplyConfiguration struct { func VolumeAttachmentSource() *VolumeAttachmentSourceApplyConfiguration { return &VolumeAttachmentSourceApplyConfiguration{} } +func (b VolumeAttachmentSourceApplyConfiguration) IsApplyConfiguration() {} // WithPersistentVolumeName sets the PersistentVolumeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentspec.go index e97487a645d..3e61e483676 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentspec.go @@ -31,6 +31,7 @@ type VolumeAttachmentSpecApplyConfiguration struct { func VolumeAttachmentSpec() *VolumeAttachmentSpecApplyConfiguration { return &VolumeAttachmentSpecApplyConfiguration{} } +func (b VolumeAttachmentSpecApplyConfiguration) IsApplyConfiguration() {} // WithAttacher sets the Attacher field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentstatus.go index a287fc6b28c..03f60ef725a 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattachmentstatus.go @@ -32,6 +32,7 @@ type VolumeAttachmentStatusApplyConfiguration struct { func VolumeAttachmentStatus() *VolumeAttachmentStatusApplyConfiguration { return &VolumeAttachmentStatusApplyConfiguration{} } +func (b VolumeAttachmentStatusApplyConfiguration) IsApplyConfiguration() {} // WithAttached sets the Attached field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattributesclass.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattributesclass.go index 898726b62fd..9982cd6b7f8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattributesclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeattributesclass.go @@ -80,6 +80,7 @@ func extractVolumeAttributesClass(volumeAttributesClass *storagev1alpha1.VolumeA b.WithAPIVersion("storage.k8s.io/v1alpha1") return b, nil } +func (b VolumeAttributesClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -261,8 +262,24 @@ func (b *VolumeAttributesClassApplyConfiguration) WithParameters(entries map[str return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *VolumeAttributesClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeerror.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeerror.go index 19e5275105d..26bc8562e8b 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeerror.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1alpha1/volumeerror.go @@ -35,6 +35,7 @@ type VolumeErrorApplyConfiguration struct { func VolumeError() *VolumeErrorApplyConfiguration { return &VolumeErrorApplyConfiguration{} } +func (b VolumeErrorApplyConfiguration) IsApplyConfiguration() {} // WithTime sets the Time field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriver.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriver.go index 0fe9421ded3..f7418215213 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriver.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriver.go @@ -79,6 +79,7 @@ func extractCSIDriver(cSIDriver *storagev1beta1.CSIDriver, fieldManager string, b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b CSIDriverApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *CSIDriverApplyConfiguration) WithSpec(value *CSIDriverSpecApplyConfigur return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSIDriverApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSIDriverApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go index b1c9ec6d12e..3e2468a714f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go @@ -41,6 +41,7 @@ type CSIDriverSpecApplyConfiguration struct { func CSIDriverSpec() *CSIDriverSpecApplyConfiguration { return &CSIDriverSpecApplyConfiguration{} } +func (b CSIDriverSpecApplyConfiguration) IsApplyConfiguration() {} // WithAttachRequired sets the AttachRequired field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinode.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinode.go index 4e7ad89974f..85e70903505 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinode.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinode.go @@ -79,6 +79,7 @@ func extractCSINode(cSINode *storagev1beta1.CSINode, fieldManager string, subres b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b CSINodeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -246,8 +247,24 @@ func (b *CSINodeApplyConfiguration) WithSpec(value *CSINodeSpecApplyConfiguratio return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSINodeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSINodeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodedriver.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodedriver.go index 65ad771bb24..6cd1ed04169 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodedriver.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodedriver.go @@ -32,6 +32,7 @@ type CSINodeDriverApplyConfiguration struct { func CSINodeDriver() *CSINodeDriverApplyConfiguration { return &CSINodeDriverApplyConfiguration{} } +func (b CSINodeDriverApplyConfiguration) IsApplyConfiguration() {} // WithName sets the Name field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodespec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodespec.go index c9cbea1d9c2..c95767384d7 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodespec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csinodespec.go @@ -29,6 +29,7 @@ type CSINodeSpecApplyConfiguration struct { func CSINodeSpec() *CSINodeSpecApplyConfiguration { return &CSINodeSpecApplyConfiguration{} } +func (b CSINodeSpecApplyConfiguration) IsApplyConfiguration() {} // WithDrivers adds the given value to the Drivers field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csistoragecapacity.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csistoragecapacity.go index c8acaf92341..d0da232dbd2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csistoragecapacity.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/csistoragecapacity.go @@ -85,6 +85,7 @@ func extractCSIStorageCapacity(cSIStorageCapacity *storagev1beta1.CSIStorageCapa b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b CSIStorageCapacityApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -276,8 +277,24 @@ func (b *CSIStorageCapacityApplyConfiguration) WithMaximumVolumeSize(value resou return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *CSIStorageCapacityApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *CSIStorageCapacityApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/storageclass.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/storageclass.go index 2d211754eb7..3eccf819d34 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/storageclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/storageclass.go @@ -87,6 +87,7 @@ func extractStorageClass(storageClass *storagev1beta1.StorageClass, fieldManager b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b StorageClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -315,8 +316,24 @@ func (b *StorageClassApplyConfiguration) WithAllowedTopologies(values ...*applyc return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StorageClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StorageClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/tokenrequest.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/tokenrequest.go index e0f2df28e03..1aa1cb899f0 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/tokenrequest.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/tokenrequest.go @@ -30,6 +30,7 @@ type TokenRequestApplyConfiguration struct { func TokenRequest() *TokenRequestApplyConfiguration { return &TokenRequestApplyConfiguration{} } +func (b TokenRequestApplyConfiguration) IsApplyConfiguration() {} // WithAudience sets the Audience field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachment.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachment.go index 3f7110bf41c..9e7fce4c4b2 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachment.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachment.go @@ -80,6 +80,7 @@ func extractVolumeAttachment(volumeAttachment *storagev1beta1.VolumeAttachment, b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b VolumeAttachmentApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *VolumeAttachmentApplyConfiguration) WithStatus(value *VolumeAttachmentS return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *VolumeAttachmentApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *VolumeAttachmentApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentsource.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentsource.go index b08dd3148b8..fce2281af97 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentsource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentsource.go @@ -34,6 +34,7 @@ type VolumeAttachmentSourceApplyConfiguration struct { func VolumeAttachmentSource() *VolumeAttachmentSourceApplyConfiguration { return &VolumeAttachmentSourceApplyConfiguration{} } +func (b VolumeAttachmentSourceApplyConfiguration) IsApplyConfiguration() {} // WithPersistentVolumeName sets the PersistentVolumeName field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentspec.go index 3bdaeb45d72..56ae2c67118 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentspec.go @@ -31,6 +31,7 @@ type VolumeAttachmentSpecApplyConfiguration struct { func VolumeAttachmentSpec() *VolumeAttachmentSpecApplyConfiguration { return &VolumeAttachmentSpecApplyConfiguration{} } +func (b VolumeAttachmentSpecApplyConfiguration) IsApplyConfiguration() {} // WithAttacher sets the Attacher field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentstatus.go index f7046cdb35f..a80fc1fe55c 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattachmentstatus.go @@ -32,6 +32,7 @@ type VolumeAttachmentStatusApplyConfiguration struct { func VolumeAttachmentStatus() *VolumeAttachmentStatusApplyConfiguration { return &VolumeAttachmentStatusApplyConfiguration{} } +func (b VolumeAttachmentStatusApplyConfiguration) IsApplyConfiguration() {} // WithAttached sets the Attached field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattributesclass.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattributesclass.go index ab1bda330b0..7def1435ee8 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattributesclass.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeattributesclass.go @@ -80,6 +80,7 @@ func extractVolumeAttributesClass(volumeAttributesClass *storagev1beta1.VolumeAt b.WithAPIVersion("storage.k8s.io/v1beta1") return b, nil } +func (b VolumeAttributesClassApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -261,8 +262,24 @@ func (b *VolumeAttributesClassApplyConfiguration) WithParameters(entries map[str return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *VolumeAttributesClassApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *VolumeAttributesClassApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeerror.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeerror.go index 015bcd86d50..538affb406e 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeerror.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumeerror.go @@ -35,6 +35,7 @@ type VolumeErrorApplyConfiguration struct { func VolumeError() *VolumeErrorApplyConfiguration { return &VolumeErrorApplyConfiguration{} } +func (b VolumeErrorApplyConfiguration) IsApplyConfiguration() {} // WithTime sets the Time field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumenoderesources.go b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumenoderesources.go index b42c9decc02..d906710cacc 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumenoderesources.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storage/v1beta1/volumenoderesources.go @@ -29,6 +29,7 @@ type VolumeNodeResourcesApplyConfiguration struct { func VolumeNodeResources() *VolumeNodeResourcesApplyConfiguration { return &VolumeNodeResourcesApplyConfiguration{} } +func (b VolumeNodeResourcesApplyConfiguration) IsApplyConfiguration() {} // WithCount sets the Count field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/groupversionresource.go b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/groupversionresource.go index c8f9f009a50..b8a03810952 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/groupversionresource.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/groupversionresource.go @@ -31,6 +31,7 @@ type GroupVersionResourceApplyConfiguration struct { func GroupVersionResource() *GroupVersionResourceApplyConfiguration { return &GroupVersionResourceApplyConfiguration{} } +func (b GroupVersionResourceApplyConfiguration) IsApplyConfiguration() {} // WithGroup sets the Group field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/migrationcondition.go b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/migrationcondition.go index 5ffd572eedc..e87ca660f80 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/migrationcondition.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/migrationcondition.go @@ -39,6 +39,7 @@ type MigrationConditionApplyConfiguration struct { func MigrationCondition() *MigrationConditionApplyConfiguration { return &MigrationConditionApplyConfiguration{} } +func (b MigrationConditionApplyConfiguration) IsApplyConfiguration() {} // WithType sets the Type field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigration.go b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigration.go index a6dbc13a536..e7963d5591f 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigration.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigration.go @@ -80,6 +80,7 @@ func extractStorageVersionMigration(storageVersionMigration *storagemigrationv1a b.WithAPIVersion("storagemigration.k8s.io/v1alpha1") return b, nil } +func (b StorageVersionMigrationApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -255,8 +256,24 @@ func (b *StorageVersionMigrationApplyConfiguration) WithStatus(value *StorageVer return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *StorageVersionMigrationApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *StorageVersionMigrationApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *StorageVersionMigrationApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *StorageVersionMigrationApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationspec.go b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationspec.go index 02ddb540f87..58096de6f8d 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationspec.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationspec.go @@ -30,6 +30,7 @@ type StorageVersionMigrationSpecApplyConfiguration struct { func StorageVersionMigrationSpec() *StorageVersionMigrationSpecApplyConfiguration { return &StorageVersionMigrationSpecApplyConfiguration{} } +func (b StorageVersionMigrationSpecApplyConfiguration) IsApplyConfiguration() {} // WithResource sets the Resource field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationstatus.go b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationstatus.go index fc957cb15cc..83ddf9e1163 100644 --- a/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationstatus.go +++ b/staging/src/k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1/storageversionmigrationstatus.go @@ -30,6 +30,7 @@ type StorageVersionMigrationStatusApplyConfiguration struct { func StorageVersionMigrationStatus() *StorageVersionMigrationStatusApplyConfiguration { return &StorageVersionMigrationStatusApplyConfiguration{} } +func (b StorageVersionMigrationStatusApplyConfiguration) IsApplyConfiguration() {} // WithConditions adds the given value to the Conditions field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators/applyconfiguration.go b/staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators/applyconfiguration.go index 4deb1771875..85062bf7c4d 100644 --- a/staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators/applyconfiguration.go +++ b/staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators/applyconfiguration.go @@ -115,6 +115,7 @@ func (g *applyConfigurationGenerator) GenerateType(c *generator.Context, t *type sw.Do(constructor, typeParams) } } + g.generateIsApplyConfiguration(typeParams.ApplyConfig.ApplyConfiguration, sw) g.generateWithFuncs(t, typeParams, sw, nil, &[]string{}) g.generateGetters(t, typeParams, sw, nil) return sw.Error() @@ -145,7 +146,8 @@ func blocklisted(t *types.Type, member types.Member) bool { func needsGetter(t *types.Type, member types.Member) bool { // Needed when applying an ApplyConfiguration - return objectMeta.Name == t.Name && member.Name == "Name" + return (objectMeta.Name == t.Name && (member.Name == "Name" || member.Name == "Namespace")) || + (typeMeta.Name == t.Name && (member.Name == "Kind" || member.Name == "APIVersion")) } func (g *applyConfigurationGenerator) generateGetters(t *types.Type, typeParams TypeParams, sw *generator.SnippetWriter, embed *memberParams) { @@ -270,6 +272,10 @@ func (g *applyConfigurationGenerator) generateStruct(sw *generator.SnippetWriter sw.Do("}\n", typeParams) } +func (g *applyConfigurationGenerator) generateIsApplyConfiguration(t *types.Type, sw *generator.SnippetWriter) { + sw.Do("func (b $.|public$) IsApplyConfiguration() {}\n", t) +} + func deref(t *types.Type) *types.Type { for t.Kind == types.Pointer { t = t.Elem diff --git a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttype.go b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttype.go index 06c53905221..34031f0994a 100644 --- a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttype.go +++ b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttype.go @@ -41,6 +41,7 @@ func ClusterTestType(name string) *ClusterTestTypeApplyConfiguration { b.WithAPIVersion("example-group.hyphens.code-generator.k8s.io/v1") return b } +func (b ClusterTestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -208,8 +209,24 @@ func (b *ClusterTestTypeApplyConfiguration) WithStatus(value *ClusterTestTypeSta return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttypestatus.go b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttypestatus.go index c2ccfa58117..b4c0f470193 100644 --- a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/clustertesttypestatus.go @@ -29,6 +29,7 @@ type ClusterTestTypeStatusApplyConfiguration struct { func ClusterTestTypeStatus() *ClusterTestTypeStatusApplyConfiguration { return &ClusterTestTypeStatusApplyConfiguration{} } +func (b ClusterTestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtype.go index 3481b786632..ba125f36986 100644 --- a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("example-group.hyphens.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/HyphenGroup/applyconfiguration/example/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttype.go b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttype.go index 49ceb182a00..9a07a639daa 100644 --- a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttype.go +++ b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttype.go @@ -41,6 +41,7 @@ func ClusterTestType(name string) *ClusterTestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b ClusterTestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -208,8 +209,24 @@ func (b *ClusterTestTypeApplyConfiguration) WithStatus(value *ClusterTestTypeSta return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttypestatus.go b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttypestatus.go index c2ccfa58117..b4c0f470193 100644 --- a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/clustertesttypestatus.go @@ -29,6 +29,7 @@ type ClusterTestTypeStatusApplyConfiguration struct { func ClusterTestTypeStatus() *ClusterTestTypeStatusApplyConfiguration { return &ClusterTestTypeStatusApplyConfiguration{} } +func (b ClusterTestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtype.go index 49fdd2a668c..5e32019e58d 100644 --- a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/MixedCase/applyconfiguration/example/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testembeddedtype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testembeddedtype.go index c3ed08e1868..dee06212cca 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testembeddedtype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testembeddedtype.go @@ -30,6 +30,7 @@ type TestEmbeddedTypeApplyConfiguration struct { func TestEmbeddedType() *TestEmbeddedTypeApplyConfiguration { return &TestEmbeddedTypeApplyConfiguration{} } +func (b TestEmbeddedTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtype.go index 167efe37a35..8c359c7b02b 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtype.go @@ -43,6 +43,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("conflicting.test.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -216,8 +217,24 @@ func (b *TestTypeApplyConfiguration) ensureTestEmbeddedTypeApplyConfigurationExi } } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtypestatus.go index 296f10bdf62..f30c35cc64e 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/conflicting/v1/testtypestatus.go @@ -34,6 +34,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttype.go index 49ceb182a00..9a07a639daa 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttype.go @@ -41,6 +41,7 @@ func ClusterTestType(name string) *ClusterTestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b ClusterTestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -208,8 +209,24 @@ func (b *ClusterTestTypeApplyConfiguration) WithStatus(value *ClusterTestTypeSta return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttypestatus.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttypestatus.go index c2ccfa58117..b4c0f470193 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/clustertesttypestatus.go @@ -29,6 +29,7 @@ type ClusterTestTypeStatusApplyConfiguration struct { func ClusterTestTypeStatus() *ClusterTestTypeStatusApplyConfiguration { return &ClusterTestTypeStatusApplyConfiguration{} } +func (b ClusterTestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtype.go index 49fdd2a668c..5e32019e58d 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtype.go index 9ece7994db4..9efed55b5e9 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("example.test.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/example2/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testsubresource.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testsubresource.go index 6b9eb0f2ff9..a0698815201 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testsubresource.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testsubresource.go @@ -37,6 +37,7 @@ func TestSubresource() *TestSubresourceApplyConfiguration { b.WithAPIVersion("extensions.test.crd.code-generator.k8s.io/v1") return b } +func (b TestSubresourceApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -61,3 +62,13 @@ func (b *TestSubresourceApplyConfiguration) WithName(value string) *TestSubresou b.Name = &value return b } + +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestSubresourceApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestSubresourceApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtype.go index e8f9048443c..1713f63574c 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("extensions.test.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/crd/applyconfiguration/extensions/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttype.go b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttype.go index 49ceb182a00..9a07a639daa 100644 --- a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttype.go +++ b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttype.go @@ -41,6 +41,7 @@ func ClusterTestType(name string) *ClusterTestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b ClusterTestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -208,8 +209,24 @@ func (b *ClusterTestTypeApplyConfiguration) WithStatus(value *ClusterTestTypeSta return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *ClusterTestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *ClusterTestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttypestatus.go b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttypestatus.go index c2ccfa58117..b4c0f470193 100644 --- a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/clustertesttypestatus.go @@ -29,6 +29,7 @@ type ClusterTestTypeStatusApplyConfiguration struct { func ClusterTestTypeStatus() *ClusterTestTypeStatusApplyConfiguration { return &ClusterTestTypeStatusApplyConfiguration{} } +func (b ClusterTestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtype.go b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtype.go index 49fdd2a668c..5e32019e58d 100644 --- a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtype.go +++ b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtype.go @@ -42,6 +42,7 @@ func TestType(name, namespace string) *TestTypeApplyConfiguration { b.WithAPIVersion("example.crd.code-generator.k8s.io/v1") return b } +func (b TestTypeApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -209,8 +210,24 @@ func (b *TestTypeApplyConfiguration) WithStatus(value *TestTypeStatusApplyConfig return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *TestTypeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *TestTypeApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtypestatus.go b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtypestatus.go index 246b2ee1889..f029d3c2fa3 100644 --- a/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtypestatus.go +++ b/staging/src/k8s.io/code-generator/examples/single/applyconfiguration/api/v1/testtypestatus.go @@ -29,6 +29,7 @@ type TestTypeStatusApplyConfiguration struct { func TestTypeStatus() *TestTypeStatusApplyConfiguration { return &TestTypeStatusApplyConfiguration{} } +func (b TestTypeStatusApplyConfiguration) IsApplyConfiguration() {} // WithBlah sets the Blah field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/fischer.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/fischer.go index 3683c3701a3..d5d95064bdf 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/fischer.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/fischer.go @@ -41,6 +41,7 @@ func Fischer(name string) *FischerApplyConfiguration { b.WithAPIVersion("wardle.example.com/v1alpha1") return b } +func (b FischerApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -210,8 +211,24 @@ func (b *FischerApplyConfiguration) WithDisallowedFlunders(values ...string) *Fi return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FischerApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FischerApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FischerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FischerApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunder.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunder.go index 3a6dcb8f445..41ca5712ff3 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunder.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunder.go @@ -44,6 +44,7 @@ func Flunder(name, namespace string) *FlunderApplyConfiguration { b.WithAPIVersion("wardle.example.com/v1alpha1") return b } +func (b FlunderApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -219,8 +220,24 @@ func (b *FlunderApplyConfiguration) WithStatus(value wardlev1alpha1.FlunderStatu return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlunderApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunderspec.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunderspec.go index b3be3f8a217..275fa3ce32e 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunderspec.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1alpha1/flunderspec.go @@ -34,6 +34,7 @@ type FlunderSpecApplyConfiguration struct { func FlunderSpec() *FlunderSpecApplyConfiguration { return &FlunderSpecApplyConfiguration{} } +func (b FlunderSpecApplyConfiguration) IsApplyConfiguration() {} // WithReference sets the Reference field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunder.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunder.go index d0ec4aa8a00..c54da5a321d 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunder.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunder.go @@ -44,6 +44,7 @@ func Flunder(name, namespace string) *FlunderApplyConfiguration { b.WithAPIVersion("wardle.example.com/v1beta1") return b } +func (b FlunderApplyConfiguration) IsApplyConfiguration() {} // WithKind sets the Kind field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. @@ -219,8 +220,24 @@ func (b *FlunderApplyConfiguration) WithStatus(value wardlev1beta1.FlunderStatus return b } +// GetKind retrieves the value of the Kind field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetKind() *string { + return b.TypeMetaApplyConfiguration.Kind +} + +// GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetAPIVersion() *string { + return b.TypeMetaApplyConfiguration.APIVersion +} + // GetName retrieves the value of the Name field in the declarative configuration. func (b *FlunderApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() return b.ObjectMetaApplyConfiguration.Name } + +// GetNamespace retrieves the value of the Namespace field in the declarative configuration. +func (b *FlunderApplyConfiguration) GetNamespace() *string { + b.ensureObjectMetaApplyConfigurationExists() + return b.ObjectMetaApplyConfiguration.Namespace +} diff --git a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunderspec.go b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunderspec.go index cd5a6edb58e..f1091ee4c6b 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunderspec.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/generated/applyconfiguration/wardle/v1beta1/flunderspec.go @@ -35,6 +35,7 @@ type FlunderSpecApplyConfiguration struct { func FlunderSpec() *FlunderSpecApplyConfiguration { return &FlunderSpecApplyConfiguration{} } +func (b FlunderSpecApplyConfiguration) IsApplyConfiguration() {} // WithFlunderReference sets the FlunderReference field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations.