diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index e7fa9b68..689201bb 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -13,11 +13,10 @@ on: - 'docs/**' - '**/*.md' pull_request: - types: - - labeled paths-ignore: - 'docs/**' - '**/*.md' + types: [labeled, unlabeled, opened, synchronize, reopened] jobs: buildAndPush: @@ -32,8 +31,8 @@ jobs: target: apinetlet-manager - name: metalnetlet target: metalnetlet-manager - if: ${{ github.event.label.name == 'ok-to-image' }} || ${{ github.event.label.name == 'ok-to-🐳' }} || ${{ github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest + if: contains(github.event.pull_request.labels.*.name, 'ok-to-image') steps: - uses: actions/checkout@v4 - uses: docker/metadata-action@v5 diff --git a/Makefile b/Makefile index 7128c3fc..45ae33cb 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ METALNETLET_IMG ?= metalnetlet:latest KIND_CLUSTER_NAME ?= kind # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. -ENVTEST_K8S_VERSION = 1.31 +ENVTEST_K8S_VERSION = 1.32 # Docker image name for the mkdocs based local development setup IMAGE=ironcore-net/documentation @@ -346,12 +346,13 @@ GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint ## Tool Versions KUSTOMIZE_VERSION ?= v5.1.1 VGOPATH_VERSION ?= v0.1.5 -CONTROLLER_TOOLS_VERSION ?= v0.16.0 +CONTROLLER_TOOLS_VERSION ?= v0.17.2 GEN_CRD_API_REFERENCE_DOCS_VERSION ?= v0.3.0 ADDLICENSE_VERSION ?= v1.1.1 -GOIMPORTS_VERSION ?= v0.25.0 +GOIMPORTS_VERSION ?= v0.31.0 GOLANGCI_LINT_VERSION ?= v2.0 OPENAPI_EXTRACTOR_VERSION ?= v0.1.9 +SETUP_ENVTEST_VERSION ?= release-0.20 KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" .PHONY: kustomize @@ -388,7 +389,7 @@ $(VGOPATH): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION) .PHONY: openapi-extractor openapi-extractor: $(OPENAPI_EXTRACTOR) ## Download openapi-extractor locally if necessary. diff --git a/apinetlet/controllers/controllers_suite_test.go b/apinetlet/controllers/controllers_suite_test.go index be9405f8..d29704e6 100644 --- a/apinetlet/controllers/controllers_suite_test.go +++ b/apinetlet/controllers/controllers_suite_test.go @@ -79,7 +79,7 @@ var _ = BeforeSuite(func() { // Note that you must have the required binaries setup under the bin directory to perform // the tests directly. When we run make test it will be setup and used automatically. BinaryAssetsDirectory: filepath.Join("..", "..", "bin", "k8s", - fmt.Sprintf("1.31.0-%s-%s", runtime.GOOS, runtime.GOARCH)), + fmt.Sprintf("1.32.0-%s-%s", runtime.GOOS, runtime.GOARCH)), } testEnvExt = &envtestutils.EnvironmentExtensions{ APIServiceDirectoryPaths: []string{ @@ -140,7 +140,7 @@ var _ = BeforeSuite(func() { Expect(ironcoreAPISrv.Start()).To(Succeed()) DeferCleanup(ironcoreAPISrv.Stop) - Expect(envtestutils.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, k8sClient, scheme.Scheme)).To(Succeed()) + Expect(envtestutils.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, cfg, k8sClient, scheme.Scheme)).To(Succeed()) }) func SetupTest(apiNetNamespace *corev1.Namespace) *corev1.Namespace { diff --git a/client-go/applyconfigurations/core/v1alpha1/daemonset.go b/client-go/applyconfigurations/core/v1alpha1/daemonset.go index d6c40526..d55653b3 100644 --- a/client-go/applyconfigurations/core/v1alpha1/daemonset.go +++ b/client-go/applyconfigurations/core/v1alpha1/daemonset.go @@ -74,7 +74,7 @@ func extractDaemonSet(daemonSet *corev1alpha1.DaemonSet, fieldManager string, su // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithKind(value string) *DaemonSetApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *DaemonSetApplyConfiguration) WithKind(value string) *DaemonSetApplyConf // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithAPIVersion(value string) *DaemonSetApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *DaemonSetApplyConfiguration) WithAPIVersion(value string) *DaemonSetApp // If called multiple times, the Name field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithName(value string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *DaemonSetApplyConfiguration) WithName(value string) *DaemonSetApplyConf // If called multiple times, the GenerateName field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithGenerateName(value string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *DaemonSetApplyConfiguration) WithGenerateName(value string) *DaemonSetA // If called multiple times, the Namespace field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithNamespace(value string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *DaemonSetApplyConfiguration) WithNamespace(value string) *DaemonSetAppl // If called multiple times, the UID field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithUID(value types.UID) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *DaemonSetApplyConfiguration) WithUID(value types.UID) *DaemonSetApplyCo // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithResourceVersion(value string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *DaemonSetApplyConfiguration) WithResourceVersion(value string) *DaemonS // If called multiple times, the Generation field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithGeneration(value int64) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *DaemonSetApplyConfiguration) WithGeneration(value int64) *DaemonSetAppl // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) * // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) * // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64 // overwriting an existing map entries in Labels field with the same key. func (b *DaemonSetApplyConfiguration) WithLabels(entries map[string]string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *DaemonSetApplyConfiguration) WithLabels(entries map[string]string) *Dae // overwriting an existing map entries in Annotations field with the same key. func (b *DaemonSetApplyConfiguration) WithAnnotations(entries map[string]string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *DaemonSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *DaemonSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef func (b *DaemonSetApplyConfiguration) WithFinalizers(values ...string) *DaemonSetApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConf // GetName retrieves the value of the Name field in the declarative configuration. func (b *DaemonSetApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/instance.go b/client-go/applyconfigurations/core/v1alpha1/instance.go index 6ff9bbe8..840a0c4b 100644 --- a/client-go/applyconfigurations/core/v1alpha1/instance.go +++ b/client-go/applyconfigurations/core/v1alpha1/instance.go @@ -74,7 +74,7 @@ func extractInstance(instance *corev1alpha1.Instance, fieldManager string, subre // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfig // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApply // If called multiple times, the Name field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfig // If called multiple times, the GenerateName field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApp // If called multiple times, the Namespace field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyC // If called multiple times, the UID field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConf // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *Instance // If called multiple times, the Generation field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyC // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *I // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *I // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) // overwriting an existing map entries in Labels field with the same key. func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *Inst // overwriting an existing map entries in Annotations field with the same key. func (b *InstanceApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefe if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefe func (b *InstanceApplyConfiguration) WithFinalizers(values ...string) *InstanceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *InstanceApplyConfiguration) WithStatus(value *InstanceStatusApplyConfig // GetName retrieves the value of the Name field in the declarative configuration. func (b *InstanceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/instancespec.go b/client-go/applyconfigurations/core/v1alpha1/instancespec.go index 5d0d39e7..2be50b80 100644 --- a/client-go/applyconfigurations/core/v1alpha1/instancespec.go +++ b/client-go/applyconfigurations/core/v1alpha1/instancespec.go @@ -6,7 +6,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" net "github.com/ironcore-dev/ironcore-net/apimachinery/api/net" v1 "k8s.io/api/core/v1" ) @@ -14,8 +14,8 @@ import ( // InstanceSpecApplyConfiguration represents a declarative configuration of the InstanceSpec type for use // with apply. type InstanceSpecApplyConfiguration struct { - Type *v1alpha1.InstanceType `json:"type,omitempty"` - LoadBalancerType *v1alpha1.LoadBalancerType `json:"loadBalancerType,omitempty"` + Type *corev1alpha1.InstanceType `json:"type,omitempty"` + LoadBalancerType *corev1alpha1.LoadBalancerType `json:"loadBalancerType,omitempty"` NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"` IPs []net.IP `json:"ips,omitempty"` LoadBalancerPorts []LoadBalancerPortApplyConfiguration `json:"loadBalancerPorts,omitempty"` @@ -33,7 +33,7 @@ func InstanceSpec() *InstanceSpecApplyConfiguration { // 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. // If called multiple times, the Type field is set to the value of the last call. -func (b *InstanceSpecApplyConfiguration) WithType(value v1alpha1.InstanceType) *InstanceSpecApplyConfiguration { +func (b *InstanceSpecApplyConfiguration) WithType(value corev1alpha1.InstanceType) *InstanceSpecApplyConfiguration { b.Type = &value return b } @@ -41,7 +41,7 @@ func (b *InstanceSpecApplyConfiguration) WithType(value v1alpha1.InstanceType) * // WithLoadBalancerType sets the LoadBalancerType field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the LoadBalancerType field is set to the value of the last call. -func (b *InstanceSpecApplyConfiguration) WithLoadBalancerType(value v1alpha1.LoadBalancerType) *InstanceSpecApplyConfiguration { +func (b *InstanceSpecApplyConfiguration) WithLoadBalancerType(value corev1alpha1.LoadBalancerType) *InstanceSpecApplyConfiguration { b.LoadBalancerType = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/instancetemplate.go b/client-go/applyconfigurations/core/v1alpha1/instancetemplate.go index 5e352100..4ecf81ec 100644 --- a/client-go/applyconfigurations/core/v1alpha1/instancetemplate.go +++ b/client-go/applyconfigurations/core/v1alpha1/instancetemplate.go @@ -29,7 +29,7 @@ func InstanceTemplate() *InstanceTemplateApplyConfiguration { // If called multiple times, the Name field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithName(value string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -38,7 +38,7 @@ func (b *InstanceTemplateApplyConfiguration) WithName(value string) *InstanceTem // If called multiple times, the GenerateName field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithGenerateName(value string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -47,7 +47,7 @@ func (b *InstanceTemplateApplyConfiguration) WithGenerateName(value string) *Ins // If called multiple times, the Namespace field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithNamespace(value string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -56,7 +56,7 @@ func (b *InstanceTemplateApplyConfiguration) WithNamespace(value string) *Instan // If called multiple times, the UID field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithUID(value types.UID) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -65,7 +65,7 @@ func (b *InstanceTemplateApplyConfiguration) WithUID(value types.UID) *InstanceT // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithResourceVersion(value string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -74,7 +74,7 @@ func (b *InstanceTemplateApplyConfiguration) WithResourceVersion(value string) * // If called multiple times, the Generation field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithGeneration(value int64) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -83,7 +83,7 @@ func (b *InstanceTemplateApplyConfiguration) WithGeneration(value int64) *Instan // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -92,7 +92,7 @@ func (b *InstanceTemplateApplyConfiguration) WithCreationTimestamp(value metav1. // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -101,7 +101,7 @@ func (b *InstanceTemplateApplyConfiguration) WithDeletionTimestamp(value metav1. // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *InstanceTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -111,11 +111,11 @@ func (b *InstanceTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(valu // overwriting an existing map entries in Labels field with the same key. func (b *InstanceTemplateApplyConfiguration) WithLabels(entries map[string]string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -126,11 +126,11 @@ func (b *InstanceTemplateApplyConfiguration) WithLabels(entries map[string]strin // overwriting an existing map entries in Annotations field with the same key. func (b *InstanceTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -144,7 +144,7 @@ func (b *InstanceTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.O if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -155,7 +155,7 @@ func (b *InstanceTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.O func (b *InstanceTemplateApplyConfiguration) WithFinalizers(values ...string) *InstanceTemplateApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -177,5 +177,5 @@ func (b *InstanceTemplateApplyConfiguration) WithSpec(value *InstanceSpecApplyCo // GetName retrieves the value of the Name field in the declarative configuration. func (b *InstanceTemplateApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/ip.go b/client-go/applyconfigurations/core/v1alpha1/ip.go index 6ba37cd0..a657201a 100644 --- a/client-go/applyconfigurations/core/v1alpha1/ip.go +++ b/client-go/applyconfigurations/core/v1alpha1/ip.go @@ -74,7 +74,7 @@ func extractIP(iP *corev1alpha1.IP, fieldManager string, subresource string) (*I // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *IPApplyConfiguration) WithKind(value string) *IPApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *IPApplyConfiguration) WithKind(value string) *IPApplyConfiguration { // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *IPApplyConfiguration) WithAPIVersion(value string) *IPApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *IPApplyConfiguration) WithAPIVersion(value string) *IPApplyConfiguratio // If called multiple times, the Name field is set to the value of the last call. func (b *IPApplyConfiguration) WithName(value string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *IPApplyConfiguration) WithName(value string) *IPApplyConfiguration { // If called multiple times, the GenerateName field is set to the value of the last call. func (b *IPApplyConfiguration) WithGenerateName(value string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *IPApplyConfiguration) WithGenerateName(value string) *IPApplyConfigurat // If called multiple times, the Namespace field is set to the value of the last call. func (b *IPApplyConfiguration) WithNamespace(value string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *IPApplyConfiguration) WithNamespace(value string) *IPApplyConfiguration // If called multiple times, the UID field is set to the value of the last call. func (b *IPApplyConfiguration) WithUID(value types.UID) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *IPApplyConfiguration) WithUID(value types.UID) *IPApplyConfiguration { // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *IPApplyConfiguration) WithResourceVersion(value string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *IPApplyConfiguration) WithResourceVersion(value string) *IPApplyConfigu // If called multiple times, the Generation field is set to the value of the last call. func (b *IPApplyConfiguration) WithGeneration(value int64) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *IPApplyConfiguration) WithGeneration(value int64) *IPApplyConfiguration // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *IPApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *IPApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPApply // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *IPApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *IPApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPApply // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *IPApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *IPApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPAp // overwriting an existing map entries in Labels field with the same key. func (b *IPApplyConfiguration) WithLabels(entries map[string]string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *IPApplyConfiguration) WithLabels(entries map[string]string) *IPApplyCon // overwriting an existing map entries in Annotations field with the same key. func (b *IPApplyConfiguration) WithAnnotations(entries map[string]string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *IPApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceA if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *IPApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceA func (b *IPApplyConfiguration) WithFinalizers(values ...string) *IPApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *IPApplyConfiguration) WithStatus(value corev1alpha1.IPStatus) *IPApplyC // GetName retrieves the value of the Name field in the declarative configuration. func (b *IPApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/ipaddress.go b/client-go/applyconfigurations/core/v1alpha1/ipaddress.go index 04b6ea27..ad6e3c4e 100644 --- a/client-go/applyconfigurations/core/v1alpha1/ipaddress.go +++ b/client-go/applyconfigurations/core/v1alpha1/ipaddress.go @@ -71,7 +71,7 @@ func extractIPAddress(iPAddress *corev1alpha1.IPAddress, fieldManager string, su // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithKind(value string) *IPAddressApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -79,7 +79,7 @@ func (b *IPAddressApplyConfiguration) WithKind(value string) *IPAddressApplyConf // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithAPIVersion(value string) *IPAddressApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -88,7 +88,7 @@ func (b *IPAddressApplyConfiguration) WithAPIVersion(value string) *IPAddressApp // If called multiple times, the Name field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithName(value string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -97,7 +97,7 @@ func (b *IPAddressApplyConfiguration) WithName(value string) *IPAddressApplyConf // If called multiple times, the GenerateName field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithGenerateName(value string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -106,7 +106,7 @@ func (b *IPAddressApplyConfiguration) WithGenerateName(value string) *IPAddressA // If called multiple times, the Namespace field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithNamespace(value string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -115,7 +115,7 @@ func (b *IPAddressApplyConfiguration) WithNamespace(value string) *IPAddressAppl // If called multiple times, the UID field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithUID(value types.UID) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -124,7 +124,7 @@ func (b *IPAddressApplyConfiguration) WithUID(value types.UID) *IPAddressApplyCo // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithResourceVersion(value string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -133,7 +133,7 @@ func (b *IPAddressApplyConfiguration) WithResourceVersion(value string) *IPAddre // If called multiple times, the Generation field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithGeneration(value int64) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -142,7 +142,7 @@ func (b *IPAddressApplyConfiguration) WithGeneration(value int64) *IPAddressAppl // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -151,7 +151,7 @@ func (b *IPAddressApplyConfiguration) WithCreationTimestamp(value metav1.Time) * // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -160,7 +160,7 @@ func (b *IPAddressApplyConfiguration) WithDeletionTimestamp(value metav1.Time) * // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *IPAddressApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -170,11 +170,11 @@ func (b *IPAddressApplyConfiguration) WithDeletionGracePeriodSeconds(value int64 // overwriting an existing map entries in Labels field with the same key. func (b *IPAddressApplyConfiguration) WithLabels(entries map[string]string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -185,11 +185,11 @@ func (b *IPAddressApplyConfiguration) WithLabels(entries map[string]string) *IPA // overwriting an existing map entries in Annotations field with the same key. func (b *IPAddressApplyConfiguration) WithAnnotations(entries map[string]string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -203,7 +203,7 @@ func (b *IPAddressApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -214,7 +214,7 @@ func (b *IPAddressApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef func (b *IPAddressApplyConfiguration) WithFinalizers(values ...string) *IPAddressApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -236,5 +236,5 @@ func (b *IPAddressApplyConfiguration) WithSpec(value *IPAddressSpecApplyConfigur // GetName retrieves the value of the Name field in the declarative configuration. func (b *IPAddressApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/ipspec.go b/client-go/applyconfigurations/core/v1alpha1/ipspec.go index 150ab349..6abbf108 100644 --- a/client-go/applyconfigurations/core/v1alpha1/ipspec.go +++ b/client-go/applyconfigurations/core/v1alpha1/ipspec.go @@ -6,7 +6,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" net "github.com/ironcore-dev/ironcore-net/apimachinery/api/net" v1 "k8s.io/api/core/v1" ) @@ -14,7 +14,7 @@ import ( // IPSpecApplyConfiguration represents a declarative configuration of the IPSpec type for use // with apply. type IPSpecApplyConfiguration struct { - Type *v1alpha1.IPType `json:"type,omitempty"` + Type *corev1alpha1.IPType `json:"type,omitempty"` IPFamily *v1.IPFamily `json:"ipFamily,omitempty"` IP *net.IP `json:"ip,omitempty"` ClaimRef *IPClaimRefApplyConfiguration `json:"claimRef,omitempty"` @@ -29,7 +29,7 @@ func IPSpec() *IPSpecApplyConfiguration { // 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. // If called multiple times, the Type field is set to the value of the last call. -func (b *IPSpecApplyConfiguration) WithType(value v1alpha1.IPType) *IPSpecApplyConfiguration { +func (b *IPSpecApplyConfiguration) WithType(value corev1alpha1.IPType) *IPSpecApplyConfiguration { b.Type = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/loadbalancer.go b/client-go/applyconfigurations/core/v1alpha1/loadbalancer.go index e5c2ad1d..bac004af 100644 --- a/client-go/applyconfigurations/core/v1alpha1/loadbalancer.go +++ b/client-go/applyconfigurations/core/v1alpha1/loadbalancer.go @@ -74,7 +74,7 @@ func extractLoadBalancer(loadBalancer *corev1alpha1.LoadBalancer, fieldManager s // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithKind(value string) *LoadBalancerApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *LoadBalancerApplyConfiguration) WithKind(value string) *LoadBalancerApp // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithAPIVersion(value string) *LoadBalancerApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *LoadBalancerApplyConfiguration) WithAPIVersion(value string) *LoadBalan // If called multiple times, the Name field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApp // If called multiple times, the GenerateName field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithGenerateName(value string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *LoadBalancerApplyConfiguration) WithGenerateName(value string) *LoadBal // If called multiple times, the Namespace field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithNamespace(value string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *LoadBalancerApplyConfiguration) WithNamespace(value string) *LoadBalanc // If called multiple times, the UID field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithUID(value types.UID) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *LoadBalancerApplyConfiguration) WithUID(value types.UID) *LoadBalancerA // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithResourceVersion(value string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *LoadBalancerApplyConfiguration) WithResourceVersion(value string) *Load // If called multiple times, the Generation field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithGeneration(value int64) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *LoadBalancerApplyConfiguration) WithGeneration(value int64) *LoadBalanc // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *LoadBalancerApplyConfiguration) WithCreationTimestamp(value metav1.Time // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *LoadBalancerApplyConfiguration) WithDeletionTimestamp(value metav1.Time // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *LoadBalancerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *LoadBalancerApplyConfiguration) WithDeletionGracePeriodSeconds(value in // overwriting an existing map entries in Labels field with the same key. func (b *LoadBalancerApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *LoadBalancerApplyConfiguration) WithLabels(entries map[string]string) * // overwriting an existing map entries in Annotations field with the same key. func (b *LoadBalancerApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *LoadBalancerApplyConfiguration) WithOwnerReferences(values ...*v1.Owner if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *LoadBalancerApplyConfiguration) WithOwnerReferences(values ...*v1.Owner func (b *LoadBalancerApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *LoadBalancerApplyConfiguration) WithStatus(value *LoadBalancerStatusApp // GetName retrieves the value of the Name field in the declarative configuration. func (b *LoadBalancerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/loadbalancerrouting.go b/client-go/applyconfigurations/core/v1alpha1/loadbalancerrouting.go index 90c66491..a84c716c 100644 --- a/client-go/applyconfigurations/core/v1alpha1/loadbalancerrouting.go +++ b/client-go/applyconfigurations/core/v1alpha1/loadbalancerrouting.go @@ -73,7 +73,7 @@ func extractLoadBalancerRouting(loadBalancerRouting *corev1alpha1.LoadBalancerRo // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithKind(value string) *LoadBalancerRoutingApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -81,7 +81,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithKind(value string) *LoadBala // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithAPIVersion(value string) *LoadBalancerRoutingApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -90,7 +90,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithAPIVersion(value string) *Lo // If called multiple times, the Name field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithName(value string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -99,7 +99,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithName(value string) *LoadBala // If called multiple times, the GenerateName field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithGenerateName(value string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -108,7 +108,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithGenerateName(value string) * // If called multiple times, the Namespace field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithNamespace(value string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -117,7 +117,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithNamespace(value string) *Loa // If called multiple times, the UID field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithUID(value types.UID) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -126,7 +126,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithUID(value types.UID) *LoadBa // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithResourceVersion(value string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -135,7 +135,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithResourceVersion(value string // If called multiple times, the Generation field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithGeneration(value int64) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -144,7 +144,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithGeneration(value int64) *Loa // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -153,7 +153,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithCreationTimestamp(value meta // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -162,7 +162,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionTimestamp(value meta // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -172,11 +172,11 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionGracePeriodSeconds(v // overwriting an existing map entries in Labels field with the same key. func (b *LoadBalancerRoutingApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -187,11 +187,11 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithLabels(entries map[string]st // overwriting an existing map entries in Annotations field with the same key. func (b *LoadBalancerRoutingApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -205,7 +205,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithOwnerReferences(values ...*v if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -216,7 +216,7 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithOwnerReferences(values ...*v func (b *LoadBalancerRoutingApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerRoutingApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -243,5 +243,5 @@ func (b *LoadBalancerRoutingApplyConfiguration) WithDestinations(values ...*Load // GetName retrieves the value of the Name field in the declarative configuration. func (b *LoadBalancerRoutingApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/loadbalancerspec.go b/client-go/applyconfigurations/core/v1alpha1/loadbalancerspec.go index 29c6b2a5..f65213d0 100644 --- a/client-go/applyconfigurations/core/v1alpha1/loadbalancerspec.go +++ b/client-go/applyconfigurations/core/v1alpha1/loadbalancerspec.go @@ -6,7 +6,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) @@ -14,7 +14,7 @@ import ( // LoadBalancerSpecApplyConfiguration represents a declarative configuration of the LoadBalancerSpec type for use // with apply. type LoadBalancerSpecApplyConfiguration struct { - Type *v1alpha1.LoadBalancerType `json:"type,omitempty"` + Type *corev1alpha1.LoadBalancerType `json:"type,omitempty"` NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"` IPs []LoadBalancerIPApplyConfiguration `json:"ips,omitempty"` Ports []LoadBalancerPortApplyConfiguration `json:"ports,omitempty"` @@ -31,7 +31,7 @@ func LoadBalancerSpec() *LoadBalancerSpecApplyConfiguration { // 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. // If called multiple times, the Type field is set to the value of the last call. -func (b *LoadBalancerSpecApplyConfiguration) WithType(value v1alpha1.LoadBalancerType) *LoadBalancerSpecApplyConfiguration { +func (b *LoadBalancerSpecApplyConfiguration) WithType(value corev1alpha1.LoadBalancerType) *LoadBalancerSpecApplyConfiguration { b.Type = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/natgateway.go b/client-go/applyconfigurations/core/v1alpha1/natgateway.go index 8f445d95..2d5ec3bf 100644 --- a/client-go/applyconfigurations/core/v1alpha1/natgateway.go +++ b/client-go/applyconfigurations/core/v1alpha1/natgateway.go @@ -74,7 +74,7 @@ func extractNATGateway(nATGateway *corev1alpha1.NATGateway, fieldManager string, // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithKind(value string) *NATGatewayApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *NATGatewayApplyConfiguration) WithKind(value string) *NATGatewayApplyCo // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithAPIVersion(value string) *NATGatewayApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *NATGatewayApplyConfiguration) WithAPIVersion(value string) *NATGatewayA // If called multiple times, the Name field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithName(value string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *NATGatewayApplyConfiguration) WithName(value string) *NATGatewayApplyCo // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithGenerateName(value string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *NATGatewayApplyConfiguration) WithGenerateName(value string) *NATGatewa // If called multiple times, the Namespace field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithNamespace(value string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *NATGatewayApplyConfiguration) WithNamespace(value string) *NATGatewayAp // If called multiple times, the UID field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithUID(value types.UID) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *NATGatewayApplyConfiguration) WithUID(value types.UID) *NATGatewayApply // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithResourceVersion(value string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *NATGatewayApplyConfiguration) WithResourceVersion(value string) *NATGat // If called multiple times, the Generation field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithGeneration(value int64) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *NATGatewayApplyConfiguration) WithGeneration(value int64) *NATGatewayAp // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *NATGatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *NATGatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NATGatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *NATGatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int6 // overwriting an existing map entries in Labels field with the same key. func (b *NATGatewayApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *NATGatewayApplyConfiguration) WithLabels(entries map[string]string) *NA // overwriting an existing map entries in Annotations field with the same key. func (b *NATGatewayApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *NATGatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRe if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *NATGatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRe func (b *NATGatewayApplyConfiguration) WithFinalizers(values ...string) *NATGatewayApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *NATGatewayApplyConfiguration) WithStatus(value *NATGatewayStatusApplyCo // GetName retrieves the value of the Name field in the declarative configuration. func (b *NATGatewayApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/natgatewayautoscaler.go b/client-go/applyconfigurations/core/v1alpha1/natgatewayautoscaler.go index c97ab231..4d095b6e 100644 --- a/client-go/applyconfigurations/core/v1alpha1/natgatewayautoscaler.go +++ b/client-go/applyconfigurations/core/v1alpha1/natgatewayautoscaler.go @@ -74,7 +74,7 @@ func extractNATGatewayAutoscaler(nATGatewayAutoscaler *corev1alpha1.NATGatewayAu // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithKind(value string) *NATGatewayAutoscalerApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithKind(value string) *NATGate // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithAPIVersion(value string) *NATGatewayAutoscalerApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithAPIVersion(value string) *N // If called multiple times, the Name field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithName(value string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithName(value string) *NATGate // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithGenerateName(value string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithGenerateName(value string) // If called multiple times, the Namespace field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithNamespace(value string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithNamespace(value string) *NA // If called multiple times, the UID field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithUID(value types.UID) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithUID(value types.UID) *NATGa // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithResourceVersion(value string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithResourceVersion(value strin // If called multiple times, the Generation field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithGeneration(value int64) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithGeneration(value int64) *NA // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithCreationTimestamp(value met // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionTimestamp(value met // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds( // overwriting an existing map entries in Labels field with the same key. func (b *NATGatewayAutoscalerApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithLabels(entries map[string]s // overwriting an existing map entries in Annotations field with the same key. func (b *NATGatewayAutoscalerApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithOwnerReferences(values ...* if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithOwnerReferences(values ...* func (b *NATGatewayAutoscalerApplyConfiguration) WithFinalizers(values ...string) *NATGatewayAutoscalerApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *NATGatewayAutoscalerApplyConfiguration) WithStatus(value corev1alpha1.N // GetName retrieves the value of the Name field in the declarative configuration. func (b *NATGatewayAutoscalerApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/nattable.go b/client-go/applyconfigurations/core/v1alpha1/nattable.go index a43d27fb..c5eafe45 100644 --- a/client-go/applyconfigurations/core/v1alpha1/nattable.go +++ b/client-go/applyconfigurations/core/v1alpha1/nattable.go @@ -73,7 +73,7 @@ func extractNATTable(nATTable *corev1alpha1.NATTable, fieldManager string, subre // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithKind(value string) *NATTableApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -81,7 +81,7 @@ func (b *NATTableApplyConfiguration) WithKind(value string) *NATTableApplyConfig // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithAPIVersion(value string) *NATTableApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -90,7 +90,7 @@ func (b *NATTableApplyConfiguration) WithAPIVersion(value string) *NATTableApply // If called multiple times, the Name field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithName(value string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -99,7 +99,7 @@ func (b *NATTableApplyConfiguration) WithName(value string) *NATTableApplyConfig // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithGenerateName(value string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -108,7 +108,7 @@ func (b *NATTableApplyConfiguration) WithGenerateName(value string) *NATTableApp // If called multiple times, the Namespace field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithNamespace(value string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -117,7 +117,7 @@ func (b *NATTableApplyConfiguration) WithNamespace(value string) *NATTableApplyC // If called multiple times, the UID field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithUID(value types.UID) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -126,7 +126,7 @@ func (b *NATTableApplyConfiguration) WithUID(value types.UID) *NATTableApplyConf // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithResourceVersion(value string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -135,7 +135,7 @@ func (b *NATTableApplyConfiguration) WithResourceVersion(value string) *NATTable // If called multiple times, the Generation field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithGeneration(value int64) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -144,7 +144,7 @@ func (b *NATTableApplyConfiguration) WithGeneration(value int64) *NATTableApplyC // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -153,7 +153,7 @@ func (b *NATTableApplyConfiguration) WithCreationTimestamp(value metav1.Time) *N // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -162,7 +162,7 @@ func (b *NATTableApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *N // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NATTableApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -172,11 +172,11 @@ func (b *NATTableApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) // overwriting an existing map entries in Labels field with the same key. func (b *NATTableApplyConfiguration) WithLabels(entries map[string]string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -187,11 +187,11 @@ func (b *NATTableApplyConfiguration) WithLabels(entries map[string]string) *NATT // overwriting an existing map entries in Annotations field with the same key. func (b *NATTableApplyConfiguration) WithAnnotations(entries map[string]string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -205,7 +205,7 @@ func (b *NATTableApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefe if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -216,7 +216,7 @@ func (b *NATTableApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefe func (b *NATTableApplyConfiguration) WithFinalizers(values ...string) *NATTableApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -243,5 +243,5 @@ func (b *NATTableApplyConfiguration) WithIPs(values ...*NATIPApplyConfiguration) // GetName retrieves the value of the Name field in the declarative configuration. func (b *NATTableApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/network.go b/client-go/applyconfigurations/core/v1alpha1/network.go index 6a92ec3e..7652ee06 100644 --- a/client-go/applyconfigurations/core/v1alpha1/network.go +++ b/client-go/applyconfigurations/core/v1alpha1/network.go @@ -74,7 +74,7 @@ func extractNetwork(network *corev1alpha1.Network, fieldManager string, subresou // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfigur // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyCo // If called multiple times, the Name field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfigur // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApply // If called multiple times, the Namespace field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyCon // If called multiple times, the UID field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfig // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkAp // If called multiple times, the Generation field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyCon // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *Ne // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *Ne // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) // overwriting an existing map entries in Labels field with the same key. func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *Netwo // overwriting an existing map entries in Annotations field with the same key. func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefer if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRefer func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfigur // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkid.go b/client-go/applyconfigurations/core/v1alpha1/networkid.go index 11b53b3e..b972ad21 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkid.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkid.go @@ -71,7 +71,7 @@ func extractNetworkID(networkID *corev1alpha1.NetworkID, fieldManager string, su // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithKind(value string) *NetworkIDApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -79,7 +79,7 @@ func (b *NetworkIDApplyConfiguration) WithKind(value string) *NetworkIDApplyConf // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithAPIVersion(value string) *NetworkIDApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -88,7 +88,7 @@ func (b *NetworkIDApplyConfiguration) WithAPIVersion(value string) *NetworkIDApp // If called multiple times, the Name field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithName(value string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -97,7 +97,7 @@ func (b *NetworkIDApplyConfiguration) WithName(value string) *NetworkIDApplyConf // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithGenerateName(value string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -106,7 +106,7 @@ func (b *NetworkIDApplyConfiguration) WithGenerateName(value string) *NetworkIDA // If called multiple times, the Namespace field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithNamespace(value string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -115,7 +115,7 @@ func (b *NetworkIDApplyConfiguration) WithNamespace(value string) *NetworkIDAppl // If called multiple times, the UID field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithUID(value types.UID) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -124,7 +124,7 @@ func (b *NetworkIDApplyConfiguration) WithUID(value types.UID) *NetworkIDApplyCo // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithResourceVersion(value string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -133,7 +133,7 @@ func (b *NetworkIDApplyConfiguration) WithResourceVersion(value string) *Network // If called multiple times, the Generation field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithGeneration(value int64) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -142,7 +142,7 @@ func (b *NetworkIDApplyConfiguration) WithGeneration(value int64) *NetworkIDAppl // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -151,7 +151,7 @@ func (b *NetworkIDApplyConfiguration) WithCreationTimestamp(value metav1.Time) * // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -160,7 +160,7 @@ func (b *NetworkIDApplyConfiguration) WithDeletionTimestamp(value metav1.Time) * // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NetworkIDApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -170,11 +170,11 @@ func (b *NetworkIDApplyConfiguration) WithDeletionGracePeriodSeconds(value int64 // overwriting an existing map entries in Labels field with the same key. func (b *NetworkIDApplyConfiguration) WithLabels(entries map[string]string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -185,11 +185,11 @@ func (b *NetworkIDApplyConfiguration) WithLabels(entries map[string]string) *Net // overwriting an existing map entries in Annotations field with the same key. func (b *NetworkIDApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -203,7 +203,7 @@ func (b *NetworkIDApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -214,7 +214,7 @@ func (b *NetworkIDApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerRef func (b *NetworkIDApplyConfiguration) WithFinalizers(values ...string) *NetworkIDApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -236,5 +236,5 @@ func (b *NetworkIDApplyConfiguration) WithSpec(value *NetworkIDSpecApplyConfigur // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkIDApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkinterface.go b/client-go/applyconfigurations/core/v1alpha1/networkinterface.go index ef33bf45..50357027 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkinterface.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkinterface.go @@ -74,7 +74,7 @@ func extractNetworkInterface(networkInterface *corev1alpha1.NetworkInterface, fi // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithKind(value string) *NetworkInterfaceApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -82,7 +82,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithKind(value string) *NetworkInte // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithAPIVersion(value string) *NetworkInterfaceApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -91,7 +91,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithAPIVersion(value string) *Netwo // If called multiple times, the Name field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -100,7 +100,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInte // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithGenerateName(value string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -109,7 +109,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithGenerateName(value string) *Net // If called multiple times, the Namespace field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithNamespace(value string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -118,7 +118,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithNamespace(value string) *Networ // If called multiple times, the UID field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithUID(value types.UID) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -127,7 +127,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithUID(value types.UID) *NetworkIn // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithResourceVersion(value string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -136,7 +136,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithResourceVersion(value string) * // If called multiple times, the Generation field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithGeneration(value int64) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -145,7 +145,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithGeneration(value int64) *Networ // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -154,7 +154,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithCreationTimestamp(value metav1. // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -163,7 +163,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithDeletionTimestamp(value metav1. // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NetworkInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -173,11 +173,11 @@ func (b *NetworkInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds(valu // overwriting an existing map entries in Labels field with the same key. func (b *NetworkInterfaceApplyConfiguration) WithLabels(entries map[string]string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -188,11 +188,11 @@ func (b *NetworkInterfaceApplyConfiguration) WithLabels(entries map[string]strin // overwriting an existing map entries in Annotations field with the same key. func (b *NetworkInterfaceApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -206,7 +206,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithOwnerReferences(values ...*v1.O if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -217,7 +217,7 @@ func (b *NetworkInterfaceApplyConfiguration) WithOwnerReferences(values ...*v1.O func (b *NetworkInterfaceApplyConfiguration) WithFinalizers(values ...string) *NetworkInterfaceApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -247,5 +247,5 @@ func (b *NetworkInterfaceApplyConfiguration) WithStatus(value *NetworkInterfaceS // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkInterfaceApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkinterfacestatus.go b/client-go/applyconfigurations/core/v1alpha1/networkinterfacestatus.go index d2b88fcc..25d27322 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkinterfacestatus.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkinterfacestatus.go @@ -6,19 +6,19 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" net "github.com/ironcore-dev/ironcore-net/apimachinery/api/net" ) // NetworkInterfaceStatusApplyConfiguration represents a declarative configuration of the NetworkInterfaceStatus type for use // with apply. type NetworkInterfaceStatusApplyConfiguration struct { - State *v1alpha1.NetworkInterfaceState `json:"state,omitempty"` - PCIAddress *PCIAddressApplyConfiguration `json:"pciAddress,omitempty"` - TAPDevice *TAPDeviceApplyConfiguration `json:"tapDevice,omitempty"` - Prefixes []net.IPPrefix `json:"prefixes,omitempty"` - PublicIPs []net.IP `json:"publicIPs,omitempty"` - NATIPs []net.IP `json:"natIPs,omitempty"` + State *corev1alpha1.NetworkInterfaceState `json:"state,omitempty"` + PCIAddress *PCIAddressApplyConfiguration `json:"pciAddress,omitempty"` + TAPDevice *TAPDeviceApplyConfiguration `json:"tapDevice,omitempty"` + Prefixes []net.IPPrefix `json:"prefixes,omitempty"` + PublicIPs []net.IP `json:"publicIPs,omitempty"` + NATIPs []net.IP `json:"natIPs,omitempty"` } // NetworkInterfaceStatusApplyConfiguration constructs a declarative configuration of the NetworkInterfaceStatus type for use with @@ -30,7 +30,7 @@ func NetworkInterfaceStatus() *NetworkInterfaceStatusApplyConfiguration { // 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. // If called multiple times, the State field is set to the value of the last call. -func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value v1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration { +func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value corev1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration { b.State = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkpeeringstatus.go b/client-go/applyconfigurations/core/v1alpha1/networkpeeringstatus.go index ae176f60..9c1624f2 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkpeeringstatus.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkpeeringstatus.go @@ -6,14 +6,14 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" ) // NetworkPeeringStatusApplyConfiguration represents a declarative configuration of the NetworkPeeringStatus type for use // with apply. type NetworkPeeringStatusApplyConfiguration struct { - ID *int32 `json:"id,omitempty"` - State *v1alpha1.NetworkPeeringState `json:"state,omitempty"` + ID *int32 `json:"id,omitempty"` + State *corev1alpha1.NetworkPeeringState `json:"state,omitempty"` } // NetworkPeeringStatusApplyConfiguration constructs a declarative configuration of the NetworkPeeringStatus type for use with @@ -33,7 +33,7 @@ func (b *NetworkPeeringStatusApplyConfiguration) WithID(value int32) *NetworkPee // 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. // If called multiple times, the State field is set to the value of the last call. -func (b *NetworkPeeringStatusApplyConfiguration) WithState(value v1alpha1.NetworkPeeringState) *NetworkPeeringStatusApplyConfiguration { +func (b *NetworkPeeringStatusApplyConfiguration) WithState(value corev1alpha1.NetworkPeeringState) *NetworkPeeringStatusApplyConfiguration { b.State = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkpolicy.go b/client-go/applyconfigurations/core/v1alpha1/networkpolicy.go index 1560cae8..bfb502ef 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkpolicy.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkpolicy.go @@ -73,7 +73,7 @@ func extractNetworkPolicy(networkPolicy *corev1alpha1.NetworkPolicy, fieldManage // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithKind(value string) *NetworkPolicyApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -81,7 +81,7 @@ func (b *NetworkPolicyApplyConfiguration) WithKind(value string) *NetworkPolicyA // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -90,7 +90,7 @@ func (b *NetworkPolicyApplyConfiguration) WithAPIVersion(value string) *NetworkP // If called multiple times, the Name field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithName(value string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -99,7 +99,7 @@ func (b *NetworkPolicyApplyConfiguration) WithName(value string) *NetworkPolicyA // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithGenerateName(value string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -108,7 +108,7 @@ func (b *NetworkPolicyApplyConfiguration) WithGenerateName(value string) *Networ // If called multiple times, the Namespace field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithNamespace(value string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -117,7 +117,7 @@ func (b *NetworkPolicyApplyConfiguration) WithNamespace(value string) *NetworkPo // If called multiple times, the UID field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithUID(value types.UID) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -126,7 +126,7 @@ func (b *NetworkPolicyApplyConfiguration) WithUID(value types.UID) *NetworkPolic // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -135,7 +135,7 @@ func (b *NetworkPolicyApplyConfiguration) WithResourceVersion(value string) *Net // If called multiple times, the Generation field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithGeneration(value int64) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -144,7 +144,7 @@ func (b *NetworkPolicyApplyConfiguration) WithGeneration(value int64) *NetworkPo // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -153,7 +153,7 @@ func (b *NetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Tim // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -162,7 +162,7 @@ func (b *NetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Tim // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -172,11 +172,11 @@ func (b *NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value i // overwriting an existing map entries in Labels field with the same key. func (b *NetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -187,11 +187,11 @@ func (b *NetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) // overwriting an existing map entries in Annotations field with the same key. func (b *NetworkPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -205,7 +205,7 @@ func (b *NetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.Owne if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -216,7 +216,7 @@ func (b *NetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.Owne func (b *NetworkPolicyApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -238,5 +238,5 @@ func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApply // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkPolicyApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkpolicyrule.go b/client-go/applyconfigurations/core/v1alpha1/networkpolicyrule.go index 3f7e5385..b610dd87 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkpolicyrule.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkpolicyrule.go @@ -77,7 +77,7 @@ func extractNetworkPolicyRule(networkPolicyRule *corev1alpha1.NetworkPolicyRule, // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithKind(value string) *NetworkPolicyRuleApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -85,7 +85,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithKind(value string) *NetworkPol // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyRuleApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -94,7 +94,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithAPIVersion(value string) *Netw // If called multiple times, the Name field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithName(value string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -103,7 +103,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithName(value string) *NetworkPol // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithGenerateName(value string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -112,7 +112,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithGenerateName(value string) *Ne // If called multiple times, the Namespace field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithNamespace(value string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -121,7 +121,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithNamespace(value string) *Netwo // If called multiple times, the UID field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithUID(value types.UID) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -130,7 +130,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithUID(value types.UID) *NetworkP // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -139,7 +139,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithResourceVersion(value string) // If called multiple times, the Generation field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithGeneration(value int64) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -148,7 +148,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithGeneration(value int64) *Netwo // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -157,7 +157,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithCreationTimestamp(value metav1 // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -166,7 +166,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionTimestamp(value metav1 // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -176,11 +176,11 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionGracePeriodSeconds(val // overwriting an existing map entries in Labels field with the same key. func (b *NetworkPolicyRuleApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -191,11 +191,11 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithLabels(entries map[string]stri // overwriting an existing map entries in Annotations field with the same key. func (b *NetworkPolicyRuleApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -209,7 +209,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithOwnerReferences(values ...*v1. if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -220,7 +220,7 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithOwnerReferences(values ...*v1. func (b *NetworkPolicyRuleApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyRuleApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -289,5 +289,5 @@ func (b *NetworkPolicyRuleApplyConfiguration) WithEgressRules(values ...*RuleApp // GetName retrieves the value of the Name field in the declarative configuration. func (b *NetworkPolicyRuleApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/networkstatus.go b/client-go/applyconfigurations/core/v1alpha1/networkstatus.go index 4bc70e77..15095e8a 100644 --- a/client-go/applyconfigurations/core/v1alpha1/networkstatus.go +++ b/client-go/applyconfigurations/core/v1alpha1/networkstatus.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" ) // NetworkStatusApplyConfiguration represents a declarative configuration of the NetworkStatus type for use // with apply. type NetworkStatusApplyConfiguration struct { - Peerings map[string][]v1alpha1.NetworkPeeringStatus `json:"peerings,omitempty"` + Peerings map[string][]corev1alpha1.NetworkPeeringStatus `json:"peerings,omitempty"` } // NetworkStatusApplyConfiguration constructs a declarative configuration of the NetworkStatus type for use with @@ -25,9 +25,9 @@ func NetworkStatus() *NetworkStatusApplyConfiguration { // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, the entries provided by each call will be put on the Peerings field, // overwriting an existing map entries in Peerings field with the same key. -func (b *NetworkStatusApplyConfiguration) WithPeerings(entries map[string][]v1alpha1.NetworkPeeringStatus) *NetworkStatusApplyConfiguration { +func (b *NetworkStatusApplyConfiguration) WithPeerings(entries map[string][]corev1alpha1.NetworkPeeringStatus) *NetworkStatusApplyConfiguration { if b.Peerings == nil && len(entries) > 0 { - b.Peerings = make(map[string][]v1alpha1.NetworkPeeringStatus, len(entries)) + b.Peerings = make(map[string][]corev1alpha1.NetworkPeeringStatus, len(entries)) } for k, v := range entries { b.Peerings[k] = v diff --git a/client-go/applyconfigurations/core/v1alpha1/node.go b/client-go/applyconfigurations/core/v1alpha1/node.go index 9553d132..41031e73 100644 --- a/client-go/applyconfigurations/core/v1alpha1/node.go +++ b/client-go/applyconfigurations/core/v1alpha1/node.go @@ -6,7 +6,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internal "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/internal" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -19,8 +19,8 @@ import ( type NodeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` - Spec *v1alpha1.NodeSpec `json:"spec,omitempty"` - Status *v1alpha1.NodeStatus `json:"status,omitempty"` + Spec *corev1alpha1.NodeSpec `json:"spec,omitempty"` + Status *corev1alpha1.NodeStatus `json:"status,omitempty"` } // Node constructs a declarative configuration of the Node type for use with @@ -44,18 +44,18 @@ func Node(name string) *NodeApplyConfiguration { // Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously // applied if another fieldManager has updated or force applied any of the previously applied fields. // Experimental! -func ExtractNode(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error) { +func ExtractNode(node *corev1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error) { return extractNode(node, fieldManager, "") } // ExtractNodeStatus is the same as ExtractNode except // that it extracts the status subresource applied configuration. // Experimental! -func ExtractNodeStatus(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error) { +func ExtractNodeStatus(node *corev1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error) { return extractNode(node, fieldManager, "status") } -func extractNode(node *v1alpha1.Node, fieldManager string, subresource string) (*NodeApplyConfiguration, error) { +func extractNode(node *corev1alpha1.Node, fieldManager string, subresource string) (*NodeApplyConfiguration, error) { b := &NodeApplyConfiguration{} err := managedfields.ExtractInto(node, internal.Parser().Type("com.github.ironcore-dev.ironcore-net.api.core.v1alpha1.Node"), fieldManager, b, subresource) if err != nil { @@ -72,7 +72,7 @@ func extractNode(node *v1alpha1.Node, fieldManager string, subresource string) ( // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Kind field is set to the value of the last call. func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration { - b.Kind = &value + b.TypeMetaApplyConfiguration.Kind = &value return b } @@ -80,7 +80,7 @@ func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the APIVersion field is set to the value of the last call. func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration { - b.APIVersion = &value + b.TypeMetaApplyConfiguration.APIVersion = &value return b } @@ -89,7 +89,7 @@ func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfigur // If called multiple times, the Name field is set to the value of the last call. func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Name = &value + b.ObjectMetaApplyConfiguration.Name = &value return b } @@ -98,7 +98,7 @@ func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration // If called multiple times, the GenerateName field is set to the value of the last call. func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.GenerateName = &value + b.ObjectMetaApplyConfiguration.GenerateName = &value return b } @@ -107,7 +107,7 @@ func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfig // If called multiple times, the Namespace field is set to the value of the last call. func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Namespace = &value + b.ObjectMetaApplyConfiguration.Namespace = &value return b } @@ -116,7 +116,7 @@ func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfigura // If called multiple times, the UID field is set to the value of the last call. func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.UID = &value + b.ObjectMetaApplyConfiguration.UID = &value return b } @@ -125,7 +125,7 @@ func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguratio // If called multiple times, the ResourceVersion field is set to the value of the last call. func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.ResourceVersion = &value + b.ObjectMetaApplyConfiguration.ResourceVersion = &value return b } @@ -134,7 +134,7 @@ func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyCon // If called multiple times, the Generation field is set to the value of the last call. func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.Generation = &value + b.ObjectMetaApplyConfiguration.Generation = &value return b } @@ -143,7 +143,7 @@ func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfigura // If called multiple times, the CreationTimestamp field is set to the value of the last call. func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.CreationTimestamp = &value + b.ObjectMetaApplyConfiguration.CreationTimestamp = &value return b } @@ -152,7 +152,7 @@ func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeA // If called multiple times, the DeletionTimestamp field is set to the value of the last call. func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionTimestamp = &value + b.ObjectMetaApplyConfiguration.DeletionTimestamp = &value return b } @@ -161,7 +161,7 @@ func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeA // If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - b.DeletionGracePeriodSeconds = &value + b.ObjectMetaApplyConfiguration.DeletionGracePeriodSeconds = &value return b } @@ -171,11 +171,11 @@ func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *No // overwriting an existing map entries in Labels field with the same key. func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Labels == nil && len(entries) > 0 { - b.Labels = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Labels == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Labels = make(map[string]string, len(entries)) } for k, v := range entries { - b.Labels[k] = v + b.ObjectMetaApplyConfiguration.Labels[k] = v } return b } @@ -186,11 +186,11 @@ func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeAppl // overwriting an existing map entries in Annotations field with the same key. func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() - if b.Annotations == nil && len(entries) > 0 { - b.Annotations = make(map[string]string, len(entries)) + if b.ObjectMetaApplyConfiguration.Annotations == nil && len(entries) > 0 { + b.ObjectMetaApplyConfiguration.Annotations = make(map[string]string, len(entries)) } for k, v := range entries { - b.Annotations[k] = v + b.ObjectMetaApplyConfiguration.Annotations[k] = v } return b } @@ -204,7 +204,7 @@ func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenc if values[i] == nil { panic("nil value passed to WithOwnerReferences") } - b.OwnerReferences = append(b.OwnerReferences, *values[i]) + b.ObjectMetaApplyConfiguration.OwnerReferences = append(b.ObjectMetaApplyConfiguration.OwnerReferences, *values[i]) } return b } @@ -215,7 +215,7 @@ func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenc func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration { b.ensureObjectMetaApplyConfigurationExists() for i := range values { - b.Finalizers = append(b.Finalizers, values[i]) + b.ObjectMetaApplyConfiguration.Finalizers = append(b.ObjectMetaApplyConfiguration.Finalizers, values[i]) } return b } @@ -229,7 +229,7 @@ func (b *NodeApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { // WithSpec sets the Spec field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Spec field is set to the value of the last call. -func (b *NodeApplyConfiguration) WithSpec(value v1alpha1.NodeSpec) *NodeApplyConfiguration { +func (b *NodeApplyConfiguration) WithSpec(value corev1alpha1.NodeSpec) *NodeApplyConfiguration { b.Spec = &value return b } @@ -237,7 +237,7 @@ func (b *NodeApplyConfiguration) WithSpec(value v1alpha1.NodeSpec) *NodeApplyCon // 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. // If called multiple times, the Status field is set to the value of the last call. -func (b *NodeApplyConfiguration) WithStatus(value v1alpha1.NodeStatus) *NodeApplyConfiguration { +func (b *NodeApplyConfiguration) WithStatus(value corev1alpha1.NodeStatus) *NodeApplyConfiguration { b.Status = &value return b } @@ -245,5 +245,5 @@ func (b *NodeApplyConfiguration) WithStatus(value v1alpha1.NodeStatus) *NodeAppl // GetName retrieves the value of the Name field in the declarative configuration. func (b *NodeApplyConfiguration) GetName() *string { b.ensureObjectMetaApplyConfigurationExists() - return b.Name + return b.ObjectMetaApplyConfiguration.Name } diff --git a/client-go/applyconfigurations/core/v1alpha1/nodeselectorrequirement.go b/client-go/applyconfigurations/core/v1alpha1/nodeselectorrequirement.go index e742d9c3..2b63bf62 100644 --- a/client-go/applyconfigurations/core/v1alpha1/nodeselectorrequirement.go +++ b/client-go/applyconfigurations/core/v1alpha1/nodeselectorrequirement.go @@ -6,15 +6,15 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" ) // NodeSelectorRequirementApplyConfiguration represents a declarative configuration of the NodeSelectorRequirement type for use // with apply. type NodeSelectorRequirementApplyConfiguration struct { - Key *string `json:"key,omitempty"` - Operator *v1alpha1.NodeSelectorOperator `json:"operator,omitempty"` - Values []string `json:"values,omitempty"` + Key *string `json:"key,omitempty"` + Operator *corev1alpha1.NodeSelectorOperator `json:"operator,omitempty"` + Values []string `json:"values,omitempty"` } // NodeSelectorRequirementApplyConfiguration constructs a declarative configuration of the NodeSelectorRequirement type for use with @@ -34,7 +34,7 @@ func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeS // WithOperator sets the Operator field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Operator field is set to the value of the last call. -func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1alpha1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration { +func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value corev1alpha1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration { b.Operator = &value return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/objectselector.go b/client-go/applyconfigurations/core/v1alpha1/objectselector.go index 4c0e609c..d72c9a72 100644 --- a/client-go/applyconfigurations/core/v1alpha1/objectselector.go +++ b/client-go/applyconfigurations/core/v1alpha1/objectselector.go @@ -35,11 +35,11 @@ func (b *ObjectSelectorApplyConfiguration) WithKind(value string) *ObjectSelecto // If called multiple times, the entries provided by each call will be put on the MatchLabels field, // overwriting an existing map entries in MatchLabels field with the same key. func (b *ObjectSelectorApplyConfiguration) WithMatchLabels(entries map[string]string) *ObjectSelectorApplyConfiguration { - if b.MatchLabels == nil && len(entries) > 0 { - b.MatchLabels = make(map[string]string, len(entries)) + if b.LabelSelectorApplyConfiguration.MatchLabels == nil && len(entries) > 0 { + b.LabelSelectorApplyConfiguration.MatchLabels = make(map[string]string, len(entries)) } for k, v := range entries { - b.MatchLabels[k] = v + b.LabelSelectorApplyConfiguration.MatchLabels[k] = v } return b } @@ -52,7 +52,7 @@ func (b *ObjectSelectorApplyConfiguration) WithMatchExpressions(values ...*v1.La if values[i] == nil { panic("nil value passed to WithMatchExpressions") } - b.MatchExpressions = append(b.MatchExpressions, *values[i]) + b.LabelSelectorApplyConfiguration.MatchExpressions = append(b.LabelSelectorApplyConfiguration.MatchExpressions, *values[i]) } return b } diff --git a/client-go/applyconfigurations/core/v1alpha1/topologyspreadconstraint.go b/client-go/applyconfigurations/core/v1alpha1/topologyspreadconstraint.go index c4918c17..e1f53682 100644 --- a/client-go/applyconfigurations/core/v1alpha1/topologyspreadconstraint.go +++ b/client-go/applyconfigurations/core/v1alpha1/topologyspreadconstraint.go @@ -6,17 +6,17 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" v1 "k8s.io/client-go/applyconfigurations/meta/v1" ) // TopologySpreadConstraintApplyConfiguration represents a declarative configuration of the TopologySpreadConstraint type for use // with apply. type TopologySpreadConstraintApplyConfiguration struct { - MaxSkew *int32 `json:"maxSkew,omitempty"` - TopologyKey *string `json:"topologyKey,omitempty"` - WhenUnsatisfiable *v1alpha1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"` - LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"` + MaxSkew *int32 `json:"maxSkew,omitempty"` + TopologyKey *string `json:"topologyKey,omitempty"` + WhenUnsatisfiable *corev1alpha1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"` + LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"` } // TopologySpreadConstraintApplyConfiguration constructs a declarative configuration of the TopologySpreadConstraint type for use with @@ -44,7 +44,7 @@ func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value strin // WithWhenUnsatisfiable sets the WhenUnsatisfiable field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the WhenUnsatisfiable field is set to the value of the last call. -func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1alpha1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration { +func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value corev1alpha1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration { b.WhenUnsatisfiable = &value return b } diff --git a/client-go/applyconfigurations/internal/internal.go b/client-go/applyconfigurations/internal/internal.go index 5d5e367a..975bde42 100644 --- a/client-go/applyconfigurations/internal/internal.go +++ b/client-go/applyconfigurations/internal/internal.go @@ -6,8 +6,8 @@ package internal import ( - "fmt" - "sync" + fmt "fmt" + sync "sync" typed "sigs.k8s.io/structured-merge-diff/v4/typed" ) diff --git a/client-go/informers/externalversions/core/v1alpha1/daemonset.go b/client-go/informers/externalversions/core/v1alpha1/daemonset.go index 8491b955..9ce91474 100644 --- a/client-go/informers/externalversions/core/v1alpha1/daemonset.go +++ b/client-go/informers/externalversions/core/v1alpha1/daemonset.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // DaemonSets. type DaemonSetInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.DaemonSetLister + Lister() corev1alpha1.DaemonSetLister } type daemonSetInformer struct { @@ -58,7 +58,7 @@ func NewFilteredDaemonSetInformer(client versioned.Interface, namespace string, return client.CoreV1alpha1().DaemonSets(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.DaemonSet{}, + &apicorev1alpha1.DaemonSet{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *daemonSetInformer) defaultInformer(client versioned.Interface, resyncPe } func (f *daemonSetInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.DaemonSet{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.DaemonSet{}, f.defaultInformer) } -func (f *daemonSetInformer) Lister() v1alpha1.DaemonSetLister { - return v1alpha1.NewDaemonSetLister(f.Informer().GetIndexer()) +func (f *daemonSetInformer) Lister() corev1alpha1.DaemonSetLister { + return corev1alpha1.NewDaemonSetLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/instance.go b/client-go/informers/externalversions/core/v1alpha1/instance.go index 034ae7ee..fcdda76d 100644 --- a/client-go/informers/externalversions/core/v1alpha1/instance.go +++ b/client-go/informers/externalversions/core/v1alpha1/instance.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // Instances. type InstanceInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.InstanceLister + Lister() corev1alpha1.InstanceLister } type instanceInformer struct { @@ -58,7 +58,7 @@ func NewFilteredInstanceInformer(client versioned.Interface, namespace string, r return client.CoreV1alpha1().Instances(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.Instance{}, + &apicorev1alpha1.Instance{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *instanceInformer) defaultInformer(client versioned.Interface, resyncPer } func (f *instanceInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.Instance{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.Instance{}, f.defaultInformer) } -func (f *instanceInformer) Lister() v1alpha1.InstanceLister { - return v1alpha1.NewInstanceLister(f.Informer().GetIndexer()) +func (f *instanceInformer) Lister() corev1alpha1.InstanceLister { + return corev1alpha1.NewInstanceLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/ip.go b/client-go/informers/externalversions/core/v1alpha1/ip.go index 3ddfddc1..b5817a3f 100644 --- a/client-go/informers/externalversions/core/v1alpha1/ip.go +++ b/client-go/informers/externalversions/core/v1alpha1/ip.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // IPs. type IPInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.IPLister + Lister() corev1alpha1.IPLister } type iPInformer struct { @@ -58,7 +58,7 @@ func NewFilteredIPInformer(client versioned.Interface, namespace string, resyncP return client.CoreV1alpha1().IPs(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.IP{}, + &apicorev1alpha1.IP{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *iPInformer) defaultInformer(client versioned.Interface, resyncPeriod ti } func (f *iPInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.IP{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.IP{}, f.defaultInformer) } -func (f *iPInformer) Lister() v1alpha1.IPLister { - return v1alpha1.NewIPLister(f.Informer().GetIndexer()) +func (f *iPInformer) Lister() corev1alpha1.IPLister { + return corev1alpha1.NewIPLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/ipaddress.go b/client-go/informers/externalversions/core/v1alpha1/ipaddress.go index 5e39918e..0233afb9 100644 --- a/client-go/informers/externalversions/core/v1alpha1/ipaddress.go +++ b/client-go/informers/externalversions/core/v1alpha1/ipaddress.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // IPAddresses. type IPAddressInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.IPAddressLister + Lister() corev1alpha1.IPAddressLister } type iPAddressInformer struct { @@ -57,7 +57,7 @@ func NewFilteredIPAddressInformer(client versioned.Interface, resyncPeriod time. return client.CoreV1alpha1().IPAddresses().Watch(context.TODO(), options) }, }, - &corev1alpha1.IPAddress{}, + &apicorev1alpha1.IPAddress{}, resyncPeriod, indexers, ) @@ -68,9 +68,9 @@ func (f *iPAddressInformer) defaultInformer(client versioned.Interface, resyncPe } func (f *iPAddressInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.IPAddress{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.IPAddress{}, f.defaultInformer) } -func (f *iPAddressInformer) Lister() v1alpha1.IPAddressLister { - return v1alpha1.NewIPAddressLister(f.Informer().GetIndexer()) +func (f *iPAddressInformer) Lister() corev1alpha1.IPAddressLister { + return corev1alpha1.NewIPAddressLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/loadbalancer.go b/client-go/informers/externalversions/core/v1alpha1/loadbalancer.go index f7e8c83d..c42d3df1 100644 --- a/client-go/informers/externalversions/core/v1alpha1/loadbalancer.go +++ b/client-go/informers/externalversions/core/v1alpha1/loadbalancer.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // LoadBalancers. type LoadBalancerInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.LoadBalancerLister + Lister() corev1alpha1.LoadBalancerLister } type loadBalancerInformer struct { @@ -58,7 +58,7 @@ func NewFilteredLoadBalancerInformer(client versioned.Interface, namespace strin return client.CoreV1alpha1().LoadBalancers(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.LoadBalancer{}, + &apicorev1alpha1.LoadBalancer{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *loadBalancerInformer) defaultInformer(client versioned.Interface, resyn } func (f *loadBalancerInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.LoadBalancer{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.LoadBalancer{}, f.defaultInformer) } -func (f *loadBalancerInformer) Lister() v1alpha1.LoadBalancerLister { - return v1alpha1.NewLoadBalancerLister(f.Informer().GetIndexer()) +func (f *loadBalancerInformer) Lister() corev1alpha1.LoadBalancerLister { + return corev1alpha1.NewLoadBalancerLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/loadbalancerrouting.go b/client-go/informers/externalversions/core/v1alpha1/loadbalancerrouting.go index e94bf547..d0d8b697 100644 --- a/client-go/informers/externalversions/core/v1alpha1/loadbalancerrouting.go +++ b/client-go/informers/externalversions/core/v1alpha1/loadbalancerrouting.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // LoadBalancerRoutings. type LoadBalancerRoutingInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.LoadBalancerRoutingLister + Lister() corev1alpha1.LoadBalancerRoutingLister } type loadBalancerRoutingInformer struct { @@ -58,7 +58,7 @@ func NewFilteredLoadBalancerRoutingInformer(client versioned.Interface, namespac return client.CoreV1alpha1().LoadBalancerRoutings(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.LoadBalancerRouting{}, + &apicorev1alpha1.LoadBalancerRouting{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *loadBalancerRoutingInformer) defaultInformer(client versioned.Interface } func (f *loadBalancerRoutingInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.LoadBalancerRouting{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.LoadBalancerRouting{}, f.defaultInformer) } -func (f *loadBalancerRoutingInformer) Lister() v1alpha1.LoadBalancerRoutingLister { - return v1alpha1.NewLoadBalancerRoutingLister(f.Informer().GetIndexer()) +func (f *loadBalancerRoutingInformer) Lister() corev1alpha1.LoadBalancerRoutingLister { + return corev1alpha1.NewLoadBalancerRoutingLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/natgateway.go b/client-go/informers/externalversions/core/v1alpha1/natgateway.go index b218d2fc..4927cea3 100644 --- a/client-go/informers/externalversions/core/v1alpha1/natgateway.go +++ b/client-go/informers/externalversions/core/v1alpha1/natgateway.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NATGateways. type NATGatewayInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NATGatewayLister + Lister() corev1alpha1.NATGatewayLister } type nATGatewayInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNATGatewayInformer(client versioned.Interface, namespace string, return client.CoreV1alpha1().NATGateways(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NATGateway{}, + &apicorev1alpha1.NATGateway{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *nATGatewayInformer) defaultInformer(client versioned.Interface, resyncP } func (f *nATGatewayInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NATGateway{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NATGateway{}, f.defaultInformer) } -func (f *nATGatewayInformer) Lister() v1alpha1.NATGatewayLister { - return v1alpha1.NewNATGatewayLister(f.Informer().GetIndexer()) +func (f *nATGatewayInformer) Lister() corev1alpha1.NATGatewayLister { + return corev1alpha1.NewNATGatewayLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/natgatewayautoscaler.go b/client-go/informers/externalversions/core/v1alpha1/natgatewayautoscaler.go index 2f6a6fe9..8b9d3fa8 100644 --- a/client-go/informers/externalversions/core/v1alpha1/natgatewayautoscaler.go +++ b/client-go/informers/externalversions/core/v1alpha1/natgatewayautoscaler.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NATGatewayAutoscalers. type NATGatewayAutoscalerInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NATGatewayAutoscalerLister + Lister() corev1alpha1.NATGatewayAutoscalerLister } type nATGatewayAutoscalerInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNATGatewayAutoscalerInformer(client versioned.Interface, namespa return client.CoreV1alpha1().NATGatewayAutoscalers(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NATGatewayAutoscaler{}, + &apicorev1alpha1.NATGatewayAutoscaler{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *nATGatewayAutoscalerInformer) defaultInformer(client versioned.Interfac } func (f *nATGatewayAutoscalerInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NATGatewayAutoscaler{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NATGatewayAutoscaler{}, f.defaultInformer) } -func (f *nATGatewayAutoscalerInformer) Lister() v1alpha1.NATGatewayAutoscalerLister { - return v1alpha1.NewNATGatewayAutoscalerLister(f.Informer().GetIndexer()) +func (f *nATGatewayAutoscalerInformer) Lister() corev1alpha1.NATGatewayAutoscalerLister { + return corev1alpha1.NewNATGatewayAutoscalerLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/nattable.go b/client-go/informers/externalversions/core/v1alpha1/nattable.go index d290692b..92fe10a5 100644 --- a/client-go/informers/externalversions/core/v1alpha1/nattable.go +++ b/client-go/informers/externalversions/core/v1alpha1/nattable.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NATTables. type NATTableInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NATTableLister + Lister() corev1alpha1.NATTableLister } type nATTableInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNATTableInformer(client versioned.Interface, namespace string, r return client.CoreV1alpha1().NATTables(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NATTable{}, + &apicorev1alpha1.NATTable{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *nATTableInformer) defaultInformer(client versioned.Interface, resyncPer } func (f *nATTableInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NATTable{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NATTable{}, f.defaultInformer) } -func (f *nATTableInformer) Lister() v1alpha1.NATTableLister { - return v1alpha1.NewNATTableLister(f.Informer().GetIndexer()) +func (f *nATTableInformer) Lister() corev1alpha1.NATTableLister { + return corev1alpha1.NewNATTableLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/network.go b/client-go/informers/externalversions/core/v1alpha1/network.go index 36ce7fdb..94508146 100644 --- a/client-go/informers/externalversions/core/v1alpha1/network.go +++ b/client-go/informers/externalversions/core/v1alpha1/network.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // Networks. type NetworkInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NetworkLister + Lister() corev1alpha1.NetworkLister } type networkInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNetworkInformer(client versioned.Interface, namespace string, re return client.CoreV1alpha1().Networks(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.Network{}, + &apicorev1alpha1.Network{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *networkInformer) defaultInformer(client versioned.Interface, resyncPeri } func (f *networkInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.Network{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.Network{}, f.defaultInformer) } -func (f *networkInformer) Lister() v1alpha1.NetworkLister { - return v1alpha1.NewNetworkLister(f.Informer().GetIndexer()) +func (f *networkInformer) Lister() corev1alpha1.NetworkLister { + return corev1alpha1.NewNetworkLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/networkid.go b/client-go/informers/externalversions/core/v1alpha1/networkid.go index 3d3e015c..15a61648 100644 --- a/client-go/informers/externalversions/core/v1alpha1/networkid.go +++ b/client-go/informers/externalversions/core/v1alpha1/networkid.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NetworkIDs. type NetworkIDInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NetworkIDLister + Lister() corev1alpha1.NetworkIDLister } type networkIDInformer struct { @@ -57,7 +57,7 @@ func NewFilteredNetworkIDInformer(client versioned.Interface, resyncPeriod time. return client.CoreV1alpha1().NetworkIDs().Watch(context.TODO(), options) }, }, - &corev1alpha1.NetworkID{}, + &apicorev1alpha1.NetworkID{}, resyncPeriod, indexers, ) @@ -68,9 +68,9 @@ func (f *networkIDInformer) defaultInformer(client versioned.Interface, resyncPe } func (f *networkIDInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NetworkID{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NetworkID{}, f.defaultInformer) } -func (f *networkIDInformer) Lister() v1alpha1.NetworkIDLister { - return v1alpha1.NewNetworkIDLister(f.Informer().GetIndexer()) +func (f *networkIDInformer) Lister() corev1alpha1.NetworkIDLister { + return corev1alpha1.NewNetworkIDLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/networkinterface.go b/client-go/informers/externalversions/core/v1alpha1/networkinterface.go index 85ce1d26..c46f0dae 100644 --- a/client-go/informers/externalversions/core/v1alpha1/networkinterface.go +++ b/client-go/informers/externalversions/core/v1alpha1/networkinterface.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NetworkInterfaces. type NetworkInterfaceInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NetworkInterfaceLister + Lister() corev1alpha1.NetworkInterfaceLister } type networkInterfaceInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNetworkInterfaceInformer(client versioned.Interface, namespace s return client.CoreV1alpha1().NetworkInterfaces(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NetworkInterface{}, + &apicorev1alpha1.NetworkInterface{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *networkInterfaceInformer) defaultInformer(client versioned.Interface, r } func (f *networkInterfaceInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NetworkInterface{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NetworkInterface{}, f.defaultInformer) } -func (f *networkInterfaceInformer) Lister() v1alpha1.NetworkInterfaceLister { - return v1alpha1.NewNetworkInterfaceLister(f.Informer().GetIndexer()) +func (f *networkInterfaceInformer) Lister() corev1alpha1.NetworkInterfaceLister { + return corev1alpha1.NewNetworkInterfaceLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/networkpolicy.go b/client-go/informers/externalversions/core/v1alpha1/networkpolicy.go index abec02c1..f43a23de 100644 --- a/client-go/informers/externalversions/core/v1alpha1/networkpolicy.go +++ b/client-go/informers/externalversions/core/v1alpha1/networkpolicy.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NetworkPolicies. type NetworkPolicyInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NetworkPolicyLister + Lister() corev1alpha1.NetworkPolicyLister } type networkPolicyInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNetworkPolicyInformer(client versioned.Interface, namespace stri return client.CoreV1alpha1().NetworkPolicies(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NetworkPolicy{}, + &apicorev1alpha1.NetworkPolicy{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *networkPolicyInformer) defaultInformer(client versioned.Interface, resy } func (f *networkPolicyInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NetworkPolicy{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NetworkPolicy{}, f.defaultInformer) } -func (f *networkPolicyInformer) Lister() v1alpha1.NetworkPolicyLister { - return v1alpha1.NewNetworkPolicyLister(f.Informer().GetIndexer()) +func (f *networkPolicyInformer) Lister() corev1alpha1.NetworkPolicyLister { + return corev1alpha1.NewNetworkPolicyLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/networkpolicyrule.go b/client-go/informers/externalversions/core/v1alpha1/networkpolicyrule.go index 09d925dd..c72f32a9 100644 --- a/client-go/informers/externalversions/core/v1alpha1/networkpolicyrule.go +++ b/client-go/informers/externalversions/core/v1alpha1/networkpolicyrule.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // NetworkPolicyRules. type NetworkPolicyRuleInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NetworkPolicyRuleLister + Lister() corev1alpha1.NetworkPolicyRuleLister } type networkPolicyRuleInformer struct { @@ -58,7 +58,7 @@ func NewFilteredNetworkPolicyRuleInformer(client versioned.Interface, namespace return client.CoreV1alpha1().NetworkPolicyRules(namespace).Watch(context.TODO(), options) }, }, - &corev1alpha1.NetworkPolicyRule{}, + &apicorev1alpha1.NetworkPolicyRule{}, resyncPeriod, indexers, ) @@ -69,9 +69,9 @@ func (f *networkPolicyRuleInformer) defaultInformer(client versioned.Interface, } func (f *networkPolicyRuleInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.NetworkPolicyRule{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.NetworkPolicyRule{}, f.defaultInformer) } -func (f *networkPolicyRuleInformer) Lister() v1alpha1.NetworkPolicyRuleLister { - return v1alpha1.NewNetworkPolicyRuleLister(f.Informer().GetIndexer()) +func (f *networkPolicyRuleInformer) Lister() corev1alpha1.NetworkPolicyRuleLister { + return corev1alpha1.NewNetworkPolicyRuleLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/core/v1alpha1/node.go b/client-go/informers/externalversions/core/v1alpha1/node.go index a9ebbac6..7a03d89f 100644 --- a/client-go/informers/externalversions/core/v1alpha1/node.go +++ b/client-go/informers/externalversions/core/v1alpha1/node.go @@ -6,13 +6,13 @@ package v1alpha1 import ( - "context" + context "context" time "time" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + apicorev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" internalinterfaces "github.com/ironcore-dev/ironcore-net/client-go/informers/externalversions/internalinterfaces" versioned "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned" - v1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/listers/core/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" @@ -23,7 +23,7 @@ import ( // Nodes. type NodeInformer interface { Informer() cache.SharedIndexInformer - Lister() v1alpha1.NodeLister + Lister() corev1alpha1.NodeLister } type nodeInformer struct { @@ -57,7 +57,7 @@ func NewFilteredNodeInformer(client versioned.Interface, resyncPeriod time.Durat return client.CoreV1alpha1().Nodes().Watch(context.TODO(), options) }, }, - &corev1alpha1.Node{}, + &apicorev1alpha1.Node{}, resyncPeriod, indexers, ) @@ -68,9 +68,9 @@ func (f *nodeInformer) defaultInformer(client versioned.Interface, resyncPeriod } func (f *nodeInformer) Informer() cache.SharedIndexInformer { - return f.factory.InformerFor(&corev1alpha1.Node{}, f.defaultInformer) + return f.factory.InformerFor(&apicorev1alpha1.Node{}, f.defaultInformer) } -func (f *nodeInformer) Lister() v1alpha1.NodeLister { - return v1alpha1.NewNodeLister(f.Informer().GetIndexer()) +func (f *nodeInformer) Lister() corev1alpha1.NodeLister { + return corev1alpha1.NewNodeLister(f.Informer().GetIndexer()) } diff --git a/client-go/informers/externalversions/generic.go b/client-go/informers/externalversions/generic.go index 37e32d0a..f46fff33 100644 --- a/client-go/informers/externalversions/generic.go +++ b/client-go/informers/externalversions/generic.go @@ -6,7 +6,7 @@ package externalversions import ( - "fmt" + fmt "fmt" v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/client-go/ironcorenet/versioned/clientset.go b/client-go/ironcorenet/versioned/clientset.go index cd5de2da..718ac877 100644 --- a/client-go/ironcorenet/versioned/clientset.go +++ b/client-go/ironcorenet/versioned/clientset.go @@ -6,8 +6,8 @@ package versioned import ( - "fmt" - "net/http" + fmt "fmt" + http "net/http" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" discovery "k8s.io/client-go/discovery" diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/core_client.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/core_client.go index a136dcb7..e5ebeb3f 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/core_client.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/core_client.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "net/http" + http "net/http" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" rest "k8s.io/client-go/rest" ) @@ -142,10 +142,10 @@ func New(c rest.Interface) *CoreV1alpha1Client { } func setConfigDefaults(config *rest.Config) error { - gv := v1alpha1.SchemeGroupVersion + gv := corev1alpha1.SchemeGroupVersion config.GroupVersion = &gv config.APIPath = "/apis" - config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() + config.NegotiatedSerializer = rest.CodecFactoryForGeneratedClient(scheme.Scheme, scheme.Codecs).WithoutConversion() if config.UserAgent == "" { config.UserAgent = rest.DefaultKubernetesUserAgent() diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/daemonset.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/daemonset.go index 8a45758c..00994d57 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/daemonset.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/daemonset.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type DaemonSetsGetter interface { // DaemonSetInterface has methods to work with DaemonSet resources. type DaemonSetInterface interface { - Create(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.CreateOptions) (*v1alpha1.DaemonSet, error) - Update(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (*v1alpha1.DaemonSet, error) + Create(ctx context.Context, daemonSet *corev1alpha1.DaemonSet, opts v1.CreateOptions) (*corev1alpha1.DaemonSet, error) + Update(ctx context.Context, daemonSet *corev1alpha1.DaemonSet, opts v1.UpdateOptions) (*corev1alpha1.DaemonSet, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (*v1alpha1.DaemonSet, error) + UpdateStatus(ctx context.Context, daemonSet *corev1alpha1.DaemonSet, opts v1.UpdateOptions) (*corev1alpha1.DaemonSet, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.DaemonSet, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DaemonSetList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.DaemonSet, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.DaemonSetList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DaemonSet, err error) - Apply(ctx context.Context, daemonSet *corev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DaemonSet, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.DaemonSet, err error) + Apply(ctx context.Context, daemonSet *applyconfigurationscorev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.DaemonSet, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, daemonSet *corev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DaemonSet, err error) + ApplyStatus(ctx context.Context, daemonSet *applyconfigurationscorev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.DaemonSet, err error) DaemonSetExpansion } // daemonSets implements DaemonSetInterface type daemonSets struct { - *gentype.ClientWithListAndApply[*v1alpha1.DaemonSet, *v1alpha1.DaemonSetList, *corev1alpha1.DaemonSetApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.DaemonSet, *corev1alpha1.DaemonSetList, *applyconfigurationscorev1alpha1.DaemonSetApplyConfiguration] } // newDaemonSets returns a DaemonSets func newDaemonSets(c *CoreV1alpha1Client, namespace string) *daemonSets { return &daemonSets{ - gentype.NewClientWithListAndApply[*v1alpha1.DaemonSet, *v1alpha1.DaemonSetList, *corev1alpha1.DaemonSetApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.DaemonSet, *corev1alpha1.DaemonSetList, *applyconfigurationscorev1alpha1.DaemonSetApplyConfiguration]( "daemonsets", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.DaemonSet { return &v1alpha1.DaemonSet{} }, - func() *v1alpha1.DaemonSetList { return &v1alpha1.DaemonSetList{} }), + func() *corev1alpha1.DaemonSet { return &corev1alpha1.DaemonSet{} }, + func() *corev1alpha1.DaemonSetList { return &corev1alpha1.DaemonSetList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_core_client.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_core_client.go index b0692164..39a19618 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_core_client.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_core_client.go @@ -16,63 +16,63 @@ type FakeCoreV1alpha1 struct { } func (c *FakeCoreV1alpha1) DaemonSets(namespace string) v1alpha1.DaemonSetInterface { - return &FakeDaemonSets{c, namespace} + return newFakeDaemonSets(c, namespace) } func (c *FakeCoreV1alpha1) IPs(namespace string) v1alpha1.IPInterface { - return &FakeIPs{c, namespace} + return newFakeIPs(c, namespace) } func (c *FakeCoreV1alpha1) IPAddresses() v1alpha1.IPAddressInterface { - return &FakeIPAddresses{c} + return newFakeIPAddresses(c) } func (c *FakeCoreV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface { - return &FakeInstances{c, namespace} + return newFakeInstances(c, namespace) } func (c *FakeCoreV1alpha1) LoadBalancers(namespace string) v1alpha1.LoadBalancerInterface { - return &FakeLoadBalancers{c, namespace} + return newFakeLoadBalancers(c, namespace) } func (c *FakeCoreV1alpha1) LoadBalancerRoutings(namespace string) v1alpha1.LoadBalancerRoutingInterface { - return &FakeLoadBalancerRoutings{c, namespace} + return newFakeLoadBalancerRoutings(c, namespace) } func (c *FakeCoreV1alpha1) NATGateways(namespace string) v1alpha1.NATGatewayInterface { - return &FakeNATGateways{c, namespace} + return newFakeNATGateways(c, namespace) } func (c *FakeCoreV1alpha1) NATGatewayAutoscalers(namespace string) v1alpha1.NATGatewayAutoscalerInterface { - return &FakeNATGatewayAutoscalers{c, namespace} + return newFakeNATGatewayAutoscalers(c, namespace) } func (c *FakeCoreV1alpha1) NATTables(namespace string) v1alpha1.NATTableInterface { - return &FakeNATTables{c, namespace} + return newFakeNATTables(c, namespace) } func (c *FakeCoreV1alpha1) Networks(namespace string) v1alpha1.NetworkInterface { - return &FakeNetworks{c, namespace} + return newFakeNetworks(c, namespace) } func (c *FakeCoreV1alpha1) NetworkIDs() v1alpha1.NetworkIDInterface { - return &FakeNetworkIDs{c} + return newFakeNetworkIDs(c) } func (c *FakeCoreV1alpha1) NetworkInterfaces(namespace string) v1alpha1.NetworkInterfaceInterface { - return &FakeNetworkInterfaces{c, namespace} + return newFakeNetworkInterfaces(c, namespace) } func (c *FakeCoreV1alpha1) NetworkPolicies(namespace string) v1alpha1.NetworkPolicyInterface { - return &FakeNetworkPolicies{c, namespace} + return newFakeNetworkPolicies(c, namespace) } func (c *FakeCoreV1alpha1) NetworkPolicyRules(namespace string) v1alpha1.NetworkPolicyRuleInterface { - return &FakeNetworkPolicyRules{c, namespace} + return newFakeNetworkPolicyRules(c, namespace) } func (c *FakeCoreV1alpha1) Nodes() v1alpha1.NodeInterface { - return &FakeNodes{c} + return newFakeNodes(c) } // RESTClient returns a RESTClient that is used to communicate diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_daemonset.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_daemonset.go index 07c50633..23aa620f 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_daemonset.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_daemonset.go @@ -6,179 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeDaemonSets implements DaemonSetInterface -type FakeDaemonSets struct { +// fakeDaemonSets implements DaemonSetInterface +type fakeDaemonSets struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.DaemonSet, *v1alpha1.DaemonSetList, *corev1alpha1.DaemonSetApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var daemonsetsResource = v1alpha1.SchemeGroupVersion.WithResource("daemonsets") - -var daemonsetsKind = v1alpha1.SchemeGroupVersion.WithKind("DaemonSet") - -// Get takes name of the daemonSet, and returns the corresponding daemonSet object, and an error if there is any. -func (c *FakeDaemonSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DaemonSet, err error) { - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(daemonsetsResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err -} - -// List takes label and field selectors, and returns the list of DaemonSets that match those selectors. -func (c *FakeDaemonSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DaemonSetList, err error) { - emptyResult := &v1alpha1.DaemonSetList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(daemonsetsResource, daemonsetsKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.DaemonSetList{ListMeta: obj.(*v1alpha1.DaemonSetList).ListMeta} - for _, item := range obj.(*v1alpha1.DaemonSetList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested daemonSets. -func (c *FakeDaemonSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(daemonsetsResource, c.ns, opts)) - -} - -// Create takes the representation of a daemonSet and creates it. Returns the server's representation of the daemonSet, and an error, if there is any. -func (c *FakeDaemonSets) Create(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.CreateOptions) (result *v1alpha1.DaemonSet, err error) { - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(daemonsetsResource, c.ns, daemonSet, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err -} - -// Update takes the representation of a daemonSet and updates it. Returns the server's representation of the daemonSet, and an error, if there is any. -func (c *FakeDaemonSets) Update(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (result *v1alpha1.DaemonSet, err error) { - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(daemonsetsResource, c.ns, daemonSet, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeDaemonSets) UpdateStatus(ctx context.Context, daemonSet *v1alpha1.DaemonSet, opts v1.UpdateOptions) (result *v1alpha1.DaemonSet, err error) { - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(daemonsetsResource, "status", c.ns, daemonSet, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err -} - -// Delete takes name of the daemonSet and deletes it. Returns an error if one occurs. -func (c *FakeDaemonSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(daemonsetsResource, c.ns, name, opts), &v1alpha1.DaemonSet{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeDaemonSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(daemonsetsResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.DaemonSetList{}) - return err -} - -// Patch applies the patch and returns the patched daemonSet. -func (c *FakeDaemonSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DaemonSet, err error) { - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(daemonsetsResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied daemonSet. -func (c *FakeDaemonSets) Apply(ctx context.Context, daemonSet *corev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DaemonSet, err error) { - if daemonSet == nil { - return nil, fmt.Errorf("daemonSet provided to Apply must not be nil") - } - data, err := json.Marshal(daemonSet) - if err != nil { - return nil, err - } - name := daemonSet.Name - if name == nil { - return nil, fmt.Errorf("daemonSet.Name must be provided to Apply") - } - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(daemonsetsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.DaemonSet), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeDaemonSets) ApplyStatus(ctx context.Context, daemonSet *corev1alpha1.DaemonSetApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DaemonSet, err error) { - if daemonSet == nil { - return nil, fmt.Errorf("daemonSet provided to Apply must not be nil") - } - data, err := json.Marshal(daemonSet) - if err != nil { - return nil, err - } - name := daemonSet.Name - if name == nil { - return nil, fmt.Errorf("daemonSet.Name must be provided to Apply") - } - emptyResult := &v1alpha1.DaemonSet{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(daemonsetsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeDaemonSets(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.DaemonSetInterface { + return &fakeDaemonSets{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.DaemonSet, *v1alpha1.DaemonSetList, *corev1alpha1.DaemonSetApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("daemonsets"), + v1alpha1.SchemeGroupVersion.WithKind("DaemonSet"), + func() *v1alpha1.DaemonSet { return &v1alpha1.DaemonSet{} }, + func() *v1alpha1.DaemonSetList { return &v1alpha1.DaemonSetList{} }, + func(dst, src *v1alpha1.DaemonSetList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.DaemonSetList) []*v1alpha1.DaemonSet { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.DaemonSetList, items []*v1alpha1.DaemonSet) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.DaemonSet), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_instance.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_instance.go index 2c9eae03..3c14e0ab 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_instance.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_instance.go @@ -6,179 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeInstances implements InstanceInterface -type FakeInstances struct { +// fakeInstances implements InstanceInterface +type fakeInstances struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.Instance, *v1alpha1.InstanceList, *corev1alpha1.InstanceApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var instancesResource = v1alpha1.SchemeGroupVersion.WithResource("instances") - -var instancesKind = v1alpha1.SchemeGroupVersion.WithKind("Instance") - -// Get takes name of the instance, and returns the corresponding instance object, and an error if there is any. -func (c *FakeInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Instance, err error) { - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(instancesResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err -} - -// List takes label and field selectors, and returns the list of Instances that match those selectors. -func (c *FakeInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceList, err error) { - emptyResult := &v1alpha1.InstanceList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(instancesResource, instancesKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.InstanceList{ListMeta: obj.(*v1alpha1.InstanceList).ListMeta} - for _, item := range obj.(*v1alpha1.InstanceList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested instances. -func (c *FakeInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(instancesResource, c.ns, opts)) - -} - -// Create takes the representation of a instance and creates it. Returns the server's representation of the instance, and an error, if there is any. -func (c *FakeInstances) Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (result *v1alpha1.Instance, err error) { - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(instancesResource, c.ns, instance, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err -} - -// Update takes the representation of a instance and updates it. Returns the server's representation of the instance, and an error, if there is any. -func (c *FakeInstances) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error) { - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(instancesResource, c.ns, instance, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeInstances) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error) { - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(instancesResource, "status", c.ns, instance, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err -} - -// Delete takes name of the instance and deletes it. Returns an error if one occurs. -func (c *FakeInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(instancesResource, c.ns, name, opts), &v1alpha1.Instance{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(instancesResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.InstanceList{}) - return err -} - -// Patch applies the patch and returns the patched instance. -func (c *FakeInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Instance, err error) { - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(instancesResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied instance. -func (c *FakeInstances) Apply(ctx context.Context, instance *corev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Instance, err error) { - if instance == nil { - return nil, fmt.Errorf("instance provided to Apply must not be nil") - } - data, err := json.Marshal(instance) - if err != nil { - return nil, err - } - name := instance.Name - if name == nil { - return nil, fmt.Errorf("instance.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(instancesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Instance), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeInstances) ApplyStatus(ctx context.Context, instance *corev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Instance, err error) { - if instance == nil { - return nil, fmt.Errorf("instance provided to Apply must not be nil") - } - data, err := json.Marshal(instance) - if err != nil { - return nil, err - } - name := instance.Name - if name == nil { - return nil, fmt.Errorf("instance.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Instance{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(instancesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeInstances(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.InstanceInterface { + return &fakeInstances{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.Instance, *v1alpha1.InstanceList, *corev1alpha1.InstanceApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("instances"), + v1alpha1.SchemeGroupVersion.WithKind("Instance"), + func() *v1alpha1.Instance { return &v1alpha1.Instance{} }, + func() *v1alpha1.InstanceList { return &v1alpha1.InstanceList{} }, + func(dst, src *v1alpha1.InstanceList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.InstanceList) []*v1alpha1.Instance { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.InstanceList, items []*v1alpha1.Instance) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.Instance), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ip.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ip.go index 04731077..945e9f54 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ip.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ip.go @@ -6,179 +6,31 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeIPs implements IPInterface -type FakeIPs struct { +// fakeIPs implements IPInterface +type fakeIPs struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.IP, *v1alpha1.IPList, *corev1alpha1.IPApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var ipsResource = v1alpha1.SchemeGroupVersion.WithResource("ips") - -var ipsKind = v1alpha1.SchemeGroupVersion.WithKind("IP") - -// Get takes name of the iP, and returns the corresponding iP object, and an error if there is any. -func (c *FakeIPs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IP, err error) { - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(ipsResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err -} - -// List takes label and field selectors, and returns the list of IPs that match those selectors. -func (c *FakeIPs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPList, err error) { - emptyResult := &v1alpha1.IPList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(ipsResource, ipsKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.IPList{ListMeta: obj.(*v1alpha1.IPList).ListMeta} - for _, item := range obj.(*v1alpha1.IPList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested iPs. -func (c *FakeIPs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(ipsResource, c.ns, opts)) - -} - -// Create takes the representation of a iP and creates it. Returns the server's representation of the iP, and an error, if there is any. -func (c *FakeIPs) Create(ctx context.Context, iP *v1alpha1.IP, opts v1.CreateOptions) (result *v1alpha1.IP, err error) { - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(ipsResource, c.ns, iP, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err -} - -// Update takes the representation of a iP and updates it. Returns the server's representation of the iP, and an error, if there is any. -func (c *FakeIPs) Update(ctx context.Context, iP *v1alpha1.IP, opts v1.UpdateOptions) (result *v1alpha1.IP, err error) { - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(ipsResource, c.ns, iP, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeIPs) UpdateStatus(ctx context.Context, iP *v1alpha1.IP, opts v1.UpdateOptions) (result *v1alpha1.IP, err error) { - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(ipsResource, "status", c.ns, iP, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err -} - -// Delete takes name of the iP and deletes it. Returns an error if one occurs. -func (c *FakeIPs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(ipsResource, c.ns, name, opts), &v1alpha1.IP{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeIPs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(ipsResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.IPList{}) - return err -} - -// Patch applies the patch and returns the patched iP. -func (c *FakeIPs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IP, err error) { - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(ipsResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied iP. -func (c *FakeIPs) Apply(ctx context.Context, iP *corev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IP, err error) { - if iP == nil { - return nil, fmt.Errorf("iP provided to Apply must not be nil") - } - data, err := json.Marshal(iP) - if err != nil { - return nil, err - } - name := iP.Name - if name == nil { - return nil, fmt.Errorf("iP.Name must be provided to Apply") - } - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(ipsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IP), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeIPs) ApplyStatus(ctx context.Context, iP *corev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IP, err error) { - if iP == nil { - return nil, fmt.Errorf("iP provided to Apply must not be nil") - } - data, err := json.Marshal(iP) - if err != nil { - return nil, err - } - name := iP.Name - if name == nil { - return nil, fmt.Errorf("iP.Name must be provided to Apply") - } - emptyResult := &v1alpha1.IP{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(ipsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeIPs(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.IPInterface { + return &fakeIPs{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.IP, *v1alpha1.IPList, *corev1alpha1.IPApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("ips"), + v1alpha1.SchemeGroupVersion.WithKind("IP"), + func() *v1alpha1.IP { return &v1alpha1.IP{} }, + func() *v1alpha1.IPList { return &v1alpha1.IPList{} }, + func(dst, src *v1alpha1.IPList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.IPList) []*v1alpha1.IP { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.IPList, items []*v1alpha1.IP) { list.Items = gentype.FromPointerSlice(items) }, + ), + fake, } - return obj.(*v1alpha1.IP), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ipaddress.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ipaddress.go index 5855b1c8..4a171fc3 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ipaddress.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_ipaddress.go @@ -6,133 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeIPAddresses implements IPAddressInterface -type FakeIPAddresses struct { +// fakeIPAddresses implements IPAddressInterface +type fakeIPAddresses struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.IPAddress, *v1alpha1.IPAddressList, *corev1alpha1.IPAddressApplyConfiguration] Fake *FakeCoreV1alpha1 } -var ipaddressesResource = v1alpha1.SchemeGroupVersion.WithResource("ipaddresses") - -var ipaddressesKind = v1alpha1.SchemeGroupVersion.WithKind("IPAddress") - -// Get takes name of the iPAddress, and returns the corresponding iPAddress object, and an error if there is any. -func (c *FakeIPAddresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IPAddress, err error) { - emptyResult := &v1alpha1.IPAddress{} - obj, err := c.Fake. - Invokes(testing.NewRootGetActionWithOptions(ipaddressesResource, name, options), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IPAddress), err -} - -// List takes label and field selectors, and returns the list of IPAddresses that match those selectors. -func (c *FakeIPAddresses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IPAddressList, err error) { - emptyResult := &v1alpha1.IPAddressList{} - obj, err := c.Fake. - Invokes(testing.NewRootListActionWithOptions(ipaddressesResource, ipaddressesKind, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.IPAddressList{ListMeta: obj.(*v1alpha1.IPAddressList).ListMeta} - for _, item := range obj.(*v1alpha1.IPAddressList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested iPAddresses. -func (c *FakeIPAddresses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewRootWatchActionWithOptions(ipaddressesResource, opts)) -} - -// Create takes the representation of a iPAddress and creates it. Returns the server's representation of the iPAddress, and an error, if there is any. -func (c *FakeIPAddresses) Create(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.CreateOptions) (result *v1alpha1.IPAddress, err error) { - emptyResult := &v1alpha1.IPAddress{} - obj, err := c.Fake. - Invokes(testing.NewRootCreateActionWithOptions(ipaddressesResource, iPAddress, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IPAddress), err -} - -// Update takes the representation of a iPAddress and updates it. Returns the server's representation of the iPAddress, and an error, if there is any. -func (c *FakeIPAddresses) Update(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.UpdateOptions) (result *v1alpha1.IPAddress, err error) { - emptyResult := &v1alpha1.IPAddress{} - obj, err := c.Fake. - Invokes(testing.NewRootUpdateActionWithOptions(ipaddressesResource, iPAddress, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IPAddress), err -} - -// Delete takes name of the iPAddress and deletes it. Returns an error if one occurs. -func (c *FakeIPAddresses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewRootDeleteActionWithOptions(ipaddressesResource, name, opts), &v1alpha1.IPAddress{}) - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeIPAddresses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewRootDeleteCollectionActionWithOptions(ipaddressesResource, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.IPAddressList{}) - return err -} - -// Patch applies the patch and returns the patched iPAddress. -func (c *FakeIPAddresses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IPAddress, err error) { - emptyResult := &v1alpha1.IPAddress{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(ipaddressesResource, name, pt, data, opts, subresources...), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.IPAddress), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied iPAddress. -func (c *FakeIPAddresses) Apply(ctx context.Context, iPAddress *corev1alpha1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IPAddress, err error) { - if iPAddress == nil { - return nil, fmt.Errorf("iPAddress provided to Apply must not be nil") - } - data, err := json.Marshal(iPAddress) - if err != nil { - return nil, err - } - name := iPAddress.Name - if name == nil { - return nil, fmt.Errorf("iPAddress.Name must be provided to Apply") - } - emptyResult := &v1alpha1.IPAddress{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(ipaddressesResource, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - if obj == nil { - return emptyResult, err +func newFakeIPAddresses(fake *FakeCoreV1alpha1) typedcorev1alpha1.IPAddressInterface { + return &fakeIPAddresses{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.IPAddress, *v1alpha1.IPAddressList, *corev1alpha1.IPAddressApplyConfiguration]( + fake.Fake, + "", + v1alpha1.SchemeGroupVersion.WithResource("ipaddresses"), + v1alpha1.SchemeGroupVersion.WithKind("IPAddress"), + func() *v1alpha1.IPAddress { return &v1alpha1.IPAddress{} }, + func() *v1alpha1.IPAddressList { return &v1alpha1.IPAddressList{} }, + func(dst, src *v1alpha1.IPAddressList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.IPAddressList) []*v1alpha1.IPAddress { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.IPAddressList, items []*v1alpha1.IPAddress) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.IPAddress), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancer.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancer.go index f4de3276..4d21d099 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancer.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancer.go @@ -6,179 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeLoadBalancers implements LoadBalancerInterface -type FakeLoadBalancers struct { +// fakeLoadBalancers implements LoadBalancerInterface +type fakeLoadBalancers struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.LoadBalancer, *v1alpha1.LoadBalancerList, *corev1alpha1.LoadBalancerApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var loadbalancersResource = v1alpha1.SchemeGroupVersion.WithResource("loadbalancers") - -var loadbalancersKind = v1alpha1.SchemeGroupVersion.WithKind("LoadBalancer") - -// Get takes name of the loadBalancer, and returns the corresponding loadBalancer object, and an error if there is any. -func (c *FakeLoadBalancers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancer, err error) { - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(loadbalancersResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err -} - -// List takes label and field selectors, and returns the list of LoadBalancers that match those selectors. -func (c *FakeLoadBalancers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerList, err error) { - emptyResult := &v1alpha1.LoadBalancerList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(loadbalancersResource, loadbalancersKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.LoadBalancerList{ListMeta: obj.(*v1alpha1.LoadBalancerList).ListMeta} - for _, item := range obj.(*v1alpha1.LoadBalancerList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested loadBalancers. -func (c *FakeLoadBalancers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(loadbalancersResource, c.ns, opts)) - -} - -// Create takes the representation of a loadBalancer and creates it. Returns the server's representation of the loadBalancer, and an error, if there is any. -func (c *FakeLoadBalancers) Create(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.CreateOptions) (result *v1alpha1.LoadBalancer, err error) { - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(loadbalancersResource, c.ns, loadBalancer, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err -} - -// Update takes the representation of a loadBalancer and updates it. Returns the server's representation of the loadBalancer, and an error, if there is any. -func (c *FakeLoadBalancers) Update(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancer, err error) { - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(loadbalancersResource, c.ns, loadBalancer, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeLoadBalancers) UpdateStatus(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancer, err error) { - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(loadbalancersResource, "status", c.ns, loadBalancer, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err -} - -// Delete takes name of the loadBalancer and deletes it. Returns an error if one occurs. -func (c *FakeLoadBalancers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(loadbalancersResource, c.ns, name, opts), &v1alpha1.LoadBalancer{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeLoadBalancers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(loadbalancersResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.LoadBalancerList{}) - return err -} - -// Patch applies the patch and returns the patched loadBalancer. -func (c *FakeLoadBalancers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancer, err error) { - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(loadbalancersResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied loadBalancer. -func (c *FakeLoadBalancers) Apply(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancer, err error) { - if loadBalancer == nil { - return nil, fmt.Errorf("loadBalancer provided to Apply must not be nil") - } - data, err := json.Marshal(loadBalancer) - if err != nil { - return nil, err - } - name := loadBalancer.Name - if name == nil { - return nil, fmt.Errorf("loadBalancer.Name must be provided to Apply") - } - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(loadbalancersResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancer), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeLoadBalancers) ApplyStatus(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancer, err error) { - if loadBalancer == nil { - return nil, fmt.Errorf("loadBalancer provided to Apply must not be nil") - } - data, err := json.Marshal(loadBalancer) - if err != nil { - return nil, err - } - name := loadBalancer.Name - if name == nil { - return nil, fmt.Errorf("loadBalancer.Name must be provided to Apply") - } - emptyResult := &v1alpha1.LoadBalancer{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(loadbalancersResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeLoadBalancers(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.LoadBalancerInterface { + return &fakeLoadBalancers{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.LoadBalancer, *v1alpha1.LoadBalancerList, *corev1alpha1.LoadBalancerApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("loadbalancers"), + v1alpha1.SchemeGroupVersion.WithKind("LoadBalancer"), + func() *v1alpha1.LoadBalancer { return &v1alpha1.LoadBalancer{} }, + func() *v1alpha1.LoadBalancerList { return &v1alpha1.LoadBalancerList{} }, + func(dst, src *v1alpha1.LoadBalancerList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.LoadBalancerList) []*v1alpha1.LoadBalancer { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.LoadBalancerList, items []*v1alpha1.LoadBalancer) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.LoadBalancer), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancerrouting.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancerrouting.go index b7a0024f..aeef8936 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancerrouting.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_loadbalancerrouting.go @@ -6,142 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeLoadBalancerRoutings implements LoadBalancerRoutingInterface -type FakeLoadBalancerRoutings struct { +// fakeLoadBalancerRoutings implements LoadBalancerRoutingInterface +type fakeLoadBalancerRoutings struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.LoadBalancerRouting, *v1alpha1.LoadBalancerRoutingList, *corev1alpha1.LoadBalancerRoutingApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var loadbalancerroutingsResource = v1alpha1.SchemeGroupVersion.WithResource("loadbalancerroutings") - -var loadbalancerroutingsKind = v1alpha1.SchemeGroupVersion.WithKind("LoadBalancerRouting") - -// Get takes name of the loadBalancerRouting, and returns the corresponding loadBalancerRouting object, and an error if there is any. -func (c *FakeLoadBalancerRoutings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LoadBalancerRouting, err error) { - emptyResult := &v1alpha1.LoadBalancerRouting{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(loadbalancerroutingsResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancerRouting), err -} - -// List takes label and field selectors, and returns the list of LoadBalancerRoutings that match those selectors. -func (c *FakeLoadBalancerRoutings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoadBalancerRoutingList, err error) { - emptyResult := &v1alpha1.LoadBalancerRoutingList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(loadbalancerroutingsResource, loadbalancerroutingsKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.LoadBalancerRoutingList{ListMeta: obj.(*v1alpha1.LoadBalancerRoutingList).ListMeta} - for _, item := range obj.(*v1alpha1.LoadBalancerRoutingList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested loadBalancerRoutings. -func (c *FakeLoadBalancerRoutings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(loadbalancerroutingsResource, c.ns, opts)) - } -// Create takes the representation of a loadBalancerRouting and creates it. Returns the server's representation of the loadBalancerRouting, and an error, if there is any. -func (c *FakeLoadBalancerRoutings) Create(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.CreateOptions) (result *v1alpha1.LoadBalancerRouting, err error) { - emptyResult := &v1alpha1.LoadBalancerRouting{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(loadbalancerroutingsResource, c.ns, loadBalancerRouting, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancerRouting), err -} - -// Update takes the representation of a loadBalancerRouting and updates it. Returns the server's representation of the loadBalancerRouting, and an error, if there is any. -func (c *FakeLoadBalancerRoutings) Update(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.UpdateOptions) (result *v1alpha1.LoadBalancerRouting, err error) { - emptyResult := &v1alpha1.LoadBalancerRouting{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(loadbalancerroutingsResource, c.ns, loadBalancerRouting, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancerRouting), err -} - -// Delete takes name of the loadBalancerRouting and deletes it. Returns an error if one occurs. -func (c *FakeLoadBalancerRoutings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(loadbalancerroutingsResource, c.ns, name, opts), &v1alpha1.LoadBalancerRouting{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeLoadBalancerRoutings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(loadbalancerroutingsResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.LoadBalancerRoutingList{}) - return err -} - -// Patch applies the patch and returns the patched loadBalancerRouting. -func (c *FakeLoadBalancerRoutings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancerRouting, err error) { - emptyResult := &v1alpha1.LoadBalancerRouting{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(loadbalancerroutingsResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.LoadBalancerRouting), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied loadBalancerRouting. -func (c *FakeLoadBalancerRoutings) Apply(ctx context.Context, loadBalancerRouting *corev1alpha1.LoadBalancerRoutingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancerRouting, err error) { - if loadBalancerRouting == nil { - return nil, fmt.Errorf("loadBalancerRouting provided to Apply must not be nil") - } - data, err := json.Marshal(loadBalancerRouting) - if err != nil { - return nil, err - } - name := loadBalancerRouting.Name - if name == nil { - return nil, fmt.Errorf("loadBalancerRouting.Name must be provided to Apply") - } - emptyResult := &v1alpha1.LoadBalancerRouting{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(loadbalancerroutingsResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeLoadBalancerRoutings(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.LoadBalancerRoutingInterface { + return &fakeLoadBalancerRoutings{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.LoadBalancerRouting, *v1alpha1.LoadBalancerRoutingList, *corev1alpha1.LoadBalancerRoutingApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("loadbalancerroutings"), + v1alpha1.SchemeGroupVersion.WithKind("LoadBalancerRouting"), + func() *v1alpha1.LoadBalancerRouting { return &v1alpha1.LoadBalancerRouting{} }, + func() *v1alpha1.LoadBalancerRoutingList { return &v1alpha1.LoadBalancerRoutingList{} }, + func(dst, src *v1alpha1.LoadBalancerRoutingList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.LoadBalancerRoutingList) []*v1alpha1.LoadBalancerRouting { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.LoadBalancerRoutingList, items []*v1alpha1.LoadBalancerRouting) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.LoadBalancerRouting), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgateway.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgateway.go index 205d56ee..f930fa0c 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgateway.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgateway.go @@ -6,179 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNATGateways implements NATGatewayInterface -type FakeNATGateways struct { +// fakeNATGateways implements NATGatewayInterface +type fakeNATGateways struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NATGateway, *v1alpha1.NATGatewayList, *corev1alpha1.NATGatewayApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var natgatewaysResource = v1alpha1.SchemeGroupVersion.WithResource("natgateways") - -var natgatewaysKind = v1alpha1.SchemeGroupVersion.WithKind("NATGateway") - -// Get takes name of the nATGateway, and returns the corresponding nATGateway object, and an error if there is any. -func (c *FakeNATGateways) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NATGateway, err error) { - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(natgatewaysResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err -} - -// List takes label and field selectors, and returns the list of NATGateways that match those selectors. -func (c *FakeNATGateways) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NATGatewayList, err error) { - emptyResult := &v1alpha1.NATGatewayList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(natgatewaysResource, natgatewaysKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NATGatewayList{ListMeta: obj.(*v1alpha1.NATGatewayList).ListMeta} - for _, item := range obj.(*v1alpha1.NATGatewayList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested nATGateways. -func (c *FakeNATGateways) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(natgatewaysResource, c.ns, opts)) - -} - -// Create takes the representation of a nATGateway and creates it. Returns the server's representation of the nATGateway, and an error, if there is any. -func (c *FakeNATGateways) Create(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.CreateOptions) (result *v1alpha1.NATGateway, err error) { - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(natgatewaysResource, c.ns, nATGateway, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err -} - -// Update takes the representation of a nATGateway and updates it. Returns the server's representation of the nATGateway, and an error, if there is any. -func (c *FakeNATGateways) Update(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (result *v1alpha1.NATGateway, err error) { - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(natgatewaysResource, c.ns, nATGateway, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeNATGateways) UpdateStatus(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (result *v1alpha1.NATGateway, err error) { - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(natgatewaysResource, "status", c.ns, nATGateway, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err -} - -// Delete takes name of the nATGateway and deletes it. Returns an error if one occurs. -func (c *FakeNATGateways) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(natgatewaysResource, c.ns, name, opts), &v1alpha1.NATGateway{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNATGateways) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(natgatewaysResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NATGatewayList{}) - return err -} - -// Patch applies the patch and returns the patched nATGateway. -func (c *FakeNATGateways) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGateway, err error) { - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewaysResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied nATGateway. -func (c *FakeNATGateways) Apply(ctx context.Context, nATGateway *corev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGateway, err error) { - if nATGateway == nil { - return nil, fmt.Errorf("nATGateway provided to Apply must not be nil") - } - data, err := json.Marshal(nATGateway) - if err != nil { - return nil, err - } - name := nATGateway.Name - if name == nil { - return nil, fmt.Errorf("nATGateway.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewaysResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGateway), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeNATGateways) ApplyStatus(ctx context.Context, nATGateway *corev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGateway, err error) { - if nATGateway == nil { - return nil, fmt.Errorf("nATGateway provided to Apply must not be nil") - } - data, err := json.Marshal(nATGateway) - if err != nil { - return nil, err - } - name := nATGateway.Name - if name == nil { - return nil, fmt.Errorf("nATGateway.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NATGateway{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewaysResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNATGateways(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NATGatewayInterface { + return &fakeNATGateways{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NATGateway, *v1alpha1.NATGatewayList, *corev1alpha1.NATGatewayApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("natgateways"), + v1alpha1.SchemeGroupVersion.WithKind("NATGateway"), + func() *v1alpha1.NATGateway { return &v1alpha1.NATGateway{} }, + func() *v1alpha1.NATGatewayList { return &v1alpha1.NATGatewayList{} }, + func(dst, src *v1alpha1.NATGatewayList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NATGatewayList) []*v1alpha1.NATGateway { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.NATGatewayList, items []*v1alpha1.NATGateway) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NATGateway), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgatewayautoscaler.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgatewayautoscaler.go index 8fede74a..66b21b0f 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgatewayautoscaler.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_natgatewayautoscaler.go @@ -6,179 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNATGatewayAutoscalers implements NATGatewayAutoscalerInterface -type FakeNATGatewayAutoscalers struct { +// fakeNATGatewayAutoscalers implements NATGatewayAutoscalerInterface +type fakeNATGatewayAutoscalers struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NATGatewayAutoscaler, *v1alpha1.NATGatewayAutoscalerList, *corev1alpha1.NATGatewayAutoscalerApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var natgatewayautoscalersResource = v1alpha1.SchemeGroupVersion.WithResource("natgatewayautoscalers") - -var natgatewayautoscalersKind = v1alpha1.SchemeGroupVersion.WithKind("NATGatewayAutoscaler") - -// Get takes name of the nATGatewayAutoscaler, and returns the corresponding nATGatewayAutoscaler object, and an error if there is any. -func (c *FakeNATGatewayAutoscalers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(natgatewayautoscalersResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err -} - -// List takes label and field selectors, and returns the list of NATGatewayAutoscalers that match those selectors. -func (c *FakeNATGatewayAutoscalers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NATGatewayAutoscalerList, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscalerList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(natgatewayautoscalersResource, natgatewayautoscalersKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NATGatewayAutoscalerList{ListMeta: obj.(*v1alpha1.NATGatewayAutoscalerList).ListMeta} - for _, item := range obj.(*v1alpha1.NATGatewayAutoscalerList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested nATGatewayAutoscalers. -func (c *FakeNATGatewayAutoscalers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(natgatewayautoscalersResource, c.ns, opts)) - -} - -// Create takes the representation of a nATGatewayAutoscaler and creates it. Returns the server's representation of the nATGatewayAutoscaler, and an error, if there is any. -func (c *FakeNATGatewayAutoscalers) Create(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.CreateOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(natgatewayautoscalersResource, c.ns, nATGatewayAutoscaler, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err -} - -// Update takes the representation of a nATGatewayAutoscaler and updates it. Returns the server's representation of the nATGatewayAutoscaler, and an error, if there is any. -func (c *FakeNATGatewayAutoscalers) Update(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(natgatewayautoscalersResource, c.ns, nATGatewayAutoscaler, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeNATGatewayAutoscalers) UpdateStatus(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(natgatewayautoscalersResource, "status", c.ns, nATGatewayAutoscaler, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err -} - -// Delete takes name of the nATGatewayAutoscaler and deletes it. Returns an error if one occurs. -func (c *FakeNATGatewayAutoscalers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(natgatewayautoscalersResource, c.ns, name, opts), &v1alpha1.NATGatewayAutoscaler{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNATGatewayAutoscalers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(natgatewayautoscalersResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NATGatewayAutoscalerList{}) - return err -} - -// Patch applies the patch and returns the patched nATGatewayAutoscaler. -func (c *FakeNATGatewayAutoscalers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGatewayAutoscaler, err error) { - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewayautoscalersResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied nATGatewayAutoscaler. -func (c *FakeNATGatewayAutoscalers) Apply(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - if nATGatewayAutoscaler == nil { - return nil, fmt.Errorf("nATGatewayAutoscaler provided to Apply must not be nil") - } - data, err := json.Marshal(nATGatewayAutoscaler) - if err != nil { - return nil, err - } - name := nATGatewayAutoscaler.Name - if name == nil { - return nil, fmt.Errorf("nATGatewayAutoscaler.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewayautoscalersResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATGatewayAutoscaler), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeNATGatewayAutoscalers) ApplyStatus(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) { - if nATGatewayAutoscaler == nil { - return nil, fmt.Errorf("nATGatewayAutoscaler provided to Apply must not be nil") - } - data, err := json.Marshal(nATGatewayAutoscaler) - if err != nil { - return nil, err - } - name := nATGatewayAutoscaler.Name - if name == nil { - return nil, fmt.Errorf("nATGatewayAutoscaler.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NATGatewayAutoscaler{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(natgatewayautoscalersResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNATGatewayAutoscalers(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NATGatewayAutoscalerInterface { + return &fakeNATGatewayAutoscalers{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NATGatewayAutoscaler, *v1alpha1.NATGatewayAutoscalerList, *corev1alpha1.NATGatewayAutoscalerApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("natgatewayautoscalers"), + v1alpha1.SchemeGroupVersion.WithKind("NATGatewayAutoscaler"), + func() *v1alpha1.NATGatewayAutoscaler { return &v1alpha1.NATGatewayAutoscaler{} }, + func() *v1alpha1.NATGatewayAutoscalerList { return &v1alpha1.NATGatewayAutoscalerList{} }, + func(dst, src *v1alpha1.NATGatewayAutoscalerList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NATGatewayAutoscalerList) []*v1alpha1.NATGatewayAutoscaler { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.NATGatewayAutoscalerList, items []*v1alpha1.NATGatewayAutoscaler) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NATGatewayAutoscaler), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_nattable.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_nattable.go index b79d043e..18ee8521 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_nattable.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_nattable.go @@ -6,142 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNATTables implements NATTableInterface -type FakeNATTables struct { +// fakeNATTables implements NATTableInterface +type fakeNATTables struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NATTable, *v1alpha1.NATTableList, *corev1alpha1.NATTableApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var nattablesResource = v1alpha1.SchemeGroupVersion.WithResource("nattables") - -var nattablesKind = v1alpha1.SchemeGroupVersion.WithKind("NATTable") - -// Get takes name of the nATTable, and returns the corresponding nATTable object, and an error if there is any. -func (c *FakeNATTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NATTable, err error) { - emptyResult := &v1alpha1.NATTable{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(nattablesResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATTable), err -} - -// List takes label and field selectors, and returns the list of NATTables that match those selectors. -func (c *FakeNATTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NATTableList, err error) { - emptyResult := &v1alpha1.NATTableList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(nattablesResource, nattablesKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NATTableList{ListMeta: obj.(*v1alpha1.NATTableList).ListMeta} - for _, item := range obj.(*v1alpha1.NATTableList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested nATTables. -func (c *FakeNATTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(nattablesResource, c.ns, opts)) - } -// Create takes the representation of a nATTable and creates it. Returns the server's representation of the nATTable, and an error, if there is any. -func (c *FakeNATTables) Create(ctx context.Context, nATTable *v1alpha1.NATTable, opts v1.CreateOptions) (result *v1alpha1.NATTable, err error) { - emptyResult := &v1alpha1.NATTable{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(nattablesResource, c.ns, nATTable, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATTable), err -} - -// Update takes the representation of a nATTable and updates it. Returns the server's representation of the nATTable, and an error, if there is any. -func (c *FakeNATTables) Update(ctx context.Context, nATTable *v1alpha1.NATTable, opts v1.UpdateOptions) (result *v1alpha1.NATTable, err error) { - emptyResult := &v1alpha1.NATTable{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(nattablesResource, c.ns, nATTable, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATTable), err -} - -// Delete takes name of the nATTable and deletes it. Returns an error if one occurs. -func (c *FakeNATTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(nattablesResource, c.ns, name, opts), &v1alpha1.NATTable{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNATTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(nattablesResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NATTableList{}) - return err -} - -// Patch applies the patch and returns the patched nATTable. -func (c *FakeNATTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATTable, err error) { - emptyResult := &v1alpha1.NATTable{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(nattablesResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NATTable), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied nATTable. -func (c *FakeNATTables) Apply(ctx context.Context, nATTable *corev1alpha1.NATTableApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATTable, err error) { - if nATTable == nil { - return nil, fmt.Errorf("nATTable provided to Apply must not be nil") - } - data, err := json.Marshal(nATTable) - if err != nil { - return nil, err - } - name := nATTable.Name - if name == nil { - return nil, fmt.Errorf("nATTable.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NATTable{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(nattablesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNATTables(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NATTableInterface { + return &fakeNATTables{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NATTable, *v1alpha1.NATTableList, *corev1alpha1.NATTableApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("nattables"), + v1alpha1.SchemeGroupVersion.WithKind("NATTable"), + func() *v1alpha1.NATTable { return &v1alpha1.NATTable{} }, + func() *v1alpha1.NATTableList { return &v1alpha1.NATTableList{} }, + func(dst, src *v1alpha1.NATTableList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NATTableList) []*v1alpha1.NATTable { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.NATTableList, items []*v1alpha1.NATTable) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NATTable), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_network.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_network.go index 82dc21f6..9a019929 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_network.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_network.go @@ -6,179 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNetworks implements NetworkInterface -type FakeNetworks struct { +// fakeNetworks implements NetworkInterface +type fakeNetworks struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.Network, *v1alpha1.NetworkList, *corev1alpha1.NetworkApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var networksResource = v1alpha1.SchemeGroupVersion.WithResource("networks") - -var networksKind = v1alpha1.SchemeGroupVersion.WithKind("Network") - -// Get takes name of the network, and returns the corresponding network object, and an error if there is any. -func (c *FakeNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Network, err error) { - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(networksResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err -} - -// List takes label and field selectors, and returns the list of Networks that match those selectors. -func (c *FakeNetworks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkList, err error) { - emptyResult := &v1alpha1.NetworkList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(networksResource, networksKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NetworkList{ListMeta: obj.(*v1alpha1.NetworkList).ListMeta} - for _, item := range obj.(*v1alpha1.NetworkList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested networks. -func (c *FakeNetworks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(networksResource, c.ns, opts)) - -} - -// Create takes the representation of a network and creates it. Returns the server's representation of the network, and an error, if there is any. -func (c *FakeNetworks) Create(ctx context.Context, network *v1alpha1.Network, opts v1.CreateOptions) (result *v1alpha1.Network, err error) { - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(networksResource, c.ns, network, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err -} - -// Update takes the representation of a network and updates it. Returns the server's representation of the network, and an error, if there is any. -func (c *FakeNetworks) Update(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (result *v1alpha1.Network, err error) { - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(networksResource, c.ns, network, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeNetworks) UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (result *v1alpha1.Network, err error) { - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(networksResource, "status", c.ns, network, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err -} - -// Delete takes name of the network and deletes it. Returns an error if one occurs. -func (c *FakeNetworks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(networksResource, c.ns, name, opts), &v1alpha1.Network{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNetworks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(networksResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NetworkList{}) - return err -} - -// Patch applies the patch and returns the patched network. -func (c *FakeNetworks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Network, err error) { - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networksResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied network. -func (c *FakeNetworks) Apply(ctx context.Context, network *corev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Network, err error) { - if network == nil { - return nil, fmt.Errorf("network provided to Apply must not be nil") - } - data, err := json.Marshal(network) - if err != nil { - return nil, err - } - name := network.Name - if name == nil { - return nil, fmt.Errorf("network.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networksResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Network), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeNetworks) ApplyStatus(ctx context.Context, network *corev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Network, err error) { - if network == nil { - return nil, fmt.Errorf("network provided to Apply must not be nil") - } - data, err := json.Marshal(network) - if err != nil { - return nil, err - } - name := network.Name - if name == nil { - return nil, fmt.Errorf("network.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Network{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networksResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNetworks(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NetworkInterface { + return &fakeNetworks{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.Network, *v1alpha1.NetworkList, *corev1alpha1.NetworkApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("networks"), + v1alpha1.SchemeGroupVersion.WithKind("Network"), + func() *v1alpha1.Network { return &v1alpha1.Network{} }, + func() *v1alpha1.NetworkList { return &v1alpha1.NetworkList{} }, + func(dst, src *v1alpha1.NetworkList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NetworkList) []*v1alpha1.Network { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.NetworkList, items []*v1alpha1.Network) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.Network), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkid.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkid.go index 0c00c049..2369eb84 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkid.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkid.go @@ -6,133 +6,33 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNetworkIDs implements NetworkIDInterface -type FakeNetworkIDs struct { +// fakeNetworkIDs implements NetworkIDInterface +type fakeNetworkIDs struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NetworkID, *v1alpha1.NetworkIDList, *corev1alpha1.NetworkIDApplyConfiguration] Fake *FakeCoreV1alpha1 } -var networkidsResource = v1alpha1.SchemeGroupVersion.WithResource("networkids") - -var networkidsKind = v1alpha1.SchemeGroupVersion.WithKind("NetworkID") - -// Get takes name of the networkID, and returns the corresponding networkID object, and an error if there is any. -func (c *FakeNetworkIDs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkID, err error) { - emptyResult := &v1alpha1.NetworkID{} - obj, err := c.Fake. - Invokes(testing.NewRootGetActionWithOptions(networkidsResource, name, options), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkID), err -} - -// List takes label and field selectors, and returns the list of NetworkIDs that match those selectors. -func (c *FakeNetworkIDs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkIDList, err error) { - emptyResult := &v1alpha1.NetworkIDList{} - obj, err := c.Fake. - Invokes(testing.NewRootListActionWithOptions(networkidsResource, networkidsKind, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NetworkIDList{ListMeta: obj.(*v1alpha1.NetworkIDList).ListMeta} - for _, item := range obj.(*v1alpha1.NetworkIDList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested networkIDs. -func (c *FakeNetworkIDs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewRootWatchActionWithOptions(networkidsResource, opts)) -} - -// Create takes the representation of a networkID and creates it. Returns the server's representation of the networkID, and an error, if there is any. -func (c *FakeNetworkIDs) Create(ctx context.Context, networkID *v1alpha1.NetworkID, opts v1.CreateOptions) (result *v1alpha1.NetworkID, err error) { - emptyResult := &v1alpha1.NetworkID{} - obj, err := c.Fake. - Invokes(testing.NewRootCreateActionWithOptions(networkidsResource, networkID, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkID), err -} - -// Update takes the representation of a networkID and updates it. Returns the server's representation of the networkID, and an error, if there is any. -func (c *FakeNetworkIDs) Update(ctx context.Context, networkID *v1alpha1.NetworkID, opts v1.UpdateOptions) (result *v1alpha1.NetworkID, err error) { - emptyResult := &v1alpha1.NetworkID{} - obj, err := c.Fake. - Invokes(testing.NewRootUpdateActionWithOptions(networkidsResource, networkID, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkID), err -} - -// Delete takes name of the networkID and deletes it. Returns an error if one occurs. -func (c *FakeNetworkIDs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewRootDeleteActionWithOptions(networkidsResource, name, opts), &v1alpha1.NetworkID{}) - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNetworkIDs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewRootDeleteCollectionActionWithOptions(networkidsResource, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NetworkIDList{}) - return err -} - -// Patch applies the patch and returns the patched networkID. -func (c *FakeNetworkIDs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkID, err error) { - emptyResult := &v1alpha1.NetworkID{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(networkidsResource, name, pt, data, opts, subresources...), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkID), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied networkID. -func (c *FakeNetworkIDs) Apply(ctx context.Context, networkID *corev1alpha1.NetworkIDApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkID, err error) { - if networkID == nil { - return nil, fmt.Errorf("networkID provided to Apply must not be nil") - } - data, err := json.Marshal(networkID) - if err != nil { - return nil, err - } - name := networkID.Name - if name == nil { - return nil, fmt.Errorf("networkID.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NetworkID{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(networkidsResource, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - if obj == nil { - return emptyResult, err +func newFakeNetworkIDs(fake *FakeCoreV1alpha1) typedcorev1alpha1.NetworkIDInterface { + return &fakeNetworkIDs{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NetworkID, *v1alpha1.NetworkIDList, *corev1alpha1.NetworkIDApplyConfiguration]( + fake.Fake, + "", + v1alpha1.SchemeGroupVersion.WithResource("networkids"), + v1alpha1.SchemeGroupVersion.WithKind("NetworkID"), + func() *v1alpha1.NetworkID { return &v1alpha1.NetworkID{} }, + func() *v1alpha1.NetworkIDList { return &v1alpha1.NetworkIDList{} }, + func(dst, src *v1alpha1.NetworkIDList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NetworkIDList) []*v1alpha1.NetworkID { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.NetworkIDList, items []*v1alpha1.NetworkID) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NetworkID), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkinterface.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkinterface.go index ec0d6343..6a03ff64 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkinterface.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkinterface.go @@ -6,179 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNetworkInterfaces implements NetworkInterfaceInterface -type FakeNetworkInterfaces struct { +// fakeNetworkInterfaces implements NetworkInterfaceInterface +type fakeNetworkInterfaces struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NetworkInterface, *v1alpha1.NetworkInterfaceList, *corev1alpha1.NetworkInterfaceApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var networkinterfacesResource = v1alpha1.SchemeGroupVersion.WithResource("networkinterfaces") - -var networkinterfacesKind = v1alpha1.SchemeGroupVersion.WithKind("NetworkInterface") - -// Get takes name of the networkInterface, and returns the corresponding networkInterface object, and an error if there is any. -func (c *FakeNetworkInterfaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkInterface, err error) { - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(networkinterfacesResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err -} - -// List takes label and field selectors, and returns the list of NetworkInterfaces that match those selectors. -func (c *FakeNetworkInterfaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkInterfaceList, err error) { - emptyResult := &v1alpha1.NetworkInterfaceList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(networkinterfacesResource, networkinterfacesKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NetworkInterfaceList{ListMeta: obj.(*v1alpha1.NetworkInterfaceList).ListMeta} - for _, item := range obj.(*v1alpha1.NetworkInterfaceList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested networkInterfaces. -func (c *FakeNetworkInterfaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(networkinterfacesResource, c.ns, opts)) - -} - -// Create takes the representation of a networkInterface and creates it. Returns the server's representation of the networkInterface, and an error, if there is any. -func (c *FakeNetworkInterfaces) Create(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.CreateOptions) (result *v1alpha1.NetworkInterface, err error) { - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(networkinterfacesResource, c.ns, networkInterface, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err -} - -// Update takes the representation of a networkInterface and updates it. Returns the server's representation of the networkInterface, and an error, if there is any. -func (c *FakeNetworkInterfaces) Update(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (result *v1alpha1.NetworkInterface, err error) { - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(networkinterfacesResource, c.ns, networkInterface, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err } -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeNetworkInterfaces) UpdateStatus(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (result *v1alpha1.NetworkInterface, err error) { - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewUpdateSubresourceActionWithOptions(networkinterfacesResource, "status", c.ns, networkInterface, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err -} - -// Delete takes name of the networkInterface and deletes it. Returns an error if one occurs. -func (c *FakeNetworkInterfaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(networkinterfacesResource, c.ns, name, opts), &v1alpha1.NetworkInterface{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNetworkInterfaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(networkinterfacesResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NetworkInterfaceList{}) - return err -} - -// Patch applies the patch and returns the patched networkInterface. -func (c *FakeNetworkInterfaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkInterface, err error) { - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkinterfacesResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied networkInterface. -func (c *FakeNetworkInterfaces) Apply(ctx context.Context, networkInterface *corev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkInterface, err error) { - if networkInterface == nil { - return nil, fmt.Errorf("networkInterface provided to Apply must not be nil") - } - data, err := json.Marshal(networkInterface) - if err != nil { - return nil, err - } - name := networkInterface.Name - if name == nil { - return nil, fmt.Errorf("networkInterface.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkinterfacesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkInterface), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeNetworkInterfaces) ApplyStatus(ctx context.Context, networkInterface *corev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkInterface, err error) { - if networkInterface == nil { - return nil, fmt.Errorf("networkInterface provided to Apply must not be nil") - } - data, err := json.Marshal(networkInterface) - if err != nil { - return nil, err - } - name := networkInterface.Name - if name == nil { - return nil, fmt.Errorf("networkInterface.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NetworkInterface{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkinterfacesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNetworkInterfaces(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NetworkInterfaceInterface { + return &fakeNetworkInterfaces{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NetworkInterface, *v1alpha1.NetworkInterfaceList, *corev1alpha1.NetworkInterfaceApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("networkinterfaces"), + v1alpha1.SchemeGroupVersion.WithKind("NetworkInterface"), + func() *v1alpha1.NetworkInterface { return &v1alpha1.NetworkInterface{} }, + func() *v1alpha1.NetworkInterfaceList { return &v1alpha1.NetworkInterfaceList{} }, + func(dst, src *v1alpha1.NetworkInterfaceList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NetworkInterfaceList) []*v1alpha1.NetworkInterface { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.NetworkInterfaceList, items []*v1alpha1.NetworkInterface) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NetworkInterface), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicy.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicy.go index ad1fe03d..73949153 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicy.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicy.go @@ -6,142 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNetworkPolicies implements NetworkPolicyInterface -type FakeNetworkPolicies struct { +// fakeNetworkPolicies implements NetworkPolicyInterface +type fakeNetworkPolicies struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NetworkPolicy, *v1alpha1.NetworkPolicyList, *corev1alpha1.NetworkPolicyApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var networkpoliciesResource = v1alpha1.SchemeGroupVersion.WithResource("networkpolicies") - -var networkpoliciesKind = v1alpha1.SchemeGroupVersion.WithKind("NetworkPolicy") - -// Get takes name of the networkPolicy, and returns the corresponding networkPolicy object, and an error if there is any. -func (c *FakeNetworkPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicy, err error) { - emptyResult := &v1alpha1.NetworkPolicy{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(networkpoliciesResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicy), err -} - -// List takes label and field selectors, and returns the list of NetworkPolicies that match those selectors. -func (c *FakeNetworkPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyList, err error) { - emptyResult := &v1alpha1.NetworkPolicyList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(networkpoliciesResource, networkpoliciesKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NetworkPolicyList{ListMeta: obj.(*v1alpha1.NetworkPolicyList).ListMeta} - for _, item := range obj.(*v1alpha1.NetworkPolicyList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested networkPolicies. -func (c *FakeNetworkPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(networkpoliciesResource, c.ns, opts)) - } -// Create takes the representation of a networkPolicy and creates it. Returns the server's representation of the networkPolicy, and an error, if there is any. -func (c *FakeNetworkPolicies) Create(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.CreateOptions) (result *v1alpha1.NetworkPolicy, err error) { - emptyResult := &v1alpha1.NetworkPolicy{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(networkpoliciesResource, c.ns, networkPolicy, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicy), err -} - -// Update takes the representation of a networkPolicy and updates it. Returns the server's representation of the networkPolicy, and an error, if there is any. -func (c *FakeNetworkPolicies) Update(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (result *v1alpha1.NetworkPolicy, err error) { - emptyResult := &v1alpha1.NetworkPolicy{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(networkpoliciesResource, c.ns, networkPolicy, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicy), err -} - -// Delete takes name of the networkPolicy and deletes it. Returns an error if one occurs. -func (c *FakeNetworkPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(networkpoliciesResource, c.ns, name, opts), &v1alpha1.NetworkPolicy{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNetworkPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(networkpoliciesResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NetworkPolicyList{}) - return err -} - -// Patch applies the patch and returns the patched networkPolicy. -func (c *FakeNetworkPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkPolicy, err error) { - emptyResult := &v1alpha1.NetworkPolicy{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkpoliciesResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicy), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied networkPolicy. -func (c *FakeNetworkPolicies) Apply(ctx context.Context, networkPolicy *corev1alpha1.NetworkPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkPolicy, err error) { - if networkPolicy == nil { - return nil, fmt.Errorf("networkPolicy provided to Apply must not be nil") - } - data, err := json.Marshal(networkPolicy) - if err != nil { - return nil, err - } - name := networkPolicy.Name - if name == nil { - return nil, fmt.Errorf("networkPolicy.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NetworkPolicy{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkpoliciesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNetworkPolicies(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NetworkPolicyInterface { + return &fakeNetworkPolicies{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NetworkPolicy, *v1alpha1.NetworkPolicyList, *corev1alpha1.NetworkPolicyApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("networkpolicies"), + v1alpha1.SchemeGroupVersion.WithKind("NetworkPolicy"), + func() *v1alpha1.NetworkPolicy { return &v1alpha1.NetworkPolicy{} }, + func() *v1alpha1.NetworkPolicyList { return &v1alpha1.NetworkPolicyList{} }, + func(dst, src *v1alpha1.NetworkPolicyList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NetworkPolicyList) []*v1alpha1.NetworkPolicy { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.NetworkPolicyList, items []*v1alpha1.NetworkPolicy) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NetworkPolicy), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicyrule.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicyrule.go index eb9c6f9a..185568dc 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicyrule.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_networkpolicyrule.go @@ -6,142 +6,35 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNetworkPolicyRules implements NetworkPolicyRuleInterface -type FakeNetworkPolicyRules struct { +// fakeNetworkPolicyRules implements NetworkPolicyRuleInterface +type fakeNetworkPolicyRules struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.NetworkPolicyRule, *v1alpha1.NetworkPolicyRuleList, *corev1alpha1.NetworkPolicyRuleApplyConfiguration] Fake *FakeCoreV1alpha1 - ns string -} - -var networkpolicyrulesResource = v1alpha1.SchemeGroupVersion.WithResource("networkpolicyrules") - -var networkpolicyrulesKind = v1alpha1.SchemeGroupVersion.WithKind("NetworkPolicyRule") - -// Get takes name of the networkPolicyRule, and returns the corresponding networkPolicyRule object, and an error if there is any. -func (c *FakeNetworkPolicyRules) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkPolicyRule, err error) { - emptyResult := &v1alpha1.NetworkPolicyRule{} - obj, err := c.Fake. - Invokes(testing.NewGetActionWithOptions(networkpolicyrulesResource, c.ns, name, options), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicyRule), err -} - -// List takes label and field selectors, and returns the list of NetworkPolicyRules that match those selectors. -func (c *FakeNetworkPolicyRules) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkPolicyRuleList, err error) { - emptyResult := &v1alpha1.NetworkPolicyRuleList{} - obj, err := c.Fake. - Invokes(testing.NewListActionWithOptions(networkpolicyrulesResource, networkpolicyrulesKind, c.ns, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NetworkPolicyRuleList{ListMeta: obj.(*v1alpha1.NetworkPolicyRuleList).ListMeta} - for _, item := range obj.(*v1alpha1.NetworkPolicyRuleList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested networkPolicyRules. -func (c *FakeNetworkPolicyRules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewWatchActionWithOptions(networkpolicyrulesResource, c.ns, opts)) - } -// Create takes the representation of a networkPolicyRule and creates it. Returns the server's representation of the networkPolicyRule, and an error, if there is any. -func (c *FakeNetworkPolicyRules) Create(ctx context.Context, networkPolicyRule *v1alpha1.NetworkPolicyRule, opts v1.CreateOptions) (result *v1alpha1.NetworkPolicyRule, err error) { - emptyResult := &v1alpha1.NetworkPolicyRule{} - obj, err := c.Fake. - Invokes(testing.NewCreateActionWithOptions(networkpolicyrulesResource, c.ns, networkPolicyRule, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicyRule), err -} - -// Update takes the representation of a networkPolicyRule and updates it. Returns the server's representation of the networkPolicyRule, and an error, if there is any. -func (c *FakeNetworkPolicyRules) Update(ctx context.Context, networkPolicyRule *v1alpha1.NetworkPolicyRule, opts v1.UpdateOptions) (result *v1alpha1.NetworkPolicyRule, err error) { - emptyResult := &v1alpha1.NetworkPolicyRule{} - obj, err := c.Fake. - Invokes(testing.NewUpdateActionWithOptions(networkpolicyrulesResource, c.ns, networkPolicyRule, opts), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicyRule), err -} - -// Delete takes name of the networkPolicyRule and deletes it. Returns an error if one occurs. -func (c *FakeNetworkPolicyRules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewDeleteActionWithOptions(networkpolicyrulesResource, c.ns, name, opts), &v1alpha1.NetworkPolicyRule{}) - - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNetworkPolicyRules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewDeleteCollectionActionWithOptions(networkpolicyrulesResource, c.ns, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NetworkPolicyRuleList{}) - return err -} - -// Patch applies the patch and returns the patched networkPolicyRule. -func (c *FakeNetworkPolicyRules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkPolicyRule, err error) { - emptyResult := &v1alpha1.NetworkPolicyRule{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkpolicyrulesResource, c.ns, name, pt, data, opts, subresources...), emptyResult) - - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.NetworkPolicyRule), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied networkPolicyRule. -func (c *FakeNetworkPolicyRules) Apply(ctx context.Context, networkPolicyRule *corev1alpha1.NetworkPolicyRuleApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkPolicyRule, err error) { - if networkPolicyRule == nil { - return nil, fmt.Errorf("networkPolicyRule provided to Apply must not be nil") - } - data, err := json.Marshal(networkPolicyRule) - if err != nil { - return nil, err - } - name := networkPolicyRule.Name - if name == nil { - return nil, fmt.Errorf("networkPolicyRule.Name must be provided to Apply") - } - emptyResult := &v1alpha1.NetworkPolicyRule{} - obj, err := c.Fake. - Invokes(testing.NewPatchSubresourceActionWithOptions(networkpolicyrulesResource, c.ns, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - - if obj == nil { - return emptyResult, err +func newFakeNetworkPolicyRules(fake *FakeCoreV1alpha1, namespace string) typedcorev1alpha1.NetworkPolicyRuleInterface { + return &fakeNetworkPolicyRules{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.NetworkPolicyRule, *v1alpha1.NetworkPolicyRuleList, *corev1alpha1.NetworkPolicyRuleApplyConfiguration]( + fake.Fake, + namespace, + v1alpha1.SchemeGroupVersion.WithResource("networkpolicyrules"), + v1alpha1.SchemeGroupVersion.WithKind("NetworkPolicyRule"), + func() *v1alpha1.NetworkPolicyRule { return &v1alpha1.NetworkPolicyRule{} }, + func() *v1alpha1.NetworkPolicyRuleList { return &v1alpha1.NetworkPolicyRuleList{} }, + func(dst, src *v1alpha1.NetworkPolicyRuleList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NetworkPolicyRuleList) []*v1alpha1.NetworkPolicyRule { + return gentype.ToPointerSlice(list.Items) + }, + func(list *v1alpha1.NetworkPolicyRuleList, items []*v1alpha1.NetworkPolicyRule) { + list.Items = gentype.FromPointerSlice(items) + }, + ), + fake, } - return obj.(*v1alpha1.NetworkPolicyRule), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_node.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_node.go index 78ed0fc3..f3f5ba2d 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_node.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/fake/fake_node.go @@ -6,168 +6,31 @@ package fake import ( - "context" - json "encoding/json" - "fmt" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - labels "k8s.io/apimachinery/pkg/labels" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - testing "k8s.io/client-go/testing" + typedcorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/typed/core/v1alpha1" + gentype "k8s.io/client-go/gentype" ) -// FakeNodes implements NodeInterface -type FakeNodes struct { +// fakeNodes implements NodeInterface +type fakeNodes struct { + *gentype.FakeClientWithListAndApply[*v1alpha1.Node, *v1alpha1.NodeList, *corev1alpha1.NodeApplyConfiguration] Fake *FakeCoreV1alpha1 } -var nodesResource = v1alpha1.SchemeGroupVersion.WithResource("nodes") - -var nodesKind = v1alpha1.SchemeGroupVersion.WithKind("Node") - -// Get takes name of the node, and returns the corresponding node object, and an error if there is any. -func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Node, err error) { - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootGetActionWithOptions(nodesResource, name, options), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// List takes label and field selectors, and returns the list of Nodes that match those selectors. -func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeList, err error) { - emptyResult := &v1alpha1.NodeList{} - obj, err := c.Fake. - Invokes(testing.NewRootListActionWithOptions(nodesResource, nodesKind, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - - label, _, _ := testing.ExtractFromListOptions(opts) - if label == nil { - label = labels.Everything() - } - list := &v1alpha1.NodeList{ListMeta: obj.(*v1alpha1.NodeList).ListMeta} - for _, item := range obj.(*v1alpha1.NodeList).Items { - if label.Matches(labels.Set(item.Labels)) { - list.Items = append(list.Items, item) - } - } - return list, err -} - -// Watch returns a watch.Interface that watches the requested nodes. -func (c *FakeNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - return c.Fake. - InvokesWatch(testing.NewRootWatchActionWithOptions(nodesResource, opts)) -} - -// Create takes the representation of a node and creates it. Returns the server's representation of the node, and an error, if there is any. -func (c *FakeNodes) Create(ctx context.Context, node *v1alpha1.Node, opts v1.CreateOptions) (result *v1alpha1.Node, err error) { - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootCreateActionWithOptions(nodesResource, node, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// Update takes the representation of a node and updates it. Returns the server's representation of the node, and an error, if there is any. -func (c *FakeNodes) Update(ctx context.Context, node *v1alpha1.Node, opts v1.UpdateOptions) (result *v1alpha1.Node, err error) { - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootUpdateActionWithOptions(nodesResource, node, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *FakeNodes) UpdateStatus(ctx context.Context, node *v1alpha1.Node, opts v1.UpdateOptions) (result *v1alpha1.Node, err error) { - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootUpdateSubresourceActionWithOptions(nodesResource, "status", node, opts), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// Delete takes name of the node and deletes it. Returns an error if one occurs. -func (c *FakeNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - _, err := c.Fake. - Invokes(testing.NewRootDeleteActionWithOptions(nodesResource, name, opts), &v1alpha1.Node{}) - return err -} - -// DeleteCollection deletes a collection of objects. -func (c *FakeNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - action := testing.NewRootDeleteCollectionActionWithOptions(nodesResource, opts, listOpts) - - _, err := c.Fake.Invokes(action, &v1alpha1.NodeList{}) - return err -} - -// Patch applies the patch and returns the patched node. -func (c *FakeNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Node, err error) { - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(nodesResource, name, pt, data, opts, subresources...), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// Apply takes the given apply declarative configuration, applies it and returns the applied node. -func (c *FakeNodes) Apply(ctx context.Context, node *corev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Node, err error) { - if node == nil { - return nil, fmt.Errorf("node provided to Apply must not be nil") - } - data, err := json.Marshal(node) - if err != nil { - return nil, err - } - name := node.Name - if name == nil { - return nil, fmt.Errorf("node.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(nodesResource, *name, types.ApplyPatchType, data, opts.ToPatchOptions()), emptyResult) - if obj == nil { - return emptyResult, err - } - return obj.(*v1alpha1.Node), err -} - -// ApplyStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). -func (c *FakeNodes) ApplyStatus(ctx context.Context, node *corev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Node, err error) { - if node == nil { - return nil, fmt.Errorf("node provided to Apply must not be nil") - } - data, err := json.Marshal(node) - if err != nil { - return nil, err - } - name := node.Name - if name == nil { - return nil, fmt.Errorf("node.Name must be provided to Apply") - } - emptyResult := &v1alpha1.Node{} - obj, err := c.Fake. - Invokes(testing.NewRootPatchSubresourceActionWithOptions(nodesResource, *name, types.ApplyPatchType, data, opts.ToPatchOptions(), "status"), emptyResult) - if obj == nil { - return emptyResult, err +func newFakeNodes(fake *FakeCoreV1alpha1) typedcorev1alpha1.NodeInterface { + return &fakeNodes{ + gentype.NewFakeClientWithListAndApply[*v1alpha1.Node, *v1alpha1.NodeList, *corev1alpha1.NodeApplyConfiguration]( + fake.Fake, + "", + v1alpha1.SchemeGroupVersion.WithResource("nodes"), + v1alpha1.SchemeGroupVersion.WithKind("Node"), + func() *v1alpha1.Node { return &v1alpha1.Node{} }, + func() *v1alpha1.NodeList { return &v1alpha1.NodeList{} }, + func(dst, src *v1alpha1.NodeList) { dst.ListMeta = src.ListMeta }, + func(list *v1alpha1.NodeList) []*v1alpha1.Node { return gentype.ToPointerSlice(list.Items) }, + func(list *v1alpha1.NodeList, items []*v1alpha1.Node) { list.Items = gentype.FromPointerSlice(items) }, + ), + fake, } - return obj.(*v1alpha1.Node), err } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/instance.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/instance.go index b793edda..9e614ea5 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/instance.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/instance.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type InstancesGetter interface { // InstanceInterface has methods to work with Instance resources. type InstanceInterface interface { - Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (*v1alpha1.Instance, error) - Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error) + Create(ctx context.Context, instance *corev1alpha1.Instance, opts v1.CreateOptions) (*corev1alpha1.Instance, error) + Update(ctx context.Context, instance *corev1alpha1.Instance, opts v1.UpdateOptions) (*corev1alpha1.Instance, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error) + UpdateStatus(ctx context.Context, instance *corev1alpha1.Instance, opts v1.UpdateOptions) (*corev1alpha1.Instance, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Instance, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstanceList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.Instance, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.InstanceList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Instance, err error) - Apply(ctx context.Context, instance *corev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Instance, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.Instance, err error) + Apply(ctx context.Context, instance *applyconfigurationscorev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Instance, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, instance *corev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Instance, err error) + ApplyStatus(ctx context.Context, instance *applyconfigurationscorev1alpha1.InstanceApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Instance, err error) InstanceExpansion } // instances implements InstanceInterface type instances struct { - *gentype.ClientWithListAndApply[*v1alpha1.Instance, *v1alpha1.InstanceList, *corev1alpha1.InstanceApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.Instance, *corev1alpha1.InstanceList, *applyconfigurationscorev1alpha1.InstanceApplyConfiguration] } // newInstances returns a Instances func newInstances(c *CoreV1alpha1Client, namespace string) *instances { return &instances{ - gentype.NewClientWithListAndApply[*v1alpha1.Instance, *v1alpha1.InstanceList, *corev1alpha1.InstanceApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.Instance, *corev1alpha1.InstanceList, *applyconfigurationscorev1alpha1.InstanceApplyConfiguration]( "instances", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.Instance { return &v1alpha1.Instance{} }, - func() *v1alpha1.InstanceList { return &v1alpha1.InstanceList{} }), + func() *corev1alpha1.Instance { return &corev1alpha1.Instance{} }, + func() *corev1alpha1.InstanceList { return &corev1alpha1.InstanceList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/ip.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/ip.go index d8eedcc1..8529eecb 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/ip.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/ip.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type IPsGetter interface { // IPInterface has methods to work with IP resources. type IPInterface interface { - Create(ctx context.Context, iP *v1alpha1.IP, opts v1.CreateOptions) (*v1alpha1.IP, error) - Update(ctx context.Context, iP *v1alpha1.IP, opts v1.UpdateOptions) (*v1alpha1.IP, error) + Create(ctx context.Context, iP *corev1alpha1.IP, opts v1.CreateOptions) (*corev1alpha1.IP, error) + Update(ctx context.Context, iP *corev1alpha1.IP, opts v1.UpdateOptions) (*corev1alpha1.IP, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, iP *v1alpha1.IP, opts v1.UpdateOptions) (*v1alpha1.IP, error) + UpdateStatus(ctx context.Context, iP *corev1alpha1.IP, opts v1.UpdateOptions) (*corev1alpha1.IP, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.IP, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.IPList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.IP, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.IPList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IP, err error) - Apply(ctx context.Context, iP *corev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IP, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.IP, err error) + Apply(ctx context.Context, iP *applyconfigurationscorev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.IP, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, iP *corev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IP, err error) + ApplyStatus(ctx context.Context, iP *applyconfigurationscorev1alpha1.IPApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.IP, err error) IPExpansion } // iPs implements IPInterface type iPs struct { - *gentype.ClientWithListAndApply[*v1alpha1.IP, *v1alpha1.IPList, *corev1alpha1.IPApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.IP, *corev1alpha1.IPList, *applyconfigurationscorev1alpha1.IPApplyConfiguration] } // newIPs returns a IPs func newIPs(c *CoreV1alpha1Client, namespace string) *iPs { return &iPs{ - gentype.NewClientWithListAndApply[*v1alpha1.IP, *v1alpha1.IPList, *corev1alpha1.IPApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.IP, *corev1alpha1.IPList, *applyconfigurationscorev1alpha1.IPApplyConfiguration]( "ips", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.IP { return &v1alpha1.IP{} }, - func() *v1alpha1.IPList { return &v1alpha1.IPList{} }), + func() *corev1alpha1.IP { return &corev1alpha1.IP{} }, + func() *corev1alpha1.IPList { return &corev1alpha1.IPList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/ipaddress.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/ipaddress.go index e8ee4978..73ea3b2a 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/ipaddress.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/ipaddress.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type IPAddressesGetter interface { // IPAddressInterface has methods to work with IPAddress resources. type IPAddressInterface interface { - Create(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.CreateOptions) (*v1alpha1.IPAddress, error) - Update(ctx context.Context, iPAddress *v1alpha1.IPAddress, opts v1.UpdateOptions) (*v1alpha1.IPAddress, error) + Create(ctx context.Context, iPAddress *corev1alpha1.IPAddress, opts v1.CreateOptions) (*corev1alpha1.IPAddress, error) + Update(ctx context.Context, iPAddress *corev1alpha1.IPAddress, opts v1.UpdateOptions) (*corev1alpha1.IPAddress, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.IPAddress, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.IPAddressList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.IPAddress, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.IPAddressList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IPAddress, err error) - Apply(ctx context.Context, iPAddress *corev1alpha1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.IPAddress, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.IPAddress, err error) + Apply(ctx context.Context, iPAddress *applyconfigurationscorev1alpha1.IPAddressApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.IPAddress, err error) IPAddressExpansion } // iPAddresses implements IPAddressInterface type iPAddresses struct { - *gentype.ClientWithListAndApply[*v1alpha1.IPAddress, *v1alpha1.IPAddressList, *corev1alpha1.IPAddressApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.IPAddress, *corev1alpha1.IPAddressList, *applyconfigurationscorev1alpha1.IPAddressApplyConfiguration] } // newIPAddresses returns a IPAddresses func newIPAddresses(c *CoreV1alpha1Client) *iPAddresses { return &iPAddresses{ - gentype.NewClientWithListAndApply[*v1alpha1.IPAddress, *v1alpha1.IPAddressList, *corev1alpha1.IPAddressApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.IPAddress, *corev1alpha1.IPAddressList, *applyconfigurationscorev1alpha1.IPAddressApplyConfiguration]( "ipaddresses", c.RESTClient(), scheme.ParameterCodec, "", - func() *v1alpha1.IPAddress { return &v1alpha1.IPAddress{} }, - func() *v1alpha1.IPAddressList { return &v1alpha1.IPAddressList{} }), + func() *corev1alpha1.IPAddress { return &corev1alpha1.IPAddress{} }, + func() *corev1alpha1.IPAddressList { return &corev1alpha1.IPAddressList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancer.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancer.go index d281fb57..f96513a8 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancer.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancer.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type LoadBalancersGetter interface { // LoadBalancerInterface has methods to work with LoadBalancer resources. type LoadBalancerInterface interface { - Create(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.CreateOptions) (*v1alpha1.LoadBalancer, error) - Update(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (*v1alpha1.LoadBalancer, error) + Create(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancer, opts v1.CreateOptions) (*corev1alpha1.LoadBalancer, error) + Update(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancer, opts v1.UpdateOptions) (*corev1alpha1.LoadBalancer, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, loadBalancer *v1alpha1.LoadBalancer, opts v1.UpdateOptions) (*v1alpha1.LoadBalancer, error) + UpdateStatus(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancer, opts v1.UpdateOptions) (*corev1alpha1.LoadBalancer, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.LoadBalancer, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LoadBalancerList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.LoadBalancer, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.LoadBalancerList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancer, err error) - Apply(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancer, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.LoadBalancer, err error) + Apply(ctx context.Context, loadBalancer *applyconfigurationscorev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.LoadBalancer, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, loadBalancer *corev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancer, err error) + ApplyStatus(ctx context.Context, loadBalancer *applyconfigurationscorev1alpha1.LoadBalancerApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.LoadBalancer, err error) LoadBalancerExpansion } // loadBalancers implements LoadBalancerInterface type loadBalancers struct { - *gentype.ClientWithListAndApply[*v1alpha1.LoadBalancer, *v1alpha1.LoadBalancerList, *corev1alpha1.LoadBalancerApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.LoadBalancer, *corev1alpha1.LoadBalancerList, *applyconfigurationscorev1alpha1.LoadBalancerApplyConfiguration] } // newLoadBalancers returns a LoadBalancers func newLoadBalancers(c *CoreV1alpha1Client, namespace string) *loadBalancers { return &loadBalancers{ - gentype.NewClientWithListAndApply[*v1alpha1.LoadBalancer, *v1alpha1.LoadBalancerList, *corev1alpha1.LoadBalancerApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.LoadBalancer, *corev1alpha1.LoadBalancerList, *applyconfigurationscorev1alpha1.LoadBalancerApplyConfiguration]( "loadbalancers", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.LoadBalancer { return &v1alpha1.LoadBalancer{} }, - func() *v1alpha1.LoadBalancerList { return &v1alpha1.LoadBalancerList{} }), + func() *corev1alpha1.LoadBalancer { return &corev1alpha1.LoadBalancer{} }, + func() *corev1alpha1.LoadBalancerList { return &corev1alpha1.LoadBalancerList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancerrouting.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancerrouting.go index 6fcaf9de..f6643c72 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancerrouting.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/loadbalancerrouting.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type LoadBalancerRoutingsGetter interface { // LoadBalancerRoutingInterface has methods to work with LoadBalancerRouting resources. type LoadBalancerRoutingInterface interface { - Create(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.CreateOptions) (*v1alpha1.LoadBalancerRouting, error) - Update(ctx context.Context, loadBalancerRouting *v1alpha1.LoadBalancerRouting, opts v1.UpdateOptions) (*v1alpha1.LoadBalancerRouting, error) + Create(ctx context.Context, loadBalancerRouting *corev1alpha1.LoadBalancerRouting, opts v1.CreateOptions) (*corev1alpha1.LoadBalancerRouting, error) + Update(ctx context.Context, loadBalancerRouting *corev1alpha1.LoadBalancerRouting, opts v1.UpdateOptions) (*corev1alpha1.LoadBalancerRouting, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.LoadBalancerRouting, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LoadBalancerRoutingList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.LoadBalancerRouting, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.LoadBalancerRoutingList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LoadBalancerRouting, err error) - Apply(ctx context.Context, loadBalancerRouting *corev1alpha1.LoadBalancerRoutingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.LoadBalancerRouting, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.LoadBalancerRouting, err error) + Apply(ctx context.Context, loadBalancerRouting *applyconfigurationscorev1alpha1.LoadBalancerRoutingApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.LoadBalancerRouting, err error) LoadBalancerRoutingExpansion } // loadBalancerRoutings implements LoadBalancerRoutingInterface type loadBalancerRoutings struct { - *gentype.ClientWithListAndApply[*v1alpha1.LoadBalancerRouting, *v1alpha1.LoadBalancerRoutingList, *corev1alpha1.LoadBalancerRoutingApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.LoadBalancerRouting, *corev1alpha1.LoadBalancerRoutingList, *applyconfigurationscorev1alpha1.LoadBalancerRoutingApplyConfiguration] } // newLoadBalancerRoutings returns a LoadBalancerRoutings func newLoadBalancerRoutings(c *CoreV1alpha1Client, namespace string) *loadBalancerRoutings { return &loadBalancerRoutings{ - gentype.NewClientWithListAndApply[*v1alpha1.LoadBalancerRouting, *v1alpha1.LoadBalancerRoutingList, *corev1alpha1.LoadBalancerRoutingApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.LoadBalancerRouting, *corev1alpha1.LoadBalancerRoutingList, *applyconfigurationscorev1alpha1.LoadBalancerRoutingApplyConfiguration]( "loadbalancerroutings", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.LoadBalancerRouting { return &v1alpha1.LoadBalancerRouting{} }, - func() *v1alpha1.LoadBalancerRoutingList { return &v1alpha1.LoadBalancerRoutingList{} }), + func() *corev1alpha1.LoadBalancerRouting { return &corev1alpha1.LoadBalancerRouting{} }, + func() *corev1alpha1.LoadBalancerRoutingList { return &corev1alpha1.LoadBalancerRoutingList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgateway.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgateway.go index 5d0078ef..0a40c954 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgateway.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgateway.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type NATGatewaysGetter interface { // NATGatewayInterface has methods to work with NATGateway resources. type NATGatewayInterface interface { - Create(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.CreateOptions) (*v1alpha1.NATGateway, error) - Update(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (*v1alpha1.NATGateway, error) + Create(ctx context.Context, nATGateway *corev1alpha1.NATGateway, opts v1.CreateOptions) (*corev1alpha1.NATGateway, error) + Update(ctx context.Context, nATGateway *corev1alpha1.NATGateway, opts v1.UpdateOptions) (*corev1alpha1.NATGateway, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, nATGateway *v1alpha1.NATGateway, opts v1.UpdateOptions) (*v1alpha1.NATGateway, error) + UpdateStatus(ctx context.Context, nATGateway *corev1alpha1.NATGateway, opts v1.UpdateOptions) (*corev1alpha1.NATGateway, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NATGateway, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NATGatewayList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NATGateway, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NATGatewayList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGateway, err error) - Apply(ctx context.Context, nATGateway *corev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGateway, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NATGateway, err error) + Apply(ctx context.Context, nATGateway *applyconfigurationscorev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NATGateway, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, nATGateway *corev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGateway, err error) + ApplyStatus(ctx context.Context, nATGateway *applyconfigurationscorev1alpha1.NATGatewayApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NATGateway, err error) NATGatewayExpansion } // nATGateways implements NATGatewayInterface type nATGateways struct { - *gentype.ClientWithListAndApply[*v1alpha1.NATGateway, *v1alpha1.NATGatewayList, *corev1alpha1.NATGatewayApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NATGateway, *corev1alpha1.NATGatewayList, *applyconfigurationscorev1alpha1.NATGatewayApplyConfiguration] } // newNATGateways returns a NATGateways func newNATGateways(c *CoreV1alpha1Client, namespace string) *nATGateways { return &nATGateways{ - gentype.NewClientWithListAndApply[*v1alpha1.NATGateway, *v1alpha1.NATGatewayList, *corev1alpha1.NATGatewayApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NATGateway, *corev1alpha1.NATGatewayList, *applyconfigurationscorev1alpha1.NATGatewayApplyConfiguration]( "natgateways", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NATGateway { return &v1alpha1.NATGateway{} }, - func() *v1alpha1.NATGatewayList { return &v1alpha1.NATGatewayList{} }), + func() *corev1alpha1.NATGateway { return &corev1alpha1.NATGateway{} }, + func() *corev1alpha1.NATGatewayList { return &corev1alpha1.NATGatewayList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgatewayautoscaler.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgatewayautoscaler.go index 174c3545..9b6c1faf 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgatewayautoscaler.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/natgatewayautoscaler.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type NATGatewayAutoscalersGetter interface { // NATGatewayAutoscalerInterface has methods to work with NATGatewayAutoscaler resources. type NATGatewayAutoscalerInterface interface { - Create(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.CreateOptions) (*v1alpha1.NATGatewayAutoscaler, error) - Update(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (*v1alpha1.NATGatewayAutoscaler, error) + Create(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, opts v1.CreateOptions) (*corev1alpha1.NATGatewayAutoscaler, error) + Update(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (*corev1alpha1.NATGatewayAutoscaler, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, nATGatewayAutoscaler *v1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (*v1alpha1.NATGatewayAutoscaler, error) + UpdateStatus(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, opts v1.UpdateOptions) (*corev1alpha1.NATGatewayAutoscaler, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NATGatewayAutoscaler, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NATGatewayAutoscalerList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NATGatewayAutoscaler, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NATGatewayAutoscalerList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATGatewayAutoscaler, err error) - Apply(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NATGatewayAutoscaler, err error) + Apply(ctx context.Context, nATGatewayAutoscaler *applyconfigurationscorev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NATGatewayAutoscaler, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATGatewayAutoscaler, err error) + ApplyStatus(ctx context.Context, nATGatewayAutoscaler *applyconfigurationscorev1alpha1.NATGatewayAutoscalerApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NATGatewayAutoscaler, err error) NATGatewayAutoscalerExpansion } // nATGatewayAutoscalers implements NATGatewayAutoscalerInterface type nATGatewayAutoscalers struct { - *gentype.ClientWithListAndApply[*v1alpha1.NATGatewayAutoscaler, *v1alpha1.NATGatewayAutoscalerList, *corev1alpha1.NATGatewayAutoscalerApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NATGatewayAutoscaler, *corev1alpha1.NATGatewayAutoscalerList, *applyconfigurationscorev1alpha1.NATGatewayAutoscalerApplyConfiguration] } // newNATGatewayAutoscalers returns a NATGatewayAutoscalers func newNATGatewayAutoscalers(c *CoreV1alpha1Client, namespace string) *nATGatewayAutoscalers { return &nATGatewayAutoscalers{ - gentype.NewClientWithListAndApply[*v1alpha1.NATGatewayAutoscaler, *v1alpha1.NATGatewayAutoscalerList, *corev1alpha1.NATGatewayAutoscalerApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NATGatewayAutoscaler, *corev1alpha1.NATGatewayAutoscalerList, *applyconfigurationscorev1alpha1.NATGatewayAutoscalerApplyConfiguration]( "natgatewayautoscalers", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NATGatewayAutoscaler { return &v1alpha1.NATGatewayAutoscaler{} }, - func() *v1alpha1.NATGatewayAutoscalerList { return &v1alpha1.NATGatewayAutoscalerList{} }), + func() *corev1alpha1.NATGatewayAutoscaler { return &corev1alpha1.NATGatewayAutoscaler{} }, + func() *corev1alpha1.NATGatewayAutoscalerList { return &corev1alpha1.NATGatewayAutoscalerList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/nattable.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/nattable.go index 2301abdf..0c119a44 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/nattable.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/nattable.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type NATTablesGetter interface { // NATTableInterface has methods to work with NATTable resources. type NATTableInterface interface { - Create(ctx context.Context, nATTable *v1alpha1.NATTable, opts v1.CreateOptions) (*v1alpha1.NATTable, error) - Update(ctx context.Context, nATTable *v1alpha1.NATTable, opts v1.UpdateOptions) (*v1alpha1.NATTable, error) + Create(ctx context.Context, nATTable *corev1alpha1.NATTable, opts v1.CreateOptions) (*corev1alpha1.NATTable, error) + Update(ctx context.Context, nATTable *corev1alpha1.NATTable, opts v1.UpdateOptions) (*corev1alpha1.NATTable, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NATTable, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NATTableList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NATTable, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NATTableList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NATTable, err error) - Apply(ctx context.Context, nATTable *corev1alpha1.NATTableApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NATTable, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NATTable, err error) + Apply(ctx context.Context, nATTable *applyconfigurationscorev1alpha1.NATTableApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NATTable, err error) NATTableExpansion } // nATTables implements NATTableInterface type nATTables struct { - *gentype.ClientWithListAndApply[*v1alpha1.NATTable, *v1alpha1.NATTableList, *corev1alpha1.NATTableApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NATTable, *corev1alpha1.NATTableList, *applyconfigurationscorev1alpha1.NATTableApplyConfiguration] } // newNATTables returns a NATTables func newNATTables(c *CoreV1alpha1Client, namespace string) *nATTables { return &nATTables{ - gentype.NewClientWithListAndApply[*v1alpha1.NATTable, *v1alpha1.NATTableList, *corev1alpha1.NATTableApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NATTable, *corev1alpha1.NATTableList, *applyconfigurationscorev1alpha1.NATTableApplyConfiguration]( "nattables", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NATTable { return &v1alpha1.NATTable{} }, - func() *v1alpha1.NATTableList { return &v1alpha1.NATTableList{} }), + func() *corev1alpha1.NATTable { return &corev1alpha1.NATTable{} }, + func() *corev1alpha1.NATTableList { return &corev1alpha1.NATTableList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/network.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/network.go index f8271fe5..9ac8b7ed 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/network.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/network.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type NetworksGetter interface { // NetworkInterface has methods to work with Network resources. type NetworkInterface interface { - Create(ctx context.Context, network *v1alpha1.Network, opts v1.CreateOptions) (*v1alpha1.Network, error) - Update(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (*v1alpha1.Network, error) + Create(ctx context.Context, network *corev1alpha1.Network, opts v1.CreateOptions) (*corev1alpha1.Network, error) + Update(ctx context.Context, network *corev1alpha1.Network, opts v1.UpdateOptions) (*corev1alpha1.Network, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, network *v1alpha1.Network, opts v1.UpdateOptions) (*v1alpha1.Network, error) + UpdateStatus(ctx context.Context, network *corev1alpha1.Network, opts v1.UpdateOptions) (*corev1alpha1.Network, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Network, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.Network, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NetworkList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Network, err error) - Apply(ctx context.Context, network *corev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Network, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.Network, err error) + Apply(ctx context.Context, network *applyconfigurationscorev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Network, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, network *corev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Network, err error) + ApplyStatus(ctx context.Context, network *applyconfigurationscorev1alpha1.NetworkApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Network, err error) NetworkExpansion } // networks implements NetworkInterface type networks struct { - *gentype.ClientWithListAndApply[*v1alpha1.Network, *v1alpha1.NetworkList, *corev1alpha1.NetworkApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.Network, *corev1alpha1.NetworkList, *applyconfigurationscorev1alpha1.NetworkApplyConfiguration] } // newNetworks returns a Networks func newNetworks(c *CoreV1alpha1Client, namespace string) *networks { return &networks{ - gentype.NewClientWithListAndApply[*v1alpha1.Network, *v1alpha1.NetworkList, *corev1alpha1.NetworkApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.Network, *corev1alpha1.NetworkList, *applyconfigurationscorev1alpha1.NetworkApplyConfiguration]( "networks", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.Network { return &v1alpha1.Network{} }, - func() *v1alpha1.NetworkList { return &v1alpha1.NetworkList{} }), + func() *corev1alpha1.Network { return &corev1alpha1.Network{} }, + func() *corev1alpha1.NetworkList { return &corev1alpha1.NetworkList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkid.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkid.go index dc757e4a..4541b5d6 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkid.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkid.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type NetworkIDsGetter interface { // NetworkIDInterface has methods to work with NetworkID resources. type NetworkIDInterface interface { - Create(ctx context.Context, networkID *v1alpha1.NetworkID, opts v1.CreateOptions) (*v1alpha1.NetworkID, error) - Update(ctx context.Context, networkID *v1alpha1.NetworkID, opts v1.UpdateOptions) (*v1alpha1.NetworkID, error) + Create(ctx context.Context, networkID *corev1alpha1.NetworkID, opts v1.CreateOptions) (*corev1alpha1.NetworkID, error) + Update(ctx context.Context, networkID *corev1alpha1.NetworkID, opts v1.UpdateOptions) (*corev1alpha1.NetworkID, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NetworkID, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkIDList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NetworkID, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NetworkIDList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkID, err error) - Apply(ctx context.Context, networkID *corev1alpha1.NetworkIDApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkID, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NetworkID, err error) + Apply(ctx context.Context, networkID *applyconfigurationscorev1alpha1.NetworkIDApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NetworkID, err error) NetworkIDExpansion } // networkIDs implements NetworkIDInterface type networkIDs struct { - *gentype.ClientWithListAndApply[*v1alpha1.NetworkID, *v1alpha1.NetworkIDList, *corev1alpha1.NetworkIDApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NetworkID, *corev1alpha1.NetworkIDList, *applyconfigurationscorev1alpha1.NetworkIDApplyConfiguration] } // newNetworkIDs returns a NetworkIDs func newNetworkIDs(c *CoreV1alpha1Client) *networkIDs { return &networkIDs{ - gentype.NewClientWithListAndApply[*v1alpha1.NetworkID, *v1alpha1.NetworkIDList, *corev1alpha1.NetworkIDApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NetworkID, *corev1alpha1.NetworkIDList, *applyconfigurationscorev1alpha1.NetworkIDApplyConfiguration]( "networkids", c.RESTClient(), scheme.ParameterCodec, "", - func() *v1alpha1.NetworkID { return &v1alpha1.NetworkID{} }, - func() *v1alpha1.NetworkIDList { return &v1alpha1.NetworkIDList{} }), + func() *corev1alpha1.NetworkID { return &corev1alpha1.NetworkID{} }, + func() *corev1alpha1.NetworkIDList { return &corev1alpha1.NetworkIDList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkinterface.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkinterface.go index 42af028e..305d9894 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkinterface.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkinterface.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type NetworkInterfacesGetter interface { // NetworkInterfaceInterface has methods to work with NetworkInterface resources. type NetworkInterfaceInterface interface { - Create(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.CreateOptions) (*v1alpha1.NetworkInterface, error) - Update(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (*v1alpha1.NetworkInterface, error) + Create(ctx context.Context, networkInterface *corev1alpha1.NetworkInterface, opts v1.CreateOptions) (*corev1alpha1.NetworkInterface, error) + Update(ctx context.Context, networkInterface *corev1alpha1.NetworkInterface, opts v1.UpdateOptions) (*corev1alpha1.NetworkInterface, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, networkInterface *v1alpha1.NetworkInterface, opts v1.UpdateOptions) (*v1alpha1.NetworkInterface, error) + UpdateStatus(ctx context.Context, networkInterface *corev1alpha1.NetworkInterface, opts v1.UpdateOptions) (*corev1alpha1.NetworkInterface, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NetworkInterface, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkInterfaceList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NetworkInterface, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NetworkInterfaceList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkInterface, err error) - Apply(ctx context.Context, networkInterface *corev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkInterface, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NetworkInterface, err error) + Apply(ctx context.Context, networkInterface *applyconfigurationscorev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NetworkInterface, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, networkInterface *corev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkInterface, err error) + ApplyStatus(ctx context.Context, networkInterface *applyconfigurationscorev1alpha1.NetworkInterfaceApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NetworkInterface, err error) NetworkInterfaceExpansion } // networkInterfaces implements NetworkInterfaceInterface type networkInterfaces struct { - *gentype.ClientWithListAndApply[*v1alpha1.NetworkInterface, *v1alpha1.NetworkInterfaceList, *corev1alpha1.NetworkInterfaceApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NetworkInterface, *corev1alpha1.NetworkInterfaceList, *applyconfigurationscorev1alpha1.NetworkInterfaceApplyConfiguration] } // newNetworkInterfaces returns a NetworkInterfaces func newNetworkInterfaces(c *CoreV1alpha1Client, namespace string) *networkInterfaces { return &networkInterfaces{ - gentype.NewClientWithListAndApply[*v1alpha1.NetworkInterface, *v1alpha1.NetworkInterfaceList, *corev1alpha1.NetworkInterfaceApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NetworkInterface, *corev1alpha1.NetworkInterfaceList, *applyconfigurationscorev1alpha1.NetworkInterfaceApplyConfiguration]( "networkinterfaces", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NetworkInterface { return &v1alpha1.NetworkInterface{} }, - func() *v1alpha1.NetworkInterfaceList { return &v1alpha1.NetworkInterfaceList{} }), + func() *corev1alpha1.NetworkInterface { return &corev1alpha1.NetworkInterface{} }, + func() *corev1alpha1.NetworkInterfaceList { return &corev1alpha1.NetworkInterfaceList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicy.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicy.go index 16810293..3ed55f03 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicy.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicy.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type NetworkPoliciesGetter interface { // NetworkPolicyInterface has methods to work with NetworkPolicy resources. type NetworkPolicyInterface interface { - Create(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.CreateOptions) (*v1alpha1.NetworkPolicy, error) - Update(ctx context.Context, networkPolicy *v1alpha1.NetworkPolicy, opts v1.UpdateOptions) (*v1alpha1.NetworkPolicy, error) + Create(ctx context.Context, networkPolicy *corev1alpha1.NetworkPolicy, opts v1.CreateOptions) (*corev1alpha1.NetworkPolicy, error) + Update(ctx context.Context, networkPolicy *corev1alpha1.NetworkPolicy, opts v1.UpdateOptions) (*corev1alpha1.NetworkPolicy, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NetworkPolicy, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkPolicyList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NetworkPolicy, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NetworkPolicyList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkPolicy, err error) - Apply(ctx context.Context, networkPolicy *corev1alpha1.NetworkPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkPolicy, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NetworkPolicy, err error) + Apply(ctx context.Context, networkPolicy *applyconfigurationscorev1alpha1.NetworkPolicyApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NetworkPolicy, err error) NetworkPolicyExpansion } // networkPolicies implements NetworkPolicyInterface type networkPolicies struct { - *gentype.ClientWithListAndApply[*v1alpha1.NetworkPolicy, *v1alpha1.NetworkPolicyList, *corev1alpha1.NetworkPolicyApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NetworkPolicy, *corev1alpha1.NetworkPolicyList, *applyconfigurationscorev1alpha1.NetworkPolicyApplyConfiguration] } // newNetworkPolicies returns a NetworkPolicies func newNetworkPolicies(c *CoreV1alpha1Client, namespace string) *networkPolicies { return &networkPolicies{ - gentype.NewClientWithListAndApply[*v1alpha1.NetworkPolicy, *v1alpha1.NetworkPolicyList, *corev1alpha1.NetworkPolicyApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NetworkPolicy, *corev1alpha1.NetworkPolicyList, *applyconfigurationscorev1alpha1.NetworkPolicyApplyConfiguration]( "networkpolicies", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NetworkPolicy { return &v1alpha1.NetworkPolicy{} }, - func() *v1alpha1.NetworkPolicyList { return &v1alpha1.NetworkPolicyList{} }), + func() *corev1alpha1.NetworkPolicy { return &corev1alpha1.NetworkPolicy{} }, + func() *corev1alpha1.NetworkPolicyList { return &corev1alpha1.NetworkPolicyList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicyrule.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicyrule.go index d27025a7..d5f9053c 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicyrule.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/networkpolicyrule.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,32 +25,33 @@ type NetworkPolicyRulesGetter interface { // NetworkPolicyRuleInterface has methods to work with NetworkPolicyRule resources. type NetworkPolicyRuleInterface interface { - Create(ctx context.Context, networkPolicyRule *v1alpha1.NetworkPolicyRule, opts v1.CreateOptions) (*v1alpha1.NetworkPolicyRule, error) - Update(ctx context.Context, networkPolicyRule *v1alpha1.NetworkPolicyRule, opts v1.UpdateOptions) (*v1alpha1.NetworkPolicyRule, error) + Create(ctx context.Context, networkPolicyRule *corev1alpha1.NetworkPolicyRule, opts v1.CreateOptions) (*corev1alpha1.NetworkPolicyRule, error) + Update(ctx context.Context, networkPolicyRule *corev1alpha1.NetworkPolicyRule, opts v1.UpdateOptions) (*corev1alpha1.NetworkPolicyRule, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NetworkPolicyRule, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NetworkPolicyRuleList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.NetworkPolicyRule, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NetworkPolicyRuleList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkPolicyRule, err error) - Apply(ctx context.Context, networkPolicyRule *corev1alpha1.NetworkPolicyRuleApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.NetworkPolicyRule, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.NetworkPolicyRule, err error) + Apply(ctx context.Context, networkPolicyRule *applyconfigurationscorev1alpha1.NetworkPolicyRuleApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.NetworkPolicyRule, err error) NetworkPolicyRuleExpansion } // networkPolicyRules implements NetworkPolicyRuleInterface type networkPolicyRules struct { - *gentype.ClientWithListAndApply[*v1alpha1.NetworkPolicyRule, *v1alpha1.NetworkPolicyRuleList, *corev1alpha1.NetworkPolicyRuleApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.NetworkPolicyRule, *corev1alpha1.NetworkPolicyRuleList, *applyconfigurationscorev1alpha1.NetworkPolicyRuleApplyConfiguration] } // newNetworkPolicyRules returns a NetworkPolicyRules func newNetworkPolicyRules(c *CoreV1alpha1Client, namespace string) *networkPolicyRules { return &networkPolicyRules{ - gentype.NewClientWithListAndApply[*v1alpha1.NetworkPolicyRule, *v1alpha1.NetworkPolicyRuleList, *corev1alpha1.NetworkPolicyRuleApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.NetworkPolicyRule, *corev1alpha1.NetworkPolicyRuleList, *applyconfigurationscorev1alpha1.NetworkPolicyRuleApplyConfiguration]( "networkpolicyrules", c.RESTClient(), scheme.ParameterCodec, namespace, - func() *v1alpha1.NetworkPolicyRule { return &v1alpha1.NetworkPolicyRule{} }, - func() *v1alpha1.NetworkPolicyRuleList { return &v1alpha1.NetworkPolicyRuleList{} }), + func() *corev1alpha1.NetworkPolicyRule { return &corev1alpha1.NetworkPolicyRule{} }, + func() *corev1alpha1.NetworkPolicyRuleList { return &corev1alpha1.NetworkPolicyRuleList{} }, + ), } } diff --git a/client-go/ironcorenet/versioned/typed/core/v1alpha1/node.go b/client-go/ironcorenet/versioned/typed/core/v1alpha1/node.go index 188d6a3f..5e2ca35f 100644 --- a/client-go/ironcorenet/versioned/typed/core/v1alpha1/node.go +++ b/client-go/ironcorenet/versioned/typed/core/v1alpha1/node.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - "context" + context "context" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - corev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + applyconfigurationscorev1alpha1 "github.com/ironcore-dev/ironcore-net/client-go/applyconfigurations/core/v1alpha1" scheme "github.com/ironcore-dev/ironcore-net/client-go/ironcorenet/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" @@ -25,36 +25,37 @@ type NodesGetter interface { // NodeInterface has methods to work with Node resources. type NodeInterface interface { - Create(ctx context.Context, node *v1alpha1.Node, opts v1.CreateOptions) (*v1alpha1.Node, error) - Update(ctx context.Context, node *v1alpha1.Node, opts v1.UpdateOptions) (*v1alpha1.Node, error) + Create(ctx context.Context, node *corev1alpha1.Node, opts v1.CreateOptions) (*corev1alpha1.Node, error) + Update(ctx context.Context, node *corev1alpha1.Node, opts v1.UpdateOptions) (*corev1alpha1.Node, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). - UpdateStatus(ctx context.Context, node *v1alpha1.Node, opts v1.UpdateOptions) (*v1alpha1.Node, error) + UpdateStatus(ctx context.Context, node *corev1alpha1.Node, opts v1.UpdateOptions) (*corev1alpha1.Node, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Node, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NodeList, error) + Get(ctx context.Context, name string, opts v1.GetOptions) (*corev1alpha1.Node, error) + List(ctx context.Context, opts v1.ListOptions) (*corev1alpha1.NodeList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Node, err error) - Apply(ctx context.Context, node *corev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Node, err error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *corev1alpha1.Node, err error) + Apply(ctx context.Context, node *applyconfigurationscorev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Node, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). - ApplyStatus(ctx context.Context, node *corev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Node, err error) + ApplyStatus(ctx context.Context, node *applyconfigurationscorev1alpha1.NodeApplyConfiguration, opts v1.ApplyOptions) (result *corev1alpha1.Node, err error) NodeExpansion } // nodes implements NodeInterface type nodes struct { - *gentype.ClientWithListAndApply[*v1alpha1.Node, *v1alpha1.NodeList, *corev1alpha1.NodeApplyConfiguration] + *gentype.ClientWithListAndApply[*corev1alpha1.Node, *corev1alpha1.NodeList, *applyconfigurationscorev1alpha1.NodeApplyConfiguration] } // newNodes returns a Nodes func newNodes(c *CoreV1alpha1Client) *nodes { return &nodes{ - gentype.NewClientWithListAndApply[*v1alpha1.Node, *v1alpha1.NodeList, *corev1alpha1.NodeApplyConfiguration]( + gentype.NewClientWithListAndApply[*corev1alpha1.Node, *corev1alpha1.NodeList, *applyconfigurationscorev1alpha1.NodeApplyConfiguration]( "nodes", c.RESTClient(), scheme.ParameterCodec, "", - func() *v1alpha1.Node { return &v1alpha1.Node{} }, - func() *v1alpha1.NodeList { return &v1alpha1.NodeList{} }), + func() *corev1alpha1.Node { return &corev1alpha1.Node{} }, + func() *corev1alpha1.NodeList { return &corev1alpha1.NodeList{} }, + ), } } diff --git a/client-go/listers/core/v1alpha1/daemonset.go b/client-go/listers/core/v1alpha1/daemonset.go index f9c21171..a9f19282 100644 --- a/client-go/listers/core/v1alpha1/daemonset.go +++ b/client-go/listers/core/v1alpha1/daemonset.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // DaemonSetLister helps list DaemonSets. @@ -17,7 +17,7 @@ import ( type DaemonSetLister interface { // List lists all DaemonSets in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.DaemonSet, err error) + List(selector labels.Selector) (ret []*corev1alpha1.DaemonSet, err error) // DaemonSets returns an object that can list and get DaemonSets. DaemonSets(namespace string) DaemonSetNamespaceLister DaemonSetListerExpansion @@ -25,17 +25,17 @@ type DaemonSetLister interface { // daemonSetLister implements the DaemonSetLister interface. type daemonSetLister struct { - listers.ResourceIndexer[*v1alpha1.DaemonSet] + listers.ResourceIndexer[*corev1alpha1.DaemonSet] } // NewDaemonSetLister returns a new DaemonSetLister. func NewDaemonSetLister(indexer cache.Indexer) DaemonSetLister { - return &daemonSetLister{listers.New[*v1alpha1.DaemonSet](indexer, v1alpha1.Resource("daemonset"))} + return &daemonSetLister{listers.New[*corev1alpha1.DaemonSet](indexer, corev1alpha1.Resource("daemonset"))} } // DaemonSets returns an object that can list and get DaemonSets. func (s *daemonSetLister) DaemonSets(namespace string) DaemonSetNamespaceLister { - return daemonSetNamespaceLister{listers.NewNamespaced[*v1alpha1.DaemonSet](s.ResourceIndexer, namespace)} + return daemonSetNamespaceLister{listers.NewNamespaced[*corev1alpha1.DaemonSet](s.ResourceIndexer, namespace)} } // DaemonSetNamespaceLister helps list and get DaemonSets. @@ -43,15 +43,15 @@ func (s *daemonSetLister) DaemonSets(namespace string) DaemonSetNamespaceLister type DaemonSetNamespaceLister interface { // List lists all DaemonSets in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.DaemonSet, err error) + List(selector labels.Selector) (ret []*corev1alpha1.DaemonSet, err error) // Get retrieves the DaemonSet from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.DaemonSet, error) + Get(name string) (*corev1alpha1.DaemonSet, error) DaemonSetNamespaceListerExpansion } // daemonSetNamespaceLister implements the DaemonSetNamespaceLister // interface. type daemonSetNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.DaemonSet] + listers.ResourceIndexer[*corev1alpha1.DaemonSet] } diff --git a/client-go/listers/core/v1alpha1/instance.go b/client-go/listers/core/v1alpha1/instance.go index 26f7dbb2..a9a2f546 100644 --- a/client-go/listers/core/v1alpha1/instance.go +++ b/client-go/listers/core/v1alpha1/instance.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // InstanceLister helps list Instances. @@ -17,7 +17,7 @@ import ( type InstanceLister interface { // List lists all Instances in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.Instance, err error) + List(selector labels.Selector) (ret []*corev1alpha1.Instance, err error) // Instances returns an object that can list and get Instances. Instances(namespace string) InstanceNamespaceLister InstanceListerExpansion @@ -25,17 +25,17 @@ type InstanceLister interface { // instanceLister implements the InstanceLister interface. type instanceLister struct { - listers.ResourceIndexer[*v1alpha1.Instance] + listers.ResourceIndexer[*corev1alpha1.Instance] } // NewInstanceLister returns a new InstanceLister. func NewInstanceLister(indexer cache.Indexer) InstanceLister { - return &instanceLister{listers.New[*v1alpha1.Instance](indexer, v1alpha1.Resource("instance"))} + return &instanceLister{listers.New[*corev1alpha1.Instance](indexer, corev1alpha1.Resource("instance"))} } // Instances returns an object that can list and get Instances. func (s *instanceLister) Instances(namespace string) InstanceNamespaceLister { - return instanceNamespaceLister{listers.NewNamespaced[*v1alpha1.Instance](s.ResourceIndexer, namespace)} + return instanceNamespaceLister{listers.NewNamespaced[*corev1alpha1.Instance](s.ResourceIndexer, namespace)} } // InstanceNamespaceLister helps list and get Instances. @@ -43,15 +43,15 @@ func (s *instanceLister) Instances(namespace string) InstanceNamespaceLister { type InstanceNamespaceLister interface { // List lists all Instances in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.Instance, err error) + List(selector labels.Selector) (ret []*corev1alpha1.Instance, err error) // Get retrieves the Instance from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.Instance, error) + Get(name string) (*corev1alpha1.Instance, error) InstanceNamespaceListerExpansion } // instanceNamespaceLister implements the InstanceNamespaceLister // interface. type instanceNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.Instance] + listers.ResourceIndexer[*corev1alpha1.Instance] } diff --git a/client-go/listers/core/v1alpha1/ip.go b/client-go/listers/core/v1alpha1/ip.go index bb47216f..93e0d60b 100644 --- a/client-go/listers/core/v1alpha1/ip.go +++ b/client-go/listers/core/v1alpha1/ip.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // IPLister helps list IPs. @@ -17,7 +17,7 @@ import ( type IPLister interface { // List lists all IPs in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.IP, err error) + List(selector labels.Selector) (ret []*corev1alpha1.IP, err error) // IPs returns an object that can list and get IPs. IPs(namespace string) IPNamespaceLister IPListerExpansion @@ -25,17 +25,17 @@ type IPLister interface { // iPLister implements the IPLister interface. type iPLister struct { - listers.ResourceIndexer[*v1alpha1.IP] + listers.ResourceIndexer[*corev1alpha1.IP] } // NewIPLister returns a new IPLister. func NewIPLister(indexer cache.Indexer) IPLister { - return &iPLister{listers.New[*v1alpha1.IP](indexer, v1alpha1.Resource("ip"))} + return &iPLister{listers.New[*corev1alpha1.IP](indexer, corev1alpha1.Resource("ip"))} } // IPs returns an object that can list and get IPs. func (s *iPLister) IPs(namespace string) IPNamespaceLister { - return iPNamespaceLister{listers.NewNamespaced[*v1alpha1.IP](s.ResourceIndexer, namespace)} + return iPNamespaceLister{listers.NewNamespaced[*corev1alpha1.IP](s.ResourceIndexer, namespace)} } // IPNamespaceLister helps list and get IPs. @@ -43,15 +43,15 @@ func (s *iPLister) IPs(namespace string) IPNamespaceLister { type IPNamespaceLister interface { // List lists all IPs in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.IP, err error) + List(selector labels.Selector) (ret []*corev1alpha1.IP, err error) // Get retrieves the IP from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.IP, error) + Get(name string) (*corev1alpha1.IP, error) IPNamespaceListerExpansion } // iPNamespaceLister implements the IPNamespaceLister // interface. type iPNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.IP] + listers.ResourceIndexer[*corev1alpha1.IP] } diff --git a/client-go/listers/core/v1alpha1/ipaddress.go b/client-go/listers/core/v1alpha1/ipaddress.go index 35c82995..c87580bb 100644 --- a/client-go/listers/core/v1alpha1/ipaddress.go +++ b/client-go/listers/core/v1alpha1/ipaddress.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // IPAddressLister helps list IPAddresses. @@ -17,19 +17,19 @@ import ( type IPAddressLister interface { // List lists all IPAddresses in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.IPAddress, err error) + List(selector labels.Selector) (ret []*corev1alpha1.IPAddress, err error) // Get retrieves the IPAddress from the index for a given name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.IPAddress, error) + Get(name string) (*corev1alpha1.IPAddress, error) IPAddressListerExpansion } // iPAddressLister implements the IPAddressLister interface. type iPAddressLister struct { - listers.ResourceIndexer[*v1alpha1.IPAddress] + listers.ResourceIndexer[*corev1alpha1.IPAddress] } // NewIPAddressLister returns a new IPAddressLister. func NewIPAddressLister(indexer cache.Indexer) IPAddressLister { - return &iPAddressLister{listers.New[*v1alpha1.IPAddress](indexer, v1alpha1.Resource("ipaddress"))} + return &iPAddressLister{listers.New[*corev1alpha1.IPAddress](indexer, corev1alpha1.Resource("ipaddress"))} } diff --git a/client-go/listers/core/v1alpha1/loadbalancer.go b/client-go/listers/core/v1alpha1/loadbalancer.go index 651ed239..f56d2fa9 100644 --- a/client-go/listers/core/v1alpha1/loadbalancer.go +++ b/client-go/listers/core/v1alpha1/loadbalancer.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // LoadBalancerLister helps list LoadBalancers. @@ -17,7 +17,7 @@ import ( type LoadBalancerLister interface { // List lists all LoadBalancers in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.LoadBalancer, err error) + List(selector labels.Selector) (ret []*corev1alpha1.LoadBalancer, err error) // LoadBalancers returns an object that can list and get LoadBalancers. LoadBalancers(namespace string) LoadBalancerNamespaceLister LoadBalancerListerExpansion @@ -25,17 +25,17 @@ type LoadBalancerLister interface { // loadBalancerLister implements the LoadBalancerLister interface. type loadBalancerLister struct { - listers.ResourceIndexer[*v1alpha1.LoadBalancer] + listers.ResourceIndexer[*corev1alpha1.LoadBalancer] } // NewLoadBalancerLister returns a new LoadBalancerLister. func NewLoadBalancerLister(indexer cache.Indexer) LoadBalancerLister { - return &loadBalancerLister{listers.New[*v1alpha1.LoadBalancer](indexer, v1alpha1.Resource("loadbalancer"))} + return &loadBalancerLister{listers.New[*corev1alpha1.LoadBalancer](indexer, corev1alpha1.Resource("loadbalancer"))} } // LoadBalancers returns an object that can list and get LoadBalancers. func (s *loadBalancerLister) LoadBalancers(namespace string) LoadBalancerNamespaceLister { - return loadBalancerNamespaceLister{listers.NewNamespaced[*v1alpha1.LoadBalancer](s.ResourceIndexer, namespace)} + return loadBalancerNamespaceLister{listers.NewNamespaced[*corev1alpha1.LoadBalancer](s.ResourceIndexer, namespace)} } // LoadBalancerNamespaceLister helps list and get LoadBalancers. @@ -43,15 +43,15 @@ func (s *loadBalancerLister) LoadBalancers(namespace string) LoadBalancerNamespa type LoadBalancerNamespaceLister interface { // List lists all LoadBalancers in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.LoadBalancer, err error) + List(selector labels.Selector) (ret []*corev1alpha1.LoadBalancer, err error) // Get retrieves the LoadBalancer from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.LoadBalancer, error) + Get(name string) (*corev1alpha1.LoadBalancer, error) LoadBalancerNamespaceListerExpansion } // loadBalancerNamespaceLister implements the LoadBalancerNamespaceLister // interface. type loadBalancerNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.LoadBalancer] + listers.ResourceIndexer[*corev1alpha1.LoadBalancer] } diff --git a/client-go/listers/core/v1alpha1/loadbalancerrouting.go b/client-go/listers/core/v1alpha1/loadbalancerrouting.go index bbb4c89b..a3d28667 100644 --- a/client-go/listers/core/v1alpha1/loadbalancerrouting.go +++ b/client-go/listers/core/v1alpha1/loadbalancerrouting.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // LoadBalancerRoutingLister helps list LoadBalancerRoutings. @@ -17,7 +17,7 @@ import ( type LoadBalancerRoutingLister interface { // List lists all LoadBalancerRoutings in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.LoadBalancerRouting, err error) + List(selector labels.Selector) (ret []*corev1alpha1.LoadBalancerRouting, err error) // LoadBalancerRoutings returns an object that can list and get LoadBalancerRoutings. LoadBalancerRoutings(namespace string) LoadBalancerRoutingNamespaceLister LoadBalancerRoutingListerExpansion @@ -25,17 +25,17 @@ type LoadBalancerRoutingLister interface { // loadBalancerRoutingLister implements the LoadBalancerRoutingLister interface. type loadBalancerRoutingLister struct { - listers.ResourceIndexer[*v1alpha1.LoadBalancerRouting] + listers.ResourceIndexer[*corev1alpha1.LoadBalancerRouting] } // NewLoadBalancerRoutingLister returns a new LoadBalancerRoutingLister. func NewLoadBalancerRoutingLister(indexer cache.Indexer) LoadBalancerRoutingLister { - return &loadBalancerRoutingLister{listers.New[*v1alpha1.LoadBalancerRouting](indexer, v1alpha1.Resource("loadbalancerrouting"))} + return &loadBalancerRoutingLister{listers.New[*corev1alpha1.LoadBalancerRouting](indexer, corev1alpha1.Resource("loadbalancerrouting"))} } // LoadBalancerRoutings returns an object that can list and get LoadBalancerRoutings. func (s *loadBalancerRoutingLister) LoadBalancerRoutings(namespace string) LoadBalancerRoutingNamespaceLister { - return loadBalancerRoutingNamespaceLister{listers.NewNamespaced[*v1alpha1.LoadBalancerRouting](s.ResourceIndexer, namespace)} + return loadBalancerRoutingNamespaceLister{listers.NewNamespaced[*corev1alpha1.LoadBalancerRouting](s.ResourceIndexer, namespace)} } // LoadBalancerRoutingNamespaceLister helps list and get LoadBalancerRoutings. @@ -43,15 +43,15 @@ func (s *loadBalancerRoutingLister) LoadBalancerRoutings(namespace string) LoadB type LoadBalancerRoutingNamespaceLister interface { // List lists all LoadBalancerRoutings in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.LoadBalancerRouting, err error) + List(selector labels.Selector) (ret []*corev1alpha1.LoadBalancerRouting, err error) // Get retrieves the LoadBalancerRouting from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.LoadBalancerRouting, error) + Get(name string) (*corev1alpha1.LoadBalancerRouting, error) LoadBalancerRoutingNamespaceListerExpansion } // loadBalancerRoutingNamespaceLister implements the LoadBalancerRoutingNamespaceLister // interface. type loadBalancerRoutingNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.LoadBalancerRouting] + listers.ResourceIndexer[*corev1alpha1.LoadBalancerRouting] } diff --git a/client-go/listers/core/v1alpha1/natgateway.go b/client-go/listers/core/v1alpha1/natgateway.go index a3f64bba..1ae85a83 100644 --- a/client-go/listers/core/v1alpha1/natgateway.go +++ b/client-go/listers/core/v1alpha1/natgateway.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NATGatewayLister helps list NATGateways. @@ -17,7 +17,7 @@ import ( type NATGatewayLister interface { // List lists all NATGateways in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATGateway, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATGateway, err error) // NATGateways returns an object that can list and get NATGateways. NATGateways(namespace string) NATGatewayNamespaceLister NATGatewayListerExpansion @@ -25,17 +25,17 @@ type NATGatewayLister interface { // nATGatewayLister implements the NATGatewayLister interface. type nATGatewayLister struct { - listers.ResourceIndexer[*v1alpha1.NATGateway] + listers.ResourceIndexer[*corev1alpha1.NATGateway] } // NewNATGatewayLister returns a new NATGatewayLister. func NewNATGatewayLister(indexer cache.Indexer) NATGatewayLister { - return &nATGatewayLister{listers.New[*v1alpha1.NATGateway](indexer, v1alpha1.Resource("natgateway"))} + return &nATGatewayLister{listers.New[*corev1alpha1.NATGateway](indexer, corev1alpha1.Resource("natgateway"))} } // NATGateways returns an object that can list and get NATGateways. func (s *nATGatewayLister) NATGateways(namespace string) NATGatewayNamespaceLister { - return nATGatewayNamespaceLister{listers.NewNamespaced[*v1alpha1.NATGateway](s.ResourceIndexer, namespace)} + return nATGatewayNamespaceLister{listers.NewNamespaced[*corev1alpha1.NATGateway](s.ResourceIndexer, namespace)} } // NATGatewayNamespaceLister helps list and get NATGateways. @@ -43,15 +43,15 @@ func (s *nATGatewayLister) NATGateways(namespace string) NATGatewayNamespaceList type NATGatewayNamespaceLister interface { // List lists all NATGateways in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATGateway, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATGateway, err error) // Get retrieves the NATGateway from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NATGateway, error) + Get(name string) (*corev1alpha1.NATGateway, error) NATGatewayNamespaceListerExpansion } // nATGatewayNamespaceLister implements the NATGatewayNamespaceLister // interface. type nATGatewayNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NATGateway] + listers.ResourceIndexer[*corev1alpha1.NATGateway] } diff --git a/client-go/listers/core/v1alpha1/natgatewayautoscaler.go b/client-go/listers/core/v1alpha1/natgatewayautoscaler.go index 2135903d..6c6d45f4 100644 --- a/client-go/listers/core/v1alpha1/natgatewayautoscaler.go +++ b/client-go/listers/core/v1alpha1/natgatewayautoscaler.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NATGatewayAutoscalerLister helps list NATGatewayAutoscalers. @@ -17,7 +17,7 @@ import ( type NATGatewayAutoscalerLister interface { // List lists all NATGatewayAutoscalers in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATGatewayAutoscaler, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATGatewayAutoscaler, err error) // NATGatewayAutoscalers returns an object that can list and get NATGatewayAutoscalers. NATGatewayAutoscalers(namespace string) NATGatewayAutoscalerNamespaceLister NATGatewayAutoscalerListerExpansion @@ -25,17 +25,17 @@ type NATGatewayAutoscalerLister interface { // nATGatewayAutoscalerLister implements the NATGatewayAutoscalerLister interface. type nATGatewayAutoscalerLister struct { - listers.ResourceIndexer[*v1alpha1.NATGatewayAutoscaler] + listers.ResourceIndexer[*corev1alpha1.NATGatewayAutoscaler] } // NewNATGatewayAutoscalerLister returns a new NATGatewayAutoscalerLister. func NewNATGatewayAutoscalerLister(indexer cache.Indexer) NATGatewayAutoscalerLister { - return &nATGatewayAutoscalerLister{listers.New[*v1alpha1.NATGatewayAutoscaler](indexer, v1alpha1.Resource("natgatewayautoscaler"))} + return &nATGatewayAutoscalerLister{listers.New[*corev1alpha1.NATGatewayAutoscaler](indexer, corev1alpha1.Resource("natgatewayautoscaler"))} } // NATGatewayAutoscalers returns an object that can list and get NATGatewayAutoscalers. func (s *nATGatewayAutoscalerLister) NATGatewayAutoscalers(namespace string) NATGatewayAutoscalerNamespaceLister { - return nATGatewayAutoscalerNamespaceLister{listers.NewNamespaced[*v1alpha1.NATGatewayAutoscaler](s.ResourceIndexer, namespace)} + return nATGatewayAutoscalerNamespaceLister{listers.NewNamespaced[*corev1alpha1.NATGatewayAutoscaler](s.ResourceIndexer, namespace)} } // NATGatewayAutoscalerNamespaceLister helps list and get NATGatewayAutoscalers. @@ -43,15 +43,15 @@ func (s *nATGatewayAutoscalerLister) NATGatewayAutoscalers(namespace string) NAT type NATGatewayAutoscalerNamespaceLister interface { // List lists all NATGatewayAutoscalers in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATGatewayAutoscaler, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATGatewayAutoscaler, err error) // Get retrieves the NATGatewayAutoscaler from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NATGatewayAutoscaler, error) + Get(name string) (*corev1alpha1.NATGatewayAutoscaler, error) NATGatewayAutoscalerNamespaceListerExpansion } // nATGatewayAutoscalerNamespaceLister implements the NATGatewayAutoscalerNamespaceLister // interface. type nATGatewayAutoscalerNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NATGatewayAutoscaler] + listers.ResourceIndexer[*corev1alpha1.NATGatewayAutoscaler] } diff --git a/client-go/listers/core/v1alpha1/nattable.go b/client-go/listers/core/v1alpha1/nattable.go index 89cb4309..6506319d 100644 --- a/client-go/listers/core/v1alpha1/nattable.go +++ b/client-go/listers/core/v1alpha1/nattable.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NATTableLister helps list NATTables. @@ -17,7 +17,7 @@ import ( type NATTableLister interface { // List lists all NATTables in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATTable, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATTable, err error) // NATTables returns an object that can list and get NATTables. NATTables(namespace string) NATTableNamespaceLister NATTableListerExpansion @@ -25,17 +25,17 @@ type NATTableLister interface { // nATTableLister implements the NATTableLister interface. type nATTableLister struct { - listers.ResourceIndexer[*v1alpha1.NATTable] + listers.ResourceIndexer[*corev1alpha1.NATTable] } // NewNATTableLister returns a new NATTableLister. func NewNATTableLister(indexer cache.Indexer) NATTableLister { - return &nATTableLister{listers.New[*v1alpha1.NATTable](indexer, v1alpha1.Resource("nattable"))} + return &nATTableLister{listers.New[*corev1alpha1.NATTable](indexer, corev1alpha1.Resource("nattable"))} } // NATTables returns an object that can list and get NATTables. func (s *nATTableLister) NATTables(namespace string) NATTableNamespaceLister { - return nATTableNamespaceLister{listers.NewNamespaced[*v1alpha1.NATTable](s.ResourceIndexer, namespace)} + return nATTableNamespaceLister{listers.NewNamespaced[*corev1alpha1.NATTable](s.ResourceIndexer, namespace)} } // NATTableNamespaceLister helps list and get NATTables. @@ -43,15 +43,15 @@ func (s *nATTableLister) NATTables(namespace string) NATTableNamespaceLister { type NATTableNamespaceLister interface { // List lists all NATTables in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NATTable, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NATTable, err error) // Get retrieves the NATTable from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NATTable, error) + Get(name string) (*corev1alpha1.NATTable, error) NATTableNamespaceListerExpansion } // nATTableNamespaceLister implements the NATTableNamespaceLister // interface. type nATTableNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NATTable] + listers.ResourceIndexer[*corev1alpha1.NATTable] } diff --git a/client-go/listers/core/v1alpha1/network.go b/client-go/listers/core/v1alpha1/network.go index 47404bd5..7a0044d0 100644 --- a/client-go/listers/core/v1alpha1/network.go +++ b/client-go/listers/core/v1alpha1/network.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NetworkLister helps list Networks. @@ -17,7 +17,7 @@ import ( type NetworkLister interface { // List lists all Networks in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.Network, err error) + List(selector labels.Selector) (ret []*corev1alpha1.Network, err error) // Networks returns an object that can list and get Networks. Networks(namespace string) NetworkNamespaceLister NetworkListerExpansion @@ -25,17 +25,17 @@ type NetworkLister interface { // networkLister implements the NetworkLister interface. type networkLister struct { - listers.ResourceIndexer[*v1alpha1.Network] + listers.ResourceIndexer[*corev1alpha1.Network] } // NewNetworkLister returns a new NetworkLister. func NewNetworkLister(indexer cache.Indexer) NetworkLister { - return &networkLister{listers.New[*v1alpha1.Network](indexer, v1alpha1.Resource("network"))} + return &networkLister{listers.New[*corev1alpha1.Network](indexer, corev1alpha1.Resource("network"))} } // Networks returns an object that can list and get Networks. func (s *networkLister) Networks(namespace string) NetworkNamespaceLister { - return networkNamespaceLister{listers.NewNamespaced[*v1alpha1.Network](s.ResourceIndexer, namespace)} + return networkNamespaceLister{listers.NewNamespaced[*corev1alpha1.Network](s.ResourceIndexer, namespace)} } // NetworkNamespaceLister helps list and get Networks. @@ -43,15 +43,15 @@ func (s *networkLister) Networks(namespace string) NetworkNamespaceLister { type NetworkNamespaceLister interface { // List lists all Networks in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.Network, err error) + List(selector labels.Selector) (ret []*corev1alpha1.Network, err error) // Get retrieves the Network from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.Network, error) + Get(name string) (*corev1alpha1.Network, error) NetworkNamespaceListerExpansion } // networkNamespaceLister implements the NetworkNamespaceLister // interface. type networkNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.Network] + listers.ResourceIndexer[*corev1alpha1.Network] } diff --git a/client-go/listers/core/v1alpha1/networkid.go b/client-go/listers/core/v1alpha1/networkid.go index fa129d95..52699539 100644 --- a/client-go/listers/core/v1alpha1/networkid.go +++ b/client-go/listers/core/v1alpha1/networkid.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NetworkIDLister helps list NetworkIDs. @@ -17,19 +17,19 @@ import ( type NetworkIDLister interface { // List lists all NetworkIDs in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkID, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkID, err error) // Get retrieves the NetworkID from the index for a given name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NetworkID, error) + Get(name string) (*corev1alpha1.NetworkID, error) NetworkIDListerExpansion } // networkIDLister implements the NetworkIDLister interface. type networkIDLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkID] + listers.ResourceIndexer[*corev1alpha1.NetworkID] } // NewNetworkIDLister returns a new NetworkIDLister. func NewNetworkIDLister(indexer cache.Indexer) NetworkIDLister { - return &networkIDLister{listers.New[*v1alpha1.NetworkID](indexer, v1alpha1.Resource("networkid"))} + return &networkIDLister{listers.New[*corev1alpha1.NetworkID](indexer, corev1alpha1.Resource("networkid"))} } diff --git a/client-go/listers/core/v1alpha1/networkinterface.go b/client-go/listers/core/v1alpha1/networkinterface.go index 38754e3b..9b1b54ce 100644 --- a/client-go/listers/core/v1alpha1/networkinterface.go +++ b/client-go/listers/core/v1alpha1/networkinterface.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NetworkInterfaceLister helps list NetworkInterfaces. @@ -17,7 +17,7 @@ import ( type NetworkInterfaceLister interface { // List lists all NetworkInterfaces in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkInterface, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkInterface, err error) // NetworkInterfaces returns an object that can list and get NetworkInterfaces. NetworkInterfaces(namespace string) NetworkInterfaceNamespaceLister NetworkInterfaceListerExpansion @@ -25,17 +25,17 @@ type NetworkInterfaceLister interface { // networkInterfaceLister implements the NetworkInterfaceLister interface. type networkInterfaceLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkInterface] + listers.ResourceIndexer[*corev1alpha1.NetworkInterface] } // NewNetworkInterfaceLister returns a new NetworkInterfaceLister. func NewNetworkInterfaceLister(indexer cache.Indexer) NetworkInterfaceLister { - return &networkInterfaceLister{listers.New[*v1alpha1.NetworkInterface](indexer, v1alpha1.Resource("networkinterface"))} + return &networkInterfaceLister{listers.New[*corev1alpha1.NetworkInterface](indexer, corev1alpha1.Resource("networkinterface"))} } // NetworkInterfaces returns an object that can list and get NetworkInterfaces. func (s *networkInterfaceLister) NetworkInterfaces(namespace string) NetworkInterfaceNamespaceLister { - return networkInterfaceNamespaceLister{listers.NewNamespaced[*v1alpha1.NetworkInterface](s.ResourceIndexer, namespace)} + return networkInterfaceNamespaceLister{listers.NewNamespaced[*corev1alpha1.NetworkInterface](s.ResourceIndexer, namespace)} } // NetworkInterfaceNamespaceLister helps list and get NetworkInterfaces. @@ -43,15 +43,15 @@ func (s *networkInterfaceLister) NetworkInterfaces(namespace string) NetworkInte type NetworkInterfaceNamespaceLister interface { // List lists all NetworkInterfaces in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkInterface, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkInterface, err error) // Get retrieves the NetworkInterface from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NetworkInterface, error) + Get(name string) (*corev1alpha1.NetworkInterface, error) NetworkInterfaceNamespaceListerExpansion } // networkInterfaceNamespaceLister implements the NetworkInterfaceNamespaceLister // interface. type networkInterfaceNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkInterface] + listers.ResourceIndexer[*corev1alpha1.NetworkInterface] } diff --git a/client-go/listers/core/v1alpha1/networkpolicy.go b/client-go/listers/core/v1alpha1/networkpolicy.go index f8fbb73b..af03e27a 100644 --- a/client-go/listers/core/v1alpha1/networkpolicy.go +++ b/client-go/listers/core/v1alpha1/networkpolicy.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NetworkPolicyLister helps list NetworkPolicies. @@ -17,7 +17,7 @@ import ( type NetworkPolicyLister interface { // List lists all NetworkPolicies in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkPolicy, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkPolicy, err error) // NetworkPolicies returns an object that can list and get NetworkPolicies. NetworkPolicies(namespace string) NetworkPolicyNamespaceLister NetworkPolicyListerExpansion @@ -25,17 +25,17 @@ type NetworkPolicyLister interface { // networkPolicyLister implements the NetworkPolicyLister interface. type networkPolicyLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkPolicy] + listers.ResourceIndexer[*corev1alpha1.NetworkPolicy] } // NewNetworkPolicyLister returns a new NetworkPolicyLister. func NewNetworkPolicyLister(indexer cache.Indexer) NetworkPolicyLister { - return &networkPolicyLister{listers.New[*v1alpha1.NetworkPolicy](indexer, v1alpha1.Resource("networkpolicy"))} + return &networkPolicyLister{listers.New[*corev1alpha1.NetworkPolicy](indexer, corev1alpha1.Resource("networkpolicy"))} } // NetworkPolicies returns an object that can list and get NetworkPolicies. func (s *networkPolicyLister) NetworkPolicies(namespace string) NetworkPolicyNamespaceLister { - return networkPolicyNamespaceLister{listers.NewNamespaced[*v1alpha1.NetworkPolicy](s.ResourceIndexer, namespace)} + return networkPolicyNamespaceLister{listers.NewNamespaced[*corev1alpha1.NetworkPolicy](s.ResourceIndexer, namespace)} } // NetworkPolicyNamespaceLister helps list and get NetworkPolicies. @@ -43,15 +43,15 @@ func (s *networkPolicyLister) NetworkPolicies(namespace string) NetworkPolicyNam type NetworkPolicyNamespaceLister interface { // List lists all NetworkPolicies in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkPolicy, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkPolicy, err error) // Get retrieves the NetworkPolicy from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NetworkPolicy, error) + Get(name string) (*corev1alpha1.NetworkPolicy, error) NetworkPolicyNamespaceListerExpansion } // networkPolicyNamespaceLister implements the NetworkPolicyNamespaceLister // interface. type networkPolicyNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkPolicy] + listers.ResourceIndexer[*corev1alpha1.NetworkPolicy] } diff --git a/client-go/listers/core/v1alpha1/networkpolicyrule.go b/client-go/listers/core/v1alpha1/networkpolicyrule.go index b6dfee57..06d50baa 100644 --- a/client-go/listers/core/v1alpha1/networkpolicyrule.go +++ b/client-go/listers/core/v1alpha1/networkpolicyrule.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NetworkPolicyRuleLister helps list NetworkPolicyRules. @@ -17,7 +17,7 @@ import ( type NetworkPolicyRuleLister interface { // List lists all NetworkPolicyRules in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkPolicyRule, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkPolicyRule, err error) // NetworkPolicyRules returns an object that can list and get NetworkPolicyRules. NetworkPolicyRules(namespace string) NetworkPolicyRuleNamespaceLister NetworkPolicyRuleListerExpansion @@ -25,17 +25,17 @@ type NetworkPolicyRuleLister interface { // networkPolicyRuleLister implements the NetworkPolicyRuleLister interface. type networkPolicyRuleLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkPolicyRule] + listers.ResourceIndexer[*corev1alpha1.NetworkPolicyRule] } // NewNetworkPolicyRuleLister returns a new NetworkPolicyRuleLister. func NewNetworkPolicyRuleLister(indexer cache.Indexer) NetworkPolicyRuleLister { - return &networkPolicyRuleLister{listers.New[*v1alpha1.NetworkPolicyRule](indexer, v1alpha1.Resource("networkpolicyrule"))} + return &networkPolicyRuleLister{listers.New[*corev1alpha1.NetworkPolicyRule](indexer, corev1alpha1.Resource("networkpolicyrule"))} } // NetworkPolicyRules returns an object that can list and get NetworkPolicyRules. func (s *networkPolicyRuleLister) NetworkPolicyRules(namespace string) NetworkPolicyRuleNamespaceLister { - return networkPolicyRuleNamespaceLister{listers.NewNamespaced[*v1alpha1.NetworkPolicyRule](s.ResourceIndexer, namespace)} + return networkPolicyRuleNamespaceLister{listers.NewNamespaced[*corev1alpha1.NetworkPolicyRule](s.ResourceIndexer, namespace)} } // NetworkPolicyRuleNamespaceLister helps list and get NetworkPolicyRules. @@ -43,15 +43,15 @@ func (s *networkPolicyRuleLister) NetworkPolicyRules(namespace string) NetworkPo type NetworkPolicyRuleNamespaceLister interface { // List lists all NetworkPolicyRules in the indexer for a given namespace. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.NetworkPolicyRule, err error) + List(selector labels.Selector) (ret []*corev1alpha1.NetworkPolicyRule, err error) // Get retrieves the NetworkPolicyRule from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.NetworkPolicyRule, error) + Get(name string) (*corev1alpha1.NetworkPolicyRule, error) NetworkPolicyRuleNamespaceListerExpansion } // networkPolicyRuleNamespaceLister implements the NetworkPolicyRuleNamespaceLister // interface. type networkPolicyRuleNamespaceLister struct { - listers.ResourceIndexer[*v1alpha1.NetworkPolicyRule] + listers.ResourceIndexer[*corev1alpha1.NetworkPolicyRule] } diff --git a/client-go/listers/core/v1alpha1/node.go b/client-go/listers/core/v1alpha1/node.go index 4a286b20..2a78bdf6 100644 --- a/client-go/listers/core/v1alpha1/node.go +++ b/client-go/listers/core/v1alpha1/node.go @@ -6,10 +6,10 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" - "k8s.io/apimachinery/pkg/labels" - "k8s.io/client-go/listers" - "k8s.io/client-go/tools/cache" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + labels "k8s.io/apimachinery/pkg/labels" + listers "k8s.io/client-go/listers" + cache "k8s.io/client-go/tools/cache" ) // NodeLister helps list Nodes. @@ -17,19 +17,19 @@ import ( type NodeLister interface { // List lists all Nodes in the indexer. // Objects returned here must be treated as read-only. - List(selector labels.Selector) (ret []*v1alpha1.Node, err error) + List(selector labels.Selector) (ret []*corev1alpha1.Node, err error) // Get retrieves the Node from the index for a given name. // Objects returned here must be treated as read-only. - Get(name string) (*v1alpha1.Node, error) + Get(name string) (*corev1alpha1.Node, error) NodeListerExpansion } // nodeLister implements the NodeLister interface. type nodeLister struct { - listers.ResourceIndexer[*v1alpha1.Node] + listers.ResourceIndexer[*corev1alpha1.Node] } // NewNodeLister returns a new NodeLister. func NewNodeLister(indexer cache.Indexer) NodeLister { - return &nodeLister{listers.New[*v1alpha1.Node](indexer, v1alpha1.Resource("node"))} + return &nodeLister{listers.New[*corev1alpha1.Node](indexer, corev1alpha1.Resource("node"))} } diff --git a/client-go/openapi/zz_generated.openapi.go b/client-go/openapi/zz_generated.openapi.go index 233bdb3f..3934e6ae 100644 --- a/client-go/openapi/zz_generated.openapi.go +++ b/client-go/openapi/zz_generated.openapi.go @@ -4390,7 +4390,7 @@ func schema_k8sio_api_core_v1_Binding(ref common.ReferenceCallback) common.OpenA return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", + Description: "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -4434,7 +4434,7 @@ func schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref common.ReferenceCall return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Represents storage that is managed by an external CSI volume driver (Beta feature)", + Description: "Represents storage that is managed by an external CSI volume driver", Type: []string{"object"}, Properties: map[string]spec.Schema{ "driver": { @@ -7911,7 +7911,8 @@ func schema_k8sio_api_core_v1_GRPCAction(ref common.ReferenceCallback) common.Op return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"object"}, + Description: "GRPCAction specifies an action involving a GRPC service.", + Type: []string{"object"}, Properties: map[string]spec.Schema{ "port": { SchemaProps: spec.SchemaProps{ @@ -8559,25 +8560,25 @@ func schema_k8sio_api_core_v1_LifecycleHandler(ref common.ReferenceCallback) com Properties: map[string]spec.Schema{ "exec": { SchemaProps: spec.SchemaProps{ - Description: "Exec specifies the action to take.", + Description: "Exec specifies a command to execute in the container.", Ref: ref("k8s.io/api/core/v1.ExecAction"), }, }, "httpGet": { SchemaProps: spec.SchemaProps{ - Description: "HTTPGet specifies the http request to perform.", + Description: "HTTPGet specifies an HTTP GET request to perform.", Ref: ref("k8s.io/api/core/v1.HTTPGetAction"), }, }, "tcpSocket": { SchemaProps: spec.SchemaProps{ - Description: "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.", + Description: "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.", Ref: ref("k8s.io/api/core/v1.TCPSocketAction"), }, }, "sleep": { SchemaProps: spec.SchemaProps{ - Description: "Sleep represents the duration that the container should sleep before being terminated.", + Description: "Sleep represents a duration that the container should sleep.", Ref: ref("k8s.io/api/core/v1.SleepAction"), }, }, @@ -9031,7 +9032,7 @@ func schema_k8sio_api_core_v1_LocalVolumeSource(ref common.ReferenceCallback) co return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "Local represents directly-attached storage with node affinity (Beta feature)", + Description: "Local represents directly-attached storage with node affinity", Type: []string{"object"}, Properties: map[string]spec.Schema{ "path": { @@ -9198,19 +9199,22 @@ func schema_k8sio_api_core_v1_NamespaceCondition(ref common.ReferenceCallback) c }, "lastTransitionTime": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), + Description: "Last time the condition transitioned from one status to another.", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Description: "Unique, one-word, CamelCase reason for the condition's last transition.", + Type: []string{"string"}, + Format: "", }, }, "message": { SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Description: "Human-readable message indicating details about last transition.", + Type: []string{"string"}, + Format: "", }, }, }, @@ -10068,7 +10072,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op }, }, SchemaProps: spec.SchemaProps{ - Description: "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + Description: "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -10092,7 +10096,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op }, }, SchemaProps: spec.SchemaProps{ - Description: "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", + Description: "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -10113,7 +10117,7 @@ func schema_k8sio_api_core_v1_NodeStatus(ref common.ReferenceCallback) common.Op }, "nodeInfo": { SchemaProps: spec.SchemaProps{ - Description: "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info", + Description: "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info", Default: map[string]interface{}{}, Ref: ref("k8s.io/api/core/v1.NodeSystemInfo"), }, @@ -10519,16 +10523,18 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref common.Referenc Properties: map[string]spec.Schema{ "type": { SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Description: "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", + Default: "", + Type: []string{"string"}, + Format: "", }, }, "status": { SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Description: "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", + Default: "", + Type: []string{"string"}, + Format: "", }, }, "lastProbeTime": { @@ -10957,13 +10963,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac Properties: map[string]spec.Schema{ "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ - Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"), }, }, @@ -10975,7 +10981,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "glusterfs": { SchemaProps: spec.SchemaProps{ - Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", Ref: ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"), }, }, @@ -10987,7 +10993,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "rbd": { SchemaProps: spec.SchemaProps{ - Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", Ref: ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"), }, }, @@ -10999,13 +11005,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "cinder": { SchemaProps: spec.SchemaProps{ - Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", Ref: ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ - Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", Ref: ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"), }, }, @@ -11017,55 +11023,55 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "flocker": { SchemaProps: spec.SchemaProps{ - Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", + Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ - Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", Ref: ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ - Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", + Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ - Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ - Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ - Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"), }, }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"), }, }, "scaleIO": { SchemaProps: spec.SchemaProps{ - Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", Ref: ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"), }, }, @@ -11077,13 +11083,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSource(ref common.ReferenceCallbac }, "storageos": { SchemaProps: spec.SchemaProps{ - Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md", + Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md", Ref: ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"), }, }, "csi": { SchemaProps: spec.SchemaProps{ - Description: "csi represents storage that is handled by an external CSI driver (Beta feature).", + Description: "csi represents storage that is handled by an external CSI driver.", Ref: ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"), }, }, @@ -11118,13 +11124,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ - Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"), }, }, @@ -11136,7 +11142,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "glusterfs": { SchemaProps: spec.SchemaProps{ - Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + Description: "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", Ref: ref("k8s.io/api/core/v1.GlusterfsPersistentVolumeSource"), }, }, @@ -11148,7 +11154,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "rbd": { SchemaProps: spec.SchemaProps{ - Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", Ref: ref("k8s.io/api/core/v1.RBDPersistentVolumeSource"), }, }, @@ -11160,13 +11166,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "cinder": { SchemaProps: spec.SchemaProps{ - Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", Ref: ref("k8s.io/api/core/v1.CinderPersistentVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ - Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", Ref: ref("k8s.io/api/core/v1.CephFSPersistentVolumeSource"), }, }, @@ -11178,55 +11184,55 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "flocker": { SchemaProps: spec.SchemaProps{ - Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", + Description: "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ - Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", Ref: ref("k8s.io/api/core/v1.FlexPersistentVolumeSource"), }, }, "azureFile": { SchemaProps: spec.SchemaProps{ - Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", + Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureFilePersistentVolumeSource"), }, }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ - Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ - Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ - Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"), }, }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"), }, }, "scaleIO": { SchemaProps: spec.SchemaProps{ - Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", Ref: ref("k8s.io/api/core/v1.ScaleIOPersistentVolumeSource"), }, }, @@ -11238,13 +11244,13 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) }, "storageos": { SchemaProps: spec.SchemaProps{ - Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md", + Description: "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md", Ref: ref("k8s.io/api/core/v1.StorageOSPersistentVolumeSource"), }, }, "csi": { SchemaProps: spec.SchemaProps{ - Description: "csi represents storage that is handled by an external CSI driver (Beta feature).", + Description: "csi represents storage that is handled by an external CSI driver.", Ref: ref("k8s.io/api/core/v1.CSIPersistentVolumeSource"), }, }, @@ -11871,15 +11877,16 @@ func schema_k8sio_api_core_v1_PodDNSConfigOption(ref common.ReferenceCallback) c Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ - Description: "Required.", + Description: "Name is this DNS resolver option's name. Required.", Type: []string{"string"}, Format: "", }, }, "value": { SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Description: "Value is this DNS resolver option's value.", + Type: []string{"string"}, + Format: "", }, }, }, @@ -12108,7 +12115,7 @@ func schema_k8sio_api_core_v1_PodLogOptions(ref common.ReferenceCallback) common }, "tailLines": { SchemaProps: spec.SchemaProps{ - Description: "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", + Description: "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", Type: []string{"integer"}, Format: "int64", }, @@ -12127,6 +12134,13 @@ func schema_k8sio_api_core_v1_PodLogOptions(ref common.ReferenceCallback) common Format: "", }, }, + "stream": { + SchemaProps: spec.SchemaProps{ + Description: "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, @@ -12461,6 +12475,13 @@ func schema_k8sio_api_core_v1_PodSecurityContext(ref common.ReferenceCallback) c Ref: ref("k8s.io/api/core/v1.AppArmorProfile"), }, }, + "seLinuxChangePolicy": { + SchemaProps: spec.SchemaProps{ + Description: "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + Type: []string{"string"}, + Format: "", + }, + }, }, }, }, @@ -12968,12 +12989,18 @@ func schema_k8sio_api_core_v1_PodSpec(ref common.ReferenceCallback) common.OpenA }, }, }, + "resources": { + SchemaProps: spec.SchemaProps{ + Description: "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate.", + Ref: ref("k8s.io/api/core/v1.ResourceRequirements"), + }, + }, }, Required: []string{"containers"}, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.EphemeralContainer", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodOS", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodResourceClaim", "k8s.io/api/core/v1.PodSchedulingGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.TopologySpreadConstraint", "k8s.io/api/core/v1.Volume", "k8s.io/apimachinery/pkg/api/resource.Quantity"}, + "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.EphemeralContainer", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodOS", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodResourceClaim", "k8s.io/api/core/v1.PodSchedulingGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.ResourceRequirements", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.TopologySpreadConstraint", "k8s.io/api/core/v1.Volume", "k8s.io/apimachinery/pkg/api/resource.Quantity"}, } } @@ -13109,7 +13136,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope }, }, SchemaProps: spec.SchemaProps{ - Description: "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + Description: "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -13128,7 +13155,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope }, }, SchemaProps: spec.SchemaProps{ - Description: "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + Description: "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -13155,7 +13182,7 @@ func schema_k8sio_api_core_v1_PodStatus(ref common.ReferenceCallback) common.Ope }, }, SchemaProps: spec.SchemaProps{ - Description: "Status for any ephemeral containers that have run in this pod.", + Description: "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -13376,7 +13403,8 @@ func schema_k8sio_api_core_v1_PortStatus(ref common.ReferenceCallback) common.Op return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"object"}, + Description: "PortStatus represents the error condition of a service port", + Type: []string{"object"}, Properties: map[string]spec.Schema{ "port": { SchemaProps: spec.SchemaProps{ @@ -13528,25 +13556,25 @@ func schema_k8sio_api_core_v1_Probe(ref common.ReferenceCallback) common.OpenAPI Properties: map[string]spec.Schema{ "exec": { SchemaProps: spec.SchemaProps{ - Description: "Exec specifies the action to take.", + Description: "Exec specifies a command to execute in the container.", Ref: ref("k8s.io/api/core/v1.ExecAction"), }, }, "httpGet": { SchemaProps: spec.SchemaProps{ - Description: "HTTPGet specifies the http request to perform.", + Description: "HTTPGet specifies an HTTP GET request to perform.", Ref: ref("k8s.io/api/core/v1.HTTPGetAction"), }, }, "tcpSocket": { SchemaProps: spec.SchemaProps{ - Description: "TCPSocket specifies an action involving a TCP port.", + Description: "TCPSocket specifies a connection to a TCP port.", Ref: ref("k8s.io/api/core/v1.TCPSocketAction"), }, }, "grpc": { SchemaProps: spec.SchemaProps{ - Description: "GRPC specifies an action involving a GRPC port.", + Description: "GRPC specifies a GRPC HealthCheckRequest.", Ref: ref("k8s.io/api/core/v1.GRPCAction"), }, }, @@ -13609,25 +13637,25 @@ func schema_k8sio_api_core_v1_ProbeHandler(ref common.ReferenceCallback) common. Properties: map[string]spec.Schema{ "exec": { SchemaProps: spec.SchemaProps{ - Description: "Exec specifies the action to take.", + Description: "Exec specifies a command to execute in the container.", Ref: ref("k8s.io/api/core/v1.ExecAction"), }, }, "httpGet": { SchemaProps: spec.SchemaProps{ - Description: "HTTPGet specifies the http request to perform.", + Description: "HTTPGet specifies an HTTP GET request to perform.", Ref: ref("k8s.io/api/core/v1.HTTPGetAction"), }, }, "tcpSocket": { SchemaProps: spec.SchemaProps{ - Description: "TCPSocket specifies an action involving a TCP port.", + Description: "TCPSocket specifies a connection to a TCP port.", Ref: ref("k8s.io/api/core/v1.TCPSocketAction"), }, }, "grpc": { SchemaProps: spec.SchemaProps{ - Description: "GRPC specifies an action involving a GRPC port.", + Description: "GRPC specifies a GRPC HealthCheckRequest.", Ref: ref("k8s.io/api/core/v1.GRPCAction"), }, }, @@ -14326,7 +14354,7 @@ func schema_k8sio_api_core_v1_ResourceHealth(ref common.ReferenceCallback) commo return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.", + Description: "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.", Type: []string{"object"}, Properties: map[string]spec.Schema{ "resourceID": { @@ -14620,11 +14648,12 @@ func schema_k8sio_api_core_v1_ResourceStatus(ref common.ReferenceCallback) commo return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"object"}, + Description: "ResourceStatus represents the status of a single resource allocated to a Pod.", + Type: []string{"object"}, Properties: map[string]spec.Schema{ "name": { SchemaProps: spec.SchemaProps{ - Description: "Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.", + Description: "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.", Default: "", Type: []string{"string"}, Format: "", @@ -14640,7 +14669,7 @@ func schema_k8sio_api_core_v1_ResourceStatus(ref common.ReferenceCallback) commo }, }, SchemaProps: spec.SchemaProps{ - Description: "List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.", + Description: "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -15572,7 +15601,7 @@ func schema_k8sio_api_core_v1_ServiceAccount(ref common.ReferenceCallback) commo }, }, SchemaProps: spec.SchemaProps{ - Description: "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", + Description: "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -16081,7 +16110,7 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O }, "trafficDistribution": { SchemaProps: spec.SchemaProps{ - Description: "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is an alpha field and requires enabling ServiceTrafficDistribution feature.", + Description: "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature.", Type: []string{"string"}, Format: "", }, @@ -16653,7 +16682,8 @@ func schema_k8sio_api_core_v1_TypedObjectReference(ref common.ReferenceCallback) return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"object"}, + Description: "TypedObjectReference contains enough information to let you locate the typed referenced object", + Type: []string{"object"}, Properties: map[string]spec.Schema{ "apiGroup": { SchemaProps: spec.SchemaProps{ @@ -16721,19 +16751,19 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ - Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"), }, }, "gitRepo": { SchemaProps: spec.SchemaProps{ - Description: "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + Description: "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", Ref: ref("k8s.io/api/core/v1.GitRepoVolumeSource"), }, }, @@ -16757,7 +16787,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "glusterfs": { SchemaProps: spec.SchemaProps{ - Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", Ref: ref("k8s.io/api/core/v1.GlusterfsVolumeSource"), }, }, @@ -16769,31 +16799,31 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "rbd": { SchemaProps: spec.SchemaProps{ - Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", Ref: ref("k8s.io/api/core/v1.RBDVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ - Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", Ref: ref("k8s.io/api/core/v1.FlexVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ - Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", Ref: ref("k8s.io/api/core/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ - Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", Ref: ref("k8s.io/api/core/v1.CephFSVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ - Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", + Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"), }, }, @@ -16811,7 +16841,7 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "azureFile": { SchemaProps: spec.SchemaProps{ - Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", + Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureFileVolumeSource"), }, }, @@ -16823,25 +16853,25 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ - Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ - Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ - Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"), }, }, @@ -16853,25 +16883,25 @@ func schema_k8sio_api_core_v1_Volume(ref common.ReferenceCallback) common.OpenAP }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"), }, }, "scaleIO": { SchemaProps: spec.SchemaProps{ - Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", Ref: ref("k8s.io/api/core/v1.ScaleIOVolumeSource"), }, }, "storageos": { SchemaProps: spec.SchemaProps{ - Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", + Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", Ref: ref("k8s.io/api/core/v1.StorageOSVolumeSource"), }, }, "csi": { SchemaProps: spec.SchemaProps{ - Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).", + Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", Ref: ref("k8s.io/api/core/v1.CSIVolumeSource"), }, }, @@ -17166,19 +17196,19 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "gcePersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + Description: "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", Ref: ref("k8s.io/api/core/v1.GCEPersistentDiskVolumeSource"), }, }, "awsElasticBlockStore": { SchemaProps: spec.SchemaProps{ - Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + Description: "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", Ref: ref("k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource"), }, }, "gitRepo": { SchemaProps: spec.SchemaProps{ - Description: "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + Description: "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", Ref: ref("k8s.io/api/core/v1.GitRepoVolumeSource"), }, }, @@ -17202,7 +17232,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "glusterfs": { SchemaProps: spec.SchemaProps{ - Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + Description: "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", Ref: ref("k8s.io/api/core/v1.GlusterfsVolumeSource"), }, }, @@ -17214,31 +17244,31 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "rbd": { SchemaProps: spec.SchemaProps{ - Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + Description: "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", Ref: ref("k8s.io/api/core/v1.RBDVolumeSource"), }, }, "flexVolume": { SchemaProps: spec.SchemaProps{ - Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + Description: "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", Ref: ref("k8s.io/api/core/v1.FlexVolumeSource"), }, }, "cinder": { SchemaProps: spec.SchemaProps{ - Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + Description: "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", Ref: ref("k8s.io/api/core/v1.CinderVolumeSource"), }, }, "cephfs": { SchemaProps: spec.SchemaProps{ - Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + Description: "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", Ref: ref("k8s.io/api/core/v1.CephFSVolumeSource"), }, }, "flocker": { SchemaProps: spec.SchemaProps{ - Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", + Description: "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", Ref: ref("k8s.io/api/core/v1.FlockerVolumeSource"), }, }, @@ -17256,7 +17286,7 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "azureFile": { SchemaProps: spec.SchemaProps{ - Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", + Description: "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureFileVolumeSource"), }, }, @@ -17268,25 +17298,25 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "vsphereVolume": { SchemaProps: spec.SchemaProps{ - Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + Description: "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", Ref: ref("k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource"), }, }, "quobyte": { SchemaProps: spec.SchemaProps{ - Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + Description: "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", Ref: ref("k8s.io/api/core/v1.QuobyteVolumeSource"), }, }, "azureDisk": { SchemaProps: spec.SchemaProps{ - Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + Description: "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", Ref: ref("k8s.io/api/core/v1.AzureDiskVolumeSource"), }, }, "photonPersistentDisk": { SchemaProps: spec.SchemaProps{ - Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + Description: "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", Ref: ref("k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource"), }, }, @@ -17298,25 +17328,25 @@ func schema_k8sio_api_core_v1_VolumeSource(ref common.ReferenceCallback) common. }, "portworxVolume": { SchemaProps: spec.SchemaProps{ - Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", + Description: "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", Ref: ref("k8s.io/api/core/v1.PortworxVolumeSource"), }, }, "scaleIO": { SchemaProps: spec.SchemaProps{ - Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + Description: "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", Ref: ref("k8s.io/api/core/v1.ScaleIOVolumeSource"), }, }, "storageos": { SchemaProps: spec.SchemaProps{ - Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", + Description: "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", Ref: ref("k8s.io/api/core/v1.StorageOSVolumeSource"), }, }, "csi": { SchemaProps: spec.SchemaProps{ - Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).", + Description: "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", Ref: ref("k8s.io/api/core/v1.CSIVolumeSource"), }, }, @@ -18137,6 +18167,13 @@ func schema_pkg_apis_meta_v1_DeleteOptions(ref common.ReferenceCallback) common. }, }, }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + SchemaProps: spec.SchemaProps{ + Description: "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + Type: []string{"boolean"}, + Format: "", + }, + }, }, }, }, diff --git a/docs/api-reference/core.md b/docs/api-reference/core.md index 5f897d85..7a1ca605 100644 --- a/docs/api-reference/core.md +++ b/docs/api-reference/core.md @@ -74,7 +74,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -101,7 +101,7 @@ DaemonSetSpec nodeSelector
- + Kubernetes meta/v1.LabelSelector @@ -174,7 +174,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -213,7 +213,7 @@ IPType ipFamily
- + Kubernetes core/v1.IPFamily @@ -296,7 +296,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -382,7 +382,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -435,7 +435,7 @@ LoadBalancerType networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -502,7 +502,7 @@ All topologySpreadConstraints are ANDed.

nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -563,7 +563,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -603,7 +603,7 @@ LoadBalancerType networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -644,7 +644,7 @@ If empty, the load balancer allows all ports.

selector
- + Kubernetes meta/v1.LabelSelector @@ -717,7 +717,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -775,7 +775,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -802,7 +802,7 @@ NATGatewaySpec ipFamily
- + Kubernetes core/v1.IPFamily @@ -815,7 +815,7 @@ Kubernetes core/v1.IPFamily networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -900,7 +900,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -927,7 +927,7 @@ NATGatewayAutoscalerSpec natGatewayRef
- + Kubernetes core/v1.LocalObjectReference @@ -1009,7 +1009,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1068,7 +1068,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1166,7 +1166,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1240,7 +1240,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1267,7 +1267,7 @@ NetworkInterfaceSpec nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -1280,7 +1280,7 @@ Kubernetes core/v1.LocalObjectReference networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -1394,7 +1394,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1421,7 +1421,7 @@ NetworkPolicySpec networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -1434,7 +1434,7 @@ Kubernetes core/v1.LocalObjectReference networkInterfaceSelector
- + Kubernetes meta/v1.LabelSelector @@ -1536,7 +1536,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1645,7 +1645,7 @@ string metadata
- + Kubernetes meta/v1.ObjectMeta @@ -1745,7 +1745,7 @@ InstanceAntiAffinity nodeSelector
- + Kubernetes meta/v1.LabelSelector @@ -2041,7 +2041,7 @@ IPType ipFamily
- + Kubernetes core/v1.IPFamily @@ -2122,7 +2122,7 @@ value of the label with key matches that of any node on which a in labelSelector
- + Kubernetes meta/v1.LabelSelector @@ -2226,7 +2226,7 @@ LoadBalancerType networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -2293,7 +2293,7 @@ All topologySpreadConstraints are ANDed.

nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -2363,7 +2363,7 @@ int32 metadata
- + Kubernetes meta/v1.ObjectMeta @@ -2416,7 +2416,7 @@ LoadBalancerType networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -2483,7 +2483,7 @@ All topologySpreadConstraints are ANDed.

nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -2590,7 +2590,7 @@ string ipFamily
- + Kubernetes core/v1.IPFamily @@ -2635,7 +2635,7 @@ github.com/ironcore-dev/ironcore-net/apimachinery/api/net.IP protocol
- + Kubernetes core/v1.Protocol @@ -2702,7 +2702,7 @@ LoadBalancerType networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -2743,7 +2743,7 @@ If empty, the load balancer allows all ports.

selector
- + Kubernetes meta/v1.LabelSelector @@ -2839,7 +2839,7 @@ string nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -2931,7 +2931,7 @@ k8s.io/apimachinery/pkg/types.UID natGatewayRef
- + Kubernetes core/v1.LocalObjectReference @@ -3031,7 +3031,7 @@ github.com/ironcore-dev/ironcore-net/apimachinery/api/net.IP ipFamily
- + Kubernetes core/v1.IPFamily @@ -3044,7 +3044,7 @@ Kubernetes core/v1.IPFamily networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -3270,7 +3270,7 @@ string nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -3398,7 +3398,7 @@ NetworkIDClaimRef ipFamily
- + Kubernetes core/v1.IPFamily @@ -3493,7 +3493,7 @@ string ipFamily
- + Kubernetes core/v1.IPFamily @@ -3538,7 +3538,7 @@ github.com/ironcore-dev/ironcore-net/apimachinery/api/net.IP nodeRef
- + Kubernetes core/v1.LocalObjectReference @@ -3551,7 +3551,7 @@ Kubernetes core/v1.LocalObjectReference networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -4017,7 +4017,7 @@ IPBlock protocol
- + Kubernetes core/v1.Protocol @@ -4074,7 +4074,7 @@ is not defined. The endPort must be equal or greater than port.

networkRef
- + Kubernetes core/v1.LocalObjectReference @@ -4087,7 +4087,7 @@ Kubernetes core/v1.LocalObjectReference networkInterfaceSelector
- + Kubernetes meta/v1.LabelSelector @@ -4452,7 +4452,7 @@ Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

ipFamily
- + Kubernetes core/v1.IPFamily @@ -4508,7 +4508,7 @@ string LabelSelector
- + Kubernetes meta/v1.LabelSelector @@ -4844,7 +4844,7 @@ skew.

labelSelector
- + Kubernetes meta/v1.LabelSelector diff --git a/gen/swagger.json b/gen/swagger.json index c18a37f1..4029ec5f 100644 --- a/gen/swagger.json +++ b/gen/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "1.31" + "version": "1.32" }, "paths": { "/.well-known/openid-configuration/": { @@ -932,6 +932,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -1119,6 +1122,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -1417,6 +1423,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -1604,6 +1613,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -1902,6 +1914,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -2089,6 +2104,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -2387,6 +2405,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -2574,6 +2595,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -2872,6 +2896,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -3059,6 +3086,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -3547,6 +3577,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -3734,6 +3767,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -4491,7 +4527,10 @@ "$ref": "#/parameters/sinceSeconds-vE2NLdnP" }, { - "$ref": "#/parameters/tailLines-2fRTNzbP" + "$ref": "#/parameters/stream-l-48cgXv" + }, + { + "$ref": "#/parameters/tailLines-9xQLWHMV" }, { "$ref": "#/parameters/timestamps-c17fW1w_" @@ -5454,6 +5493,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -5641,6 +5683,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -5939,6 +5984,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -6126,6 +6174,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -6804,6 +6855,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -6991,6 +7045,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -7479,6 +7536,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -7666,6 +7726,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -7964,6 +8027,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -8151,6 +8217,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -8541,6 +8610,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -8728,6 +8800,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -9671,6 +9746,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -10236,6 +10314,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -10420,6 +10501,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -11471,6 +11555,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -11655,6 +11742,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -16054,6 +16144,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -16238,6 +16331,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -16533,6 +16629,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -16717,6 +16816,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -17199,6 +17301,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -17383,6 +17488,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -17678,6 +17786,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -17862,6 +17973,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -18847,6 +18961,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -19031,6 +19148,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -19735,6 +19855,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -19919,6 +20042,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -20845,6 +20971,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -21032,6 +21161,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -21330,6 +21462,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -21517,6 +21652,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -22005,6 +22143,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -22192,6 +22333,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -22870,6 +23014,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -23057,6 +23204,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -23735,6 +23885,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -23922,6 +24075,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -26689,6 +26845,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -26876,6 +27035,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -27707,6 +27869,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -27894,6 +28059,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -28832,6 +29000,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -29019,6 +29190,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -29507,6 +29681,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -29694,6 +29871,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -30720,6 +30900,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -30904,6 +31087,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -31869,6 +32055,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -32056,6 +32245,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -32743,7 +32935,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionIPAddress", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -32761,6 +32953,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -32930,7 +33125,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1IPAddress", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -32942,6 +33137,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -33430,7 +33628,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedDaemonSet", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -33448,6 +33646,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -33620,7 +33821,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedDaemonSet", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -33632,6 +33833,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -34094,7 +34298,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedInstance", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -34112,6 +34316,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -34284,7 +34491,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedInstance", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -34296,6 +34503,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -34758,7 +34968,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedIP", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -34776,6 +34986,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -34948,7 +35161,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedIP", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -34960,6 +35173,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -35235,7 +35451,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedLoadBalancerRouting", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -35253,6 +35469,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -35425,7 +35644,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedLoadBalancerRouting", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -35437,6 +35656,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -35712,7 +35934,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedLoadBalancer", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -35730,6 +35952,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -35902,7 +36127,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedLoadBalancer", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -35914,6 +36139,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -36376,7 +36604,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNATGatewayAutoscaler", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -36394,6 +36622,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -36566,7 +36797,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNATGatewayAutoscaler", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -36578,6 +36809,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -37040,7 +37274,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNATGateway", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -37058,6 +37292,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -37230,7 +37467,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNATGateway", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -37242,6 +37479,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -37704,7 +37944,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNATTable", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -37722,6 +37962,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -37894,7 +38137,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNATTable", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -37906,6 +38149,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -38181,7 +38427,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNetworkInterface", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -38199,6 +38445,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -38371,7 +38620,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNetworkInterface", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -38383,6 +38632,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -38845,7 +39097,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNetworkPolicy", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -38863,6 +39115,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -39035,7 +39290,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNetworkPolicy", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -39047,6 +39302,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -39322,7 +39580,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNetworkPolicyRule", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -39340,6 +39598,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -39512,7 +39773,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNetworkPolicyRule", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -39524,6 +39785,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -39799,7 +40063,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNamespacedNetwork", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -39817,6 +40081,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -39989,7 +40256,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NamespacedNetwork", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -40001,6 +40268,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -40679,7 +40949,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNetworkID", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -40697,6 +40967,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -40866,7 +41139,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1NetworkID", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -40878,6 +41151,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -41438,7 +41714,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1CollectionNode", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "$ref": "#/parameters/continue-QfD61s0i" @@ -41456,6 +41732,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -41625,7 +41904,7 @@ "operationId": "deleteCoreApinetIroncoreDevV1alpha1Node", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "$ref": "#/parameters/body-2Y1dVQaQ_v2" }, { "uniqueItems": true, @@ -41637,6 +41916,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -45471,6 +45753,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -45658,6 +45943,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -46332,6 +46620,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -46519,6 +46810,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -47119,6 +47413,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -47303,6 +47600,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -47785,6 +48085,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -47969,6 +48272,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -48582,7 +48888,40 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/": { + "/apis/networking.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking" + ], + "operationId": "getNetworkingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/": { "get": { "description": "get available resources", "consumes": [ @@ -48599,9 +48938,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "getFlowcontrolApiserverV1beta3APIResources", + "operationId": "getNetworkingV1APIResources", "responses": { "200": { "description": "OK", @@ -48615,9 +48954,9 @@ } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas": { + "/apis/networking.k8s.io/v1/ingressclasses": { "get": { - "description": "list or watch objects of kind FlowSchema", + "description": "list or watch objects of kind IngressClass", "consumes": [ "*/*" ], @@ -48632,9 +48971,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "listFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "listNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -48671,7 +49010,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaList" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" } }, "401": { @@ -48680,13 +49019,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "post": { - "description": "create a FlowSchema", + "description": "create an IngressClass", "consumes": [ "*/*" ], @@ -48699,16 +49038,16 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "createFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "createNetworkingV1IngressClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, { @@ -48733,19 +49072,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -48754,13 +49093,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "delete": { - "description": "delete collection of FlowSchema", + "description": "delete collection of IngressClass", "consumes": [ "*/*" ], @@ -48773,9 +49112,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "deleteFlowcontrolApiserverV1beta3CollectionFlowSchema", + "operationId": "deleteNetworkingV1CollectionIngressClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -48796,6 +49135,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -48834,9 +49176,9 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ @@ -48845,9 +49187,9 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}": { + "/apis/networking.k8s.io/v1/ingressclasses/{name}": { "get": { - "description": "read the specified FlowSchema", + "description": "read the specified IngressClass", "consumes": [ "*/*" ], @@ -48860,14 +49202,14 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "readFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "readNetworkingV1IngressClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -48876,13 +49218,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "put": { - "description": "replace the specified FlowSchema", + "description": "replace the specified IngressClass", "consumes": [ "*/*" ], @@ -48895,16 +49237,16 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "replaceFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "replaceNetworkingV1IngressClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, { @@ -48929,13 +49271,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -48944,13 +49286,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "delete": { - "description": "delete a FlowSchema", + "description": "delete an IngressClass", "consumes": [ "*/*" ], @@ -48963,9 +49305,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "deleteFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "deleteNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -48980,6 +49322,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -49006,13 +49351,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "patch": { - "description": "partially update the specified FlowSchema", + "description": "partially update the specified IngressClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49028,9 +49373,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "patchFlowcontrolApiserverV1beta3FlowSchema", + "operationId": "patchNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -49060,13 +49405,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -49075,16 +49420,16 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the FlowSchema", + "description": "name of the IngressClass", "name": "name", "in": "path", "required": true @@ -49094,196 +49439,83 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}/status": { + "/apis/networking.k8s.io/v1/ingresses": { "get": { - "description": "read status of the specified FlowSchema", + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "readFlowcontrolApiserverV1beta3FlowSchemaStatus", + "operationId": "listNetworkingV1IngressForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, - "put": { - "description": "replace status of the specified FlowSchema", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ], - "operationId": "replaceFlowcontrolApiserverV1beta3FlowSchemaStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" - } - }, - "patch": { - "description": "partially update status of the specified FlowSchema", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ], - "operationId": "patchFlowcontrolApiserverV1beta3FlowSchemaStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } + { + "$ref": "#/parameters/continue-QfD61s0i" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" - } - }, - "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "name of the FlowSchema", - "name": "name", - "in": "path", - "required": true + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { "get": { - "description": "list or watch objects of kind PriorityLevelConfiguration", + "description": "list or watch objects of kind Ingress", "consumes": [ "*/*" ], @@ -49298,9 +49530,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "listFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "listNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -49337,7 +49569,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationList" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" } }, "401": { @@ -49346,13 +49578,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "post": { - "description": "create a PriorityLevelConfiguration", + "description": "create an Ingress", "consumes": [ "*/*" ], @@ -49365,16 +49597,16 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "createFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "createNetworkingV1NamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, { @@ -49399,19 +49631,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49420,13 +49652,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "delete": { - "description": "delete collection of PriorityLevelConfiguration", + "description": "delete collection of Ingress", "consumes": [ "*/*" ], @@ -49439,9 +49671,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "deleteFlowcontrolApiserverV1beta3CollectionPriorityLevelConfiguration", + "operationId": "deleteNetworkingV1CollectionNamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -49462,6 +49694,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -49500,20 +49735,23 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read the specified PriorityLevelConfiguration", + "description": "read the specified Ingress", "consumes": [ "*/*" ], @@ -49526,14 +49764,14 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "readFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "readNetworkingV1NamespacedIngress", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49542,13 +49780,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "put": { - "description": "replace the specified PriorityLevelConfiguration", + "description": "replace the specified Ingress", "consumes": [ "*/*" ], @@ -49561,16 +49799,16 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "replaceFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "replaceNetworkingV1NamespacedIngress", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, { @@ -49595,13 +49833,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49610,13 +49848,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "delete": { - "description": "delete a PriorityLevelConfiguration", + "description": "delete an Ingress", "consumes": [ "*/*" ], @@ -49629,9 +49867,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "deleteFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "deleteNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -49646,6 +49884,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -49672,13 +49913,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "patch": { - "description": "partially update the specified PriorityLevelConfiguration", + "description": "partially update the specified Ingress", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49694,9 +49935,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "patchFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "patchNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -49726,13 +49967,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49741,28 +49982,31 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PriorityLevelConfiguration", + "description": "name of the Ingress", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}/status": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { "get": { - "description": "read status of the specified PriorityLevelConfiguration", + "description": "read status of the specified Ingress", "consumes": [ "*/*" ], @@ -49775,14 +50019,14 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "readFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "operationId": "readNetworkingV1NamespacedIngressStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49791,13 +50035,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "put": { - "description": "replace status of the specified PriorityLevelConfiguration", + "description": "replace status of the specified Ingress", "consumes": [ "*/*" ], @@ -49810,16 +50054,16 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "replaceFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "operationId": "replaceNetworkingV1NamespacedIngressStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, { @@ -49844,13 +50088,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49859,13 +50103,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "patch": { - "description": "partially update status of the specified PriorityLevelConfiguration", + "description": "partially update status of the specified Ingress", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49881,9 +50125,9 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "patchFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "operationId": "patchNetworkingV1NamespacedIngressStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -49913,13 +50157,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -49928,28 +50172,31 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PriorityLevelConfiguration", + "description": "name of the Ingress", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { "get": { - "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], @@ -49964,308 +50211,265 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" + ], + "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } ], - "operationId": "watchFlowcontrolApiserverV1beta3FlowSchemaList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas/{name}": { - "get": { - "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "post": { + "description": "create a NetworkPolicy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" + ], + "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } ], - "operationId": "watchFlowcontrolApiserverV1beta3FlowSchema", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the FlowSchema", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations": { - "get": { - "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "delete": { + "description": "delete collection of NetworkPolicy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" + ], + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } ], - "operationId": "watchFlowcontrolApiserverV1beta3PriorityLevelConfigurationList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { "get": { - "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "read the specified NetworkPolicy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "networking_v1" ], - "operationId": "watchFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "operationId": "readNetworkingV1NamespacedNetworkPolicy", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PriorityLevelConfiguration", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/": { - "get": { - "description": "get information of a group", + "put": { + "description": "replace the specified NetworkPolicy", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -50276,149 +50480,16 @@ "https" ], "tags": [ - "networking" + "networking_v1" ], - "operationId": "getNetworkingAPIGroup", - "responses": { - "200": { - "description": "OK", + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/networking.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "getNetworkingV1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/networking.k8s.io/v1/ingressclasses": { - "get": { - "description": "list or watch objects of kind IngressClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "listNetworkingV1IngressClass", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "post": { - "description": "create an IngressClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "createNetworkingV1IngressClass", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, { @@ -50443,34 +50514,28 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, "delete": { - "description": "delete collection of IngressClass", + "description": "delete a NetworkPolicy", "consumes": [ "*/*" ], @@ -50485,14 +50550,11 @@ "tags": [ "networking_v1" ], - "operationId": "deleteNetworkingV1CollectionIngressClass", + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, { "uniqueItems": true, "type": "string", @@ -50500,35 +50562,17 @@ "name": "dryRun", "in": "query" }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, { "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" } ], "responses": { @@ -50538,63 +50582,30 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/networking.k8s.io/v1/ingressclasses/{name}": { - "get": { - "description": "read the specified IngressClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "readNetworkingV1IngressClass", - "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, - "put": { - "description": "replace the specified IngressClass", + "patch": { + "description": "partially update the specified NetworkPolicy", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], "produces": [ "application/json", @@ -50607,15 +50618,10 @@ "tags": [ "networking_v1" ], - "operationId": "replaceNetworkingV1IngressClass", + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } + "$ref": "#/parameters/body-78PwaGsr" }, { "uniqueItems": true, @@ -50625,7 +50631,7 @@ "in": "query" }, { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" + "$ref": "#/parameters/fieldManager-7c6nTn1T" }, { "uniqueItems": true, @@ -50633,41 +50639,64 @@ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", "name": "fieldValidation", "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, - "delete": { - "description": "delete an IngressClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/networking.k8s.io/v1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -50675,64 +50704,73 @@ "tags": [ "networking_v1" ], - "operationId": "deleteNetworkingV1IngressClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], + "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, - "patch": { - "description": "partially update the specified IngressClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "get": { + "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -50740,50 +50778,19 @@ "tags": [ "networking_v1" ], - "operationId": "patchNetworkingV1IngressClass", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], + "operationId": "watchNetworkingV1IngressClassList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IngressClass", @@ -50792,21 +50799,43 @@ }, "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "name of the IngressClass", - "name": "name", - "in": "path", - "required": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/networking.k8s.io/v1/ingresses": { + "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -50823,22 +50852,22 @@ "tags": [ "networking_v1" ], - "operationId": "listNetworkingV1IngressForAllNamespaces", + "operationId": "watchNetworkingV1IngressClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "IngressClass", "version": "v1" } }, @@ -50858,6 +50887,14 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the IngressClass", + "name": "name", + "in": "path", + "required": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -50878,9 +50915,9 @@ } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { + "/apis/networking.k8s.io/v1/watch/ingresses": { "get": { - "description": "list or watch objects of kind Ingress", + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -50897,140 +50934,73 @@ "tags": [ "networking_v1" ], - "operationId": "listNetworkingV1NamespacedIngress", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "operationId": "watchNetworkingV1IngressListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "Ingress", "version": "v1" } }, - "post": { - "description": "create an Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "createNetworkingV1NamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - }, - "delete": { - "description": "delete collection of Ingress", + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "get": { + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -51038,64 +51008,19 @@ "tags": [ "networking_v1" ], - "operationId": "deleteNetworkingV1CollectionNamespacedIngress", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], + "operationId": "watchNetworkingV1NamespacedIngressList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "Ingress", @@ -51103,24 +51028,56 @@ } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { "get": { - "description": "read the specified Ingress", + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -51128,34 +51085,84 @@ "tags": [ "networking_v1" ], - "operationId": "readNetworkingV1NamespacedIngress", + "operationId": "watchNetworkingV1NamespacedIngress", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "Ingress", "version": "v1" } }, - "put": { - "description": "replace the specified Ingress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -51163,67 +51170,76 @@ "tags": [ "networking_v1" ], - "operationId": "replaceNetworkingV1NamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, - "delete": { - "description": "delete an Ingress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -51231,64 +51247,84 @@ "tags": [ "networking_v1" ], - "operationId": "deleteNetworkingV1NamespacedIngress", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], + "operationId": "watchNetworkingV1NamespacedNetworkPolicy", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, - "patch": { - "description": "partially update the specified Ingress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "get": { + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -51296,78 +51332,68 @@ "tags": [ "networking_v1" ], - "operationId": "patchNetworkingV1NamespacedIngress", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], + "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/node.k8s.io/": { "get": { - "description": "read status of the specified Ingress", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -51378,103 +51404,30 @@ "https" ], "tags": [ - "networking_v1" + "node" ], - "operationId": "readNetworkingV1NamespacedIngressStatus", + "operationId": "getNodeAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" } - }, - "put": { - "description": "replace status of the specified Ingress", + } + }, + "/apis/node.k8s.io/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "replaceNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "patch": { - "description": "partially update status of the specified Ingress", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], "produces": [ "application/json", "application/yaml", @@ -51484,78 +51437,25 @@ "https" ], "tags": [ - "networking_v1" - ], - "operationId": "patchNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } + "node_v1" ], + "operationId": "getNodeV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] + } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/node.k8s.io/v1/runtimeclasses": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "list or watch objects of kind RuntimeClass", "consumes": [ "*/*" ], @@ -51570,9 +51470,9 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "operationId": "listNodeV1RuntimeClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -51609,7 +51509,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClassList" } }, "401": { @@ -51618,13 +51518,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "post": { - "description": "create a NetworkPolicy", + "description": "create a RuntimeClass", "consumes": [ "*/*" ], @@ -51637,16 +51537,16 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "operationId": "createNodeV1RuntimeClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, { @@ -51671,19 +51571,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "401": { @@ -51692,13 +51592,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "delete": { - "description": "delete collection of NetworkPolicy", + "description": "delete collection of RuntimeClass", "consumes": [ "*/*" ], @@ -51711,9 +51611,9 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "operationId": "deleteNodeV1CollectionRuntimeClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -51734,6 +51634,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -51772,23 +51675,20 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/node.k8s.io/v1/runtimeclasses/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "read the specified RuntimeClass", "consumes": [ "*/*" ], @@ -51801,14 +51701,14 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "readNetworkingV1NamespacedNetworkPolicy", + "operationId": "readNodeV1RuntimeClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "401": { @@ -51817,13 +51717,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "put": { - "description": "replace the specified NetworkPolicy", + "description": "replace the specified RuntimeClass", "consumes": [ "*/*" ], @@ -51836,16 +51736,16 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "operationId": "replaceNodeV1RuntimeClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, { @@ -51870,13 +51770,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "401": { @@ -51885,13 +51785,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "delete": { - "description": "delete a NetworkPolicy", + "description": "delete a RuntimeClass", "consumes": [ "*/*" ], @@ -51904,9 +51804,9 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "operationId": "deleteNodeV1RuntimeClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -51921,6 +51821,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -51947,13 +51850,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, "patch": { - "description": "partially update the specified NetworkPolicy", + "description": "partially update the specified RuntimeClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -51969,9 +51872,9 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", + "operationId": "patchNodeV1RuntimeClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -52001,13 +51904,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, "401": { @@ -52016,8 +51919,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, @@ -52025,22 +51928,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the RuntimeClass", "name": "name", "in": "path", "required": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/networking.k8s.io/v1/networkpolicies": { + "/apis/node.k8s.io/v1/watch/runtimeclasses": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -52055,24 +51955,24 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", + "operationId": "watchNodeV1RuntimeClassList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, @@ -52112,9 +52012,9 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { "get": { - "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -52129,9 +52029,9 @@ "https" ], "tags": [ - "networking_v1" + "node_v1" ], - "operationId": "watchNetworkingV1IngressClassList", + "operationId": "watchNodeV1RuntimeClass", "responses": { "200": { "description": "OK", @@ -52143,10 +52043,10 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } }, @@ -52166,6 +52066,14 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RuntimeClass", + "name": "name", + "in": "path", + "required": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -52186,165 +52094,75 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "/apis/policy/": { "get": { - "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "policy" ], - "operationId": "watchNetworkingV1IngressClass", + "operationId": "getPolicyAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IngressClass", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the IngressClass", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] + } }, - "/apis/networking.k8s.io/v1/watch/ingresses": { + "/apis/policy/v1/": { "get": { - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "policy_v1" ], - "operationId": "watchNetworkingV1IngressListForAllNamespaces", + "operationId": "getPolicyV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] + } }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { "get": { - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "list or watch objects of kind PodDisruptionBudget", "consumes": [ "*/*" ], @@ -52359,428 +52177,266 @@ "https" ], "tags": [ - "networking_v1" + "policy_v1" + ], + "operationId": "listPolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } ], - "operationId": "watchNetworkingV1NamespacedIngressList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { - "get": { - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "post": { + "description": "create a PodDisruptionBudget", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "policy_v1" + ], + "operationId": "createPolicyV1NamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } ], - "operationId": "watchNetworkingV1NamespacedIngress", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "get": { - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "delete": { + "description": "delete collection of PodDisruptionBudget", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "policy_v1" + ], + "operationId": "deletePolicyV1CollectionNamespacedPodDisruptionBudget", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } ], - "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { "get": { - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "read the specified PodDisruptionBudget", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "policy_v1" ], - "operationId": "watchNetworkingV1NamespacedNetworkPolicy", + "operationId": "readPolicyV1NamespacedPodDisruptionBudget", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the NetworkPolicy", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "get": { - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "put": { + "description": "replace the specified PodDisruptionBudget", "consumes": [ "*/*" ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/node.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "node" - ], - "operationId": "getNodeAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/node.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], "produces": [ "application/json", "application/yaml", @@ -52790,94 +52446,62 @@ "https" ], "tags": [ - "node_v1" - ], - "operationId": "getNodeV1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/node.k8s.io/v1/runtimeclasses": { - "get": { - "description": "list or watch objects of kind RuntimeClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "listNodeV1RuntimeClass", + "operationId": "replacePolicyV1NamespacedPodDisruptionBudget", "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } }, { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" }, { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + "$ref": "#/parameters/fieldManager-Qy4HdaTW" }, { - "$ref": "#/parameters/watch-XNNPZGbK" + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClassList" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, - "post": { - "description": "create a RuntimeClass", + "delete": { + "description": "delete a PodDisruptionBudget", "consumes": [ "*/*" ], @@ -52890,17 +52514,12 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "createNodeV1RuntimeClass", + "operationId": "deletePolicyV1NamespacedPodDisruptionBudget", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } + "$ref": "#/parameters/body-2Y1dVQaQ" }, { "uniqueItems": true, @@ -52910,50 +52529,49 @@ "in": "query" }, { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, - "delete": { - "description": "delete collection of RuntimeClass", + "patch": { + "description": "partially update the specified PodDisruptionBudget", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], "produces": [ "application/json", @@ -52964,15 +52582,12 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "deleteNodeV1CollectionRuntimeClass", + "operationId": "patchPolicyV1NamespacedPodDisruptionBudget", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" + "$ref": "#/parameters/body-78PwaGsr" }, { "uniqueItems": true, @@ -52982,63 +52597,63 @@ "in": "query" }, { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + "$ref": "#/parameters/fieldManager-7c6nTn1T" }, { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" }, { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + "$ref": "#/parameters/force-tOGGb0Yi" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/node.k8s.io/v1/runtimeclasses/{name}": { + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { "get": { - "description": "read the specified RuntimeClass", + "description": "read status of the specified PodDisruptionBudget", "consumes": [ "*/*" ], @@ -53051,14 +52666,14 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "readNodeV1RuntimeClass", + "operationId": "readPolicyV1NamespacedPodDisruptionBudgetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { @@ -53067,13 +52682,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, "put": { - "description": "replace the specified RuntimeClass", + "description": "replace status of the specified PodDisruptionBudget", "consumes": [ "*/*" ], @@ -53086,16 +52701,16 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "replaceNodeV1RuntimeClass", + "operationId": "replacePolicyV1NamespacedPodDisruptionBudgetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, { @@ -53120,13 +52735,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { @@ -53135,75 +52750,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - }, - "delete": { - "description": "delete a RuntimeClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "node_v1" - ], - "operationId": "deleteNodeV1RuntimeClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, "patch": { - "description": "partially update the specified RuntimeClass", + "description": "partially update status of the specified PodDisruptionBudget", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -53219,9 +52772,9 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "patchNodeV1RuntimeClass", + "operationId": "patchPolicyV1NamespacedPodDisruptionBudgetStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -53251,13 +52804,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, "401": { @@ -53266,8 +52819,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, @@ -53275,19 +52828,22 @@ { "uniqueItems": true, "type": "string", - "description": "name of the RuntimeClass", + "description": "name of the PodDisruptionBudget", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/node.k8s.io/v1/watch/runtimeclasses": { + "/apis/policy/v1/poddisruptionbudgets": { "get": { - "description": "watch individual changes to a list of RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "list or watch objects of kind PodDisruptionBudget", "consumes": [ "*/*" ], @@ -53302,24 +52858,24 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "watchNodeV1RuntimeClassList", + "operationId": "listPolicyV1PodDisruptionBudgetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, @@ -53359,9 +52915,9 @@ } ] }, - "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { "get": { - "description": "watch changes to an object of kind RuntimeClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -53376,9 +52932,9 @@ "https" ], "tags": [ - "node_v1" + "policy_v1" ], - "operationId": "watchNodeV1RuntimeClass", + "operationId": "watchPolicyV1NamespacedPodDisruptionBudgetList", "responses": { "200": { "description": "OK", @@ -53390,10 +52946,10 @@ "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "policy", + "kind": "PodDisruptionBudget", "version": "v1" } }, @@ -53414,12 +52970,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "uniqueItems": true, - "type": "string", - "description": "name of the RuntimeClass", - "name": "name", - "in": "path", - "required": true + "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" @@ -53441,59 +52992,218 @@ } ] }, - "/apis/policy/": { + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { "get": { - "description": "get information of a group", + "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "policy" + "policy_v1" ], - "operationId": "getPolicyAPIGroup", + "operationId": "watchPolicyV1NamespacedPodDisruptionBudget", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" } - } - }, - "/apis/policy/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/policy/v1/watch/poddisruptionbudgets": { + "get": { + "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ "policy_v1" ], - "operationId": "getPolicyV1APIResources", + "operationId": "watchPolicyV1PodDisruptionBudgetListForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization" + ], + "operationId": "getRbacAuthorizationAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "getRbacAuthorizationV1APIResources", "responses": { "200": { "description": "OK", @@ -53507,9 +53217,9 @@ } } }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "list or watch objects of kind ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53524,9 +53234,9 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "listPolicyV1NamespacedPodDisruptionBudget", + "operationId": "listRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -53563,7 +53273,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" } }, "401": { @@ -53572,13 +53282,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "post": { - "description": "create a PodDisruptionBudget", + "description": "create a ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53591,16 +53301,16 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "createPolicyV1NamespacedPodDisruptionBudget", + "operationId": "createRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, { @@ -53625,19 +53335,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -53646,13 +53356,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "delete": { - "description": "delete collection of PodDisruptionBudget", + "description": "delete collection of ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53665,9 +53375,9 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "deletePolicyV1CollectionNamespacedPodDisruptionBudget", + "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -53688,6 +53398,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -53726,23 +53439,20 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { "get": { - "description": "read the specified PodDisruptionBudget", + "description": "read the specified ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53755,14 +53465,14 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "readPolicyV1NamespacedPodDisruptionBudget", + "operationId": "readRbacAuthorizationV1ClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -53771,13 +53481,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "put": { - "description": "replace the specified PodDisruptionBudget", + "description": "replace the specified ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53790,16 +53500,16 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "replacePolicyV1NamespacedPodDisruptionBudget", + "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, { @@ -53824,13 +53534,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -53839,13 +53549,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "delete": { - "description": "delete a PodDisruptionBudget", + "description": "delete a ClusterRoleBinding", "consumes": [ "*/*" ], @@ -53858,9 +53568,9 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "deletePolicyV1NamespacedPodDisruptionBudget", + "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -53875,6 +53585,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -53901,13 +53614,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "patch": { - "description": "partially update the specified PodDisruptionBudget", + "description": "partially update the specified ClusterRoleBinding", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -53923,9 +53636,9 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "patchPolicyV1NamespacedPodDisruptionBudget", + "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -53955,13 +53668,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, "401": { @@ -53970,8 +53683,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, @@ -53979,57 +53692,88 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the ClusterRoleBinding", "name": "name", "in": "path", "required": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { "get": { - "description": "read status of the specified PodDisruptionBudget", + "description": "list or watch objects of kind ClusterRole", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" + ], + "operationId": "listRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } ], - "operationId": "readPolicyV1NamespacedPodDisruptionBudgetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, - "put": { - "description": "replace status of the specified PodDisruptionBudget", + "post": { + "description": "create a ClusterRole", "consumes": [ "*/*" ], @@ -54042,16 +53786,16 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "replacePolicyV1NamespacedPodDisruptionBudgetStatus", + "operationId": "createRbacAuthorizationV1ClusterRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, { @@ -54076,33 +53820,36 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, - "patch": { - "description": "partially update status of the specified PodDisruptionBudget", + "delete": { + "description": "delete collection of ClusterRole", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], "produces": [ "application/json", @@ -54113,12 +53860,15 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "patchPolicyV1NamespacedPodDisruptionBudgetStatus", + "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", "parameters": [ { - "$ref": "#/parameters/body-78PwaGsr" + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" }, { "uniqueItems": true, @@ -54128,377 +53878,239 @@ "in": "query" }, { - "$ref": "#/parameters/fieldManager-7c6nTn1T" + "$ref": "#/parameters/fieldSelector-xIcQKXFG" }, { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, { - "$ref": "#/parameters/force-tOGGb0Yi" + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodDisruptionBudget", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/policy/v1/poddisruptionbudgets": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "read the specified ClusterRole", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "listPolicyV1PodDisruptionBudgetForAllNamespaces", + "operationId": "readRbacAuthorizationV1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { - "get": { - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", + "put": { + "description": "replace the specified ClusterRole", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "operationId": "watchPolicyV1NamespacedPodDisruptionBudgetList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" + "operationId": "replaceRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "get": { - "description": "watch changes to an object of kind PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" ], - "operationId": "watchPolicyV1NamespacedPodDisruptionBudget", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodDisruptionBudget", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/policy/v1/watch/poddisruptionbudgets": { - "get": { - "description": "watch individual changes to a list of PodDisruptionBudget. deprecated: use the 'watch' parameter with a list operation instead.", + "delete": { + "description": "delete a ClusterRole", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" + ], + "operationId": "deleteRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } ], - "operationId": "watchPolicyV1PodDisruptionBudgetListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/": { - "get": { - "description": "get information of a group", + "patch": { + "description": "partially update the specified ClusterRole", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], "produces": [ "application/json", @@ -54509,58 +54121,75 @@ "https" ], "tags": [ - "rbacAuthorization" + "rbacAuthorization_v1" ], - "operationId": "getRbacAuthorizationAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } + "operationId": "patchRbacAuthorizationV1ClusterRole", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" }, - "401": { - "description": "Unauthorized" + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "getRbacAuthorizationV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" } - } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { "get": { - "description": "list or watch objects of kind ClusterRoleBinding", + "description": "list or watch objects of kind RoleBinding", "consumes": [ "*/*" ], @@ -54577,7 +54206,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1ClusterRoleBinding", + "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -54614,7 +54243,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBindingList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" } }, "401": { @@ -54624,12 +54253,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a RoleBinding", "consumes": [ "*/*" ], @@ -54644,14 +54273,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1ClusterRoleBinding", + "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, { @@ -54676,19 +54305,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { @@ -54698,12 +54327,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of RoleBinding", "consumes": [ "*/*" ], @@ -54718,7 +54347,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -54739,6 +54368,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -54778,19 +54410,22 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified RoleBinding", "consumes": [ "*/*" ], @@ -54805,12 +54440,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1ClusterRoleBinding", + "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { @@ -54820,12 +54455,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified RoleBinding", "consumes": [ "*/*" ], @@ -54840,14 +54475,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1ClusterRoleBinding", + "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, { @@ -54872,13 +54507,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { @@ -54888,12 +54523,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a RoleBinding", "consumes": [ "*/*" ], @@ -54908,7 +54543,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1ClusterRoleBinding", + "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -54923,6 +54558,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -54950,12 +54588,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified RoleBinding", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -54973,7 +54611,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", + "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -55003,13 +54641,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, "401": { @@ -55019,7 +54657,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "RoleBinding", "version": "v1" } }, @@ -55027,19 +54665,22 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the RoleBinding", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { "get": { - "description": "list or watch objects of kind ClusterRole", + "description": "list or watch objects of kind Role", "consumes": [ "*/*" ], @@ -55056,7 +54697,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1ClusterRole", + "operationId": "listRbacAuthorizationV1NamespacedRole", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -55093,7 +54734,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleList" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" } }, "401": { @@ -55103,12 +54744,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "post": { - "description": "create a ClusterRole", + "description": "create a Role", "consumes": [ "*/*" ], @@ -55123,14 +54764,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1ClusterRole", + "operationId": "createRbacAuthorizationV1NamespacedRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, { @@ -55155,19 +54796,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "401": { @@ -55177,12 +54818,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "delete": { - "description": "delete collection of ClusterRole", + "description": "delete collection of Role", "consumes": [ "*/*" ], @@ -55197,7 +54838,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", + "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -55218,6 +54859,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -55257,19 +54901,22 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { "get": { - "description": "read the specified ClusterRole", + "description": "read the specified Role", "consumes": [ "*/*" ], @@ -55284,12 +54931,12 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1ClusterRole", + "operationId": "readRbacAuthorizationV1NamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "401": { @@ -55299,12 +54946,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "put": { - "description": "replace the specified ClusterRole", + "description": "replace the specified Role", "consumes": [ "*/*" ], @@ -55319,14 +54966,14 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1ClusterRole", + "operationId": "replaceRbacAuthorizationV1NamespacedRole", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, { @@ -55351,13 +54998,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "401": { @@ -55367,12 +55014,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "delete": { - "description": "delete a ClusterRole", + "description": "delete a Role", "consumes": [ "*/*" ], @@ -55387,7 +55034,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1ClusterRole", + "operationId": "deleteRbacAuthorizationV1NamespacedRole", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -55402,6 +55049,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -55429,12 +55079,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "patch": { - "description": "partially update the specified ClusterRole", + "description": "partially update the specified Role", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -55452,7 +55102,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "patchRbacAuthorizationV1ClusterRole", + "operationId": "patchRbacAuthorizationV1NamespacedRole", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -55482,13 +55132,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, "401": { @@ -55498,7 +55148,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, @@ -55506,17 +55156,20 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", + "description": "name of the Role", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { "get": { "description": "list or watch objects of kind RoleBinding", "consumes": [ @@ -55535,39 +55188,7 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", "responses": { "200": { "description": "OK", @@ -55586,15 +55207,54 @@ "version": "v1" } }, - "post": { - "description": "create a RoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { + "get": { + "description": "list or watch objects of kind Role", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -55602,73 +55262,73 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "Role", "version": "v1" } }, - "delete": { - "description": "delete collection of RoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "get": { + "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -55676,89 +55336,73 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], + "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, "parameters": [ { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -55766,34 +55410,81 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRoleBinding", "version": "v1" } }, - "put": { - "description": "replace the specified RoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "get": { + "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -55801,67 +55492,73 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchRbacAuthorizationV1ClusterRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRole", "version": "v1" } }, - "delete": { - "description": "delete a RoleBinding", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "get": { + "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -55869,115 +55566,101 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], + "operationId": "watchRbacAuthorizationV1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "kind": "ClusterRole", "version": "v1" } }, - "patch": { - "description": "partially update the specified RoleBinding", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "get": { + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "consumes": [ + "*/*" ], - "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", @@ -55986,24 +55669,46 @@ }, "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { "get": { - "description": "list or watch objects of kind Role", + "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -56020,66 +55725,84 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "listRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1" } }, - "post": { - "description": "create a Role", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "get": { + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -56087,73 +55810,76 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "createRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchRbacAuthorizationV1NamespacedRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" } }, - "delete": { - "description": "delete collection of Role", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -56161,64 +55887,19 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], + "operationId": "watchRbacAuthorizationV1NamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", @@ -56226,24 +55907,64 @@ } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { "get": { - "description": "read the specified Role", + "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -56251,34 +55972,73 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "readRbacAuthorizationV1NamespacedRole", + "operationId": "watchRbacAuthorizationV1RoleBindingListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "Role", + "kind": "RoleBinding", "version": "v1" } }, - "put": { - "description": "replace the specified Role", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + "get": { + "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -56286,60 +56046,273 @@ "tags": [ "rbacAuthorization_v1" ], - "operationId": "replaceRbacAuthorizationV1NamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchRbacAuthorizationV1RoleListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", "version": "v1" } }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getSchedulingAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "getSchedulingV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "listSchedulingV1PriorityClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "createSchedulingV1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, "delete": { - "description": "delete a Role", + "description": "delete collection of PriorityClass", "consumes": [ "*/*" ], @@ -56352,9 +56325,202 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "scheduling_v1" ], - "operationId": "deleteRbacAuthorizationV1NamespacedRole", + "operationId": "deleteSchedulingV1CollectionPriorityClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ] + }, + "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "readSchedulingV1PriorityClass", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "replaceSchedulingV1PriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1" + } + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ], + "operationId": "deleteSchedulingV1PriorityClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -56369,6 +56535,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -56395,13 +56564,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1" } }, "patch": { - "description": "partially update the specified Role", + "description": "partially update the specified PriorityClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -56417,9 +56586,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "scheduling_v1" ], - "operationId": "patchRbacAuthorizationV1NamespacedRole", + "operationId": "patchSchedulingV1PriorityClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -56449,13 +56618,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, "401": { @@ -56464,8 +56633,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1" } }, @@ -56473,22 +56642,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the PriorityClass", "name": "name", "in": "path", "required": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -56503,24 +56669,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "scheduling_v1" ], - "operationId": "listRbacAuthorizationV1RoleBindingForAllNamespaces", + "operationId": "watchSchedulingV1PriorityClassList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBindingList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1" } }, @@ -56560,9 +56726,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/roles": { + "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { "get": { - "description": "list or watch objects of kind Role", + "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], @@ -56577,24 +56743,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "scheduling_v1" ], - "operationId": "listRbacAuthorizationV1RoleForAllNamespaces", + "operationId": "watchSchedulingV1PriorityClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1" } }, @@ -56614,6 +56780,14 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -56634,165 +56808,75 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "/apis/storage.k8s.io/": { "get": { - "description": "watch individual changes to a list of ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage" ], - "operationId": "watchRbacAuthorizationV1ClusterRoleBindingList", + "operationId": "getStorageAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "/apis/storage.k8s.io/v1/": { "get": { - "description": "watch changes to an object of kind ClusterRoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" ], - "operationId": "watchRbacAuthorizationV1ClusterRoleBinding", + "operationId": "getStorageV1APIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "/apis/storage.k8s.io/v1/csidrivers": { "get": { - "description": "watch individual changes to a list of ClusterRole. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "list or watch objects of kind CSIDriver", "consumes": [ "*/*" ], @@ -56807,686 +56891,477 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" + ], + "operationId": "listStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } ], - "operationId": "watchRbacAuthorizationV1ClusterRoleList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { - "get": { - "description": "watch changes to an object of kind ClusterRole. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "post": { + "description": "create a CSIDriver", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" + ], + "operationId": "createStorageV1CSIDriver", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } ], - "operationId": "watchRbacAuthorizationV1ClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { - "get": { - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "delete": { + "description": "delete collection of CSIDriver", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" + ], + "operationId": "deleteStorageV1CollectionCSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } ], - "operationId": "watchRbacAuthorizationV1NamespacedRoleBindingList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "/apis/storage.k8s.io/v1/csidrivers/{name}": { "get": { - "description": "watch changes to an object of kind RoleBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "description": "read the specified CSIDriver", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" ], - "operationId": "watchRbacAuthorizationV1NamespacedRoleBinding", + "operationId": "readStorageV1CSIDriver", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { - "get": { - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "put": { + "description": "replace the specified CSIDriver", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" ], - "operationId": "watchRbacAuthorizationV1NamespacedRoleList", - "responses": { - "200": { - "description": "OK", + "operationId": "replaceStorageV1CSIDriver", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { - "get": { - "description": "watch changes to an object of kind Role. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + } ], - "operationId": "watchRbacAuthorizationV1NamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { - "get": { - "description": "watch individual changes to a list of RoleBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "delete": { + "description": "delete a CSIDriver", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" + ], + "operationId": "deleteStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } ], - "operationId": "watchRbacAuthorizationV1RoleBindingListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/roles": { - "get": { - "description": "watch individual changes to a list of Role. deprecated: use the 'watch' parameter with a list operation instead.", + "patch": { + "description": "partially update the specified CSIDriver", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "storage_v1" + ], + "operationId": "patchStorageV1CSIDriver", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } ], - "operationId": "watchRbacAuthorizationV1RoleListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", + "group": "storage.k8s.io", + "kind": "CSIDriver", "version": "v1" } }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "uniqueItems": true, + "type": "string", + "description": "name of the CSIDriver", + "name": "name", + "in": "path", + "required": true }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ], - "operationId": "getSchedulingAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/scheduling.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "operationId": "getSchedulingV1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/scheduling.k8s.io/v1/priorityclasses": { + "/apis/storage.k8s.io/v1/csinodes": { "get": { - "description": "list or watch objects of kind PriorityClass", + "description": "list or watch objects of kind CSINode", "consumes": [ "*/*" ], @@ -57501,9 +57376,9 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "listSchedulingV1PriorityClass", + "operationId": "listStorageV1CSINode", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -57540,7 +57415,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClassList" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" } }, "401": { @@ -57549,13 +57424,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, "post": { - "description": "create a PriorityClass", + "description": "create a CSINode", "consumes": [ "*/*" ], @@ -57568,16 +57443,16 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "createSchedulingV1PriorityClass", + "operationId": "createStorageV1CSINode", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, { @@ -57602,19 +57477,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -57623,13 +57498,13 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, "delete": { - "description": "delete collection of PriorityClass", + "description": "delete collection of CSINode", "consumes": [ "*/*" ], @@ -57642,9 +57517,9 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "deleteSchedulingV1CollectionPriorityClass", + "operationId": "deleteStorageV1CollectionCSINode", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -57665,6 +57540,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -57703,8 +57581,8 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, @@ -57714,9 +57592,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": { + "/apis/storage.k8s.io/v1/csinodes/{name}": { "get": { - "description": "read the specified PriorityClass", + "description": "read the specified CSINode", "consumes": [ "*/*" ], @@ -57729,14 +57607,14 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "readSchedulingV1PriorityClass", + "operationId": "readStorageV1CSINode", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -57745,13 +57623,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, "put": { - "description": "replace the specified PriorityClass", + "description": "replace the specified CSINode", "consumes": [ "*/*" ], @@ -57764,16 +57642,16 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "replaceSchedulingV1PriorityClass", + "operationId": "replaceStorageV1CSINode", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, { @@ -57798,13 +57676,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -57813,13 +57691,13 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, "delete": { - "description": "delete a PriorityClass", + "description": "delete a CSINode", "consumes": [ "*/*" ], @@ -57832,9 +57710,9 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "deleteSchedulingV1PriorityClass", + "operationId": "deleteStorageV1CSINode", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -57849,6 +57727,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -57860,13 +57741,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -57875,13 +57756,13 @@ }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, "patch": { - "description": "partially update the specified PriorityClass", + "description": "partially update the specified CSINode", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -57897,9 +57778,9 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "patchSchedulingV1PriorityClass", + "operationId": "patchStorageV1CSINode", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -57929,13 +57810,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -57944,8 +57825,8 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSINode", "version": "v1" } }, @@ -57953,7 +57834,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PriorityClass", + "description": "name of the CSINode", "name": "name", "in": "path", "required": true @@ -57963,9 +57844,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { + "/apis/storage.k8s.io/v1/csistoragecapacities": { "get": { - "description": "watch individual changes to a list of PriorityClass. deprecated: use the 'watch' parameter with a list operation instead.", + "description": "list or watch objects of kind CSIStorageCapacity", "consumes": [ "*/*" ], @@ -57980,24 +57861,24 @@ "https" ], "tags": [ - "scheduling_v1" + "storage_v1" ], - "operationId": "watchSchedulingV1PriorityClassList", + "operationId": "listStorageV1CSIStorageCapacityForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", "version": "v1" } }, @@ -58037,157 +57918,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { + "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": { "get": { - "description": "watch changes to an object of kind PriorityClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling_v1" - ], - "operationId": "watchSchedulingV1PriorityClass", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PriorityClass", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage" - ], - "operationId": "getStorageAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "getStorageV1APIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/storage.k8s.io/v1/csidrivers": { - "get": { - "description": "list or watch objects of kind CSIDriver", + "description": "list or watch objects of kind CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58204,7 +57937,7 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1CSIDriver", + "operationId": "listStorageV1NamespacedCSIStorageCapacity", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -58241,7 +57974,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverList" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" } }, "401": { @@ -58251,12 +57984,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "post": { - "description": "create a CSIDriver", + "description": "create a CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58271,14 +58004,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1CSIDriver", + "operationId": "createStorageV1NamespacedCSIStorageCapacity", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, { @@ -58303,19 +58036,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "401": { @@ -58325,12 +58058,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "delete": { - "description": "delete collection of CSIDriver", + "description": "delete collection of CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58345,7 +58078,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionCSIDriver", + "operationId": "deleteStorageV1CollectionNamespacedCSIStorageCapacity", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -58366,6 +58099,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -58405,19 +58141,22 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/storage.k8s.io/v1/csidrivers/{name}": { + "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": { "get": { - "description": "read the specified CSIDriver", + "description": "read the specified CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58432,12 +58171,12 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1CSIDriver", + "operationId": "readStorageV1NamespacedCSIStorageCapacity", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "401": { @@ -58447,12 +58186,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "put": { - "description": "replace the specified CSIDriver", + "description": "replace the specified CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58467,14 +58206,14 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1CSIDriver", + "operationId": "replaceStorageV1NamespacedCSIStorageCapacity", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, { @@ -58499,13 +58238,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "401": { @@ -58515,12 +58254,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "delete": { - "description": "delete a CSIDriver", + "description": "delete a CSIStorageCapacity", "consumes": [ "*/*" ], @@ -58535,7 +58274,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CSIDriver", + "operationId": "deleteStorageV1NamespacedCSIStorageCapacity", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -58550,6 +58289,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -58561,13 +58303,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -58577,12 +58319,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, "patch": { - "description": "partially update the specified CSIDriver", + "description": "partially update the specified CSIStorageCapacity", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -58600,7 +58342,7 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1CSIDriver", + "operationId": "patchStorageV1NamespacedCSIStorageCapacity", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -58630,13 +58372,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" } }, "401": { @@ -58646,7 +58388,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", + "kind": "CSIStorageCapacity", "version": "v1" } }, @@ -58654,19 +58396,22 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CSIDriver", + "description": "name of the CSIStorageCapacity", "name": "name", "in": "path", "required": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/storage.k8s.io/v1/csinodes": { + "/apis/storage.k8s.io/v1/storageclasses": { "get": { - "description": "list or watch objects of kind CSINode", + "description": "list or watch objects of kind StorageClass", "consumes": [ "*/*" ], @@ -58683,7 +58428,7 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1CSINode", + "operationId": "listStorageV1StorageClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -58720,7 +58465,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" } }, "401": { @@ -58730,12 +58475,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, "post": { - "description": "create a CSINode", + "description": "create a StorageClass", "consumes": [ "*/*" ], @@ -58750,14 +58495,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1CSINode", + "operationId": "createStorageV1StorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, { @@ -58782,19 +58527,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -58804,12 +58549,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, "delete": { - "description": "delete collection of CSINode", + "description": "delete collection of StorageClass", "consumes": [ "*/*" ], @@ -58824,7 +58569,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionCSINode", + "operationId": "deleteStorageV1CollectionStorageClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -58845,6 +58590,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -58884,7 +58632,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, @@ -58894,9 +58642,9 @@ } ] }, - "/apis/storage.k8s.io/v1/csinodes/{name}": { + "/apis/storage.k8s.io/v1/storageclasses/{name}": { "get": { - "description": "read the specified CSINode", + "description": "read the specified StorageClass", "consumes": [ "*/*" ], @@ -58911,12 +58659,12 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1CSINode", + "operationId": "readStorageV1StorageClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -58926,12 +58674,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, "put": { - "description": "replace the specified CSINode", + "description": "replace the specified StorageClass", "consumes": [ "*/*" ], @@ -58946,14 +58694,14 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1CSINode", + "operationId": "replaceStorageV1StorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, { @@ -58978,13 +58726,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -58994,12 +58742,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, "delete": { - "description": "delete a CSINode", + "description": "delete a StorageClass", "consumes": [ "*/*" ], @@ -59014,7 +58762,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CSINode", + "operationId": "deleteStorageV1StorageClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59029,6 +58777,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -59040,13 +58791,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -59056,12 +58807,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, "patch": { - "description": "partially update the specified CSINode", + "description": "partially update the specified StorageClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -59079,7 +58830,7 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1CSINode", + "operationId": "patchStorageV1StorageClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -59109,13 +58860,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, "401": { @@ -59125,7 +58876,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", + "kind": "StorageClass", "version": "v1" } }, @@ -59133,7 +58884,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CSINode", + "description": "name of the StorageClass", "name": "name", "in": "path", "required": true @@ -59143,83 +58894,9 @@ } ] }, - "/apis/storage.k8s.io/v1/csistoragecapacities": { - "get": { - "description": "list or watch objects of kind CSIStorageCapacity", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "listStorageV1CSIStorageCapacityForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": { + "/apis/storage.k8s.io/v1/volumeattachments": { "get": { - "description": "list or watch objects of kind CSIStorageCapacity", + "description": "list or watch objects of kind VolumeAttachment", "consumes": [ "*/*" ], @@ -59236,7 +58913,7 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1NamespacedCSIStorageCapacity", + "operationId": "listStorageV1VolumeAttachment", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -59273,7 +58950,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacityList" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentList" } }, "401": { @@ -59283,12 +58960,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "post": { - "description": "create a CSIStorageCapacity", + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], @@ -59303,14 +58980,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1NamespacedCSIStorageCapacity", + "operationId": "createStorageV1VolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, { @@ -59335,19 +59012,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -59357,12 +59034,12 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete collection of CSIStorageCapacity", + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], @@ -59377,7 +59054,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionNamespacedCSIStorageCapacity", + "operationId": "deleteStorageV1CollectionVolumeAttachment", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59398,6 +59075,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -59437,22 +59117,19 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": { + "/apis/storage.k8s.io/v1/volumeattachments/{name}": { "get": { - "description": "read the specified CSIStorageCapacity", + "description": "read the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -59467,12 +59144,12 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1NamespacedCSIStorageCapacity", + "operationId": "readStorageV1VolumeAttachment", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -59482,12 +59159,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "put": { - "description": "replace the specified CSIStorageCapacity", + "description": "replace the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -59502,14 +59179,14 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1NamespacedCSIStorageCapacity", + "operationId": "replaceStorageV1VolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, { @@ -59534,13 +59211,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -59550,12 +59227,12 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "delete": { - "description": "delete a CSIStorageCapacity", + "description": "delete a VolumeAttachment", "consumes": [ "*/*" ], @@ -59570,7 +59247,7 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1NamespacedCSIStorageCapacity", + "operationId": "deleteStorageV1VolumeAttachment", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59585,6 +59262,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -59596,13 +59276,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -59612,12 +59292,12 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, "patch": { - "description": "partially update the specified CSIStorageCapacity", + "description": "partially update the specified VolumeAttachment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -59635,7 +59315,7 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1NamespacedCSIStorageCapacity", + "operationId": "patchStorageV1VolumeAttachment", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -59665,13 +59345,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { @@ -59681,7 +59361,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", + "kind": "VolumeAttachment", "version": "v1" } }, @@ -59689,31 +59369,26 @@ { "uniqueItems": true, "type": "string", - "description": "name of the CSIStorageCapacity", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/storage.k8s.io/v1/storageclasses": { + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "read status of the specified VolumeAttachment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" @@ -59721,59 +59396,27 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1StorageClass", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "operationId": "readStorageV1VolumeAttachmentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClassList" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, - "post": { - "description": "create a StorageClass", + "put": { + "description": "replace status of the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -59788,14 +59431,14 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1StorageClass", + "operationId": "replaceStorageV1VolumeAttachmentStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, { @@ -59820,36 +59463,33 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, - "delete": { - "description": "delete collection of StorageClass", + "patch": { + "description": "partially update status of the specified VolumeAttachment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" ], "produces": [ "application/json", @@ -59862,13 +59502,10 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionStorageClass", + "operationId": "patchStorageV1VolumeAttachmentStatus", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" + "$ref": "#/parameters/body-78PwaGsr" }, { "uniqueItems": true, @@ -59878,70 +59515,69 @@ "in": "query" }, { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + "$ref": "#/parameters/fieldManager-7c6nTn1T" }, { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + "uniqueItems": true, + "type": "string", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "name": "fieldValidation", + "in": "query" }, { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + "$ref": "#/parameters/force-tOGGb0Yi" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "VolumeAttachment", "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "/apis/storage.k8s.io/v1/watch/csidrivers": { "get": { - "description": "read the specified StorageClass", + "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -59949,34 +59585,73 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1StorageClass", + "operationId": "watchStorageV1CSIDriverList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "CSIDriver", "version": "v1" } }, - "put": { - "description": "replace the specified StorageClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "get": { + "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -59984,67 +59659,81 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1StorageClass", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchStorageV1CSIDriver", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "CSIDriver", "version": "v1" } }, - "delete": { - "description": "delete a StorageClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIDriver", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "get": { + "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60052,64 +59741,73 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1StorageClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], + "operationId": "watchStorageV1CSINodeList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "CSINode", "version": "v1" } }, - "patch": { - "description": "partially update the specified StorageClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "get": { + "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60117,73 +59815,72 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1StorageClass", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], + "operationId": "watchStorageV1CSINode", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", + "kind": "CSINode", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the CSINode", "name": "name", "in": "path", "required": true }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/storage.k8s.io/v1/volumeattachments": { + "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { "get": { - "description": "list or watch objects of kind VolumeAttachment", + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], @@ -60200,66 +59897,73 @@ "tags": [ "storage_v1" ], - "operationId": "listStorageV1VolumeAttachment", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "operationId": "watchStorageV1CSIStorageCapacityListForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSIStorageCapacity", "version": "v1" } }, - "post": { - "description": "create a VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { + "get": { + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60267,73 +59971,76 @@ "tags": [ "storage_v1" ], - "operationId": "createStorageV1VolumeAttachment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchStorageV1NamespacedCSIStorageCapacityList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSIStorageCapacity", "version": "v1" } }, - "delete": { - "description": "delete collection of VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { + "get": { + "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60341,86 +60048,84 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1CollectionVolumeAttachment", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], + "operationId": "watchStorageV1NamespacedCSIStorageCapacity", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "CSIStorageCapacity", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CSIStorageCapacity", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/storage.k8s.io/v1/volumeattachments/{name}": { + "/apis/storage.k8s.io/v1/watch/storageclasses": { "get": { - "description": "read the specified VolumeAttachment", + "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60428,34 +60133,73 @@ "tags": [ "storage_v1" ], - "operationId": "readStorageV1VolumeAttachment", + "operationId": "watchStorageV1StorageClassList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "StorageClass", "version": "v1" } }, - "put": { - "description": "replace the specified VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "get": { + "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60463,67 +60207,81 @@ "tags": [ "storage_v1" ], - "operationId": "replaceStorageV1VolumeAttachment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], + "operationId": "watchStorageV1StorageClass", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "VolumeAttachment", + "kind": "StorageClass", "version": "v1" } }, - "delete": { - "description": "delete a VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "get": { + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60531,64 +60289,73 @@ "tags": [ "storage_v1" ], - "operationId": "deleteStorageV1VolumeAttachment", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], + "operationId": "watchStorageV1VolumeAttachmentList", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttachment", "version": "v1" } }, - "patch": { - "description": "partially update the specified VolumeAttachment", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "get": { + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -60596,50 +60363,19 @@ "tags": [ "storage_v1" ], - "operationId": "patchStorageV1VolumeAttachment", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], + "operationId": "watchStorageV1VolumeAttachment", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttachment", @@ -60647,6 +60383,21 @@ } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, { "uniqueItems": true, "type": "string", @@ -60657,1101 +60408,69 @@ }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ] }, - "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "/openid/v1/jwks/": { "get": { - "description": "read status of the specified VolumeAttachment", - "consumes": [ - "*/*" - ], + "description": "get service account issuer OpenID JSON Web Key Set (contains public token verification keys)", "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/jwk-set+json" ], "schemes": [ "https" ], "tags": [ - "storage_v1" + "openid" ], - "operationId": "readStorageV1VolumeAttachmentStatus", + "operationId": "getServiceAccountIssuerOpenIDKeyset", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + "type": "string" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" } - }, - "put": { - "description": "replace status of the specified VolumeAttachment", + } + }, + "/version/": { + "get": { + "description": "get the code version", "consumes": [ - "*/*" + "application/json" ], "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json" ], "schemes": [ "https" ], "tags": [ - "storage_v1" + "version" ], - "operationId": "replaceStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "patch": { - "description": "partially update status of the specified VolumeAttachment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "patchStorageV1VolumeAttachmentStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "name": "dryRun", - "in": "query" - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "uniqueItems": true, - "type": "string", - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "name": "fieldValidation", - "in": "query" - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the VolumeAttachment", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csidrivers": { - "get": { - "description": "watch individual changes to a list of CSIDriver. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1CSIDriverList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { - "get": { - "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1CSIDriver", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CSIDriver", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csinodes": { - "get": { - "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1CSINodeList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { - "get": { - "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1CSINode", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CSINode", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { - "get": { - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1CSIStorageCapacityListForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { - "get": { - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1NamespacedCSIStorageCapacityList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { - "get": { - "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1NamespacedCSIStorageCapacity", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CSIStorageCapacity", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { - "get": { - "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1StorageClassList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { - "get": { - "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1StorageClass", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the StorageClass", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/volumeattachments": { - "get": { - "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1VolumeAttachmentList", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { - "get": { - "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "watchStorageV1VolumeAttachment", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the VolumeAttachment", - "name": "name", - "in": "path", - "required": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/openid/v1/jwks/": { - "get": { - "description": "get service account issuer OpenID JSON Web Key Set (contains public token verification keys)", - "produces": [ - "application/jwk-set+json" - ], - "schemes": [ - "https" - ], - "tags": [ - "openid" - ], - "operationId": "getServiceAccountIssuerOpenIDKeyset", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/version/": { - "get": { - "description": "get the code version", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], - "tags": [ - "version" - ], - "operationId": "getCodeVersion", - "responses": { - "200": { - "description": "OK", + "operationId": "getCodeVersion", + "responses": { + "200": { + "description": "OK", "schema": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.version.Info" } @@ -64073,7 +62792,7 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "reinvocationPolicy": { - "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".\n\nPossible enum values:\n - `\"IfNeeded\"` indicates that the webhook may be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call.\n - `\"Never\"` indicates that the webhook must not be called more than once in a single admission evaluation.", + "description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".\n\nPossible enum values:\n - `\"IfNeeded\"` indicates that the mutation may be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial mutation call.\n - `\"Never\"` indicates that the mutation must not be called more than once in a single admission evaluation.", "type": "string", "enum": [ "IfNeeded", @@ -64478,7 +63197,7 @@ "type": "string" }, "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", + "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", "type": "array", "items": { "type": "string", @@ -65709,7 +64428,7 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetOrdinals" }, "persistentVolumeClaimRetentionPolicy": { - "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is beta.", + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.", "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy" }, "podManagementPolicy": { @@ -67108,7 +65827,7 @@ ], "properties": { "containerResource": { - "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.", + "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ContainerResourceMetricSource" }, "external": { @@ -67128,7 +65847,7 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ResourceMetricSource" }, "type": { - "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", "type": "string" } } @@ -67161,7 +65880,7 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ResourceMetricStatus" }, "type": { - "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } } @@ -67607,7 +66326,7 @@ "format": "int32" }, "managedBy": { - "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).", "type": "string" }, "manualSelector": { @@ -68380,7 +67099,7 @@ } }, "io.k8s.api.core.v1.Binding": { - "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.", "type": "object", "required": [ "target" @@ -68412,7 +67131,7 @@ ] }, "io.k8s.api.core.v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", + "description": "Represents storage that is managed by an external CSI volume driver", "type": "object", "required": [ "driver", @@ -70187,6 +68906,7 @@ } }, "io.k8s.api.core.v1.GRPCAction": { + "description": "GRPCAction specifies an action involving a GRPC service.", "type": "object", "required": [ "port" @@ -70569,19 +69289,19 @@ "type": "object", "properties": { "exec": { - "description": "Exec specifies the action to take.", + "description": "Exec specifies a command to execute in the container.", "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" }, "httpGet": { - "description": "HTTPGet specifies the http request to perform.", + "description": "HTTPGet specifies an HTTP GET request to perform.", "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" }, "sleep": { - "description": "Sleep represents the duration that the container should sleep before being terminated.", + "description": "Sleep represents a duration that the container should sleep.", "$ref": "#/definitions/io.k8s.api.core.v1.SleepAction" }, "tcpSocket": { - "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.", + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.", "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" } } @@ -70796,7 +69516,7 @@ "x-kubernetes-map-type": "atomic" }, "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity (Beta feature)", + "description": "Local represents directly-attached storage with node affinity", "type": "object", "required": [ "path" @@ -70898,12 +69618,15 @@ ], "properties": { "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, "status": { @@ -71333,7 +70056,7 @@ "type": "object", "properties": { "addresses": { - "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" @@ -71360,7 +70083,7 @@ } }, "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" @@ -71393,7 +70116,7 @@ "x-kubernetes-list-type": "atomic" }, "nodeInfo": { - "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info", + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info", "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo" }, "phase": { @@ -71633,9 +70356,11 @@ "type": "string" }, "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", "type": "string" }, "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", "type": "string" } } @@ -71898,15 +70623,15 @@ "x-kubernetes-list-type": "atomic" }, "awsElasticBlockStore": { - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" }, "azureDisk": { - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" }, "azureFile": { - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource" }, "capacity": { @@ -71917,11 +70642,11 @@ } }, "cephfs": { - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource" }, "cinder": { - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource" }, "claimRef": { @@ -71930,7 +70655,7 @@ "x-kubernetes-map-type": "granular" }, "csi": { - "description": "csi represents storage that is handled by an external CSI driver (Beta feature).", + "description": "csi represents storage that is handled by an external CSI driver.", "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource" }, "fc": { @@ -71938,19 +70663,19 @@ "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" }, "flexVolume": { - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource" }, "flocker": { - "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", + "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" }, "gcePersistentDisk": { - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" }, "glusterfs": { - "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource" }, "hostPath": { @@ -71991,23 +70716,23 @@ ] }, "photonPersistentDisk": { - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" }, "portworxVolume": { - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" }, "quobyte": { - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" }, "rbd": { - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource" }, "scaleIO": { - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource" }, "storageClassName": { @@ -72015,7 +70740,7 @@ "type": "string" }, "storageos": { - "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md", + "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md", "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource" }, "volumeAttributesClassName": { @@ -72031,7 +70756,7 @@ ] }, "vsphereVolume": { - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" } } @@ -72273,10 +70998,11 @@ "type": "object", "properties": { "name": { - "description": "Required.", + "description": "Name is this DNS resolver option's name. Required.", "type": "string" }, "value": { + "description": "Value is this DNS resolver option's value.", "type": "string" } } @@ -72441,6 +71167,10 @@ "type": "integer", "format": "int64" }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "seLinuxOptions": { "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.", "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" @@ -72664,6 +71394,10 @@ "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge,retainKeys" }, + "resources": { + "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate.", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy\n\nPossible enum values:\n - `\"Always\"`\n - `\"Never\"`\n - `\"OnFailure\"`", "type": "string", @@ -72707,7 +71441,7 @@ "type": "string" }, "setHostnameAsFQDN": { - "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", "type": "boolean" }, "shareProcessNamespace": { @@ -72778,7 +71512,7 @@ "x-kubernetes-patch-strategy": "merge" }, "containerStatuses": { - "description": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" @@ -72786,7 +71520,7 @@ "x-kubernetes-list-type": "atomic" }, "ephemeralContainerStatuses": { - "description": "Status for any ephemeral containers that have run in this pod.", + "description": "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" @@ -72808,7 +71542,7 @@ "x-kubernetes-patch-strategy": "merge" }, "initContainerStatuses": { - "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" @@ -72966,6 +71700,7 @@ } }, "io.k8s.api.core.v1.PortStatus": { + "description": "PortStatus represents the error condition of a service port", "type": "object", "required": [ "port", @@ -73037,7 +71772,7 @@ "type": "object", "properties": { "exec": { - "description": "Exec specifies the action to take.", + "description": "Exec specifies a command to execute in the container.", "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction" }, "failureThreshold": { @@ -73046,11 +71781,11 @@ "format": "int32" }, "grpc": { - "description": "GRPC specifies an action involving a GRPC port.", + "description": "GRPC specifies a GRPC HealthCheckRequest.", "$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction" }, "httpGet": { - "description": "HTTPGet specifies the http request to perform.", + "description": "HTTPGet specifies an HTTP GET request to perform.", "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction" }, "initialDelaySeconds": { @@ -73069,7 +71804,7 @@ "format": "int32" }, "tcpSocket": { - "description": "TCPSocket specifies an action involving a TCP port.", + "description": "TCPSocket specifies a connection to a TCP port.", "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction" }, "terminationGracePeriodSeconds": { @@ -73442,7 +72177,7 @@ "x-kubernetes-map-type": "atomic" }, "io.k8s.api.core.v1.ResourceHealth": { - "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.", + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.", "type": "object", "required": [ "resourceID" @@ -73611,17 +72346,18 @@ } }, "io.k8s.api.core.v1.ResourceStatus": { + "description": "ResourceStatus represents the status of a single resource allocated to a Pod.", "type": "object", "required": [ "name" ], "properties": { "name": { - "description": "Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.", + "description": "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.", "type": "string" }, "resources": { - "description": "List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.", + "description": "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ResourceHealth" @@ -74147,7 +72883,7 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "secrets": { - "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" @@ -74406,1439 +73142,900 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", - "type": "boolean" - }, - "selector": { - "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-kubernetes-map-type": "atomic" - }, - "sessionAffinity": { - "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n\nPossible enum values:\n - `\"ClientIP\"` is the Client IP based.\n - `\"None\"` - no session affinity.", - "type": "string", - "enum": [ - "ClientIP", - "None" - ] - }, - "sessionAffinityConfig": { - "description": "sessionAffinityConfig contains the configurations of session affinity.", - "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig" - }, - "trafficDistribution": { - "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is an alpha field and requires enabling ServiceTrafficDistribution feature.", - "type": "string" - }, - "type": { - "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.", - "type": "string", - "enum": [ - "ClusterIP", - "ExternalName", - "LoadBalancer", - "NodePort" - ] - } - } - }, - "io.k8s.api.core.v1.ServiceStatus": { - "description": "ServiceStatus represents the current status of a service.", - "type": "object", - "properties": { - "conditions": { - "description": "Current service state", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" - }, - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "loadBalancer": { - "description": "LoadBalancer contains the current status of the load-balancer, if one is present.", - "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus" - } - } - }, - "io.k8s.api.core.v1.SessionAffinityConfig": { - "description": "SessionAffinityConfig represents the configurations of session affinity.", - "type": "object", - "properties": { - "clientIP": { - "description": "clientIP contains the configurations of Client IP based session affinity.", - "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig" - } - } - }, - "io.k8s.api.core.v1.SleepAction": { - "description": "SleepAction describes a \"sleep\" action.", - "type": "object", - "required": [ - "seconds" - ], - "properties": { - "seconds": { - "description": "Seconds is the number of seconds to sleep.", - "type": "integer", - "format": "int64" - } - } - }, - "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", - "type": "object", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" - }, - "volumeName": { - "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" - }, - "volumeNamespace": { - "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.StorageOSVolumeSource": { - "description": "Represents a StorageOS persistent volume resource.", - "type": "object", - "properties": { - "fsType": { - "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", - "type": "string" - }, - "readOnly": { - "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", - "type": "boolean" - }, - "secretRef": { - "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", - "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" - }, - "volumeName": { - "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", - "type": "string" - }, - "volumeNamespace": { - "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.Sysctl": { - "description": "Sysctl defines a kernel parameter to be set", - "type": "object", - "required": [ - "name", - "value" - ], - "properties": { - "name": { - "description": "Name of a property to set", - "type": "string" - }, - "value": { - "description": "Value of a property to set", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", - "type": "object", - "required": [ - "port" - ], - "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", - "type": "string" - }, - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" - } - } - }, - "io.k8s.api.core.v1.Taint": { - "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", - "type": "object", - "required": [ - "key", - "effect" - ], - "properties": { - "effect": { - "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", - "type": "string", - "enum": [ - "NoExecute", - "NoSchedule", - "PreferNoSchedule" - ] - }, - "key": { - "description": "Required. The taint key to be applied to a node.", - "type": "string" - }, - "timeAdded": { - "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" - }, - "value": { - "description": "The taint value corresponding to the taint key.", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.Toleration": { - "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", - "type": "object", - "properties": { - "effect": { - "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", - "type": "string", - "enum": [ - "NoExecute", - "NoSchedule", - "PreferNoSchedule" - ] - }, - "key": { - "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", - "type": "string" - }, - "operator": { - "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`", - "type": "string", - "enum": [ - "Equal", - "Exists" - ] - }, - "tolerationSeconds": { - "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", - "type": "integer", - "format": "int64" - }, - "value": { - "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { - "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", - "type": "object", - "required": [ - "key", - "values" - ], - "properties": { - "key": { - "description": "The label key that the selector applies to.", - "type": "string" - }, - "values": { - "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "atomic" - } - } - }, - "io.k8s.api.core.v1.TopologySelectorTerm": { - "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", - "type": "object", - "properties": { - "matchLabelExpressions": { - "description": "A list of topology selector requirements by labels.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" - }, - "x-kubernetes-list-type": "atomic" - } - }, - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.api.core.v1.TopologySpreadConstraint": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", - "type": "object", - "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" - ], - "properties": { - "labelSelector": { - "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" - }, - "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "atomic" - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", - "type": "integer", - "format": "int32" - }, - "minDomains": { - "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", - "type": "integer", - "format": "int32" - }, - "nodeAffinityPolicy": { - "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", - "type": "string", - "enum": [ - "Honor", - "Ignore" - ] - }, - "nodeTaintsPolicy": { - "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", - "type": "string", - "enum": [ - "Honor", - "Ignore" - ] - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.\n\nPossible enum values:\n - `\"DoNotSchedule\"` instructs the scheduler not to schedule the pod when constraints are not satisfied.\n - `\"ScheduleAnyway\"` instructs the scheduler to schedule the pod even if constraints are not satisfied.", - "type": "string", - "enum": [ - "DoNotSchedule", - "ScheduleAnyway" - ] - } - } - }, - "io.k8s.api.core.v1.TypedLocalObjectReference": { - "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", - "type": "object", - "required": [ - "kind", - "name" - ], - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - } - }, - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.api.core.v1.TypedObjectReference": { - "type": "object", - "required": [ - "kind", - "name" - ], - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.Volume": { - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", - "type": "object", - "required": [ - "name" - ], - "properties": { - "awsElasticBlockStore": { - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" - }, - "azureDisk": { - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", - "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" - }, - "azureFile": { - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod.", - "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource" - }, - "cephfs": { - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource" - }, - "cinder": { - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" - }, - "configMap": { - "description": "configMap represents a configMap that should populate this volume", - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" - }, - "csi": { - "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).", - "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" - }, - "downwardAPI": { - "description": "downwardAPI represents downward API about the pod that should populate this volume", - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource" - }, - "emptyDir": { - "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", - "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" - }, - "ephemeral": { - "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.", - "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralVolumeSource" - }, - "fc": { - "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", - "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" - }, - "flexVolume": { - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" - }, - "flocker": { - "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", - "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" - }, - "gcePersistentDisk": { - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" - }, - "gitRepo": { - "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", - "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" - }, - "glusterfs": { - "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" - }, - "hostPath": { - "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", - "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" - }, - "image": { - "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", - "$ref": "#/definitions/io.k8s.api.core.v1.ImageVolumeSource" - }, - "iscsi": { - "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource" - }, - "name": { - "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" - }, - "nfs": { - "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", - "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" - }, - "persistentVolumeClaim": { - "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", - "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" - }, - "photonPersistentDisk": { - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", - "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" - }, - "portworxVolume": { - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" - }, - "projected": { - "description": "projected items for all in one resources secrets, configmaps, and downward API", - "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" - }, - "quobyte": { - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime", - "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" - }, - "rbd": { - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md", - "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource" - }, - "scaleIO": { - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", - "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource" - }, - "secret": { - "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", - "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" - }, - "storageos": { - "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.", - "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource" - }, - "vsphereVolume": { - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", - "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" - } - } - }, - "io.k8s.api.core.v1.VolumeDevice": { - "description": "volumeDevice describes a mapping of a raw block device within a container.", - "type": "object", - "required": [ - "name", - "devicePath" - ], - "properties": { - "devicePath": { - "description": "devicePath is the path inside of the container that the device will be mapped to.", - "type": "string" + "description": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", + "type": "boolean" }, - "name": { - "description": "name must match the name of a persistentVolumeClaim in the pod", - "type": "string" - } - } - }, - "io.k8s.api.core.v1.VolumeMount": { - "description": "VolumeMount describes a mounting of a Volume within a container.", - "type": "object", - "required": [ - "name", - "mountPath" - ], - "properties": { - "mountPath": { - "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", - "type": "string" + "selector": { + "description": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-kubernetes-map-type": "atomic" }, - "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).\n\nPossible enum values:\n - `\"Bidirectional\"` means that the volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rshared\" in Linux terminology).\n - `\"HostToContainer\"` means that the volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rslave\" in Linux terminology).\n - `\"None\"` means that the volume in a container will not receive new mounts from the host or other containers, and filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode corresponds to \"private\" in Linux terminology.", + "sessionAffinity": { + "description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n\nPossible enum values:\n - `\"ClientIP\"` is the Client IP based.\n - `\"None\"` - no session affinity.", "type": "string", "enum": [ - "Bidirectional", - "HostToContainer", + "ClientIP", "None" ] }, - "name": { - "description": "This must match the Name of a Volume.", - "type": "string" - }, - "readOnly": { - "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", - "type": "boolean" - }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", - "type": "string" + "sessionAffinityConfig": { + "description": "sessionAffinityConfig contains the configurations of session affinity.", + "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig" }, - "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", + "trafficDistribution": { + "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature.", "type": "string" }, - "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", - "type": "string" + "type": { + "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. \"ExternalName\" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types\n\nPossible enum values:\n - `\"ClusterIP\"` means a service will only be accessible inside the cluster, via the cluster IP.\n - `\"ExternalName\"` means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.\n - `\"LoadBalancer\"` means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type.\n - `\"NodePort\"` means a service will be exposed on one port of every node, in addition to 'ClusterIP' type.", + "type": "string", + "enum": [ + "ClusterIP", + "ExternalName", + "LoadBalancer", + "NodePort" + ] } } }, - "io.k8s.api.core.v1.VolumeMountStatus": { - "description": "VolumeMountStatus shows status of volume mounts.", + "io.k8s.api.core.v1.ServiceStatus": { + "description": "ServiceStatus represents the current status of a service.", "type": "object", - "required": [ - "name", - "mountPath" - ], "properties": { - "mountPath": { - "description": "MountPath corresponds to the original VolumeMount.", - "type": "string" - }, - "name": { - "description": "Name corresponds to the name of the original VolumeMount.", - "type": "string" - }, - "readOnly": { - "description": "ReadOnly corresponds to the original VolumeMount.", - "type": "boolean" + "conditions": { + "description": "Current service state", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "recursiveReadOnly": { - "description": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.", - "type": "string" + "loadBalancer": { + "description": "LoadBalancer contains the current status of the load-balancer, if one is present.", + "$ref": "#/definitions/io.k8s.api.core.v1.LoadBalancerStatus" } } }, - "io.k8s.api.core.v1.VolumeNodeAffinity": { - "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "io.k8s.api.core.v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", "type": "object", "properties": { - "required": { - "description": "required specifies hard node constraints that must be met.", - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "$ref": "#/definitions/io.k8s.api.core.v1.ClientIPConfig" } } }, - "io.k8s.api.core.v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", + "io.k8s.api.core.v1.SleepAction": { + "description": "SleepAction describes a \"sleep\" action.", "type": "object", + "required": [ + "seconds" + ], "properties": { - "clusterTrustBundle": { - "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.", - "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection" - }, - "configMap": { - "description": "configMap information about the configMap data to project", - "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection" - }, - "downwardAPI": { - "description": "downwardAPI information about the downwardAPI data to project", - "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection" - }, - "secret": { - "description": "secret information about the secret data to project", - "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" - }, - "serviceAccountToken": { - "description": "serviceAccountToken is information about the serviceAccountToken data to project", - "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "type": "integer", + "format": "int64" } } }, - "io.k8s.api.core.v1.VolumeResourceRequirements": { - "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", + "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", "type": "object", "properties": { - "limits": { - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - } + "fsType": { + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" }, - "requests": { - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" - } + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", + "type": "string" + }, + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", + "type": "string" } } }, - "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { - "description": "Represents a vSphere volume resource.", + "io.k8s.api.core.v1.StorageOSVolumeSource": { + "description": "Represents a StorageOS persistent volume resource.", "type": "object", - "required": [ - "volumePath" - ], "properties": { "fsType": { - "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", "type": "string" }, - "storagePolicyID": { - "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", - "type": "string" + "readOnly": { + "description": "readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "storagePolicyName": { - "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "secretRef": { + "description": "secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted.", + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "volumeName": { + "description": "volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.", "type": "string" }, - "volumePath": { - "description": "volumePath is the path that identifies vSphere volume vmdk", + "volumeNamespace": { + "description": "volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to \"default\" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.", "type": "string" } } }, - "io.k8s.api.core.v1.WeightedPodAffinityTerm": { - "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", + "io.k8s.api.core.v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", "type": "object", "required": [ - "weight", - "podAffinityTerm" + "name", + "value" ], "properties": { - "podAffinityTerm": { - "description": "Required. A pod affinity term, associated with the corresponding weight.", - "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" + "name": { + "description": "Name of a property to set", + "type": "string" }, - "weight": { - "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", - "type": "integer", - "format": "int32" + "value": { + "description": "Value of a property to set", + "type": "string" } } }, - "io.k8s.api.core.v1.WindowsSecurityContextOptions": { - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", + "io.k8s.api.core.v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", "type": "object", + "required": [ + "port" + ], "properties": { - "gmsaCredentialSpec": { - "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", - "type": "string" - }, - "gmsaCredentialSpecName": { - "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", "type": "string" }, - "hostProcess": { - "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", - "type": "boolean" - }, - "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "string" + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" } } }, - "io.k8s.api.discovery.v1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", + "io.k8s.api.core.v1.Taint": { + "description": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.", "type": "object", "required": [ - "addresses" + "key", + "effect" ], "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "set" - }, - "conditions": { - "description": "conditions contains information about the current status of the endpoint.", - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointConditions" - }, - "deprecatedTopology": { - "description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "hints": { - "description": "hints contains information associated with how an endpoint should be consumed.", - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointHints" - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", - "type": "string" + "effect": { + "description": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "type": "string", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ] }, - "nodeName": { - "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.", + "key": { + "description": "Required. The taint key to be applied to a node.", "type": "string" }, - "targetRef": { - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint.", - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "timeAdded": { + "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, - "zone": { - "description": "zone is the name of the Zone this endpoint exists in.", + "value": { + "description": "The taint value corresponding to the taint key.", "type": "string" } } }, - "io.k8s.api.discovery.v1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", + "io.k8s.api.core.v1.Toleration": { + "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", "type": "object", "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.", - "type": "boolean" + "effect": { + "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n\nPossible enum values:\n - `\"NoExecute\"` Evict any already-running pods that do not tolerate the taint. Currently enforced by NodeController.\n - `\"NoSchedule\"` Do not allow new pods to schedule onto the node unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running. Enforced by the scheduler.\n - `\"PreferNoSchedule\"` Like TaintEffectNoSchedule, but the scheduler tries not to schedule new pods onto the node, rather than prohibiting new pods from scheduling onto the node entirely. Enforced by the scheduler.", + "type": "string", + "enum": [ + "NoExecute", + "NoSchedule", + "PreferNoSchedule" + ] }, - "serving": { - "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.", - "type": "boolean" + "key": { + "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.", + "type": "string" }, - "terminating": { - "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.", - "type": "boolean" + "operator": { + "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.\n\nPossible enum values:\n - `\"Equal\"`\n - `\"Exists\"`", + "type": "string", + "enum": [ + "Equal", + "Exists" + ] + }, + "tolerationSeconds": { + "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.", + "type": "integer", + "format": "int64" + }, + "value": { + "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.", + "type": "string" } } }, - "io.k8s.api.discovery.v1.EndpointHints": { - "description": "EndpointHints provides hints describing how an endpoint should be consumed.", + "io.k8s.api.core.v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "type": "object", + "required": [ + "key", + "values" + ], "properties": { - "forZones": { - "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.", + "key": { + "description": "The label key that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone" + "type": "string" }, "x-kubernetes-list-type": "atomic" } } }, - "io.k8s.api.discovery.v1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", + "io.k8s.api.core.v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", "type": "object", "properties": { - "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", - "type": "string" - }, - "name": { - "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", - "type": "string" - }, - "port": { - "description": "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "type": "integer", - "format": "int32" - }, - "protocol": { - "description": "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", - "type": "string", - "enum": [ - "SCTP", - "TCP", - "UDP" - ] + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorLabelRequirement" + }, + "x-kubernetes-list-type": "atomic" } }, "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.discovery.v1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "io.k8s.api.core.v1.TopologySpreadConstraint": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", "type": "object", "required": [ - "addressType", - "endpoints" + "maxSkew", + "topologyKey", + "whenUnsatisfiable" ], "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.\n\nPossible enum values:\n - `\"FQDN\"` represents a FQDN.\n - `\"IPv4\"` represents an IPv4 Address.\n - `\"IPv6\"` represents an IPv6 Address.", - "type": "string", - "enum": [ - "FQDN", - "IPv4", - "IPv6" - ] - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "labelSelector": { + "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.Endpoint" + "type": "string" }, "x-kubernetes-list-type": "atomic" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | | P P | P P | P | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.", + "type": "integer", + "format": "int32" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "minDomains": { + "description": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | | P P | P P | P P | The number of domains is less than 5(MinDomains), so \"global minimum\" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.", + "type": "integer", + "format": "int32" }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointPort" - }, - "x-kubernetes-list-type": "atomic" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "nodeAffinityPolicy": { + "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", + "type": "string", + "enum": [ + "Honor", + "Ignore" + ] + }, + "nodeTaintsPolicy": { + "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.\n\nPossible enum values:\n - `\"Honor\"` means use this scheduling directive when calculating pod topology spread skew.\n - `\"Ignore\"` means ignore this scheduling directive when calculating pod topology spread skew.", + "type": "string", + "enum": [ + "Honor", + "Ignore" + ] + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is \"kubernetes.io/hostname\", each Node is a domain of that topology. And, if TopologyKey is \"topology.kubernetes.io/zone\", each zone is a domain of that topology. It's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod if and only if every possible node assignment for that pod would violate \"MaxSkew\" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.\n\nPossible enum values:\n - `\"DoNotSchedule\"` instructs the scheduler not to schedule the pod when constraints are not satisfied.\n - `\"ScheduleAnyway\"` instructs the scheduler to schedule the pod even if constraints are not satisfied.", + "type": "string", + "enum": [ + "DoNotSchedule", + "ScheduleAnyway" + ] } - ] + } }, - "io.k8s.api.discovery.v1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", + "io.k8s.api.core.v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", "type": "object", "required": [ - "items" + "kind", + "name" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", "type": "string" }, - "items": { - "description": "items is the list of endpoint slices", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" - } - }, "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "description": "Kind is the type of resource being referenced", "type": "string" }, - "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1" + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } - ] + }, + "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.discovery.v1.ForZone": { - "description": "ForZone provides information about which zones should consume this endpoint.", + "io.k8s.api.core.v1.TypedObjectReference": { + "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", "type": "object", "required": [ + "kind", "name" ], "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, "name": { - "description": "name represents the name of the zone.", + "description": "Name is the name of resource being referenced", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.", "type": "string" } } }, - "io.k8s.api.events.v1.Event": { - "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", + "io.k8s.api.core.v1.Volume": { + "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "type": "object", "required": [ - "eventTime" + "name" ], "properties": { - "action": { - "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" + "awsElasticBlockStore": { + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource" }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "azureDisk": { + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource" }, - "deprecatedCount": { - "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.", - "type": "integer", - "format": "int32" + "azureFile": { + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource" }, - "deprecatedFirstTimestamp": { - "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "cephfs": { + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource" }, - "deprecatedLastTimestamp": { - "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "cinder": { + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource" }, - "deprecatedSource": { - "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.", - "$ref": "#/definitions/io.k8s.api.core.v1.EventSource" + "configMap": { + "description": "configMap represents a configMap that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" }, - "eventTime": { - "description": "eventTime is the time when this Event was first observed. It is required.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" + "csi": { + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "downwardAPI": { + "description": "downwardAPI represents downward API about the pod that should populate this volume", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource" }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + "emptyDir": { + "description": "emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir", + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" }, - "note": { - "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", - "type": "string" + "ephemeral": { + "description": "ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.\n\nUse this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.\n\nA pod can use both types of ephemeral volumes and persistent volumes at the same time.", + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralVolumeSource" }, - "reason": { - "description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" + "fc": { + "description": "fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource" }, - "regarding": { - "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.", - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "flexVolume": { + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" }, - "related": { - "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.", - "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + "flocker": { + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource" }, - "reportingController": { - "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.", - "type": "string" + "gcePersistentDisk": { + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource" }, - "reportingInstance": { - "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.", - "type": "string" + "gitRepo": { + "description": "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", + "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource" }, - "series": { - "description": "series is data about the Event series this event represents or nil if it's a singleton Event.", - "$ref": "#/definitions/io.k8s.api.events.v1.EventSeries" + "glusterfs": { + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource" }, - "type": { - "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.", - "type": "string" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "Event", - "version": "v1" - } - ] - }, - "io.k8s.api.events.v1.EventList": { - "description": "EventList is a list of Event objects.", - "type": "object", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "hostPath": { + "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", + "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource" }, - "items": { - "description": "items is a list of schema objects.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" - } + "image": { + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.", + "$ref": "#/definitions/io.k8s.api.core.v1.ImageVolumeSource" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "iscsi": { + "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource" + }, + "name": { + "description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", "type": "string" }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "events.k8s.io", - "kind": "EventList", - "version": "v1" - } - ] - }, - "io.k8s.api.events.v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.", - "type": "object", - "required": [ - "count", - "lastObservedTime" - ], - "properties": { - "count": { - "description": "count is the number of occurrences in this series up to the last heartbeat time.", - "type": "integer", - "format": "int32" + "nfs": { + "description": "nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", + "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" }, - "lastObservedTime": { - "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" - } - } - }, - "io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration": { - "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", - "type": "object", - "properties": { - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", - "type": "integer", - "format": "int32" + "persistentVolumeClaim": { + "description": "persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.", - "type": "integer", - "format": "int32" + "photonPersistentDisk": { + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource" + }, + "portworxVolume": { + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.", + "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource" + }, + "projected": { + "description": "projected items for all in one resources secrets, configmaps, and downward API", + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" + }, + "quobyte": { + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md", + "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource" + }, + "scaleIO": { + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource" + }, + "secret": { + "description": "secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" + }, + "storageos": { + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.", + "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource" + }, + "vsphereVolume": { + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.", + "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource" } } }, - "io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod": { - "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "io.k8s.api.core.v1.VolumeDevice": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", "type": "object", "required": [ - "type" + "name", + "devicePath" ], "properties": { - "type": { - "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.FlowSchema": { - "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "io.k8s.api.core.v1.VolumeMount": { + "description": "VolumeMount describes a mounting of a Volume within a container.", "type": "object", + "required": [ + "name", + "mountPath" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "mountPath": { + "description": "Path within the container at which the volume should be mounted. Must not contain ':'.", "type": "string" }, - "metadata": { - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" - }, - "spec": { - "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaSpec" - }, - "status": { - "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - } - ] - }, - "io.k8s.api.flowcontrol.v1.FlowSchemaCondition": { - "description": "FlowSchemaCondition describes conditions for a FlowSchema.", - "type": "object", - "properties": { - "lastTransitionTime": { - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "mountPropagation": { + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).\n\nPossible enum values:\n - `\"Bidirectional\"` means that the volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rshared\" in Linux terminology).\n - `\"HostToContainer\"` means that the volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode is recursively applied to all mounts in the volume (\"rslave\" in Linux terminology).\n - `\"None\"` means that the volume in a container will not receive new mounts from the host or other containers, and filesystems mounted inside the container won't be propagated to the host or other containers. Note that this mode corresponds to \"private\" in Linux terminology.", + "type": "string", + "enum": [ + "Bidirectional", + "HostToContainer", + "None" + ] }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", + "name": { + "description": "This must match the Name of a Volume.", "type": "string" }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "readOnly": { + "description": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.", "type": "string" }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", "type": "string" }, - "type": { - "description": "`type` is the type of the condition. Required.", + "subPathExpr": { + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.FlowSchemaList": { - "description": "FlowSchemaList is a list of FlowSchema objects.", + "io.k8s.api.core.v1.VolumeMountStatus": { + "description": "VolumeMountStatus shows status of volume mounts.", "type": "object", "required": [ - "items" + "name", + "mountPath" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "mountPath": { + "description": "MountPath corresponds to the original VolumeMount.", "type": "string" }, - "items": { - "description": "`items` is a list of FlowSchemas.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "Name corresponds to the name of the original VolumeMount.", "type": "string" }, - "metadata": { - "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + "readOnly": { + "description": "ReadOnly corresponds to the original VolumeMount.", + "type": "boolean" + }, + "recursiveReadOnly": { + "description": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.", + "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchemaList", - "version": "v1" + } + }, + "io.k8s.api.core.v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "type": "object", + "properties": { + "required": { + "description": "required specifies hard node constraints that must be met.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" } - ] + } }, - "io.k8s.api.flowcontrol.v1.FlowSchemaSpec": { - "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "io.k8s.api.core.v1.VolumeProjection": { + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", "type": "object", - "required": [ - "priorityLevelConfiguration" - ], "properties": { - "distinguisherMethod": { - "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod" + "clusterTrustBundle": { + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.", + "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection" }, - "matchingPrecedence": { - "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", - "type": "integer", - "format": "int32" + "configMap": { + "description": "configMap information about the configMap data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection" }, - "priorityLevelConfiguration": { - "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference" + "downwardAPI": { + "description": "downwardAPI information about the downwardAPI data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIProjection" }, - "rules": { - "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects" - }, - "x-kubernetes-list-type": "atomic" + "secret": { + "description": "secret information about the secret data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "serviceAccountToken is information about the serviceAccountToken data to project", + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccountTokenProjection" } } }, - "io.k8s.api.flowcontrol.v1.FlowSchemaStatus": { - "description": "FlowSchemaStatus represents the current state of a FlowSchema.", + "io.k8s.api.core.v1.VolumeResourceRequirements": { + "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", "type": "object", "properties": { - "conditions": { - "description": "`conditions` is a list of the current states of FlowSchema.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaCondition" - }, - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } } } }, - "io.k8s.api.flowcontrol.v1.GroupSubject": { - "description": "GroupSubject holds detailed information for group-kind subject.", + "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere volume resource.", "type": "object", "required": [ - "name" + "volumePath" ], "properties": { - "name": { - "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "fsType": { + "description": "fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "storagePolicyID": { + "description": "storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.", + "type": "string" + }, + "storagePolicyName": { + "description": "storagePolicyName is the storage Policy Based Management (SPBM) profile name.", + "type": "string" + }, + "volumePath": { + "description": "volumePath is the path that identifies vSphere volume vmdk", "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.LimitResponse": { - "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "io.k8s.api.core.v1.WeightedPodAffinityTerm": { + "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)", "type": "object", "required": [ - "type" + "weight", + "podAffinityTerm" ], "properties": { - "queuing": { - "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.QueuingConfiguration" + "podAffinityTerm": { + "description": "Required. A pod affinity term, associated with the corresponding weight.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm" }, - "type": { - "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", - "type": "string" - } - }, - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "queuing": "Queuing" - } + "weight": { + "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.", + "type": "integer", + "format": "int32" } - ] + } }, - "io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration": { - "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", + "io.k8s.api.core.v1.WindowsSecurityContextOptions": { + "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "type": "object", "properties": { - "borrowingLimitPercent": { - "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", - "type": "integer", - "format": "int32" + "gmsaCredentialSpec": { + "description": "GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.", + "type": "string" }, - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", - "type": "integer", - "format": "int32" + "gmsaCredentialSpecName": { + "description": "GMSACredentialSpecName is the name of the GMSA credential spec to use.", + "type": "string" }, - "limitResponse": { - "description": "`limitResponse` indicates what to do with requests that can not be executed right now", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitResponse" + "hostProcess": { + "description": "HostProcess determines if a container should be run as a 'Host Process' container. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.", + "type": "boolean" }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)", - "type": "integer", - "format": "int32" + "runAsUserName": { + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.NonResourcePolicyRule": { - "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "io.k8s.api.discovery.v1.Endpoint": { + "description": "Endpoint represents a single logical \"backend\" implementing a service.", "type": "object", "required": [ - "verbs", - "nonResourceURLs" + "addresses" ], "properties": { - "nonResourceURLs": { - "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", + "addresses": { + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267", "type": "array", "items": { "type": "string" }, "x-kubernetes-list-type": "set" }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", - "type": "array", - "items": { + "conditions": { + "description": "conditions contains information about the current status of the endpoint.", + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointConditions" + }, + "deprecatedTopology": { + "description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", + "type": "object", + "additionalProperties": { "type": "string" - }, - "x-kubernetes-list-type": "set" + } + }, + "hints": { + "description": "hints contains information associated with how an endpoint should be consumed.", + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointHints" + }, + "hostname": { + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", + "type": "string" + }, + "nodeName": { + "description": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.", + "type": "string" + }, + "targetRef": { + "description": "targetRef is a reference to a Kubernetes object that represents this endpoint.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "zone": { + "description": "zone is the name of the Zone this endpoint exists in.", + "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects": { - "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "io.k8s.api.discovery.v1.EndpointConditions": { + "description": "EndpointConditions represents the current condition of an endpoint.", "type": "object", - "required": [ - "subjects" - ], "properties": { - "nonResourceRules": { - "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.NonResourcePolicyRule" - }, - "x-kubernetes-list-type": "atomic" + "ready": { + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.", + "type": "boolean" }, - "resourceRules": { - "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ResourcePolicyRule" - }, - "x-kubernetes-list-type": "atomic" + "serving": { + "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.", + "type": "boolean" }, - "subjects": { - "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "terminating": { + "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.", + "type": "boolean" + } + } + }, + "io.k8s.api.discovery.v1.EndpointHints": { + "description": "EndpointHints provides hints describing how an endpoint should be consumed.", + "type": "object", + "properties": { + "forZones": { + "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.Subject" + "$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone" }, "x-kubernetes-list-type": "atomic" } } }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration": { - "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "io.k8s.api.discovery.v1.EndpointPort": { + "description": "EndpointPort represents a Port used by an EndpointSlice", + "type": "object", + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "type": "string" + }, + "name": { + "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "type": "string" + }, + "port": { + "description": "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.\n\nPossible enum values:\n - `\"SCTP\"` is the SCTP protocol.\n - `\"TCP\"` is the TCP protocol.\n - `\"UDP\"` is the UDP protocol.", + "type": "string", + "enum": [ + "SCTP", + "TCP", + "UDP" + ] + } + }, + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.discovery.v1.EndpointSlice": { + "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "type": "object", + "required": [ + "addressType", + "endpoints" + ], "properties": { + "addressType": { + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.\n\nPossible enum values:\n - `\"FQDN\"` represents a FQDN.\n - `\"IPv4\"` represents an IPv4 Address.\n - `\"IPv6\"` represents an IPv6 Address.", + "type": "string", + "enum": [ + "FQDN", + "IPv4", + "IPv6" + ] + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "endpoints": { + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.Endpoint" + }, + "x-kubernetes-list-type": "atomic" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "description": "Standard object's metadata.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, - "spec": { - "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec" - }, - "status": { - "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus" + "ports": { + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointPort" + }, + "x-kubernetes-list-type": "atomic" } }, "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition": { - "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", - "type": "object", - "properties": { - "lastTransitionTime": { - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" - }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" - }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" - } - } - }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList": { - "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "io.k8s.api.discovery.v1.EndpointSliceList": { + "description": "EndpointSliceList represents a list of endpoint slices", "type": "object", "required": [ "items" @@ -75849,10 +74046,10 @@ "type": "string" }, "items": { - "description": "`items` is a list of request-priorities.", + "description": "items is the list of endpoint slices", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "kind": { @@ -75860,215 +74057,171 @@ "type": "string" }, "metadata": { - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "description": "Standard list metadata.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfigurationList", + "group": "discovery.k8s.io", + "kind": "EndpointSliceList", "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference": { - "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", + "io.k8s.api.discovery.v1.ForZone": { + "description": "ForZone provides information about which zones should consume this endpoint.", "type": "object", "required": [ "name" ], "properties": { "name": { - "description": "`name` is the name of the priority level configuration being referenced Required.", + "description": "name represents the name of the zone.", "type": "string" } } }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec": { - "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "io.k8s.api.events.v1.Event": { + "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.", "type": "object", "required": [ - "type" + "eventTime" ], "properties": { - "exempt": { - "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration" - }, - "limited": { - "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration" + "action": { + "description": "action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" }, - "type": { - "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "exempt": "Exempt", - "limited": "Limited" - } - } - ] - }, - "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus": { - "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", - "type": "object", - "properties": { - "conditions": { - "description": "`conditions` is the current state of \"request-priority\".", - "type": "array", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition" - }, - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - } - }, - "io.k8s.api.flowcontrol.v1.QueuingConfiguration": { - "description": "QueuingConfiguration holds the configuration parameters for queuing", - "type": "object", - "properties": { - "handSize": { - "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", - "type": "integer", - "format": "int32" }, - "queueLengthLimit": { - "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "deprecatedCount": { + "description": "deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.", "type": "integer", "format": "int32" }, - "queues": { - "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", - "type": "integer", - "format": "int32" - } - } - }, - "io.k8s.api.flowcontrol.v1.ResourcePolicyRule": { - "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", - "type": "object", - "required": [ - "verbs", - "apiGroups", - "resources" - ], - "properties": { - "apiGroups": { - "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "set" + "deprecatedFirstTimestamp": { + "description": "deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, - "clusterScope": { - "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", - "type": "boolean" + "deprecatedLastTimestamp": { + "description": "deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" }, - "namespaces": { - "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "set" + "deprecatedSource": { + "description": "deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.", + "$ref": "#/definitions/io.k8s.api.core.v1.EventSource" }, - "resources": { - "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "set" + "eventTime": { + "description": "eventTime is the time when this Event was first observed. It is required.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", - "type": "array", - "items": { - "type": "string" - }, - "x-kubernetes-list-type": "set" - } - } - }, - "io.k8s.api.flowcontrol.v1.ServiceAccountSubject": { - "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", - "type": "object", - "required": [ - "namespace", - "name" - ], - "properties": { - "name": { - "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "namespace": { - "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "note": { + "description": "note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", + "type": "string" + }, + "reason": { + "description": "reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" + }, + "regarding": { + "description": "regarding contains the object this Event is about. In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "related": { + "description": "related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "reportingController": { + "description": "reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.", + "type": "string" + }, + "reportingInstance": { + "description": "reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.", + "type": "string" + }, + "series": { + "description": "series is data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/io.k8s.api.events.v1.EventSeries" + }, + "type": { + "description": "type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.", "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + ] }, - "io.k8s.api.flowcontrol.v1.Subject": { - "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "io.k8s.api.events.v1.EventList": { + "description": "EventList is a list of Event objects.", "type": "object", "required": [ - "kind" + "items" ], "properties": { - "group": { - "description": "`group` matches based on user group name.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.GroupSubject" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } }, "kind": { - "description": "`kind` indicates which one of the other fields is non-empty. Required", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "serviceAccount": { - "description": "`serviceAccount` matches ServiceAccounts.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ServiceAccountSubject" - }, - "user": { - "description": "`user` matches based on username.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.UserSubject" + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" } }, - "x-kubernetes-unions": [ + "x-kubernetes-group-version-kind": [ { - "discriminator": "kind", - "fields-to-discriminateBy": { - "group": "Group", - "serviceAccount": "ServiceAccount", - "user": "User" - } + "group": "events.k8s.io", + "kind": "EventList", + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1.UserSubject": { - "description": "UserSubject holds detailed information for user-kind subject.", + "io.k8s.api.events.v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in \"k8s.io/client-go/tools/events/event_broadcaster.go\" shows how this struct is updated on heartbeats and can guide customized reporter implementations.", "type": "object", "required": [ - "name" + "count", + "lastObservedTime" ], "properties": { - "name": { - "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", - "type": "string" + "count": { + "description": "count is the number of occurrences in this series up to the last heartbeat time.", + "type": "integer", + "format": "int32" + }, + "lastObservedTime": { + "description": "lastObservedTime is the time when last Event from the series was seen before last heartbeat.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" } } }, - "io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "type": "object", "properties": { @@ -76084,7 +74237,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod": { + "io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "type": "object", "required": [ @@ -76097,7 +74250,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchema": { + "io.k8s.api.flowcontrol.v1.FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "type": "object", "properties": { @@ -76115,22 +74268,22 @@ }, "spec": { "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaSpec" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaSpec" }, "status": { "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaStatus" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaStatus" } }, "x-kubernetes-group-version-kind": [ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta3" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaCondition": { + "io.k8s.api.flowcontrol.v1.FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "type": "object", "properties": { @@ -76156,7 +74309,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaList": { + "io.k8s.api.flowcontrol.v1.FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "type": "object", "required": [ @@ -76171,7 +74324,7 @@ "description": "`items` is a list of FlowSchemas.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "kind": { @@ -76187,11 +74340,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchemaList", - "version": "v1beta3" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaSpec": { + "io.k8s.api.flowcontrol.v1.FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "type": "object", "required": [ @@ -76200,7 +74353,7 @@ "properties": { "distinguisherMethod": { "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod" }, "matchingPrecedence": { "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", @@ -76209,19 +74362,19 @@ }, "priorityLevelConfiguration": { "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationReference" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference" }, "rules": { "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PolicyRulesWithSubjects" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects" }, "x-kubernetes-list-type": "atomic" } } }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaStatus": { + "io.k8s.api.flowcontrol.v1.FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "type": "object", "properties": { @@ -76229,7 +74382,7 @@ "description": "`conditions` is a list of the current states of FlowSchema.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaCondition" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaCondition" }, "x-kubernetes-list-map-keys": [ "type" @@ -76240,7 +74393,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.GroupSubject": { + "io.k8s.api.flowcontrol.v1.GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "type": "object", "required": [ @@ -76253,7 +74406,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.LimitResponse": { + "io.k8s.api.flowcontrol.v1.LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "type": "object", "required": [ @@ -76262,7 +74415,7 @@ "properties": { "queuing": { "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.QueuingConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.QueuingConfiguration" }, "type": { "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", @@ -76278,7 +74431,7 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration": { "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "type": "object", "properties": { @@ -76294,16 +74447,16 @@ }, "limitResponse": { "description": "`limitResponse` indicates what to do with requests that can not be executed right now", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.LimitResponse" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitResponse" }, "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30.", + "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)", "type": "integer", "format": "int32" } } }, - "io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule": { + "io.k8s.api.flowcontrol.v1.NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "type": "object", "required": [ @@ -76329,7 +74482,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.PolicyRulesWithSubjects": { + "io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "type": "object", "required": [ @@ -76340,7 +74493,7 @@ "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.NonResourcePolicyRule" }, "x-kubernetes-list-type": "atomic" }, @@ -76348,7 +74501,7 @@ "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ResourcePolicyRule" }, "x-kubernetes-list-type": "atomic" }, @@ -76356,13 +74509,13 @@ "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.Subject" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.Subject" }, "x-kubernetes-list-type": "atomic" } } }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "type": "object", "properties": { @@ -76380,22 +74533,22 @@ }, "spec": { "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec" }, "status": { "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus" } }, "x-kubernetes-group-version-kind": [ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationCondition": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "type": "object", "properties": { @@ -76421,7 +74574,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationList": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "type": "object", "required": [ @@ -76436,7 +74589,7 @@ "description": "`items` is a list of request-priorities.", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "kind": { @@ -76452,11 +74605,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfigurationList", - "version": "v1beta3" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationReference": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "type": "object", "required": [ @@ -76469,7 +74622,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "type": "object", "required": [ @@ -76478,11 +74631,11 @@ "properties": { "exempt": { "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration" }, "limited": { "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration" }, "type": { "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", @@ -76499,7 +74652,7 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "type": "object", "properties": { @@ -76507,7 +74660,7 @@ "description": "`conditions` is the current state of \"request-priority\".", "type": "array", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationCondition" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition" }, "x-kubernetes-list-map-keys": [ "type" @@ -76518,7 +74671,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.QueuingConfiguration": { + "io.k8s.api.flowcontrol.v1.QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "type": "object", "properties": { @@ -76539,7 +74692,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.ResourcePolicyRule": { + "io.k8s.api.flowcontrol.v1.ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "type": "object", "required": [ @@ -76586,7 +74739,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.ServiceAccountSubject": { + "io.k8s.api.flowcontrol.v1.ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "type": "object", "required": [ @@ -76604,7 +74757,7 @@ } } }, - "io.k8s.api.flowcontrol.v1beta3.Subject": { + "io.k8s.api.flowcontrol.v1.Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "type": "object", "required": [ @@ -76613,7 +74766,7 @@ "properties": { "group": { "description": "`group` matches based on user group name.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.GroupSubject" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.GroupSubject" }, "kind": { "description": "`kind` indicates which one of the other fields is non-empty. Required", @@ -76621,11 +74774,11 @@ }, "serviceAccount": { "description": "`serviceAccount` matches ServiceAccounts.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ServiceAccountSubject" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ServiceAccountSubject" }, "user": { "description": "`user` matches based on username.", - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.UserSubject" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.UserSubject" } }, "x-kubernetes-unions": [ @@ -76639,7 +74792,7 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta3.UserSubject": { + "io.k8s.api.flowcontrol.v1.UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "type": "object", "required": [ @@ -78557,7 +76710,7 @@ ] }, "io.k8s.api.storage.v1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.", "type": "object", "properties": { "inlineVolumeSpec": { @@ -79100,7 +77253,7 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" }, "format": { - "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -79626,6 +77779,356 @@ } }, "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions": { + "description": "DeleteOptions may be provided when deleting an API object.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-list-type": "atomic" + }, + "gracePeriodSeconds": { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "type": "integer", + "format": "int64" + }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "orphanDependents": { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "type": "boolean" + }, + "preconditions": { + "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions" + }, + "propagationPolicy": { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admission.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "authentication.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta1" + }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "batch", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "certificates.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha2" + }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "extensions", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta2" + }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta3" + }, + { + "group": "imagepolicy.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "internal.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "networking.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "node.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "policy", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "policy", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "rbac.authorization.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "storagemigration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + } + ] + }, + "io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions_v2": { "description": "DeleteOptions may be provided when deleting an API object.", "type": "object", "properties": { @@ -79669,305 +78172,10 @@ "kind": "DeleteOptions", "version": "v1" }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admission.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "admissionregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiextensions.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apiregistration.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "apps", - "kind": "DeleteOptions", - "version": "v1beta2" - }, - { - "group": "authentication.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "authentication.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "authentication.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v2" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v2beta1" - }, - { - "group": "autoscaling", - "kind": "DeleteOptions", - "version": "v2beta2" - }, - { - "group": "batch", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "batch", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "certificates.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "certificates.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "certificates.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "coordination.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, { "group": "core.apinet.ironcore.dev", "kind": "DeleteOptions", "version": "v1alpha1" - }, - { - "group": "discovery.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "discovery.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "events.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "events.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "extensions", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta2" - }, - { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta3" - }, - { - "group": "imagepolicy.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "internal.apiserver.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "networking.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "node.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "policy", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "policy", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "rbac.authorization.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "resource.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha3" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "scheduling.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" - }, - { - "group": "storage.k8s.io", - "kind": "DeleteOptions", - "version": "v1beta1" - }, - { - "group": "storagemigration.k8s.io", - "kind": "DeleteOptions", - "version": "v1alpha1" } ] }, @@ -80559,7 +78767,7 @@ { "group": "coordination.k8s.io", "kind": "WatchEvent", - "version": "v1alpha1" + "version": "v1alpha2" }, { "group": "coordination.k8s.io", @@ -80686,6 +78894,11 @@ "kind": "WatchEvent", "version": "v1alpha3" }, + { + "group": "resource.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "scheduling.k8s.io", "kind": "WatchEvent", @@ -80970,6 +79183,13 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" } }, + "body-2Y1dVQaQ_v2": { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions_v2" + } + }, "body-78PwaGsr": { "name": "body", "in": "body", @@ -81055,6 +79275,13 @@ "name": "gracePeriodSeconds", "in": "query" }, + "ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj": { + "uniqueItems": true, + "type": "boolean", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query" + }, "insecureSkipTLSVerifyBackend-gM00jVbe": { "uniqueItems": true, "type": "boolean", @@ -81225,10 +79452,17 @@ "name": "stdout", "in": "query" }, - "tailLines-2fRTNzbP": { + "stream-l-48cgXv": { + "uniqueItems": true, + "type": "string", + "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + "name": "stream", + "in": "query" + }, + "tailLines-9xQLWHMV": { "uniqueItems": true, "type": "integer", - "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", + "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", "name": "tailLines", "in": "query" }, diff --git a/gen/v3/apis__core.apinet.ironcore.dev__v1alpha1_openapi.json b/gen/v3/apis__core.apinet.ironcore.dev__v1alpha1_openapi.json index 84496243..ddf26240 100644 --- a/gen/v3/apis__core.apinet.ironcore.dev__v1alpha1_openapi.json +++ b/gen/v3/apis__core.apinet.ironcore.dev__v1alpha1_openapi.json @@ -577,6 +577,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -835,6 +844,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -1716,6 +1734,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -1984,6 +2011,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -2716,6 +2752,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -2984,6 +3029,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -3716,6 +3770,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -3984,6 +4047,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -4461,6 +4533,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -4729,6 +4810,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -5206,6 +5296,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -5474,6 +5573,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -6206,6 +6314,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -6474,6 +6591,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -7206,6 +7332,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -7474,6 +7609,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -8206,6 +8350,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -8474,6 +8627,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -8951,6 +9113,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -9219,6 +9390,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -9951,6 +10131,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -10219,6 +10408,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -10696,6 +10894,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -10964,6 +11171,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -11441,6 +11657,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -11709,6 +11934,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -12855,6 +13089,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -13113,6 +13356,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", @@ -14132,6 +14384,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "labelSelector", "in": "query", @@ -14390,6 +14651,15 @@ "uniqueItems": true } }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "in": "query", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "schema": { + "type": "boolean", + "uniqueItems": true + } + }, { "name": "orphanDependents", "in": "query", diff --git a/go.mod b/go.mod index f7aa6e84..054e62f0 100644 --- a/go.mod +++ b/go.mod @@ -7,8 +7,8 @@ require ( github.com/go-logr/logr v1.4.2 github.com/gogo/protobuf v1.3.2 github.com/google/uuid v1.6.0 - github.com/ironcore-dev/controller-utils v0.9.7 - github.com/ironcore-dev/ironcore v0.2.2-0.20250123160359-93cbe02a9e96 + github.com/ironcore-dev/controller-utils v0.9.8 + github.com/ironcore-dev/ironcore v0.2.3 github.com/ironcore-dev/metalnet v0.3.11 github.com/onsi/ginkgo/v2 v2.23.3 github.com/onsi/gomega v1.36.3 @@ -16,20 +16,21 @@ require ( github.com/spf13/pflag v1.0.6 go4.org/netipx v0.0.0-20220812043211-3cc044ffd68d golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 - k8s.io/api v0.31.4 - k8s.io/apimachinery v0.31.4 - k8s.io/apiserver v0.31.4 - k8s.io/client-go v0.31.4 - k8s.io/code-generator v0.31.4 - k8s.io/component-base v0.31.4 + k8s.io/api v0.32.3 + k8s.io/apimachinery v0.32.3 + k8s.io/apiserver v0.32.3 + k8s.io/client-go v0.32.3 + k8s.io/code-generator v0.32.3 + k8s.io/component-base v0.32.3 k8s.io/klog/v2 v2.130.1 - k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 - k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 - sigs.k8s.io/controller-runtime v0.19.4 - sigs.k8s.io/structured-merge-diff/v4 v4.4.1 + k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 + k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 + sigs.k8s.io/controller-runtime v0.20.3 + sigs.k8s.io/structured-merge-diff/v4 v4.6.0 ) require ( + cel.dev/expr v0.19.1 // indirect github.com/NYTimes/gziphandler v1.1.1 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect @@ -41,7 +42,7 @@ require ( github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect - github.com/evanphx/json-patch/v5 v5.9.0 // indirect + github.com/evanphx/json-patch/v5 v5.9.11 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/fxamacker/cbor/v2 v2.7.0 // indirect @@ -51,16 +52,15 @@ require ( github.com/go-openapi/jsonreference v0.20.2 // indirect github.com/go-openapi/swag v0.23.0 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.4 // indirect - github.com/google/cel-go v0.20.1 // indirect + github.com/google/btree v1.1.3 // indirect + github.com/google/cel-go v0.22.0 // indirect github.com/google/gnostic-models v0.6.9 // indirect github.com/google/go-cmp v0.7.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect - github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -73,47 +73,47 @@ require ( github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect - github.com/stoewer/go-strcase v1.2.0 // indirect + github.com/stoewer/go-strcase v1.3.0 // indirect github.com/x448/float16 v0.8.4 // indirect - go.etcd.io/etcd/api/v3 v3.5.14 // indirect - go.etcd.io/etcd/client/pkg/v3 v3.5.14 // indirect - go.etcd.io/etcd/client/v3 v3.5.14 // indirect + go.etcd.io/etcd/api/v3 v3.5.16 // indirect + go.etcd.io/etcd/client/pkg/v3 v3.5.16 // indirect + go.etcd.io/etcd/client/v3 v3.5.16 // indirect + go.opentelemetry.io/auto/sdk v1.1.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect - go.opentelemetry.io/otel v1.31.0 // indirect + go.opentelemetry.io/otel v1.34.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect - go.opentelemetry.io/otel/metric v1.31.0 // indirect - go.opentelemetry.io/otel/sdk v1.31.0 // indirect - go.opentelemetry.io/otel/trace v1.31.0 // indirect + go.opentelemetry.io/otel/metric v1.34.0 // indirect + go.opentelemetry.io/otel/sdk v1.34.0 // indirect + go.opentelemetry.io/otel/trace v1.34.0 // indirect go.opentelemetry.io/proto/otlp v1.3.1 // indirect go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.26.0 // indirect + go.uber.org/zap v1.27.0 // indirect golang.org/x/crypto v0.36.0 // indirect golang.org/x/mod v0.23.0 // indirect golang.org/x/net v0.37.0 // indirect - golang.org/x/oauth2 v0.23.0 // indirect + golang.org/x/oauth2 v0.25.0 // indirect golang.org/x/sync v0.12.0 // indirect golang.org/x/sys v0.31.0 // indirect golang.org/x/term v0.30.0 // indirect golang.org/x/text v0.23.0 // indirect - golang.org/x/time v0.3.0 // indirect + golang.org/x/time v0.7.0 // indirect golang.org/x/tools v0.30.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect - google.golang.org/grpc v1.69.4 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect + google.golang.org/grpc v1.71.0 // indirect google.golang.org/protobuf v1.36.5 // indirect gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/apiextensions-apiserver v0.31.4 // indirect - k8s.io/gengo/v2 v2.0.0-20240826214909-a7b603a56eb7 // indirect - k8s.io/kms v0.31.4 // indirect - k8s.io/kube-aggregator v0.31.0 // indirect - sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect + k8s.io/apiextensions-apiserver v0.32.2 // indirect + k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect + k8s.io/kms v0.32.3 // indirect + k8s.io/kube-aggregator v0.32.3 // indirect + sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 // indirect + sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect sigs.k8s.io/yaml v1.4.0 // indirect ) diff --git a/go.sum b/go.sum index 1bba564c..76dbf1a2 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +cel.dev/expr v0.19.1 h1:NciYrtDRIR0lNCnH1LFJegdjspNx9fI59O7TWcua/W4= +cel.dev/expr v0.19.1/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= @@ -30,8 +32,8 @@ github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxER github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg= -github.com/evanphx/json-patch/v5 v5.9.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ= +github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjTM0wiaDU= +github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= @@ -60,14 +62,12 @@ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/cel-go v0.20.1 h1:nDx9r8S3L4pE61eDdt8igGj8rf5kjYR3ILxWIpWNi84= -github.com/google/cel-go v0.20.1/go.mod h1:kWcIzTsPX0zmQ+H3TirHstLLf9ep5QTsZBN9u4dOYLg= +github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg= +github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= +github.com/google/cel-go v0.22.0 h1:b3FJZxpiv1vTMo2/5RDUqAHPxkT8mmMfJIrq1llbf7g= +github.com/google/cel-go v0.22.0/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw= github.com/google/gnostic-models v0.6.9/go.mod h1:CiWsm0s6BSQd1hRn8/QmxqB6BesYcbSZxsz9b0KuDBw= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= @@ -90,18 +90,16 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0= github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/ironcore-dev/controller-utils v0.9.7 h1:ywNcB6lDeOe6UWxJaptbdgb9qb6cDx4+jxBcIGkMQD8= -github.com/ironcore-dev/controller-utils v0.9.7/go.mod h1:7X6JUmq75o4KFe05zUa9rEXnS39dSrlXqUnt9Wuiug0= -github.com/ironcore-dev/ironcore v0.2.2-0.20250123160359-93cbe02a9e96 h1:+THS3ZecpNFNL1Pbr9v6C3tMexk3YMTsl/GqQ21ARKg= -github.com/ironcore-dev/ironcore v0.2.2-0.20250123160359-93cbe02a9e96/go.mod h1:mhBrtMafGURMJ90JA2E2VaefBzLgWe6dEqYEwLznOsY= +github.com/ironcore-dev/controller-utils v0.9.8 h1:A7cd/n368xBh83cu7AEHaXYXnW37ICe4YKLXWsPRWW4= +github.com/ironcore-dev/controller-utils v0.9.8/go.mod h1:fBA4gnfrneJzuEtL+jJj2A+YE8KmgQ4ot3A/eNRd5P0= +github.com/ironcore-dev/ironcore v0.2.3 h1:me2LuScaoekxSRtV7KhCqGZ/jOsU7fCuqt6LBxcx+ts= +github.com/ironcore-dev/ironcore v0.2.3/go.mod h1:u39dlr8d3RfPCK4FLBLvFfmbDdh8Tu7a3R06nXkIJug= github.com/ironcore-dev/metalnet v0.3.11 h1:uTmtK2NgRXMjy7Dx694FflxMhGGpaFOyhtCTcusFjWk= github.com/ironcore-dev/metalnet v0.3.11/go.mod h1:1zaY6/trlx6n/nw2JuEpf7d3nlxXwRE/46kDlTKH/2c= -github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= -github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= +github.com/jonboulle/clockwork v0.4.0 h1:p4Cf1aMWXnXAUh8lVfewRBx1zaTSYKrKMF2g3ST4RZ4= +github.com/jonboulle/clockwork v0.4.0/go.mod h1:xgRqUGwRcjKCO1vbZUEtSLrqKoPSsUpK7fnezOII0kc= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -141,8 +139,8 @@ github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= +github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= @@ -152,15 +150,14 @@ github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= +github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs= +github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= @@ -170,44 +167,46 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 h1:6fotK7 github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75/go.mod h1:KO6IkyS8Y3j8OdNO85qEYBsRPuteD+YciPomcXdrMnk= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 h1:S2dVYn90KE98chqDkyE9Z4N61UnQd+KOfgp5Iu53llk= +github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.etcd.io/bbolt v1.3.9 h1:8x7aARPEXiXbHmtUwAIv7eV2fQFHrLLavdiJ3uzJXoI= -go.etcd.io/bbolt v1.3.9/go.mod h1:zaO32+Ti0PK1ivdPtgMESzuzL2VPoIG1PCQNvOdo/dE= -go.etcd.io/etcd/api/v3 v3.5.14 h1:vHObSCxyB9zlF60w7qzAdTcGaglbJOpSj1Xj9+WGxq0= -go.etcd.io/etcd/api/v3 v3.5.14/go.mod h1:BmtWcRlQvwa1h3G2jvKYwIQy4PkHlDej5t7uLMUdJUU= -go.etcd.io/etcd/client/pkg/v3 v3.5.14 h1:SaNH6Y+rVEdxfpA2Jr5wkEvN6Zykme5+YnbCkxvuWxQ= -go.etcd.io/etcd/client/pkg/v3 v3.5.14/go.mod h1:8uMgAokyG1czCtIdsq+AGyYQMvpIKnSvPjFMunkgeZI= -go.etcd.io/etcd/client/v2 v2.305.13 h1:RWfV1SX5jTU0lbCvpVQe3iPQeAHETWdOTb6pxhd77C8= -go.etcd.io/etcd/client/v2 v2.305.13/go.mod h1:iQnL7fepbiomdXMb3om1rHq96htNNGv2sJkEcZGDRRg= -go.etcd.io/etcd/client/v3 v3.5.14 h1:CWfRs4FDaDoSz81giL7zPpZH2Z35tbOrAJkkjMqOupg= -go.etcd.io/etcd/client/v3 v3.5.14/go.mod h1:k3XfdV/VIHy/97rqWjoUzrj9tk7GgJGH9J8L4dNXmAk= -go.etcd.io/etcd/pkg/v3 v3.5.13 h1:st9bDWNsKkBNpP4PR1MvM/9NqUPfvYZx/YXegsYEH8M= -go.etcd.io/etcd/pkg/v3 v3.5.13/go.mod h1:N+4PLrp7agI/Viy+dUYpX7iRtSPvKq+w8Y14d1vX+m0= -go.etcd.io/etcd/raft/v3 v3.5.13 h1:7r/NKAOups1YnKcfro2RvGGo2PTuizF/xh26Z2CTAzA= -go.etcd.io/etcd/raft/v3 v3.5.13/go.mod h1:uUFibGLn2Ksm2URMxN1fICGhk8Wu96EfDQyuLhAcAmw= -go.etcd.io/etcd/server/v3 v3.5.13 h1:V6KG+yMfMSqWt+lGnhFpP5z5dRUj1BDRJ5k1fQ9DFok= -go.etcd.io/etcd/server/v3 v3.5.13/go.mod h1:K/8nbsGupHqmr5MkgaZpLlH1QdX1pcNQLAkODy44XcQ= +go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0= +go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I= +go.etcd.io/etcd/api/v3 v3.5.16 h1:WvmyJVbjWqK4R1E+B12RRHz3bRGy9XVfh++MgbN+6n0= +go.etcd.io/etcd/api/v3 v3.5.16/go.mod h1:1P4SlIP/VwkDmGo3OlOD7faPeP8KDIFhqvciH5EfN28= +go.etcd.io/etcd/client/pkg/v3 v3.5.16 h1:ZgY48uH6UvB+/7R9Yf4x574uCO3jIx0TRDyetSfId3Q= +go.etcd.io/etcd/client/pkg/v3 v3.5.16/go.mod h1:V8acl8pcEK0Y2g19YlOV9m9ssUe6MgiDSobSoaBAM0E= +go.etcd.io/etcd/client/v2 v2.305.16 h1:kQrn9o5czVNaukf2A2At43cE9ZtWauOtf9vRZuiKXow= +go.etcd.io/etcd/client/v2 v2.305.16/go.mod h1:h9YxWCzcdvZENbfzBTFCnoNumr2ax3F19sKMqHFmXHE= +go.etcd.io/etcd/client/v3 v3.5.16 h1:sSmVYOAHeC9doqi0gv7v86oY/BTld0SEFGaxsU9eRhE= +go.etcd.io/etcd/client/v3 v3.5.16/go.mod h1:X+rExSGkyqxvu276cr2OwPLBaeqFu1cIl4vmRjAD/50= +go.etcd.io/etcd/pkg/v3 v3.5.16 h1:cnavs5WSPWeK4TYwPYfmcr3Joz9BH+TZ6qoUtz6/+mc= +go.etcd.io/etcd/pkg/v3 v3.5.16/go.mod h1:+lutCZHG5MBBFI/U4eYT5yL7sJfnexsoM20Y0t2uNuY= +go.etcd.io/etcd/raft/v3 v3.5.16 h1:zBXA3ZUpYs1AwiLGPafYAKKl/CORn/uaxYDwlNwndAk= +go.etcd.io/etcd/raft/v3 v3.5.16/go.mod h1:P4UP14AxofMJ/54boWilabqqWoW9eLodl6I5GdGzazI= +go.etcd.io/etcd/server/v3 v3.5.16 h1:d0/SAdJ3vVsZvF8IFVb1k8zqMZ+heGcNfft71ul9GWE= +go.etcd.io/etcd/server/v3 v3.5.16/go.mod h1:ynhyZZpdDp1Gq49jkUg5mfkDWZwXnn3eIqCqtJnrD/s= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 h1:9G6E0TXzGFVfTnawRzrPl83iHOAV7L8NJiR8RSGYV1g= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0/go.mod h1:azvtTADFQJA8mX80jIH/akaE7h+dbm/sVuaHqN13w74= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 h1:4K4tsIXefpVJtvA/8srF4V4y0akAoPHkIslgAkjixJA= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0/go.mod h1:jjdQuTGVsXV4vSs+CJ2qYDeDPf9yIJV23qlIzBm73Vg= -go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= -go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= +go.opentelemetry.io/otel v1.34.0 h1:zRLXxLCgL1WyKsPVrgbSdMN4c0FMkDAskSTQP+0hdUY= +go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 h1:3Q/xZUyC1BBkualc9ROb4G8qkH90LXEIICcs5zv1OYY= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0/go.mod h1:s75jGIWA9OfCMzF0xr+ZgfrB5FEbbV7UuYo32ahUiFI= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ= -go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= -go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= -go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= -go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= -go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= -go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= -go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys= -go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= +go.opentelemetry.io/otel/metric v1.34.0 h1:+eTR3U0MyfWjRDhmFMxe2SsW64QrZ84AOhvqS7Y+PoQ= +go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE= +go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A= +go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= +go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk= +go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w= +go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k= +go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= @@ -216,8 +215,8 @@ go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU= go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= -go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= +go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= +go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= go4.org/netipx v0.0.0-20220812043211-3cc044ffd68d h1:ggxwEf5eu0l8v+87VhX1czFh8zJul3hK16Gmruxn7hw= go4.org/netipx v0.0.0-20220812043211-3cc044ffd68d/go.mod h1:tgPU4N2u9RByaTN3NC2p9xOzyFpte4jYwsIIRF7XlSc= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -237,8 +236,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c= golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= -golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= -golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.25.0 h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70= +golang.org/x/oauth2 v0.25.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -255,8 +254,8 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.7.0 h1:ntUhktv3OPE6TgYxXWv9vKvUSJyIFJlyohwbkEwPrKQ= +golang.org/x/time v0.7.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= @@ -271,12 +270,12 @@ gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= -google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 h1:fVoAXEKA4+yufmbdVYv+SE73+cPZbbbe8paLsHfkK+U= -google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53/go.mod h1:riSXTwQ4+nqmPGtobMFyW5FqVAmIs0St6VPp4Ug7CE4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 h1:X58yt85/IXCx0Y3ZwN6sEIKZzQtDEYaBWrDvErdXrRE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= -google.golang.org/grpc v1.69.4 h1:MF5TftSMkd8GLw/m0KM6V8CMOCY6NZ1NQDPGFgbTt4A= -google.golang.org/grpc v1.69.4/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= +google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 h1:GVIKPyP/kLIyVOgOnTwFOrvQaQUzOzGMCxgFUOEmm24= +google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422/go.mod h1:b6h1vNKhxaSoEI+5jc3PJUCustfli/mRab7295pY7rw= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f h1:OxYkA3wjPsZyBylwymxSHa7ViiW1Sml4ToBrncvFehI= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f/go.mod h1:+2Yz8+CLJbIfL9z73EW45avw8Lmge3xVElCP9zEKi50= +google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg= +google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec= google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -288,47 +287,44 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.31.4 h1:I2QNzitPVsPeLQvexMEsj945QumYraqv9m74isPDKhM= -k8s.io/api v0.31.4/go.mod h1:d+7vgXLvmcdT1BCo79VEgJxHHryww3V5np2OYTr6jdw= -k8s.io/apiextensions-apiserver v0.31.4 h1:FxbqzSvy92Ca9DIs5jqot883G0Ln/PGXfm/07t39LS0= -k8s.io/apiextensions-apiserver v0.31.4/go.mod h1:hIW9YU8UsqZqIWGG99/gsdIU0Ar45Qd3A12QOe/rvpg= -k8s.io/apimachinery v0.31.4 h1:8xjE2C4CzhYVm9DGf60yohpNUh5AEBnPxCryPBECmlM= -k8s.io/apimachinery v0.31.4/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= -k8s.io/apiserver v0.31.4 h1:JbtnTaXVYEAYIHJil6Wd74Wif9sd8jVcBw84kwEmp7o= -k8s.io/apiserver v0.31.4/go.mod h1:JJjoTjZ9PTMLdIFq7mmcJy2B9xLN3HeAUebW6xZyIP0= -k8s.io/client-go v0.31.4 h1:t4QEXt4jgHIkKKlx06+W3+1JOwAFU/2OPiOo7H92eRQ= -k8s.io/client-go v0.31.4/go.mod h1:kvuMro4sFYIa8sulL5Gi5GFqUPvfH2O/dXuKstbaaeg= -k8s.io/code-generator v0.31.4 h1:Vu+8fKz+239rKiVDHFVHgjQ162cg5iUQPtTyQbwXeQw= -k8s.io/code-generator v0.31.4/go.mod h1:yMDt13Kn7m4MMZ4LxB1KBzdZjEyxzdT4b4qXq+lnI90= -k8s.io/component-base v0.31.4 h1:wCquJh4ul9O8nNBSB8N/o8+gbfu3BVQkVw9jAUY/Qtw= -k8s.io/component-base v0.31.4/go.mod h1:G4dgtf5BccwiDT9DdejK0qM6zTK0jwDGEKnCmb9+u/s= -k8s.io/gengo/v2 v2.0.0-20240826214909-a7b603a56eb7 h1:cErOOTkQ3JW19o4lo91fFurouhP8NcoBvb7CkvhZZpk= -k8s.io/gengo/v2 v2.0.0-20240826214909-a7b603a56eb7/go.mod h1:EJykeLsmFC60UQbYJezXkEsG2FLrt0GPNkU5iK5GWxU= +k8s.io/api v0.32.3 h1:Hw7KqxRusq+6QSplE3NYG4MBxZw1BZnq4aP4cJVINls= +k8s.io/api v0.32.3/go.mod h1:2wEDTXADtm/HA7CCMD8D8bK4yuBUptzaRhYcYEEYA3k= +k8s.io/apiextensions-apiserver v0.32.2 h1:2YMk285jWMk2188V2AERy5yDwBYrjgWYggscghPCvV4= +k8s.io/apiextensions-apiserver v0.32.2/go.mod h1:GPwf8sph7YlJT3H6aKUWtd0E+oyShk/YHWQHf/OOgCA= +k8s.io/apimachinery v0.32.3 h1:JmDuDarhDmA/Li7j3aPrwhpNBA94Nvk5zLeOge9HH1U= +k8s.io/apimachinery v0.32.3/go.mod h1:GpHVgxoKlTxClKcteaeuF1Ul/lDVb74KpZcxcmLDElE= +k8s.io/apiserver v0.32.3 h1:kOw2KBuHOA+wetX1MkmrxgBr648ksz653j26ESuWNY8= +k8s.io/apiserver v0.32.3/go.mod h1:q1x9B8E/WzShF49wh3ADOh6muSfpmFL0I2t+TG0Zdgc= +k8s.io/client-go v0.32.3 h1:RKPVltzopkSgHS7aS98QdscAgtgah/+zmpAogooIqVU= +k8s.io/client-go v0.32.3/go.mod h1:3v0+3k4IcT9bXTc4V2rt+d2ZPPG700Xy6Oi0Gdl2PaY= +k8s.io/code-generator v0.32.3 h1:31p2TVzC9+hVdSkAFruAk3JY+iSfzrJ83Qij1yZutyw= +k8s.io/code-generator v0.32.3/go.mod h1:+mbiYID5NLsBuqxjQTygKM/DAdKpAjvBzrJd64NU1G8= +k8s.io/component-base v0.32.3 h1:98WJvvMs3QZ2LYHBzvltFSeJjEx7t5+8s71P7M74u8k= +k8s.io/component-base v0.32.3/go.mod h1:LWi9cR+yPAv7cu2X9rZanTiFKB2kHA+JjmhkKjCZRpI= +k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 h1:si3PfKm8dDYxgfbeA6orqrtLkvvIeH8UqffFJDl0bz4= +k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9/go.mod h1:EJykeLsmFC60UQbYJezXkEsG2FLrt0GPNkU5iK5GWxU= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= -k8s.io/kms v0.31.4 h1:DVk9T1PHxG7IUMfWs1sDhBTbzGnM7lhMJO8lOzOzTIs= -k8s.io/kms v0.31.4/go.mod h1:OZKwl1fan3n3N5FFxnW5C4V3ygrah/3YXeJWS3O6+94= -k8s.io/kube-aggregator v0.31.0 h1:3DqSpmqHF8rey7fY+qYXLJms0tYPhxrgWvjpnKVnS0Y= -k8s.io/kube-aggregator v0.31.0/go.mod h1:Fa+OVSpMQC7zbTTz7/QG7FXe9jZ8usuJQej5sMdCrkM= -k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 h1:MErs8YA0abvOqJ8gIupA1Tz6PKXYUw34XsGlA7uSL1k= -k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094/go.mod h1:7ioBJr1A6igWjsR2fxq2EZ0mlMwYLejazSIc2bzMp2U= -k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A= -k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw= -sigs.k8s.io/controller-runtime v0.19.4 h1:SUmheabttt0nx8uJtoII4oIP27BVVvAKFvdvGFwV/Qo= -sigs.k8s.io/controller-runtime v0.19.4/go.mod h1:iRmWllt8IlaLjvTTDLhRBXIEtkCK6hwVBJJsYS9Ajf4= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= -sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= +k8s.io/kms v0.32.3 h1:HhHw5+pRCzEJp3oFFJ1q5W2N6gAI7YkUg4ay4Z0dgwM= +k8s.io/kms v0.32.3/go.mod h1:Bk2evz/Yvk0oVrvm4MvZbgq8BD34Ksxs2SRHn4/UiOM= +k8s.io/kube-aggregator v0.32.3 h1:j+lUE4V1sMANYv/wCdU2E8SgnSLJksaJ+6bNnoV6Pfs= +k8s.io/kube-aggregator v0.32.3/go.mod h1:aAl5az9Rlq4sPPSf8/ckpDGSYit75g4g1dp6rKInXZM= +k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 h1:hcha5B1kVACrLujCKLbr8XWMxCxzQx42DY8QKYJrDLg= +k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7/go.mod h1:GewRfANuJ70iYzvn+i4lezLDAFzvjxZYK1gn1lWcfas= +k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro= +k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0 h1:CPT0ExVicCzcpeN4baWEV2ko2Z/AsiZgEdwgcfwLgMo= +sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.0/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw= +sigs.k8s.io/controller-runtime v0.20.3 h1:I6Ln8JfQjHH7JbtCD2HCYHoIzajoRxPNuvhvcDbZgkI= +sigs.k8s.io/controller-runtime v0.20.3/go.mod h1:xg2XB0K5ShQzAgsoujxuKN4LNXR2LfwwHsPj7Iaw+XY= +sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8= +sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo= +sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016 h1:kXv6kKdoEtedwuqMmkqhbkgvYKeycVbC8+iPCP9j5kQ= +sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= +sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc= +sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps= sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= diff --git a/hack/api-reference/config.json b/hack/api-reference/config.json index 736e7443..a883e7fc 100644 --- a/hack/api-reference/config.json +++ b/hack/api-reference/config.json @@ -21,7 +21,7 @@ }, { "typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/", - "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}" + "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}" }, { "typeMatchPrefix": "^github\\.com/ironcore-dev/ironcore-net/apimachinery/api", diff --git a/internal/apis/core/v1alpha1/zz_generated.conversion.go b/internal/apis/core/v1alpha1/zz_generated.conversion.go index f510dc7f..eaad0f80 100644 --- a/internal/apis/core/v1alpha1/zz_generated.conversion.go +++ b/internal/apis/core/v1alpha1/zz_generated.conversion.go @@ -11,7 +11,7 @@ package v1alpha1 import ( unsafe "unsafe" - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" net "github.com/ironcore-dev/ironcore-net/apimachinery/api/net" core "github.com/ironcore-dev/ironcore-net/internal/apis/core" corev1 "k8s.io/api/core/v1" @@ -28,922 +28,922 @@ func init() { // RegisterConversions adds conversion functions to the given scheme. // Public to allow building arbitrary schemes. func RegisterConversions(s *runtime.Scheme) error { - if err := s.AddGeneratedConversionFunc((*v1alpha1.Affinity)(nil), (*core.Affinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Affinity_To_core_Affinity(a.(*v1alpha1.Affinity), b.(*core.Affinity), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.Affinity)(nil), (*core.Affinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Affinity_To_core_Affinity(a.(*corev1alpha1.Affinity), b.(*core.Affinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.Affinity)(nil), (*v1alpha1.Affinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_Affinity_To_v1alpha1_Affinity(a.(*core.Affinity), b.(*v1alpha1.Affinity), scope) + if err := s.AddGeneratedConversionFunc((*core.Affinity)(nil), (*corev1alpha1.Affinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_Affinity_To_v1alpha1_Affinity(a.(*core.Affinity), b.(*corev1alpha1.Affinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.DaemonSet)(nil), (*core.DaemonSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DaemonSet_To_core_DaemonSet(a.(*v1alpha1.DaemonSet), b.(*core.DaemonSet), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.DaemonSet)(nil), (*core.DaemonSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DaemonSet_To_core_DaemonSet(a.(*corev1alpha1.DaemonSet), b.(*core.DaemonSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.DaemonSet)(nil), (*v1alpha1.DaemonSet)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_DaemonSet_To_v1alpha1_DaemonSet(a.(*core.DaemonSet), b.(*v1alpha1.DaemonSet), scope) + if err := s.AddGeneratedConversionFunc((*core.DaemonSet)(nil), (*corev1alpha1.DaemonSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_DaemonSet_To_v1alpha1_DaemonSet(a.(*core.DaemonSet), b.(*corev1alpha1.DaemonSet), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.DaemonSetList)(nil), (*core.DaemonSetList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DaemonSetList_To_core_DaemonSetList(a.(*v1alpha1.DaemonSetList), b.(*core.DaemonSetList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.DaemonSetList)(nil), (*core.DaemonSetList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DaemonSetList_To_core_DaemonSetList(a.(*corev1alpha1.DaemonSetList), b.(*core.DaemonSetList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.DaemonSetList)(nil), (*v1alpha1.DaemonSetList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_DaemonSetList_To_v1alpha1_DaemonSetList(a.(*core.DaemonSetList), b.(*v1alpha1.DaemonSetList), scope) + if err := s.AddGeneratedConversionFunc((*core.DaemonSetList)(nil), (*corev1alpha1.DaemonSetList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_DaemonSetList_To_v1alpha1_DaemonSetList(a.(*core.DaemonSetList), b.(*corev1alpha1.DaemonSetList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.DaemonSetSpec)(nil), (*core.DaemonSetSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(a.(*v1alpha1.DaemonSetSpec), b.(*core.DaemonSetSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.DaemonSetSpec)(nil), (*core.DaemonSetSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(a.(*corev1alpha1.DaemonSetSpec), b.(*core.DaemonSetSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.DaemonSetSpec)(nil), (*v1alpha1.DaemonSetSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(a.(*core.DaemonSetSpec), b.(*v1alpha1.DaemonSetSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.DaemonSetSpec)(nil), (*corev1alpha1.DaemonSetSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(a.(*core.DaemonSetSpec), b.(*corev1alpha1.DaemonSetSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.DaemonSetStatus)(nil), (*core.DaemonSetStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(a.(*v1alpha1.DaemonSetStatus), b.(*core.DaemonSetStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.DaemonSetStatus)(nil), (*core.DaemonSetStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(a.(*corev1alpha1.DaemonSetStatus), b.(*core.DaemonSetStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.DaemonSetStatus)(nil), (*v1alpha1.DaemonSetStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(a.(*core.DaemonSetStatus), b.(*v1alpha1.DaemonSetStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.DaemonSetStatus)(nil), (*corev1alpha1.DaemonSetStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(a.(*core.DaemonSetStatus), b.(*corev1alpha1.DaemonSetStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IP)(nil), (*core.IP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IP_To_core_IP(a.(*v1alpha1.IP), b.(*core.IP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IP)(nil), (*core.IP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IP_To_core_IP(a.(*corev1alpha1.IP), b.(*core.IP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IP)(nil), (*v1alpha1.IP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IP_To_v1alpha1_IP(a.(*core.IP), b.(*v1alpha1.IP), scope) + if err := s.AddGeneratedConversionFunc((*core.IP)(nil), (*corev1alpha1.IP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IP_To_v1alpha1_IP(a.(*core.IP), b.(*corev1alpha1.IP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPAddress)(nil), (*core.IPAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPAddress_To_core_IPAddress(a.(*v1alpha1.IPAddress), b.(*core.IPAddress), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPAddress)(nil), (*core.IPAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPAddress_To_core_IPAddress(a.(*corev1alpha1.IPAddress), b.(*core.IPAddress), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPAddress)(nil), (*v1alpha1.IPAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPAddress_To_v1alpha1_IPAddress(a.(*core.IPAddress), b.(*v1alpha1.IPAddress), scope) + if err := s.AddGeneratedConversionFunc((*core.IPAddress)(nil), (*corev1alpha1.IPAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPAddress_To_v1alpha1_IPAddress(a.(*core.IPAddress), b.(*corev1alpha1.IPAddress), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPAddressClaimRef)(nil), (*core.IPAddressClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(a.(*v1alpha1.IPAddressClaimRef), b.(*core.IPAddressClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPAddressClaimRef)(nil), (*core.IPAddressClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(a.(*corev1alpha1.IPAddressClaimRef), b.(*core.IPAddressClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPAddressClaimRef)(nil), (*v1alpha1.IPAddressClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(a.(*core.IPAddressClaimRef), b.(*v1alpha1.IPAddressClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*core.IPAddressClaimRef)(nil), (*corev1alpha1.IPAddressClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(a.(*core.IPAddressClaimRef), b.(*corev1alpha1.IPAddressClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPAddressList)(nil), (*core.IPAddressList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPAddressList_To_core_IPAddressList(a.(*v1alpha1.IPAddressList), b.(*core.IPAddressList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPAddressList)(nil), (*core.IPAddressList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPAddressList_To_core_IPAddressList(a.(*corev1alpha1.IPAddressList), b.(*core.IPAddressList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPAddressList)(nil), (*v1alpha1.IPAddressList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPAddressList_To_v1alpha1_IPAddressList(a.(*core.IPAddressList), b.(*v1alpha1.IPAddressList), scope) + if err := s.AddGeneratedConversionFunc((*core.IPAddressList)(nil), (*corev1alpha1.IPAddressList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPAddressList_To_v1alpha1_IPAddressList(a.(*core.IPAddressList), b.(*corev1alpha1.IPAddressList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPAddressSpec)(nil), (*core.IPAddressSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(a.(*v1alpha1.IPAddressSpec), b.(*core.IPAddressSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPAddressSpec)(nil), (*core.IPAddressSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(a.(*corev1alpha1.IPAddressSpec), b.(*core.IPAddressSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPAddressSpec)(nil), (*v1alpha1.IPAddressSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(a.(*core.IPAddressSpec), b.(*v1alpha1.IPAddressSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.IPAddressSpec)(nil), (*corev1alpha1.IPAddressSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(a.(*core.IPAddressSpec), b.(*corev1alpha1.IPAddressSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPBlock)(nil), (*core.IPBlock)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPBlock_To_core_IPBlock(a.(*v1alpha1.IPBlock), b.(*core.IPBlock), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPBlock)(nil), (*core.IPBlock)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPBlock_To_core_IPBlock(a.(*corev1alpha1.IPBlock), b.(*core.IPBlock), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPBlock)(nil), (*v1alpha1.IPBlock)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPBlock_To_v1alpha1_IPBlock(a.(*core.IPBlock), b.(*v1alpha1.IPBlock), scope) + if err := s.AddGeneratedConversionFunc((*core.IPBlock)(nil), (*corev1alpha1.IPBlock)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPBlock_To_v1alpha1_IPBlock(a.(*core.IPBlock), b.(*corev1alpha1.IPBlock), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPClaimRef)(nil), (*core.IPClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPClaimRef_To_core_IPClaimRef(a.(*v1alpha1.IPClaimRef), b.(*core.IPClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPClaimRef)(nil), (*core.IPClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPClaimRef_To_core_IPClaimRef(a.(*corev1alpha1.IPClaimRef), b.(*core.IPClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPClaimRef)(nil), (*v1alpha1.IPClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPClaimRef_To_v1alpha1_IPClaimRef(a.(*core.IPClaimRef), b.(*v1alpha1.IPClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*core.IPClaimRef)(nil), (*corev1alpha1.IPClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPClaimRef_To_v1alpha1_IPClaimRef(a.(*core.IPClaimRef), b.(*corev1alpha1.IPClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPList)(nil), (*core.IPList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPList_To_core_IPList(a.(*v1alpha1.IPList), b.(*core.IPList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPList)(nil), (*core.IPList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPList_To_core_IPList(a.(*corev1alpha1.IPList), b.(*core.IPList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPList)(nil), (*v1alpha1.IPList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPList_To_v1alpha1_IPList(a.(*core.IPList), b.(*v1alpha1.IPList), scope) + if err := s.AddGeneratedConversionFunc((*core.IPList)(nil), (*corev1alpha1.IPList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPList_To_v1alpha1_IPList(a.(*core.IPList), b.(*corev1alpha1.IPList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPSpec)(nil), (*core.IPSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPSpec_To_core_IPSpec(a.(*v1alpha1.IPSpec), b.(*core.IPSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPSpec)(nil), (*core.IPSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPSpec_To_core_IPSpec(a.(*corev1alpha1.IPSpec), b.(*core.IPSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPSpec)(nil), (*v1alpha1.IPSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPSpec_To_v1alpha1_IPSpec(a.(*core.IPSpec), b.(*v1alpha1.IPSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.IPSpec)(nil), (*corev1alpha1.IPSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPSpec_To_v1alpha1_IPSpec(a.(*core.IPSpec), b.(*corev1alpha1.IPSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.IPStatus)(nil), (*core.IPStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_IPStatus_To_core_IPStatus(a.(*v1alpha1.IPStatus), b.(*core.IPStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.IPStatus)(nil), (*core.IPStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_IPStatus_To_core_IPStatus(a.(*corev1alpha1.IPStatus), b.(*core.IPStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.IPStatus)(nil), (*v1alpha1.IPStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_IPStatus_To_v1alpha1_IPStatus(a.(*core.IPStatus), b.(*v1alpha1.IPStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.IPStatus)(nil), (*corev1alpha1.IPStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_IPStatus_To_v1alpha1_IPStatus(a.(*core.IPStatus), b.(*corev1alpha1.IPStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.Instance)(nil), (*core.Instance)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Instance_To_core_Instance(a.(*v1alpha1.Instance), b.(*core.Instance), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.Instance)(nil), (*core.Instance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Instance_To_core_Instance(a.(*corev1alpha1.Instance), b.(*core.Instance), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.Instance)(nil), (*v1alpha1.Instance)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_Instance_To_v1alpha1_Instance(a.(*core.Instance), b.(*v1alpha1.Instance), scope) + if err := s.AddGeneratedConversionFunc((*core.Instance)(nil), (*corev1alpha1.Instance)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_Instance_To_v1alpha1_Instance(a.(*core.Instance), b.(*corev1alpha1.Instance), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceAffinityTerm)(nil), (*core.InstanceAffinityTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(a.(*v1alpha1.InstanceAffinityTerm), b.(*core.InstanceAffinityTerm), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceAffinityTerm)(nil), (*core.InstanceAffinityTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(a.(*corev1alpha1.InstanceAffinityTerm), b.(*core.InstanceAffinityTerm), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceAffinityTerm)(nil), (*v1alpha1.InstanceAffinityTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(a.(*core.InstanceAffinityTerm), b.(*v1alpha1.InstanceAffinityTerm), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceAffinityTerm)(nil), (*corev1alpha1.InstanceAffinityTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(a.(*core.InstanceAffinityTerm), b.(*corev1alpha1.InstanceAffinityTerm), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceAntiAffinity)(nil), (*core.InstanceAntiAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(a.(*v1alpha1.InstanceAntiAffinity), b.(*core.InstanceAntiAffinity), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceAntiAffinity)(nil), (*core.InstanceAntiAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(a.(*corev1alpha1.InstanceAntiAffinity), b.(*core.InstanceAntiAffinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceAntiAffinity)(nil), (*v1alpha1.InstanceAntiAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(a.(*core.InstanceAntiAffinity), b.(*v1alpha1.InstanceAntiAffinity), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceAntiAffinity)(nil), (*corev1alpha1.InstanceAntiAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(a.(*core.InstanceAntiAffinity), b.(*corev1alpha1.InstanceAntiAffinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceList)(nil), (*core.InstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceList_To_core_InstanceList(a.(*v1alpha1.InstanceList), b.(*core.InstanceList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceList)(nil), (*core.InstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceList_To_core_InstanceList(a.(*corev1alpha1.InstanceList), b.(*core.InstanceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceList)(nil), (*v1alpha1.InstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceList_To_v1alpha1_InstanceList(a.(*core.InstanceList), b.(*v1alpha1.InstanceList), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceList)(nil), (*corev1alpha1.InstanceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceList_To_v1alpha1_InstanceList(a.(*core.InstanceList), b.(*corev1alpha1.InstanceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceSpec)(nil), (*core.InstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(a.(*v1alpha1.InstanceSpec), b.(*core.InstanceSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceSpec)(nil), (*core.InstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(a.(*corev1alpha1.InstanceSpec), b.(*core.InstanceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceSpec)(nil), (*v1alpha1.InstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(a.(*core.InstanceSpec), b.(*v1alpha1.InstanceSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceSpec)(nil), (*corev1alpha1.InstanceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(a.(*core.InstanceSpec), b.(*corev1alpha1.InstanceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceStatus)(nil), (*core.InstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceStatus_To_core_InstanceStatus(a.(*v1alpha1.InstanceStatus), b.(*core.InstanceStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceStatus)(nil), (*core.InstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceStatus_To_core_InstanceStatus(a.(*corev1alpha1.InstanceStatus), b.(*core.InstanceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceStatus)(nil), (*v1alpha1.InstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceStatus_To_v1alpha1_InstanceStatus(a.(*core.InstanceStatus), b.(*v1alpha1.InstanceStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceStatus)(nil), (*corev1alpha1.InstanceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceStatus_To_v1alpha1_InstanceStatus(a.(*core.InstanceStatus), b.(*corev1alpha1.InstanceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.InstanceTemplate)(nil), (*core.InstanceTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(a.(*v1alpha1.InstanceTemplate), b.(*core.InstanceTemplate), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.InstanceTemplate)(nil), (*core.InstanceTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(a.(*corev1alpha1.InstanceTemplate), b.(*core.InstanceTemplate), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.InstanceTemplate)(nil), (*v1alpha1.InstanceTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(a.(*core.InstanceTemplate), b.(*v1alpha1.InstanceTemplate), scope) + if err := s.AddGeneratedConversionFunc((*core.InstanceTemplate)(nil), (*corev1alpha1.InstanceTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(a.(*core.InstanceTemplate), b.(*corev1alpha1.InstanceTemplate), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancer)(nil), (*core.LoadBalancer)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancer_To_core_LoadBalancer(a.(*v1alpha1.LoadBalancer), b.(*core.LoadBalancer), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancer)(nil), (*core.LoadBalancer)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancer_To_core_LoadBalancer(a.(*corev1alpha1.LoadBalancer), b.(*core.LoadBalancer), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancer)(nil), (*v1alpha1.LoadBalancer)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancer_To_v1alpha1_LoadBalancer(a.(*core.LoadBalancer), b.(*v1alpha1.LoadBalancer), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancer)(nil), (*corev1alpha1.LoadBalancer)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancer_To_v1alpha1_LoadBalancer(a.(*core.LoadBalancer), b.(*corev1alpha1.LoadBalancer), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerDestination)(nil), (*core.LoadBalancerDestination)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(a.(*v1alpha1.LoadBalancerDestination), b.(*core.LoadBalancerDestination), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerDestination)(nil), (*core.LoadBalancerDestination)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(a.(*corev1alpha1.LoadBalancerDestination), b.(*core.LoadBalancerDestination), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerDestination)(nil), (*v1alpha1.LoadBalancerDestination)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(a.(*core.LoadBalancerDestination), b.(*v1alpha1.LoadBalancerDestination), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerDestination)(nil), (*corev1alpha1.LoadBalancerDestination)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(a.(*core.LoadBalancerDestination), b.(*corev1alpha1.LoadBalancerDestination), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerIP)(nil), (*core.LoadBalancerIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(a.(*v1alpha1.LoadBalancerIP), b.(*core.LoadBalancerIP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerIP)(nil), (*core.LoadBalancerIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(a.(*corev1alpha1.LoadBalancerIP), b.(*core.LoadBalancerIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerIP)(nil), (*v1alpha1.LoadBalancerIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(a.(*core.LoadBalancerIP), b.(*v1alpha1.LoadBalancerIP), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerIP)(nil), (*corev1alpha1.LoadBalancerIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(a.(*core.LoadBalancerIP), b.(*corev1alpha1.LoadBalancerIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerList)(nil), (*core.LoadBalancerList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(a.(*v1alpha1.LoadBalancerList), b.(*core.LoadBalancerList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerList)(nil), (*core.LoadBalancerList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(a.(*corev1alpha1.LoadBalancerList), b.(*core.LoadBalancerList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerList)(nil), (*v1alpha1.LoadBalancerList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(a.(*core.LoadBalancerList), b.(*v1alpha1.LoadBalancerList), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerList)(nil), (*corev1alpha1.LoadBalancerList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(a.(*core.LoadBalancerList), b.(*corev1alpha1.LoadBalancerList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerPort)(nil), (*core.LoadBalancerPort)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(a.(*v1alpha1.LoadBalancerPort), b.(*core.LoadBalancerPort), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerPort)(nil), (*core.LoadBalancerPort)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(a.(*corev1alpha1.LoadBalancerPort), b.(*core.LoadBalancerPort), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerPort)(nil), (*v1alpha1.LoadBalancerPort)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(a.(*core.LoadBalancerPort), b.(*v1alpha1.LoadBalancerPort), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerPort)(nil), (*corev1alpha1.LoadBalancerPort)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(a.(*core.LoadBalancerPort), b.(*corev1alpha1.LoadBalancerPort), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerRouting)(nil), (*core.LoadBalancerRouting)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(a.(*v1alpha1.LoadBalancerRouting), b.(*core.LoadBalancerRouting), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerRouting)(nil), (*core.LoadBalancerRouting)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(a.(*corev1alpha1.LoadBalancerRouting), b.(*core.LoadBalancerRouting), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerRouting)(nil), (*v1alpha1.LoadBalancerRouting)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(a.(*core.LoadBalancerRouting), b.(*v1alpha1.LoadBalancerRouting), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerRouting)(nil), (*corev1alpha1.LoadBalancerRouting)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(a.(*core.LoadBalancerRouting), b.(*corev1alpha1.LoadBalancerRouting), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerRoutingList)(nil), (*core.LoadBalancerRoutingList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(a.(*v1alpha1.LoadBalancerRoutingList), b.(*core.LoadBalancerRoutingList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerRoutingList)(nil), (*core.LoadBalancerRoutingList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(a.(*corev1alpha1.LoadBalancerRoutingList), b.(*core.LoadBalancerRoutingList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerRoutingList)(nil), (*v1alpha1.LoadBalancerRoutingList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(a.(*core.LoadBalancerRoutingList), b.(*v1alpha1.LoadBalancerRoutingList), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerRoutingList)(nil), (*corev1alpha1.LoadBalancerRoutingList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(a.(*core.LoadBalancerRoutingList), b.(*corev1alpha1.LoadBalancerRoutingList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerSpec)(nil), (*core.LoadBalancerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(a.(*v1alpha1.LoadBalancerSpec), b.(*core.LoadBalancerSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerSpec)(nil), (*core.LoadBalancerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(a.(*corev1alpha1.LoadBalancerSpec), b.(*core.LoadBalancerSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerSpec)(nil), (*v1alpha1.LoadBalancerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(a.(*core.LoadBalancerSpec), b.(*v1alpha1.LoadBalancerSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerSpec)(nil), (*corev1alpha1.LoadBalancerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(a.(*core.LoadBalancerSpec), b.(*corev1alpha1.LoadBalancerSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerStatus)(nil), (*core.LoadBalancerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(a.(*v1alpha1.LoadBalancerStatus), b.(*core.LoadBalancerStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerStatus)(nil), (*core.LoadBalancerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(a.(*corev1alpha1.LoadBalancerStatus), b.(*core.LoadBalancerStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerStatus)(nil), (*v1alpha1.LoadBalancerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(a.(*core.LoadBalancerStatus), b.(*v1alpha1.LoadBalancerStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerStatus)(nil), (*corev1alpha1.LoadBalancerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(a.(*core.LoadBalancerStatus), b.(*corev1alpha1.LoadBalancerStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LoadBalancerTargetRef)(nil), (*core.LoadBalancerTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(a.(*v1alpha1.LoadBalancerTargetRef), b.(*core.LoadBalancerTargetRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LoadBalancerTargetRef)(nil), (*core.LoadBalancerTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(a.(*corev1alpha1.LoadBalancerTargetRef), b.(*core.LoadBalancerTargetRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LoadBalancerTargetRef)(nil), (*v1alpha1.LoadBalancerTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(a.(*core.LoadBalancerTargetRef), b.(*v1alpha1.LoadBalancerTargetRef), scope) + if err := s.AddGeneratedConversionFunc((*core.LoadBalancerTargetRef)(nil), (*corev1alpha1.LoadBalancerTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(a.(*core.LoadBalancerTargetRef), b.(*corev1alpha1.LoadBalancerTargetRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.LocalUIDReference)(nil), (*core.LocalUIDReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(a.(*v1alpha1.LocalUIDReference), b.(*core.LocalUIDReference), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.LocalUIDReference)(nil), (*core.LocalUIDReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(a.(*corev1alpha1.LocalUIDReference), b.(*core.LocalUIDReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.LocalUIDReference)(nil), (*v1alpha1.LocalUIDReference)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(a.(*core.LocalUIDReference), b.(*v1alpha1.LocalUIDReference), scope) + if err := s.AddGeneratedConversionFunc((*core.LocalUIDReference)(nil), (*corev1alpha1.LocalUIDReference)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(a.(*core.LocalUIDReference), b.(*corev1alpha1.LocalUIDReference), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGateway)(nil), (*core.NATGateway)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGateway_To_core_NATGateway(a.(*v1alpha1.NATGateway), b.(*core.NATGateway), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGateway)(nil), (*core.NATGateway)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGateway_To_core_NATGateway(a.(*corev1alpha1.NATGateway), b.(*core.NATGateway), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGateway)(nil), (*v1alpha1.NATGateway)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGateway_To_v1alpha1_NATGateway(a.(*core.NATGateway), b.(*v1alpha1.NATGateway), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGateway)(nil), (*corev1alpha1.NATGateway)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGateway_To_v1alpha1_NATGateway(a.(*core.NATGateway), b.(*corev1alpha1.NATGateway), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayAutoscaler)(nil), (*core.NATGatewayAutoscaler)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(a.(*v1alpha1.NATGatewayAutoscaler), b.(*core.NATGatewayAutoscaler), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayAutoscaler)(nil), (*core.NATGatewayAutoscaler)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(a.(*corev1alpha1.NATGatewayAutoscaler), b.(*core.NATGatewayAutoscaler), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscaler)(nil), (*v1alpha1.NATGatewayAutoscaler)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(a.(*core.NATGatewayAutoscaler), b.(*v1alpha1.NATGatewayAutoscaler), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscaler)(nil), (*corev1alpha1.NATGatewayAutoscaler)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(a.(*core.NATGatewayAutoscaler), b.(*corev1alpha1.NATGatewayAutoscaler), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayAutoscalerList)(nil), (*core.NATGatewayAutoscalerList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(a.(*v1alpha1.NATGatewayAutoscalerList), b.(*core.NATGatewayAutoscalerList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayAutoscalerList)(nil), (*core.NATGatewayAutoscalerList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(a.(*corev1alpha1.NATGatewayAutoscalerList), b.(*core.NATGatewayAutoscalerList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerList)(nil), (*v1alpha1.NATGatewayAutoscalerList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(a.(*core.NATGatewayAutoscalerList), b.(*v1alpha1.NATGatewayAutoscalerList), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerList)(nil), (*corev1alpha1.NATGatewayAutoscalerList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(a.(*core.NATGatewayAutoscalerList), b.(*corev1alpha1.NATGatewayAutoscalerList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayAutoscalerSpec)(nil), (*core.NATGatewayAutoscalerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(a.(*v1alpha1.NATGatewayAutoscalerSpec), b.(*core.NATGatewayAutoscalerSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayAutoscalerSpec)(nil), (*core.NATGatewayAutoscalerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(a.(*corev1alpha1.NATGatewayAutoscalerSpec), b.(*core.NATGatewayAutoscalerSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerSpec)(nil), (*v1alpha1.NATGatewayAutoscalerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(a.(*core.NATGatewayAutoscalerSpec), b.(*v1alpha1.NATGatewayAutoscalerSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerSpec)(nil), (*corev1alpha1.NATGatewayAutoscalerSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(a.(*core.NATGatewayAutoscalerSpec), b.(*corev1alpha1.NATGatewayAutoscalerSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayAutoscalerStatus)(nil), (*core.NATGatewayAutoscalerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(a.(*v1alpha1.NATGatewayAutoscalerStatus), b.(*core.NATGatewayAutoscalerStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayAutoscalerStatus)(nil), (*core.NATGatewayAutoscalerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(a.(*corev1alpha1.NATGatewayAutoscalerStatus), b.(*core.NATGatewayAutoscalerStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerStatus)(nil), (*v1alpha1.NATGatewayAutoscalerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(a.(*core.NATGatewayAutoscalerStatus), b.(*v1alpha1.NATGatewayAutoscalerStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayAutoscalerStatus)(nil), (*corev1alpha1.NATGatewayAutoscalerStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(a.(*core.NATGatewayAutoscalerStatus), b.(*corev1alpha1.NATGatewayAutoscalerStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayIP)(nil), (*core.NATGatewayIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(a.(*v1alpha1.NATGatewayIP), b.(*core.NATGatewayIP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayIP)(nil), (*core.NATGatewayIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(a.(*corev1alpha1.NATGatewayIP), b.(*core.NATGatewayIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayIP)(nil), (*v1alpha1.NATGatewayIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(a.(*core.NATGatewayIP), b.(*v1alpha1.NATGatewayIP), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayIP)(nil), (*corev1alpha1.NATGatewayIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(a.(*core.NATGatewayIP), b.(*corev1alpha1.NATGatewayIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayList)(nil), (*core.NATGatewayList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayList_To_core_NATGatewayList(a.(*v1alpha1.NATGatewayList), b.(*core.NATGatewayList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayList)(nil), (*core.NATGatewayList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayList_To_core_NATGatewayList(a.(*corev1alpha1.NATGatewayList), b.(*core.NATGatewayList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayList)(nil), (*v1alpha1.NATGatewayList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayList_To_v1alpha1_NATGatewayList(a.(*core.NATGatewayList), b.(*v1alpha1.NATGatewayList), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayList)(nil), (*corev1alpha1.NATGatewayList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayList_To_v1alpha1_NATGatewayList(a.(*core.NATGatewayList), b.(*corev1alpha1.NATGatewayList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewaySpec)(nil), (*core.NATGatewaySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(a.(*v1alpha1.NATGatewaySpec), b.(*core.NATGatewaySpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewaySpec)(nil), (*core.NATGatewaySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(a.(*corev1alpha1.NATGatewaySpec), b.(*core.NATGatewaySpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewaySpec)(nil), (*v1alpha1.NATGatewaySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(a.(*core.NATGatewaySpec), b.(*v1alpha1.NATGatewaySpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewaySpec)(nil), (*corev1alpha1.NATGatewaySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(a.(*core.NATGatewaySpec), b.(*corev1alpha1.NATGatewaySpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATGatewayStatus)(nil), (*core.NATGatewayStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(a.(*v1alpha1.NATGatewayStatus), b.(*core.NATGatewayStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATGatewayStatus)(nil), (*core.NATGatewayStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(a.(*corev1alpha1.NATGatewayStatus), b.(*core.NATGatewayStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATGatewayStatus)(nil), (*v1alpha1.NATGatewayStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(a.(*core.NATGatewayStatus), b.(*v1alpha1.NATGatewayStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NATGatewayStatus)(nil), (*corev1alpha1.NATGatewayStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(a.(*core.NATGatewayStatus), b.(*corev1alpha1.NATGatewayStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATIP)(nil), (*core.NATIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATIP_To_core_NATIP(a.(*v1alpha1.NATIP), b.(*core.NATIP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATIP)(nil), (*core.NATIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATIP_To_core_NATIP(a.(*corev1alpha1.NATIP), b.(*core.NATIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATIP)(nil), (*v1alpha1.NATIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATIP_To_v1alpha1_NATIP(a.(*core.NATIP), b.(*v1alpha1.NATIP), scope) + if err := s.AddGeneratedConversionFunc((*core.NATIP)(nil), (*corev1alpha1.NATIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATIP_To_v1alpha1_NATIP(a.(*core.NATIP), b.(*corev1alpha1.NATIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATIPSection)(nil), (*core.NATIPSection)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATIPSection_To_core_NATIPSection(a.(*v1alpha1.NATIPSection), b.(*core.NATIPSection), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATIPSection)(nil), (*core.NATIPSection)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATIPSection_To_core_NATIPSection(a.(*corev1alpha1.NATIPSection), b.(*core.NATIPSection), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATIPSection)(nil), (*v1alpha1.NATIPSection)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATIPSection_To_v1alpha1_NATIPSection(a.(*core.NATIPSection), b.(*v1alpha1.NATIPSection), scope) + if err := s.AddGeneratedConversionFunc((*core.NATIPSection)(nil), (*corev1alpha1.NATIPSection)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATIPSection_To_v1alpha1_NATIPSection(a.(*core.NATIPSection), b.(*corev1alpha1.NATIPSection), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATTable)(nil), (*core.NATTable)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATTable_To_core_NATTable(a.(*v1alpha1.NATTable), b.(*core.NATTable), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATTable)(nil), (*core.NATTable)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATTable_To_core_NATTable(a.(*corev1alpha1.NATTable), b.(*core.NATTable), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATTable)(nil), (*v1alpha1.NATTable)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATTable_To_v1alpha1_NATTable(a.(*core.NATTable), b.(*v1alpha1.NATTable), scope) + if err := s.AddGeneratedConversionFunc((*core.NATTable)(nil), (*corev1alpha1.NATTable)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATTable_To_v1alpha1_NATTable(a.(*core.NATTable), b.(*corev1alpha1.NATTable), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATTableIPTargetRef)(nil), (*core.NATTableIPTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(a.(*v1alpha1.NATTableIPTargetRef), b.(*core.NATTableIPTargetRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATTableIPTargetRef)(nil), (*core.NATTableIPTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(a.(*corev1alpha1.NATTableIPTargetRef), b.(*core.NATTableIPTargetRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATTableIPTargetRef)(nil), (*v1alpha1.NATTableIPTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(a.(*core.NATTableIPTargetRef), b.(*v1alpha1.NATTableIPTargetRef), scope) + if err := s.AddGeneratedConversionFunc((*core.NATTableIPTargetRef)(nil), (*corev1alpha1.NATTableIPTargetRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(a.(*core.NATTableIPTargetRef), b.(*corev1alpha1.NATTableIPTargetRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NATTableList)(nil), (*core.NATTableList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NATTableList_To_core_NATTableList(a.(*v1alpha1.NATTableList), b.(*core.NATTableList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NATTableList)(nil), (*core.NATTableList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NATTableList_To_core_NATTableList(a.(*corev1alpha1.NATTableList), b.(*core.NATTableList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NATTableList)(nil), (*v1alpha1.NATTableList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NATTableList_To_v1alpha1_NATTableList(a.(*core.NATTableList), b.(*v1alpha1.NATTableList), scope) + if err := s.AddGeneratedConversionFunc((*core.NATTableList)(nil), (*corev1alpha1.NATTableList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NATTableList_To_v1alpha1_NATTableList(a.(*core.NATTableList), b.(*corev1alpha1.NATTableList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.Network)(nil), (*core.Network)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Network_To_core_Network(a.(*v1alpha1.Network), b.(*core.Network), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.Network)(nil), (*core.Network)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Network_To_core_Network(a.(*corev1alpha1.Network), b.(*core.Network), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.Network)(nil), (*v1alpha1.Network)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_Network_To_v1alpha1_Network(a.(*core.Network), b.(*v1alpha1.Network), scope) + if err := s.AddGeneratedConversionFunc((*core.Network)(nil), (*corev1alpha1.Network)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_Network_To_v1alpha1_Network(a.(*core.Network), b.(*corev1alpha1.Network), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkID)(nil), (*core.NetworkID)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkID_To_core_NetworkID(a.(*v1alpha1.NetworkID), b.(*core.NetworkID), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkID)(nil), (*core.NetworkID)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkID_To_core_NetworkID(a.(*corev1alpha1.NetworkID), b.(*core.NetworkID), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkID)(nil), (*v1alpha1.NetworkID)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkID_To_v1alpha1_NetworkID(a.(*core.NetworkID), b.(*v1alpha1.NetworkID), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkID)(nil), (*corev1alpha1.NetworkID)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkID_To_v1alpha1_NetworkID(a.(*core.NetworkID), b.(*corev1alpha1.NetworkID), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkIDClaimRef)(nil), (*core.NetworkIDClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(a.(*v1alpha1.NetworkIDClaimRef), b.(*core.NetworkIDClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkIDClaimRef)(nil), (*core.NetworkIDClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(a.(*corev1alpha1.NetworkIDClaimRef), b.(*core.NetworkIDClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkIDClaimRef)(nil), (*v1alpha1.NetworkIDClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(a.(*core.NetworkIDClaimRef), b.(*v1alpha1.NetworkIDClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkIDClaimRef)(nil), (*corev1alpha1.NetworkIDClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(a.(*core.NetworkIDClaimRef), b.(*corev1alpha1.NetworkIDClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkIDList)(nil), (*core.NetworkIDList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkIDList_To_core_NetworkIDList(a.(*v1alpha1.NetworkIDList), b.(*core.NetworkIDList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkIDList)(nil), (*core.NetworkIDList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkIDList_To_core_NetworkIDList(a.(*corev1alpha1.NetworkIDList), b.(*core.NetworkIDList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkIDList)(nil), (*v1alpha1.NetworkIDList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkIDList_To_v1alpha1_NetworkIDList(a.(*core.NetworkIDList), b.(*v1alpha1.NetworkIDList), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkIDList)(nil), (*corev1alpha1.NetworkIDList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkIDList_To_v1alpha1_NetworkIDList(a.(*core.NetworkIDList), b.(*corev1alpha1.NetworkIDList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkIDSpec)(nil), (*core.NetworkIDSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(a.(*v1alpha1.NetworkIDSpec), b.(*core.NetworkIDSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkIDSpec)(nil), (*core.NetworkIDSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(a.(*corev1alpha1.NetworkIDSpec), b.(*core.NetworkIDSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkIDSpec)(nil), (*v1alpha1.NetworkIDSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(a.(*core.NetworkIDSpec), b.(*v1alpha1.NetworkIDSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkIDSpec)(nil), (*corev1alpha1.NetworkIDSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(a.(*core.NetworkIDSpec), b.(*corev1alpha1.NetworkIDSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterface)(nil), (*core.NetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterface_To_core_NetworkInterface(a.(*v1alpha1.NetworkInterface), b.(*core.NetworkInterface), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterface)(nil), (*core.NetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterface_To_core_NetworkInterface(a.(*corev1alpha1.NetworkInterface), b.(*core.NetworkInterface), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterface)(nil), (*v1alpha1.NetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterface_To_v1alpha1_NetworkInterface(a.(*core.NetworkInterface), b.(*v1alpha1.NetworkInterface), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterface)(nil), (*corev1alpha1.NetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterface_To_v1alpha1_NetworkInterface(a.(*core.NetworkInterface), b.(*corev1alpha1.NetworkInterface), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfaceList)(nil), (*core.NetworkInterfaceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(a.(*v1alpha1.NetworkInterfaceList), b.(*core.NetworkInterfaceList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfaceList)(nil), (*core.NetworkInterfaceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(a.(*corev1alpha1.NetworkInterfaceList), b.(*core.NetworkInterfaceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceList)(nil), (*v1alpha1.NetworkInterfaceList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(a.(*core.NetworkInterfaceList), b.(*v1alpha1.NetworkInterfaceList), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceList)(nil), (*corev1alpha1.NetworkInterfaceList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(a.(*core.NetworkInterfaceList), b.(*corev1alpha1.NetworkInterfaceList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfaceNAT)(nil), (*core.NetworkInterfaceNAT)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(a.(*v1alpha1.NetworkInterfaceNAT), b.(*core.NetworkInterfaceNAT), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfaceNAT)(nil), (*core.NetworkInterfaceNAT)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(a.(*corev1alpha1.NetworkInterfaceNAT), b.(*core.NetworkInterfaceNAT), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceNAT)(nil), (*v1alpha1.NetworkInterfaceNAT)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(a.(*core.NetworkInterfaceNAT), b.(*v1alpha1.NetworkInterfaceNAT), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceNAT)(nil), (*corev1alpha1.NetworkInterfaceNAT)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(a.(*core.NetworkInterfaceNAT), b.(*corev1alpha1.NetworkInterfaceNAT), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfaceNATClaimRef)(nil), (*core.NetworkInterfaceNATClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(a.(*v1alpha1.NetworkInterfaceNATClaimRef), b.(*core.NetworkInterfaceNATClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfaceNATClaimRef)(nil), (*core.NetworkInterfaceNATClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(a.(*corev1alpha1.NetworkInterfaceNATClaimRef), b.(*core.NetworkInterfaceNATClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceNATClaimRef)(nil), (*v1alpha1.NetworkInterfaceNATClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(a.(*core.NetworkInterfaceNATClaimRef), b.(*v1alpha1.NetworkInterfaceNATClaimRef), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceNATClaimRef)(nil), (*corev1alpha1.NetworkInterfaceNATClaimRef)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(a.(*core.NetworkInterfaceNATClaimRef), b.(*corev1alpha1.NetworkInterfaceNATClaimRef), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfacePublicIP)(nil), (*core.NetworkInterfacePublicIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(a.(*v1alpha1.NetworkInterfacePublicIP), b.(*core.NetworkInterfacePublicIP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfacePublicIP)(nil), (*core.NetworkInterfacePublicIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(a.(*corev1alpha1.NetworkInterfacePublicIP), b.(*core.NetworkInterfacePublicIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfacePublicIP)(nil), (*v1alpha1.NetworkInterfacePublicIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(a.(*core.NetworkInterfacePublicIP), b.(*v1alpha1.NetworkInterfacePublicIP), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfacePublicIP)(nil), (*corev1alpha1.NetworkInterfacePublicIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(a.(*core.NetworkInterfacePublicIP), b.(*corev1alpha1.NetworkInterfacePublicIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfaceSpec)(nil), (*core.NetworkInterfaceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(a.(*v1alpha1.NetworkInterfaceSpec), b.(*core.NetworkInterfaceSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfaceSpec)(nil), (*core.NetworkInterfaceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(a.(*corev1alpha1.NetworkInterfaceSpec), b.(*core.NetworkInterfaceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceSpec)(nil), (*v1alpha1.NetworkInterfaceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(a.(*core.NetworkInterfaceSpec), b.(*v1alpha1.NetworkInterfaceSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceSpec)(nil), (*corev1alpha1.NetworkInterfaceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(a.(*core.NetworkInterfaceSpec), b.(*corev1alpha1.NetworkInterfaceSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkInterfaceStatus)(nil), (*core.NetworkInterfaceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(a.(*v1alpha1.NetworkInterfaceStatus), b.(*core.NetworkInterfaceStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkInterfaceStatus)(nil), (*core.NetworkInterfaceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(a.(*corev1alpha1.NetworkInterfaceStatus), b.(*core.NetworkInterfaceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceStatus)(nil), (*v1alpha1.NetworkInterfaceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(a.(*core.NetworkInterfaceStatus), b.(*v1alpha1.NetworkInterfaceStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkInterfaceStatus)(nil), (*corev1alpha1.NetworkInterfaceStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(a.(*core.NetworkInterfaceStatus), b.(*corev1alpha1.NetworkInterfaceStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkList)(nil), (*core.NetworkList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkList_To_core_NetworkList(a.(*v1alpha1.NetworkList), b.(*core.NetworkList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkList)(nil), (*core.NetworkList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkList_To_core_NetworkList(a.(*corev1alpha1.NetworkList), b.(*core.NetworkList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkList)(nil), (*v1alpha1.NetworkList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkList_To_v1alpha1_NetworkList(a.(*core.NetworkList), b.(*v1alpha1.NetworkList), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkList)(nil), (*corev1alpha1.NetworkList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkList_To_v1alpha1_NetworkList(a.(*core.NetworkList), b.(*corev1alpha1.NetworkList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPeering)(nil), (*core.NetworkPeering)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPeering_To_core_NetworkPeering(a.(*v1alpha1.NetworkPeering), b.(*core.NetworkPeering), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPeering)(nil), (*core.NetworkPeering)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPeering_To_core_NetworkPeering(a.(*corev1alpha1.NetworkPeering), b.(*core.NetworkPeering), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPeering)(nil), (*v1alpha1.NetworkPeering)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPeering_To_v1alpha1_NetworkPeering(a.(*core.NetworkPeering), b.(*v1alpha1.NetworkPeering), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPeering)(nil), (*corev1alpha1.NetworkPeering)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPeering_To_v1alpha1_NetworkPeering(a.(*core.NetworkPeering), b.(*corev1alpha1.NetworkPeering), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPeeringStatus)(nil), (*core.NetworkPeeringStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(a.(*v1alpha1.NetworkPeeringStatus), b.(*core.NetworkPeeringStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPeeringStatus)(nil), (*core.NetworkPeeringStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(a.(*corev1alpha1.NetworkPeeringStatus), b.(*core.NetworkPeeringStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPeeringStatus)(nil), (*v1alpha1.NetworkPeeringStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(a.(*core.NetworkPeeringStatus), b.(*v1alpha1.NetworkPeeringStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPeeringStatus)(nil), (*corev1alpha1.NetworkPeeringStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(a.(*core.NetworkPeeringStatus), b.(*corev1alpha1.NetworkPeeringStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicy)(nil), (*core.NetworkPolicy)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(a.(*v1alpha1.NetworkPolicy), b.(*core.NetworkPolicy), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicy)(nil), (*core.NetworkPolicy)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(a.(*corev1alpha1.NetworkPolicy), b.(*core.NetworkPolicy), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicy)(nil), (*v1alpha1.NetworkPolicy)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(a.(*core.NetworkPolicy), b.(*v1alpha1.NetworkPolicy), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicy)(nil), (*corev1alpha1.NetworkPolicy)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(a.(*core.NetworkPolicy), b.(*corev1alpha1.NetworkPolicy), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyEgressRule)(nil), (*core.NetworkPolicyEgressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(a.(*v1alpha1.NetworkPolicyEgressRule), b.(*core.NetworkPolicyEgressRule), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyEgressRule)(nil), (*core.NetworkPolicyEgressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(a.(*corev1alpha1.NetworkPolicyEgressRule), b.(*core.NetworkPolicyEgressRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyEgressRule)(nil), (*v1alpha1.NetworkPolicyEgressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(a.(*core.NetworkPolicyEgressRule), b.(*v1alpha1.NetworkPolicyEgressRule), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyEgressRule)(nil), (*corev1alpha1.NetworkPolicyEgressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(a.(*core.NetworkPolicyEgressRule), b.(*corev1alpha1.NetworkPolicyEgressRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyIngressRule)(nil), (*core.NetworkPolicyIngressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(a.(*v1alpha1.NetworkPolicyIngressRule), b.(*core.NetworkPolicyIngressRule), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyIngressRule)(nil), (*core.NetworkPolicyIngressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(a.(*corev1alpha1.NetworkPolicyIngressRule), b.(*core.NetworkPolicyIngressRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyIngressRule)(nil), (*v1alpha1.NetworkPolicyIngressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(a.(*core.NetworkPolicyIngressRule), b.(*v1alpha1.NetworkPolicyIngressRule), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyIngressRule)(nil), (*corev1alpha1.NetworkPolicyIngressRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(a.(*core.NetworkPolicyIngressRule), b.(*corev1alpha1.NetworkPolicyIngressRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyList)(nil), (*core.NetworkPolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(a.(*v1alpha1.NetworkPolicyList), b.(*core.NetworkPolicyList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyList)(nil), (*core.NetworkPolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(a.(*corev1alpha1.NetworkPolicyList), b.(*core.NetworkPolicyList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyList)(nil), (*v1alpha1.NetworkPolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(a.(*core.NetworkPolicyList), b.(*v1alpha1.NetworkPolicyList), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyList)(nil), (*corev1alpha1.NetworkPolicyList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(a.(*core.NetworkPolicyList), b.(*corev1alpha1.NetworkPolicyList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyPeer)(nil), (*core.NetworkPolicyPeer)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(a.(*v1alpha1.NetworkPolicyPeer), b.(*core.NetworkPolicyPeer), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyPeer)(nil), (*core.NetworkPolicyPeer)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(a.(*corev1alpha1.NetworkPolicyPeer), b.(*core.NetworkPolicyPeer), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyPeer)(nil), (*v1alpha1.NetworkPolicyPeer)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(a.(*core.NetworkPolicyPeer), b.(*v1alpha1.NetworkPolicyPeer), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyPeer)(nil), (*corev1alpha1.NetworkPolicyPeer)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(a.(*core.NetworkPolicyPeer), b.(*corev1alpha1.NetworkPolicyPeer), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyPort)(nil), (*core.NetworkPolicyPort)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(a.(*v1alpha1.NetworkPolicyPort), b.(*core.NetworkPolicyPort), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyPort)(nil), (*core.NetworkPolicyPort)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(a.(*corev1alpha1.NetworkPolicyPort), b.(*core.NetworkPolicyPort), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyPort)(nil), (*v1alpha1.NetworkPolicyPort)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(a.(*core.NetworkPolicyPort), b.(*v1alpha1.NetworkPolicyPort), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyPort)(nil), (*corev1alpha1.NetworkPolicyPort)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(a.(*core.NetworkPolicyPort), b.(*corev1alpha1.NetworkPolicyPort), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyRule)(nil), (*core.NetworkPolicyRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(a.(*v1alpha1.NetworkPolicyRule), b.(*core.NetworkPolicyRule), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyRule)(nil), (*core.NetworkPolicyRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(a.(*corev1alpha1.NetworkPolicyRule), b.(*core.NetworkPolicyRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyRule)(nil), (*v1alpha1.NetworkPolicyRule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(a.(*core.NetworkPolicyRule), b.(*v1alpha1.NetworkPolicyRule), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyRule)(nil), (*corev1alpha1.NetworkPolicyRule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(a.(*core.NetworkPolicyRule), b.(*corev1alpha1.NetworkPolicyRule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicyRuleList)(nil), (*core.NetworkPolicyRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(a.(*v1alpha1.NetworkPolicyRuleList), b.(*core.NetworkPolicyRuleList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicyRuleList)(nil), (*core.NetworkPolicyRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(a.(*corev1alpha1.NetworkPolicyRuleList), b.(*core.NetworkPolicyRuleList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyRuleList)(nil), (*v1alpha1.NetworkPolicyRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(a.(*core.NetworkPolicyRuleList), b.(*v1alpha1.NetworkPolicyRuleList), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicyRuleList)(nil), (*corev1alpha1.NetworkPolicyRuleList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(a.(*core.NetworkPolicyRuleList), b.(*corev1alpha1.NetworkPolicyRuleList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkPolicySpec)(nil), (*core.NetworkPolicySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(a.(*v1alpha1.NetworkPolicySpec), b.(*core.NetworkPolicySpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkPolicySpec)(nil), (*core.NetworkPolicySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(a.(*corev1alpha1.NetworkPolicySpec), b.(*core.NetworkPolicySpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkPolicySpec)(nil), (*v1alpha1.NetworkPolicySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(a.(*core.NetworkPolicySpec), b.(*v1alpha1.NetworkPolicySpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkPolicySpec)(nil), (*corev1alpha1.NetworkPolicySpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(a.(*core.NetworkPolicySpec), b.(*corev1alpha1.NetworkPolicySpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkSpec)(nil), (*core.NetworkSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec(a.(*v1alpha1.NetworkSpec), b.(*core.NetworkSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkSpec)(nil), (*core.NetworkSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec(a.(*corev1alpha1.NetworkSpec), b.(*core.NetworkSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkSpec)(nil), (*v1alpha1.NetworkSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec(a.(*core.NetworkSpec), b.(*v1alpha1.NetworkSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkSpec)(nil), (*corev1alpha1.NetworkSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec(a.(*core.NetworkSpec), b.(*corev1alpha1.NetworkSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NetworkStatus)(nil), (*core.NetworkStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NetworkStatus_To_core_NetworkStatus(a.(*v1alpha1.NetworkStatus), b.(*core.NetworkStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NetworkStatus)(nil), (*core.NetworkStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NetworkStatus_To_core_NetworkStatus(a.(*corev1alpha1.NetworkStatus), b.(*core.NetworkStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NetworkStatus)(nil), (*v1alpha1.NetworkStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NetworkStatus_To_v1alpha1_NetworkStatus(a.(*core.NetworkStatus), b.(*v1alpha1.NetworkStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NetworkStatus)(nil), (*corev1alpha1.NetworkStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NetworkStatus_To_v1alpha1_NetworkStatus(a.(*core.NetworkStatus), b.(*corev1alpha1.NetworkStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.Node)(nil), (*core.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Node_To_core_Node(a.(*v1alpha1.Node), b.(*core.Node), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.Node)(nil), (*core.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Node_To_core_Node(a.(*corev1alpha1.Node), b.(*core.Node), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.Node)(nil), (*v1alpha1.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_Node_To_v1alpha1_Node(a.(*core.Node), b.(*v1alpha1.Node), scope) + if err := s.AddGeneratedConversionFunc((*core.Node)(nil), (*corev1alpha1.Node)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_Node_To_v1alpha1_Node(a.(*core.Node), b.(*corev1alpha1.Node), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeAffinity)(nil), (*core.NodeAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeAffinity_To_core_NodeAffinity(a.(*v1alpha1.NodeAffinity), b.(*core.NodeAffinity), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeAffinity)(nil), (*core.NodeAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeAffinity_To_core_NodeAffinity(a.(*corev1alpha1.NodeAffinity), b.(*core.NodeAffinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeAffinity)(nil), (*v1alpha1.NodeAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeAffinity_To_v1alpha1_NodeAffinity(a.(*core.NodeAffinity), b.(*v1alpha1.NodeAffinity), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeAffinity)(nil), (*corev1alpha1.NodeAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeAffinity_To_v1alpha1_NodeAffinity(a.(*core.NodeAffinity), b.(*corev1alpha1.NodeAffinity), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeList)(nil), (*core.NodeList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeList_To_core_NodeList(a.(*v1alpha1.NodeList), b.(*core.NodeList), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeList)(nil), (*core.NodeList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeList_To_core_NodeList(a.(*corev1alpha1.NodeList), b.(*core.NodeList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeList)(nil), (*v1alpha1.NodeList)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeList_To_v1alpha1_NodeList(a.(*core.NodeList), b.(*v1alpha1.NodeList), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeList)(nil), (*corev1alpha1.NodeList)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeList_To_v1alpha1_NodeList(a.(*core.NodeList), b.(*corev1alpha1.NodeList), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeSelector)(nil), (*core.NodeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeSelector_To_core_NodeSelector(a.(*v1alpha1.NodeSelector), b.(*core.NodeSelector), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeSelector)(nil), (*core.NodeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeSelector_To_core_NodeSelector(a.(*corev1alpha1.NodeSelector), b.(*core.NodeSelector), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeSelector)(nil), (*v1alpha1.NodeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeSelector_To_v1alpha1_NodeSelector(a.(*core.NodeSelector), b.(*v1alpha1.NodeSelector), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeSelector)(nil), (*corev1alpha1.NodeSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeSelector_To_v1alpha1_NodeSelector(a.(*core.NodeSelector), b.(*corev1alpha1.NodeSelector), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeSelectorRequirement)(nil), (*core.NodeSelectorRequirement)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(a.(*v1alpha1.NodeSelectorRequirement), b.(*core.NodeSelectorRequirement), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeSelectorRequirement)(nil), (*core.NodeSelectorRequirement)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(a.(*corev1alpha1.NodeSelectorRequirement), b.(*core.NodeSelectorRequirement), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeSelectorRequirement)(nil), (*v1alpha1.NodeSelectorRequirement)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(a.(*core.NodeSelectorRequirement), b.(*v1alpha1.NodeSelectorRequirement), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeSelectorRequirement)(nil), (*corev1alpha1.NodeSelectorRequirement)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(a.(*core.NodeSelectorRequirement), b.(*corev1alpha1.NodeSelectorRequirement), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeSelectorTerm)(nil), (*core.NodeSelectorTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(a.(*v1alpha1.NodeSelectorTerm), b.(*core.NodeSelectorTerm), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeSelectorTerm)(nil), (*core.NodeSelectorTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(a.(*corev1alpha1.NodeSelectorTerm), b.(*core.NodeSelectorTerm), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeSelectorTerm)(nil), (*v1alpha1.NodeSelectorTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(a.(*core.NodeSelectorTerm), b.(*v1alpha1.NodeSelectorTerm), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeSelectorTerm)(nil), (*corev1alpha1.NodeSelectorTerm)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(a.(*core.NodeSelectorTerm), b.(*corev1alpha1.NodeSelectorTerm), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeSpec)(nil), (*core.NodeSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeSpec_To_core_NodeSpec(a.(*v1alpha1.NodeSpec), b.(*core.NodeSpec), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeSpec)(nil), (*core.NodeSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeSpec_To_core_NodeSpec(a.(*corev1alpha1.NodeSpec), b.(*core.NodeSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeSpec)(nil), (*v1alpha1.NodeSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeSpec_To_v1alpha1_NodeSpec(a.(*core.NodeSpec), b.(*v1alpha1.NodeSpec), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeSpec)(nil), (*corev1alpha1.NodeSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeSpec_To_v1alpha1_NodeSpec(a.(*core.NodeSpec), b.(*corev1alpha1.NodeSpec), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.NodeStatus)(nil), (*core.NodeStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_NodeStatus_To_core_NodeStatus(a.(*v1alpha1.NodeStatus), b.(*core.NodeStatus), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.NodeStatus)(nil), (*core.NodeStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_NodeStatus_To_core_NodeStatus(a.(*corev1alpha1.NodeStatus), b.(*core.NodeStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.NodeStatus)(nil), (*v1alpha1.NodeStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_NodeStatus_To_v1alpha1_NodeStatus(a.(*core.NodeStatus), b.(*v1alpha1.NodeStatus), scope) + if err := s.AddGeneratedConversionFunc((*core.NodeStatus)(nil), (*corev1alpha1.NodeStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_NodeStatus_To_v1alpha1_NodeStatus(a.(*core.NodeStatus), b.(*corev1alpha1.NodeStatus), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.ObjectIP)(nil), (*core.ObjectIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ObjectIP_To_core_ObjectIP(a.(*v1alpha1.ObjectIP), b.(*core.ObjectIP), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.ObjectIP)(nil), (*core.ObjectIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ObjectIP_To_core_ObjectIP(a.(*corev1alpha1.ObjectIP), b.(*core.ObjectIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.ObjectIP)(nil), (*v1alpha1.ObjectIP)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_ObjectIP_To_v1alpha1_ObjectIP(a.(*core.ObjectIP), b.(*v1alpha1.ObjectIP), scope) + if err := s.AddGeneratedConversionFunc((*core.ObjectIP)(nil), (*corev1alpha1.ObjectIP)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_ObjectIP_To_v1alpha1_ObjectIP(a.(*core.ObjectIP), b.(*corev1alpha1.ObjectIP), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.ObjectSelector)(nil), (*core.ObjectSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_ObjectSelector_To_core_ObjectSelector(a.(*v1alpha1.ObjectSelector), b.(*core.ObjectSelector), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.ObjectSelector)(nil), (*core.ObjectSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_ObjectSelector_To_core_ObjectSelector(a.(*corev1alpha1.ObjectSelector), b.(*core.ObjectSelector), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.ObjectSelector)(nil), (*v1alpha1.ObjectSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_ObjectSelector_To_v1alpha1_ObjectSelector(a.(*core.ObjectSelector), b.(*v1alpha1.ObjectSelector), scope) + if err := s.AddGeneratedConversionFunc((*core.ObjectSelector)(nil), (*corev1alpha1.ObjectSelector)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_ObjectSelector_To_v1alpha1_ObjectSelector(a.(*core.ObjectSelector), b.(*corev1alpha1.ObjectSelector), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.PCIAddress)(nil), (*core.PCIAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PCIAddress_To_core_PCIAddress(a.(*v1alpha1.PCIAddress), b.(*core.PCIAddress), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.PCIAddress)(nil), (*core.PCIAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PCIAddress_To_core_PCIAddress(a.(*corev1alpha1.PCIAddress), b.(*core.PCIAddress), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.PCIAddress)(nil), (*v1alpha1.PCIAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_PCIAddress_To_v1alpha1_PCIAddress(a.(*core.PCIAddress), b.(*v1alpha1.PCIAddress), scope) + if err := s.AddGeneratedConversionFunc((*core.PCIAddress)(nil), (*corev1alpha1.PCIAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_PCIAddress_To_v1alpha1_PCIAddress(a.(*core.PCIAddress), b.(*corev1alpha1.PCIAddress), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.PeeringPrefix)(nil), (*core.PeeringPrefix)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(a.(*v1alpha1.PeeringPrefix), b.(*core.PeeringPrefix), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.PeeringPrefix)(nil), (*core.PeeringPrefix)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(a.(*corev1alpha1.PeeringPrefix), b.(*core.PeeringPrefix), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.PeeringPrefix)(nil), (*v1alpha1.PeeringPrefix)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(a.(*core.PeeringPrefix), b.(*v1alpha1.PeeringPrefix), scope) + if err := s.AddGeneratedConversionFunc((*core.PeeringPrefix)(nil), (*corev1alpha1.PeeringPrefix)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(a.(*core.PeeringPrefix), b.(*corev1alpha1.PeeringPrefix), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.Rule)(nil), (*core.Rule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_Rule_To_core_Rule(a.(*v1alpha1.Rule), b.(*core.Rule), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.Rule)(nil), (*core.Rule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_Rule_To_core_Rule(a.(*corev1alpha1.Rule), b.(*core.Rule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.Rule)(nil), (*v1alpha1.Rule)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_Rule_To_v1alpha1_Rule(a.(*core.Rule), b.(*v1alpha1.Rule), scope) + if err := s.AddGeneratedConversionFunc((*core.Rule)(nil), (*corev1alpha1.Rule)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_Rule_To_v1alpha1_Rule(a.(*core.Rule), b.(*corev1alpha1.Rule), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.TAPDevice)(nil), (*core.TAPDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_TAPDevice_To_core_TAPDevice(a.(*v1alpha1.TAPDevice), b.(*core.TAPDevice), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.TAPDevice)(nil), (*core.TAPDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_TAPDevice_To_core_TAPDevice(a.(*corev1alpha1.TAPDevice), b.(*core.TAPDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.TAPDevice)(nil), (*v1alpha1.TAPDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_TAPDevice_To_v1alpha1_TAPDevice(a.(*core.TAPDevice), b.(*v1alpha1.TAPDevice), scope) + if err := s.AddGeneratedConversionFunc((*core.TAPDevice)(nil), (*corev1alpha1.TAPDevice)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_TAPDevice_To_v1alpha1_TAPDevice(a.(*core.TAPDevice), b.(*corev1alpha1.TAPDevice), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.TargetNetworkInterface)(nil), (*core.TargetNetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(a.(*v1alpha1.TargetNetworkInterface), b.(*core.TargetNetworkInterface), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.TargetNetworkInterface)(nil), (*core.TargetNetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(a.(*corev1alpha1.TargetNetworkInterface), b.(*core.TargetNetworkInterface), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.TargetNetworkInterface)(nil), (*v1alpha1.TargetNetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(a.(*core.TargetNetworkInterface), b.(*v1alpha1.TargetNetworkInterface), scope) + if err := s.AddGeneratedConversionFunc((*core.TargetNetworkInterface)(nil), (*corev1alpha1.TargetNetworkInterface)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(a.(*core.TargetNetworkInterface), b.(*corev1alpha1.TargetNetworkInterface), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1alpha1.TopologySpreadConstraint)(nil), (*core.TopologySpreadConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(a.(*v1alpha1.TopologySpreadConstraint), b.(*core.TopologySpreadConstraint), scope) + if err := s.AddGeneratedConversionFunc((*corev1alpha1.TopologySpreadConstraint)(nil), (*core.TopologySpreadConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(a.(*corev1alpha1.TopologySpreadConstraint), b.(*core.TopologySpreadConstraint), scope) }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*core.TopologySpreadConstraint)(nil), (*v1alpha1.TopologySpreadConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(a.(*core.TopologySpreadConstraint), b.(*v1alpha1.TopologySpreadConstraint), scope) + if err := s.AddGeneratedConversionFunc((*core.TopologySpreadConstraint)(nil), (*corev1alpha1.TopologySpreadConstraint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(a.(*core.TopologySpreadConstraint), b.(*corev1alpha1.TopologySpreadConstraint), scope) }); err != nil { return err } return nil } -func autoConvert_v1alpha1_Affinity_To_core_Affinity(in *v1alpha1.Affinity, out *core.Affinity, s conversion.Scope) error { +func autoConvert_v1alpha1_Affinity_To_core_Affinity(in *corev1alpha1.Affinity, out *core.Affinity, s conversion.Scope) error { out.NodeAffinity = (*core.NodeAffinity)(unsafe.Pointer(in.NodeAffinity)) out.InstanceAntiAffinity = (*core.InstanceAntiAffinity)(unsafe.Pointer(in.InstanceAntiAffinity)) return nil } // Convert_v1alpha1_Affinity_To_core_Affinity is an autogenerated conversion function. -func Convert_v1alpha1_Affinity_To_core_Affinity(in *v1alpha1.Affinity, out *core.Affinity, s conversion.Scope) error { +func Convert_v1alpha1_Affinity_To_core_Affinity(in *corev1alpha1.Affinity, out *core.Affinity, s conversion.Scope) error { return autoConvert_v1alpha1_Affinity_To_core_Affinity(in, out, s) } -func autoConvert_core_Affinity_To_v1alpha1_Affinity(in *core.Affinity, out *v1alpha1.Affinity, s conversion.Scope) error { - out.NodeAffinity = (*v1alpha1.NodeAffinity)(unsafe.Pointer(in.NodeAffinity)) - out.InstanceAntiAffinity = (*v1alpha1.InstanceAntiAffinity)(unsafe.Pointer(in.InstanceAntiAffinity)) +func autoConvert_core_Affinity_To_v1alpha1_Affinity(in *core.Affinity, out *corev1alpha1.Affinity, s conversion.Scope) error { + out.NodeAffinity = (*corev1alpha1.NodeAffinity)(unsafe.Pointer(in.NodeAffinity)) + out.InstanceAntiAffinity = (*corev1alpha1.InstanceAntiAffinity)(unsafe.Pointer(in.InstanceAntiAffinity)) return nil } // Convert_core_Affinity_To_v1alpha1_Affinity is an autogenerated conversion function. -func Convert_core_Affinity_To_v1alpha1_Affinity(in *core.Affinity, out *v1alpha1.Affinity, s conversion.Scope) error { +func Convert_core_Affinity_To_v1alpha1_Affinity(in *core.Affinity, out *corev1alpha1.Affinity, s conversion.Scope) error { return autoConvert_core_Affinity_To_v1alpha1_Affinity(in, out, s) } -func autoConvert_v1alpha1_DaemonSet_To_core_DaemonSet(in *v1alpha1.DaemonSet, out *core.DaemonSet, s conversion.Scope) error { +func autoConvert_v1alpha1_DaemonSet_To_core_DaemonSet(in *corev1alpha1.DaemonSet, out *core.DaemonSet, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -955,11 +955,11 @@ func autoConvert_v1alpha1_DaemonSet_To_core_DaemonSet(in *v1alpha1.DaemonSet, ou } // Convert_v1alpha1_DaemonSet_To_core_DaemonSet is an autogenerated conversion function. -func Convert_v1alpha1_DaemonSet_To_core_DaemonSet(in *v1alpha1.DaemonSet, out *core.DaemonSet, s conversion.Scope) error { +func Convert_v1alpha1_DaemonSet_To_core_DaemonSet(in *corev1alpha1.DaemonSet, out *core.DaemonSet, s conversion.Scope) error { return autoConvert_v1alpha1_DaemonSet_To_core_DaemonSet(in, out, s) } -func autoConvert_core_DaemonSet_To_v1alpha1_DaemonSet(in *core.DaemonSet, out *v1alpha1.DaemonSet, s conversion.Scope) error { +func autoConvert_core_DaemonSet_To_v1alpha1_DaemonSet(in *core.DaemonSet, out *corev1alpha1.DaemonSet, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -971,33 +971,33 @@ func autoConvert_core_DaemonSet_To_v1alpha1_DaemonSet(in *core.DaemonSet, out *v } // Convert_core_DaemonSet_To_v1alpha1_DaemonSet is an autogenerated conversion function. -func Convert_core_DaemonSet_To_v1alpha1_DaemonSet(in *core.DaemonSet, out *v1alpha1.DaemonSet, s conversion.Scope) error { +func Convert_core_DaemonSet_To_v1alpha1_DaemonSet(in *core.DaemonSet, out *corev1alpha1.DaemonSet, s conversion.Scope) error { return autoConvert_core_DaemonSet_To_v1alpha1_DaemonSet(in, out, s) } -func autoConvert_v1alpha1_DaemonSetList_To_core_DaemonSetList(in *v1alpha1.DaemonSetList, out *core.DaemonSetList, s conversion.Scope) error { +func autoConvert_v1alpha1_DaemonSetList_To_core_DaemonSetList(in *corev1alpha1.DaemonSetList, out *core.DaemonSetList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.DaemonSet)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_DaemonSetList_To_core_DaemonSetList is an autogenerated conversion function. -func Convert_v1alpha1_DaemonSetList_To_core_DaemonSetList(in *v1alpha1.DaemonSetList, out *core.DaemonSetList, s conversion.Scope) error { +func Convert_v1alpha1_DaemonSetList_To_core_DaemonSetList(in *corev1alpha1.DaemonSetList, out *core.DaemonSetList, s conversion.Scope) error { return autoConvert_v1alpha1_DaemonSetList_To_core_DaemonSetList(in, out, s) } -func autoConvert_core_DaemonSetList_To_v1alpha1_DaemonSetList(in *core.DaemonSetList, out *v1alpha1.DaemonSetList, s conversion.Scope) error { +func autoConvert_core_DaemonSetList_To_v1alpha1_DaemonSetList(in *core.DaemonSetList, out *corev1alpha1.DaemonSetList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.DaemonSet)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.DaemonSet)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_DaemonSetList_To_v1alpha1_DaemonSetList is an autogenerated conversion function. -func Convert_core_DaemonSetList_To_v1alpha1_DaemonSetList(in *core.DaemonSetList, out *v1alpha1.DaemonSetList, s conversion.Scope) error { +func Convert_core_DaemonSetList_To_v1alpha1_DaemonSetList(in *core.DaemonSetList, out *corev1alpha1.DaemonSetList, s conversion.Scope) error { return autoConvert_core_DaemonSetList_To_v1alpha1_DaemonSetList(in, out, s) } -func autoConvert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in *v1alpha1.DaemonSetSpec, out *core.DaemonSetSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in *corev1alpha1.DaemonSetSpec, out *core.DaemonSetSpec, s conversion.Scope) error { out.Selector = (*v1.LabelSelector)(unsafe.Pointer(in.Selector)) if err := Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(&in.Template, &out.Template, s); err != nil { return err @@ -1006,11 +1006,11 @@ func autoConvert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in *v1alpha1.Daemo } // Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec is an autogenerated conversion function. -func Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in *v1alpha1.DaemonSetSpec, out *core.DaemonSetSpec, s conversion.Scope) error { +func Convert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in *corev1alpha1.DaemonSetSpec, out *core.DaemonSetSpec, s conversion.Scope) error { return autoConvert_v1alpha1_DaemonSetSpec_To_core_DaemonSetSpec(in, out, s) } -func autoConvert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in *core.DaemonSetSpec, out *v1alpha1.DaemonSetSpec, s conversion.Scope) error { +func autoConvert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in *core.DaemonSetSpec, out *corev1alpha1.DaemonSetSpec, s conversion.Scope) error { out.Selector = (*v1.LabelSelector)(unsafe.Pointer(in.Selector)) if err := Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(&in.Template, &out.Template, s); err != nil { return err @@ -1019,31 +1019,31 @@ func autoConvert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in *core.DaemonSet } // Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec is an autogenerated conversion function. -func Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in *core.DaemonSetSpec, out *v1alpha1.DaemonSetSpec, s conversion.Scope) error { +func Convert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in *core.DaemonSetSpec, out *corev1alpha1.DaemonSetSpec, s conversion.Scope) error { return autoConvert_core_DaemonSetSpec_To_v1alpha1_DaemonSetSpec(in, out, s) } -func autoConvert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(in *v1alpha1.DaemonSetStatus, out *core.DaemonSetStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(in *corev1alpha1.DaemonSetStatus, out *core.DaemonSetStatus, s conversion.Scope) error { out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus is an autogenerated conversion function. -func Convert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(in *v1alpha1.DaemonSetStatus, out *core.DaemonSetStatus, s conversion.Scope) error { +func Convert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(in *corev1alpha1.DaemonSetStatus, out *core.DaemonSetStatus, s conversion.Scope) error { return autoConvert_v1alpha1_DaemonSetStatus_To_core_DaemonSetStatus(in, out, s) } -func autoConvert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(in *core.DaemonSetStatus, out *v1alpha1.DaemonSetStatus, s conversion.Scope) error { +func autoConvert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(in *core.DaemonSetStatus, out *corev1alpha1.DaemonSetStatus, s conversion.Scope) error { out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus is an autogenerated conversion function. -func Convert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(in *core.DaemonSetStatus, out *v1alpha1.DaemonSetStatus, s conversion.Scope) error { +func Convert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(in *core.DaemonSetStatus, out *corev1alpha1.DaemonSetStatus, s conversion.Scope) error { return autoConvert_core_DaemonSetStatus_To_v1alpha1_DaemonSetStatus(in, out, s) } -func autoConvert_v1alpha1_IP_To_core_IP(in *v1alpha1.IP, out *core.IP, s conversion.Scope) error { +func autoConvert_v1alpha1_IP_To_core_IP(in *corev1alpha1.IP, out *core.IP, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_IPSpec_To_core_IPSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1055,11 +1055,11 @@ func autoConvert_v1alpha1_IP_To_core_IP(in *v1alpha1.IP, out *core.IP, s convers } // Convert_v1alpha1_IP_To_core_IP is an autogenerated conversion function. -func Convert_v1alpha1_IP_To_core_IP(in *v1alpha1.IP, out *core.IP, s conversion.Scope) error { +func Convert_v1alpha1_IP_To_core_IP(in *corev1alpha1.IP, out *core.IP, s conversion.Scope) error { return autoConvert_v1alpha1_IP_To_core_IP(in, out, s) } -func autoConvert_core_IP_To_v1alpha1_IP(in *core.IP, out *v1alpha1.IP, s conversion.Scope) error { +func autoConvert_core_IP_To_v1alpha1_IP(in *core.IP, out *corev1alpha1.IP, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_IPSpec_To_v1alpha1_IPSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1071,11 +1071,11 @@ func autoConvert_core_IP_To_v1alpha1_IP(in *core.IP, out *v1alpha1.IP, s convers } // Convert_core_IP_To_v1alpha1_IP is an autogenerated conversion function. -func Convert_core_IP_To_v1alpha1_IP(in *core.IP, out *v1alpha1.IP, s conversion.Scope) error { +func Convert_core_IP_To_v1alpha1_IP(in *core.IP, out *corev1alpha1.IP, s conversion.Scope) error { return autoConvert_core_IP_To_v1alpha1_IP(in, out, s) } -func autoConvert_v1alpha1_IPAddress_To_core_IPAddress(in *v1alpha1.IPAddress, out *core.IPAddress, s conversion.Scope) error { +func autoConvert_v1alpha1_IPAddress_To_core_IPAddress(in *corev1alpha1.IPAddress, out *core.IPAddress, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1084,11 +1084,11 @@ func autoConvert_v1alpha1_IPAddress_To_core_IPAddress(in *v1alpha1.IPAddress, ou } // Convert_v1alpha1_IPAddress_To_core_IPAddress is an autogenerated conversion function. -func Convert_v1alpha1_IPAddress_To_core_IPAddress(in *v1alpha1.IPAddress, out *core.IPAddress, s conversion.Scope) error { +func Convert_v1alpha1_IPAddress_To_core_IPAddress(in *corev1alpha1.IPAddress, out *core.IPAddress, s conversion.Scope) error { return autoConvert_v1alpha1_IPAddress_To_core_IPAddress(in, out, s) } -func autoConvert_core_IPAddress_To_v1alpha1_IPAddress(in *core.IPAddress, out *v1alpha1.IPAddress, s conversion.Scope) error { +func autoConvert_core_IPAddress_To_v1alpha1_IPAddress(in *core.IPAddress, out *corev1alpha1.IPAddress, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1097,11 +1097,11 @@ func autoConvert_core_IPAddress_To_v1alpha1_IPAddress(in *core.IPAddress, out *v } // Convert_core_IPAddress_To_v1alpha1_IPAddress is an autogenerated conversion function. -func Convert_core_IPAddress_To_v1alpha1_IPAddress(in *core.IPAddress, out *v1alpha1.IPAddress, s conversion.Scope) error { +func Convert_core_IPAddress_To_v1alpha1_IPAddress(in *core.IPAddress, out *corev1alpha1.IPAddress, s conversion.Scope) error { return autoConvert_core_IPAddress_To_v1alpha1_IPAddress(in, out, s) } -func autoConvert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in *v1alpha1.IPAddressClaimRef, out *core.IPAddressClaimRef, s conversion.Scope) error { +func autoConvert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in *corev1alpha1.IPAddressClaimRef, out *core.IPAddressClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Namespace = in.Namespace @@ -1111,11 +1111,11 @@ func autoConvert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in *v1alph } // Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef is an autogenerated conversion function. -func Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in *v1alpha1.IPAddressClaimRef, out *core.IPAddressClaimRef, s conversion.Scope) error { +func Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in *corev1alpha1.IPAddressClaimRef, out *core.IPAddressClaimRef, s conversion.Scope) error { return autoConvert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(in, out, s) } -func autoConvert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in *core.IPAddressClaimRef, out *v1alpha1.IPAddressClaimRef, s conversion.Scope) error { +func autoConvert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in *core.IPAddressClaimRef, out *corev1alpha1.IPAddressClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Namespace = in.Namespace @@ -1125,33 +1125,33 @@ func autoConvert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in *core.I } // Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef is an autogenerated conversion function. -func Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in *core.IPAddressClaimRef, out *v1alpha1.IPAddressClaimRef, s conversion.Scope) error { +func Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in *core.IPAddressClaimRef, out *corev1alpha1.IPAddressClaimRef, s conversion.Scope) error { return autoConvert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(in, out, s) } -func autoConvert_v1alpha1_IPAddressList_To_core_IPAddressList(in *v1alpha1.IPAddressList, out *core.IPAddressList, s conversion.Scope) error { +func autoConvert_v1alpha1_IPAddressList_To_core_IPAddressList(in *corev1alpha1.IPAddressList, out *core.IPAddressList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.IPAddress)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_IPAddressList_To_core_IPAddressList is an autogenerated conversion function. -func Convert_v1alpha1_IPAddressList_To_core_IPAddressList(in *v1alpha1.IPAddressList, out *core.IPAddressList, s conversion.Scope) error { +func Convert_v1alpha1_IPAddressList_To_core_IPAddressList(in *corev1alpha1.IPAddressList, out *core.IPAddressList, s conversion.Scope) error { return autoConvert_v1alpha1_IPAddressList_To_core_IPAddressList(in, out, s) } -func autoConvert_core_IPAddressList_To_v1alpha1_IPAddressList(in *core.IPAddressList, out *v1alpha1.IPAddressList, s conversion.Scope) error { +func autoConvert_core_IPAddressList_To_v1alpha1_IPAddressList(in *core.IPAddressList, out *corev1alpha1.IPAddressList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.IPAddress)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.IPAddress)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_IPAddressList_To_v1alpha1_IPAddressList is an autogenerated conversion function. -func Convert_core_IPAddressList_To_v1alpha1_IPAddressList(in *core.IPAddressList, out *v1alpha1.IPAddressList, s conversion.Scope) error { +func Convert_core_IPAddressList_To_v1alpha1_IPAddressList(in *core.IPAddressList, out *corev1alpha1.IPAddressList, s conversion.Scope) error { return autoConvert_core_IPAddressList_To_v1alpha1_IPAddressList(in, out, s) } -func autoConvert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in *v1alpha1.IPAddressSpec, out *core.IPAddressSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in *corev1alpha1.IPAddressSpec, out *core.IPAddressSpec, s conversion.Scope) error { out.IP = in.IP if err := Convert_v1alpha1_IPAddressClaimRef_To_core_IPAddressClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err @@ -1160,11 +1160,11 @@ func autoConvert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in *v1alpha1.IPAdd } // Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec is an autogenerated conversion function. -func Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in *v1alpha1.IPAddressSpec, out *core.IPAddressSpec, s conversion.Scope) error { +func Convert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in *corev1alpha1.IPAddressSpec, out *core.IPAddressSpec, s conversion.Scope) error { return autoConvert_v1alpha1_IPAddressSpec_To_core_IPAddressSpec(in, out, s) } -func autoConvert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *core.IPAddressSpec, out *v1alpha1.IPAddressSpec, s conversion.Scope) error { +func autoConvert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *core.IPAddressSpec, out *corev1alpha1.IPAddressSpec, s conversion.Scope) error { out.IP = in.IP if err := Convert_core_IPAddressClaimRef_To_v1alpha1_IPAddressClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err @@ -1173,33 +1173,33 @@ func autoConvert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *core.IPAddress } // Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec is an autogenerated conversion function. -func Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *core.IPAddressSpec, out *v1alpha1.IPAddressSpec, s conversion.Scope) error { +func Convert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in *core.IPAddressSpec, out *corev1alpha1.IPAddressSpec, s conversion.Scope) error { return autoConvert_core_IPAddressSpec_To_v1alpha1_IPAddressSpec(in, out, s) } -func autoConvert_v1alpha1_IPBlock_To_core_IPBlock(in *v1alpha1.IPBlock, out *core.IPBlock, s conversion.Scope) error { +func autoConvert_v1alpha1_IPBlock_To_core_IPBlock(in *corev1alpha1.IPBlock, out *core.IPBlock, s conversion.Scope) error { out.CIDR = in.CIDR out.Except = *(*[]net.IPPrefix)(unsafe.Pointer(&in.Except)) return nil } // Convert_v1alpha1_IPBlock_To_core_IPBlock is an autogenerated conversion function. -func Convert_v1alpha1_IPBlock_To_core_IPBlock(in *v1alpha1.IPBlock, out *core.IPBlock, s conversion.Scope) error { +func Convert_v1alpha1_IPBlock_To_core_IPBlock(in *corev1alpha1.IPBlock, out *core.IPBlock, s conversion.Scope) error { return autoConvert_v1alpha1_IPBlock_To_core_IPBlock(in, out, s) } -func autoConvert_core_IPBlock_To_v1alpha1_IPBlock(in *core.IPBlock, out *v1alpha1.IPBlock, s conversion.Scope) error { +func autoConvert_core_IPBlock_To_v1alpha1_IPBlock(in *core.IPBlock, out *corev1alpha1.IPBlock, s conversion.Scope) error { out.CIDR = in.CIDR out.Except = *(*[]net.IPPrefix)(unsafe.Pointer(&in.Except)) return nil } // Convert_core_IPBlock_To_v1alpha1_IPBlock is an autogenerated conversion function. -func Convert_core_IPBlock_To_v1alpha1_IPBlock(in *core.IPBlock, out *v1alpha1.IPBlock, s conversion.Scope) error { +func Convert_core_IPBlock_To_v1alpha1_IPBlock(in *core.IPBlock, out *corev1alpha1.IPBlock, s conversion.Scope) error { return autoConvert_core_IPBlock_To_v1alpha1_IPBlock(in, out, s) } -func autoConvert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in *v1alpha1.IPClaimRef, out *core.IPClaimRef, s conversion.Scope) error { +func autoConvert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in *corev1alpha1.IPClaimRef, out *core.IPClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Name = in.Name @@ -1208,11 +1208,11 @@ func autoConvert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in *v1alpha1.IPClaimRef, } // Convert_v1alpha1_IPClaimRef_To_core_IPClaimRef is an autogenerated conversion function. -func Convert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in *v1alpha1.IPClaimRef, out *core.IPClaimRef, s conversion.Scope) error { +func Convert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in *corev1alpha1.IPClaimRef, out *core.IPClaimRef, s conversion.Scope) error { return autoConvert_v1alpha1_IPClaimRef_To_core_IPClaimRef(in, out, s) } -func autoConvert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in *core.IPClaimRef, out *v1alpha1.IPClaimRef, s conversion.Scope) error { +func autoConvert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in *core.IPClaimRef, out *corev1alpha1.IPClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Name = in.Name @@ -1221,33 +1221,33 @@ func autoConvert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in *core.IPClaimRef, out } // Convert_core_IPClaimRef_To_v1alpha1_IPClaimRef is an autogenerated conversion function. -func Convert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in *core.IPClaimRef, out *v1alpha1.IPClaimRef, s conversion.Scope) error { +func Convert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in *core.IPClaimRef, out *corev1alpha1.IPClaimRef, s conversion.Scope) error { return autoConvert_core_IPClaimRef_To_v1alpha1_IPClaimRef(in, out, s) } -func autoConvert_v1alpha1_IPList_To_core_IPList(in *v1alpha1.IPList, out *core.IPList, s conversion.Scope) error { +func autoConvert_v1alpha1_IPList_To_core_IPList(in *corev1alpha1.IPList, out *core.IPList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.IP)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_IPList_To_core_IPList is an autogenerated conversion function. -func Convert_v1alpha1_IPList_To_core_IPList(in *v1alpha1.IPList, out *core.IPList, s conversion.Scope) error { +func Convert_v1alpha1_IPList_To_core_IPList(in *corev1alpha1.IPList, out *core.IPList, s conversion.Scope) error { return autoConvert_v1alpha1_IPList_To_core_IPList(in, out, s) } -func autoConvert_core_IPList_To_v1alpha1_IPList(in *core.IPList, out *v1alpha1.IPList, s conversion.Scope) error { +func autoConvert_core_IPList_To_v1alpha1_IPList(in *core.IPList, out *corev1alpha1.IPList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.IP)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.IP)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_IPList_To_v1alpha1_IPList is an autogenerated conversion function. -func Convert_core_IPList_To_v1alpha1_IPList(in *core.IPList, out *v1alpha1.IPList, s conversion.Scope) error { +func Convert_core_IPList_To_v1alpha1_IPList(in *core.IPList, out *corev1alpha1.IPList, s conversion.Scope) error { return autoConvert_core_IPList_To_v1alpha1_IPList(in, out, s) } -func autoConvert_v1alpha1_IPSpec_To_core_IPSpec(in *v1alpha1.IPSpec, out *core.IPSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_IPSpec_To_core_IPSpec(in *corev1alpha1.IPSpec, out *core.IPSpec, s conversion.Scope) error { out.Type = core.IPType(in.Type) out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP @@ -1256,42 +1256,42 @@ func autoConvert_v1alpha1_IPSpec_To_core_IPSpec(in *v1alpha1.IPSpec, out *core.I } // Convert_v1alpha1_IPSpec_To_core_IPSpec is an autogenerated conversion function. -func Convert_v1alpha1_IPSpec_To_core_IPSpec(in *v1alpha1.IPSpec, out *core.IPSpec, s conversion.Scope) error { +func Convert_v1alpha1_IPSpec_To_core_IPSpec(in *corev1alpha1.IPSpec, out *core.IPSpec, s conversion.Scope) error { return autoConvert_v1alpha1_IPSpec_To_core_IPSpec(in, out, s) } -func autoConvert_core_IPSpec_To_v1alpha1_IPSpec(in *core.IPSpec, out *v1alpha1.IPSpec, s conversion.Scope) error { - out.Type = v1alpha1.IPType(in.Type) +func autoConvert_core_IPSpec_To_v1alpha1_IPSpec(in *core.IPSpec, out *corev1alpha1.IPSpec, s conversion.Scope) error { + out.Type = corev1alpha1.IPType(in.Type) out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP - out.ClaimRef = (*v1alpha1.IPClaimRef)(unsafe.Pointer(in.ClaimRef)) + out.ClaimRef = (*corev1alpha1.IPClaimRef)(unsafe.Pointer(in.ClaimRef)) return nil } // Convert_core_IPSpec_To_v1alpha1_IPSpec is an autogenerated conversion function. -func Convert_core_IPSpec_To_v1alpha1_IPSpec(in *core.IPSpec, out *v1alpha1.IPSpec, s conversion.Scope) error { +func Convert_core_IPSpec_To_v1alpha1_IPSpec(in *core.IPSpec, out *corev1alpha1.IPSpec, s conversion.Scope) error { return autoConvert_core_IPSpec_To_v1alpha1_IPSpec(in, out, s) } -func autoConvert_v1alpha1_IPStatus_To_core_IPStatus(in *v1alpha1.IPStatus, out *core.IPStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_IPStatus_To_core_IPStatus(in *corev1alpha1.IPStatus, out *core.IPStatus, s conversion.Scope) error { return nil } // Convert_v1alpha1_IPStatus_To_core_IPStatus is an autogenerated conversion function. -func Convert_v1alpha1_IPStatus_To_core_IPStatus(in *v1alpha1.IPStatus, out *core.IPStatus, s conversion.Scope) error { +func Convert_v1alpha1_IPStatus_To_core_IPStatus(in *corev1alpha1.IPStatus, out *core.IPStatus, s conversion.Scope) error { return autoConvert_v1alpha1_IPStatus_To_core_IPStatus(in, out, s) } -func autoConvert_core_IPStatus_To_v1alpha1_IPStatus(in *core.IPStatus, out *v1alpha1.IPStatus, s conversion.Scope) error { +func autoConvert_core_IPStatus_To_v1alpha1_IPStatus(in *core.IPStatus, out *corev1alpha1.IPStatus, s conversion.Scope) error { return nil } // Convert_core_IPStatus_To_v1alpha1_IPStatus is an autogenerated conversion function. -func Convert_core_IPStatus_To_v1alpha1_IPStatus(in *core.IPStatus, out *v1alpha1.IPStatus, s conversion.Scope) error { +func Convert_core_IPStatus_To_v1alpha1_IPStatus(in *core.IPStatus, out *corev1alpha1.IPStatus, s conversion.Scope) error { return autoConvert_core_IPStatus_To_v1alpha1_IPStatus(in, out, s) } -func autoConvert_v1alpha1_Instance_To_core_Instance(in *v1alpha1.Instance, out *core.Instance, s conversion.Scope) error { +func autoConvert_v1alpha1_Instance_To_core_Instance(in *corev1alpha1.Instance, out *core.Instance, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1303,11 +1303,11 @@ func autoConvert_v1alpha1_Instance_To_core_Instance(in *v1alpha1.Instance, out * } // Convert_v1alpha1_Instance_To_core_Instance is an autogenerated conversion function. -func Convert_v1alpha1_Instance_To_core_Instance(in *v1alpha1.Instance, out *core.Instance, s conversion.Scope) error { +func Convert_v1alpha1_Instance_To_core_Instance(in *corev1alpha1.Instance, out *core.Instance, s conversion.Scope) error { return autoConvert_v1alpha1_Instance_To_core_Instance(in, out, s) } -func autoConvert_core_Instance_To_v1alpha1_Instance(in *core.Instance, out *v1alpha1.Instance, s conversion.Scope) error { +func autoConvert_core_Instance_To_v1alpha1_Instance(in *core.Instance, out *corev1alpha1.Instance, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1319,75 +1319,75 @@ func autoConvert_core_Instance_To_v1alpha1_Instance(in *core.Instance, out *v1al } // Convert_core_Instance_To_v1alpha1_Instance is an autogenerated conversion function. -func Convert_core_Instance_To_v1alpha1_Instance(in *core.Instance, out *v1alpha1.Instance, s conversion.Scope) error { +func Convert_core_Instance_To_v1alpha1_Instance(in *core.Instance, out *corev1alpha1.Instance, s conversion.Scope) error { return autoConvert_core_Instance_To_v1alpha1_Instance(in, out, s) } -func autoConvert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(in *v1alpha1.InstanceAffinityTerm, out *core.InstanceAffinityTerm, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(in *corev1alpha1.InstanceAffinityTerm, out *core.InstanceAffinityTerm, s conversion.Scope) error { out.LabelSelector = (*v1.LabelSelector)(unsafe.Pointer(in.LabelSelector)) out.TopologyKey = in.TopologyKey return nil } // Convert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm is an autogenerated conversion function. -func Convert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(in *v1alpha1.InstanceAffinityTerm, out *core.InstanceAffinityTerm, s conversion.Scope) error { +func Convert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(in *corev1alpha1.InstanceAffinityTerm, out *core.InstanceAffinityTerm, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceAffinityTerm_To_core_InstanceAffinityTerm(in, out, s) } -func autoConvert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(in *core.InstanceAffinityTerm, out *v1alpha1.InstanceAffinityTerm, s conversion.Scope) error { +func autoConvert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(in *core.InstanceAffinityTerm, out *corev1alpha1.InstanceAffinityTerm, s conversion.Scope) error { out.LabelSelector = (*v1.LabelSelector)(unsafe.Pointer(in.LabelSelector)) out.TopologyKey = in.TopologyKey return nil } // Convert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm is an autogenerated conversion function. -func Convert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(in *core.InstanceAffinityTerm, out *v1alpha1.InstanceAffinityTerm, s conversion.Scope) error { +func Convert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(in *core.InstanceAffinityTerm, out *corev1alpha1.InstanceAffinityTerm, s conversion.Scope) error { return autoConvert_core_InstanceAffinityTerm_To_v1alpha1_InstanceAffinityTerm(in, out, s) } -func autoConvert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(in *v1alpha1.InstanceAntiAffinity, out *core.InstanceAntiAffinity, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(in *corev1alpha1.InstanceAntiAffinity, out *core.InstanceAntiAffinity, s conversion.Scope) error { out.RequiredDuringSchedulingIgnoredDuringExecution = *(*[]core.InstanceAffinityTerm)(unsafe.Pointer(&in.RequiredDuringSchedulingIgnoredDuringExecution)) return nil } // Convert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity is an autogenerated conversion function. -func Convert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(in *v1alpha1.InstanceAntiAffinity, out *core.InstanceAntiAffinity, s conversion.Scope) error { +func Convert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(in *corev1alpha1.InstanceAntiAffinity, out *core.InstanceAntiAffinity, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceAntiAffinity_To_core_InstanceAntiAffinity(in, out, s) } -func autoConvert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(in *core.InstanceAntiAffinity, out *v1alpha1.InstanceAntiAffinity, s conversion.Scope) error { - out.RequiredDuringSchedulingIgnoredDuringExecution = *(*[]v1alpha1.InstanceAffinityTerm)(unsafe.Pointer(&in.RequiredDuringSchedulingIgnoredDuringExecution)) +func autoConvert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(in *core.InstanceAntiAffinity, out *corev1alpha1.InstanceAntiAffinity, s conversion.Scope) error { + out.RequiredDuringSchedulingIgnoredDuringExecution = *(*[]corev1alpha1.InstanceAffinityTerm)(unsafe.Pointer(&in.RequiredDuringSchedulingIgnoredDuringExecution)) return nil } // Convert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity is an autogenerated conversion function. -func Convert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(in *core.InstanceAntiAffinity, out *v1alpha1.InstanceAntiAffinity, s conversion.Scope) error { +func Convert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(in *core.InstanceAntiAffinity, out *corev1alpha1.InstanceAntiAffinity, s conversion.Scope) error { return autoConvert_core_InstanceAntiAffinity_To_v1alpha1_InstanceAntiAffinity(in, out, s) } -func autoConvert_v1alpha1_InstanceList_To_core_InstanceList(in *v1alpha1.InstanceList, out *core.InstanceList, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceList_To_core_InstanceList(in *corev1alpha1.InstanceList, out *core.InstanceList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.Instance)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_InstanceList_To_core_InstanceList is an autogenerated conversion function. -func Convert_v1alpha1_InstanceList_To_core_InstanceList(in *v1alpha1.InstanceList, out *core.InstanceList, s conversion.Scope) error { +func Convert_v1alpha1_InstanceList_To_core_InstanceList(in *corev1alpha1.InstanceList, out *core.InstanceList, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceList_To_core_InstanceList(in, out, s) } -func autoConvert_core_InstanceList_To_v1alpha1_InstanceList(in *core.InstanceList, out *v1alpha1.InstanceList, s conversion.Scope) error { +func autoConvert_core_InstanceList_To_v1alpha1_InstanceList(in *core.InstanceList, out *corev1alpha1.InstanceList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.Instance)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.Instance)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_InstanceList_To_v1alpha1_InstanceList is an autogenerated conversion function. -func Convert_core_InstanceList_To_v1alpha1_InstanceList(in *core.InstanceList, out *v1alpha1.InstanceList, s conversion.Scope) error { +func Convert_core_InstanceList_To_v1alpha1_InstanceList(in *core.InstanceList, out *corev1alpha1.InstanceList, s conversion.Scope) error { return autoConvert_core_InstanceList_To_v1alpha1_InstanceList(in, out, s) } -func autoConvert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in *v1alpha1.InstanceSpec, out *core.InstanceSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in *corev1alpha1.InstanceSpec, out *core.InstanceSpec, s conversion.Scope) error { out.Type = core.InstanceType(in.Type) out.LoadBalancerType = core.LoadBalancerType(in.LoadBalancerType) out.NetworkRef = in.NetworkRef @@ -1400,50 +1400,50 @@ func autoConvert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in *v1alpha1.Instanc } // Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec is an autogenerated conversion function. -func Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in *v1alpha1.InstanceSpec, out *core.InstanceSpec, s conversion.Scope) error { +func Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in *corev1alpha1.InstanceSpec, out *core.InstanceSpec, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceSpec_To_core_InstanceSpec(in, out, s) } -func autoConvert_core_InstanceSpec_To_v1alpha1_InstanceSpec(in *core.InstanceSpec, out *v1alpha1.InstanceSpec, s conversion.Scope) error { - out.Type = v1alpha1.InstanceType(in.Type) - out.LoadBalancerType = v1alpha1.LoadBalancerType(in.LoadBalancerType) +func autoConvert_core_InstanceSpec_To_v1alpha1_InstanceSpec(in *core.InstanceSpec, out *corev1alpha1.InstanceSpec, s conversion.Scope) error { + out.Type = corev1alpha1.InstanceType(in.Type) + out.LoadBalancerType = corev1alpha1.LoadBalancerType(in.LoadBalancerType) out.NetworkRef = in.NetworkRef out.IPs = *(*[]net.IP)(unsafe.Pointer(&in.IPs)) - out.LoadBalancerPorts = *(*[]v1alpha1.LoadBalancerPort)(unsafe.Pointer(&in.LoadBalancerPorts)) - out.Affinity = (*v1alpha1.Affinity)(unsafe.Pointer(in.Affinity)) - out.TopologySpreadConstraints = *(*[]v1alpha1.TopologySpreadConstraint)(unsafe.Pointer(&in.TopologySpreadConstraints)) + out.LoadBalancerPorts = *(*[]corev1alpha1.LoadBalancerPort)(unsafe.Pointer(&in.LoadBalancerPorts)) + out.Affinity = (*corev1alpha1.Affinity)(unsafe.Pointer(in.Affinity)) + out.TopologySpreadConstraints = *(*[]corev1alpha1.TopologySpreadConstraint)(unsafe.Pointer(&in.TopologySpreadConstraints)) out.NodeRef = (*corev1.LocalObjectReference)(unsafe.Pointer(in.NodeRef)) return nil } // Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec is an autogenerated conversion function. -func Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(in *core.InstanceSpec, out *v1alpha1.InstanceSpec, s conversion.Scope) error { +func Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(in *core.InstanceSpec, out *corev1alpha1.InstanceSpec, s conversion.Scope) error { return autoConvert_core_InstanceSpec_To_v1alpha1_InstanceSpec(in, out, s) } -func autoConvert_v1alpha1_InstanceStatus_To_core_InstanceStatus(in *v1alpha1.InstanceStatus, out *core.InstanceStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceStatus_To_core_InstanceStatus(in *corev1alpha1.InstanceStatus, out *core.InstanceStatus, s conversion.Scope) error { out.IPs = *(*[]net.IP)(unsafe.Pointer(&in.IPs)) out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_v1alpha1_InstanceStatus_To_core_InstanceStatus is an autogenerated conversion function. -func Convert_v1alpha1_InstanceStatus_To_core_InstanceStatus(in *v1alpha1.InstanceStatus, out *core.InstanceStatus, s conversion.Scope) error { +func Convert_v1alpha1_InstanceStatus_To_core_InstanceStatus(in *corev1alpha1.InstanceStatus, out *core.InstanceStatus, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceStatus_To_core_InstanceStatus(in, out, s) } -func autoConvert_core_InstanceStatus_To_v1alpha1_InstanceStatus(in *core.InstanceStatus, out *v1alpha1.InstanceStatus, s conversion.Scope) error { +func autoConvert_core_InstanceStatus_To_v1alpha1_InstanceStatus(in *core.InstanceStatus, out *corev1alpha1.InstanceStatus, s conversion.Scope) error { out.IPs = *(*[]net.IP)(unsafe.Pointer(&in.IPs)) out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_core_InstanceStatus_To_v1alpha1_InstanceStatus is an autogenerated conversion function. -func Convert_core_InstanceStatus_To_v1alpha1_InstanceStatus(in *core.InstanceStatus, out *v1alpha1.InstanceStatus, s conversion.Scope) error { +func Convert_core_InstanceStatus_To_v1alpha1_InstanceStatus(in *core.InstanceStatus, out *corev1alpha1.InstanceStatus, s conversion.Scope) error { return autoConvert_core_InstanceStatus_To_v1alpha1_InstanceStatus(in, out, s) } -func autoConvert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in *v1alpha1.InstanceTemplate, out *core.InstanceTemplate, s conversion.Scope) error { +func autoConvert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in *corev1alpha1.InstanceTemplate, out *core.InstanceTemplate, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_InstanceSpec_To_core_InstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1452,11 +1452,11 @@ func autoConvert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in *v1alpha1 } // Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate is an autogenerated conversion function. -func Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in *v1alpha1.InstanceTemplate, out *core.InstanceTemplate, s conversion.Scope) error { +func Convert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in *corev1alpha1.InstanceTemplate, out *core.InstanceTemplate, s conversion.Scope) error { return autoConvert_v1alpha1_InstanceTemplate_To_core_InstanceTemplate(in, out, s) } -func autoConvert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in *core.InstanceTemplate, out *v1alpha1.InstanceTemplate, s conversion.Scope) error { +func autoConvert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in *core.InstanceTemplate, out *corev1alpha1.InstanceTemplate, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_InstanceSpec_To_v1alpha1_InstanceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1465,11 +1465,11 @@ func autoConvert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in *core.Ins } // Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate is an autogenerated conversion function. -func Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in *core.InstanceTemplate, out *v1alpha1.InstanceTemplate, s conversion.Scope) error { +func Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in *core.InstanceTemplate, out *corev1alpha1.InstanceTemplate, s conversion.Scope) error { return autoConvert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(in, out, s) } -func autoConvert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in *v1alpha1.LoadBalancer, out *core.LoadBalancer, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in *corev1alpha1.LoadBalancer, out *core.LoadBalancer, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1481,11 +1481,11 @@ func autoConvert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in *v1alpha1.LoadBal } // Convert_v1alpha1_LoadBalancer_To_core_LoadBalancer is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in *v1alpha1.LoadBalancer, out *core.LoadBalancer, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in *corev1alpha1.LoadBalancer, out *core.LoadBalancer, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancer_To_core_LoadBalancer(in, out, s) } -func autoConvert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in *core.LoadBalancer, out *v1alpha1.LoadBalancer, s conversion.Scope) error { +func autoConvert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in *core.LoadBalancer, out *corev1alpha1.LoadBalancer, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1497,33 +1497,33 @@ func autoConvert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in *core.LoadBalance } // Convert_core_LoadBalancer_To_v1alpha1_LoadBalancer is an autogenerated conversion function. -func Convert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in *core.LoadBalancer, out *v1alpha1.LoadBalancer, s conversion.Scope) error { +func Convert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in *core.LoadBalancer, out *corev1alpha1.LoadBalancer, s conversion.Scope) error { return autoConvert_core_LoadBalancer_To_v1alpha1_LoadBalancer(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(in *v1alpha1.LoadBalancerDestination, out *core.LoadBalancerDestination, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(in *corev1alpha1.LoadBalancerDestination, out *core.LoadBalancerDestination, s conversion.Scope) error { out.IP = in.IP out.TargetRef = (*core.LoadBalancerTargetRef)(unsafe.Pointer(in.TargetRef)) return nil } // Convert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(in *v1alpha1.LoadBalancerDestination, out *core.LoadBalancerDestination, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(in *corev1alpha1.LoadBalancerDestination, out *core.LoadBalancerDestination, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerDestination_To_core_LoadBalancerDestination(in, out, s) } -func autoConvert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(in *core.LoadBalancerDestination, out *v1alpha1.LoadBalancerDestination, s conversion.Scope) error { +func autoConvert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(in *core.LoadBalancerDestination, out *corev1alpha1.LoadBalancerDestination, s conversion.Scope) error { out.IP = in.IP - out.TargetRef = (*v1alpha1.LoadBalancerTargetRef)(unsafe.Pointer(in.TargetRef)) + out.TargetRef = (*corev1alpha1.LoadBalancerTargetRef)(unsafe.Pointer(in.TargetRef)) return nil } // Convert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination is an autogenerated conversion function. -func Convert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(in *core.LoadBalancerDestination, out *v1alpha1.LoadBalancerDestination, s conversion.Scope) error { +func Convert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(in *core.LoadBalancerDestination, out *corev1alpha1.LoadBalancerDestination, s conversion.Scope) error { return autoConvert_core_LoadBalancerDestination_To_v1alpha1_LoadBalancerDestination(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in *v1alpha1.LoadBalancerIP, out *core.LoadBalancerIP, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in *corev1alpha1.LoadBalancerIP, out *core.LoadBalancerIP, s conversion.Scope) error { out.Name = in.Name out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP @@ -1531,11 +1531,11 @@ func autoConvert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in *v1alpha1.Loa } // Convert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in *v1alpha1.LoadBalancerIP, out *core.LoadBalancerIP, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in *corev1alpha1.LoadBalancerIP, out *core.LoadBalancerIP, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerIP_To_core_LoadBalancerIP(in, out, s) } -func autoConvert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in *core.LoadBalancerIP, out *v1alpha1.LoadBalancerIP, s conversion.Scope) error { +func autoConvert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in *core.LoadBalancerIP, out *corev1alpha1.LoadBalancerIP, s conversion.Scope) error { out.Name = in.Name out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP @@ -1543,33 +1543,33 @@ func autoConvert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in *core.LoadBal } // Convert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP is an autogenerated conversion function. -func Convert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in *core.LoadBalancerIP, out *v1alpha1.LoadBalancerIP, s conversion.Scope) error { +func Convert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in *core.LoadBalancerIP, out *corev1alpha1.LoadBalancerIP, s conversion.Scope) error { return autoConvert_core_LoadBalancerIP_To_v1alpha1_LoadBalancerIP(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(in *v1alpha1.LoadBalancerList, out *core.LoadBalancerList, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(in *corev1alpha1.LoadBalancerList, out *core.LoadBalancerList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.LoadBalancer)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(in *v1alpha1.LoadBalancerList, out *core.LoadBalancerList, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(in *corev1alpha1.LoadBalancerList, out *core.LoadBalancerList, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerList_To_core_LoadBalancerList(in, out, s) } -func autoConvert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(in *core.LoadBalancerList, out *v1alpha1.LoadBalancerList, s conversion.Scope) error { +func autoConvert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(in *core.LoadBalancerList, out *corev1alpha1.LoadBalancerList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.LoadBalancer)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.LoadBalancer)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList is an autogenerated conversion function. -func Convert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(in *core.LoadBalancerList, out *v1alpha1.LoadBalancerList, s conversion.Scope) error { +func Convert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(in *core.LoadBalancerList, out *corev1alpha1.LoadBalancerList, s conversion.Scope) error { return autoConvert_core_LoadBalancerList_To_v1alpha1_LoadBalancerList(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in *v1alpha1.LoadBalancerPort, out *core.LoadBalancerPort, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in *corev1alpha1.LoadBalancerPort, out *core.LoadBalancerPort, s conversion.Scope) error { out.Protocol = (*corev1.Protocol)(unsafe.Pointer(in.Protocol)) out.Port = in.Port out.EndPort = (*int32)(unsafe.Pointer(in.EndPort)) @@ -1577,11 +1577,11 @@ func autoConvert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in *v1alpha1 } // Convert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in *v1alpha1.LoadBalancerPort, out *core.LoadBalancerPort, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in *corev1alpha1.LoadBalancerPort, out *core.LoadBalancerPort, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerPort_To_core_LoadBalancerPort(in, out, s) } -func autoConvert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in *core.LoadBalancerPort, out *v1alpha1.LoadBalancerPort, s conversion.Scope) error { +func autoConvert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in *core.LoadBalancerPort, out *corev1alpha1.LoadBalancerPort, s conversion.Scope) error { out.Protocol = (*corev1.Protocol)(unsafe.Pointer(in.Protocol)) out.Port = in.Port out.EndPort = (*int32)(unsafe.Pointer(in.EndPort)) @@ -1589,55 +1589,55 @@ func autoConvert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in *core.Loa } // Convert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort is an autogenerated conversion function. -func Convert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in *core.LoadBalancerPort, out *v1alpha1.LoadBalancerPort, s conversion.Scope) error { +func Convert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in *core.LoadBalancerPort, out *corev1alpha1.LoadBalancerPort, s conversion.Scope) error { return autoConvert_core_LoadBalancerPort_To_v1alpha1_LoadBalancerPort(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(in *v1alpha1.LoadBalancerRouting, out *core.LoadBalancerRouting, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(in *corev1alpha1.LoadBalancerRouting, out *core.LoadBalancerRouting, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.Destinations = *(*[]core.LoadBalancerDestination)(unsafe.Pointer(&in.Destinations)) return nil } // Convert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(in *v1alpha1.LoadBalancerRouting, out *core.LoadBalancerRouting, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(in *corev1alpha1.LoadBalancerRouting, out *core.LoadBalancerRouting, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerRouting_To_core_LoadBalancerRouting(in, out, s) } -func autoConvert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(in *core.LoadBalancerRouting, out *v1alpha1.LoadBalancerRouting, s conversion.Scope) error { +func autoConvert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(in *core.LoadBalancerRouting, out *corev1alpha1.LoadBalancerRouting, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - out.Destinations = *(*[]v1alpha1.LoadBalancerDestination)(unsafe.Pointer(&in.Destinations)) + out.Destinations = *(*[]corev1alpha1.LoadBalancerDestination)(unsafe.Pointer(&in.Destinations)) return nil } // Convert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting is an autogenerated conversion function. -func Convert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(in *core.LoadBalancerRouting, out *v1alpha1.LoadBalancerRouting, s conversion.Scope) error { +func Convert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(in *core.LoadBalancerRouting, out *corev1alpha1.LoadBalancerRouting, s conversion.Scope) error { return autoConvert_core_LoadBalancerRouting_To_v1alpha1_LoadBalancerRouting(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(in *v1alpha1.LoadBalancerRoutingList, out *core.LoadBalancerRoutingList, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(in *corev1alpha1.LoadBalancerRoutingList, out *core.LoadBalancerRoutingList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.LoadBalancerRouting)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(in *v1alpha1.LoadBalancerRoutingList, out *core.LoadBalancerRoutingList, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(in *corev1alpha1.LoadBalancerRoutingList, out *core.LoadBalancerRoutingList, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerRoutingList_To_core_LoadBalancerRoutingList(in, out, s) } -func autoConvert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(in *core.LoadBalancerRoutingList, out *v1alpha1.LoadBalancerRoutingList, s conversion.Scope) error { +func autoConvert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(in *core.LoadBalancerRoutingList, out *corev1alpha1.LoadBalancerRoutingList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.LoadBalancerRouting)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.LoadBalancerRouting)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList is an autogenerated conversion function. -func Convert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(in *core.LoadBalancerRoutingList, out *v1alpha1.LoadBalancerRoutingList, s conversion.Scope) error { +func Convert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(in *core.LoadBalancerRoutingList, out *corev1alpha1.LoadBalancerRoutingList, s conversion.Scope) error { return autoConvert_core_LoadBalancerRoutingList_To_v1alpha1_LoadBalancerRoutingList(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in *v1alpha1.LoadBalancerSpec, out *core.LoadBalancerSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in *corev1alpha1.LoadBalancerSpec, out *core.LoadBalancerSpec, s conversion.Scope) error { out.Type = core.LoadBalancerType(in.Type) out.NetworkRef = in.NetworkRef out.IPs = *(*[]core.LoadBalancerIP)(unsafe.Pointer(&in.IPs)) @@ -1650,15 +1650,15 @@ func autoConvert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in *v1alpha1 } // Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in *v1alpha1.LoadBalancerSpec, out *core.LoadBalancerSpec, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in *corev1alpha1.LoadBalancerSpec, out *core.LoadBalancerSpec, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerSpec_To_core_LoadBalancerSpec(in, out, s) } -func autoConvert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in *core.LoadBalancerSpec, out *v1alpha1.LoadBalancerSpec, s conversion.Scope) error { - out.Type = v1alpha1.LoadBalancerType(in.Type) +func autoConvert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in *core.LoadBalancerSpec, out *corev1alpha1.LoadBalancerSpec, s conversion.Scope) error { + out.Type = corev1alpha1.LoadBalancerType(in.Type) out.NetworkRef = in.NetworkRef - out.IPs = *(*[]v1alpha1.LoadBalancerIP)(unsafe.Pointer(&in.IPs)) - out.Ports = *(*[]v1alpha1.LoadBalancerPort)(unsafe.Pointer(&in.Ports)) + out.IPs = *(*[]corev1alpha1.LoadBalancerIP)(unsafe.Pointer(&in.IPs)) + out.Ports = *(*[]corev1alpha1.LoadBalancerPort)(unsafe.Pointer(&in.Ports)) out.Selector = (*v1.LabelSelector)(unsafe.Pointer(in.Selector)) if err := Convert_core_InstanceTemplate_To_v1alpha1_InstanceTemplate(&in.Template, &out.Template, s); err != nil { return err @@ -1667,31 +1667,31 @@ func autoConvert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in *core.Loa } // Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec is an autogenerated conversion function. -func Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in *core.LoadBalancerSpec, out *v1alpha1.LoadBalancerSpec, s conversion.Scope) error { +func Convert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in *core.LoadBalancerSpec, out *corev1alpha1.LoadBalancerSpec, s conversion.Scope) error { return autoConvert_core_LoadBalancerSpec_To_v1alpha1_LoadBalancerSpec(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *v1alpha1.LoadBalancerStatus, out *core.LoadBalancerStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *corev1alpha1.LoadBalancerStatus, out *core.LoadBalancerStatus, s conversion.Scope) error { out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *v1alpha1.LoadBalancerStatus, out *core.LoadBalancerStatus, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *corev1alpha1.LoadBalancerStatus, out *core.LoadBalancerStatus, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerStatus_To_core_LoadBalancerStatus(in, out, s) } -func autoConvert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in *core.LoadBalancerStatus, out *v1alpha1.LoadBalancerStatus, s conversion.Scope) error { +func autoConvert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in *core.LoadBalancerStatus, out *corev1alpha1.LoadBalancerStatus, s conversion.Scope) error { out.CollisionCount = (*int32)(unsafe.Pointer(in.CollisionCount)) return nil } // Convert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus is an autogenerated conversion function. -func Convert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in *core.LoadBalancerStatus, out *v1alpha1.LoadBalancerStatus, s conversion.Scope) error { +func Convert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in *core.LoadBalancerStatus, out *corev1alpha1.LoadBalancerStatus, s conversion.Scope) error { return autoConvert_core_LoadBalancerStatus_To_v1alpha1_LoadBalancerStatus(in, out, s) } -func autoConvert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in *v1alpha1.LoadBalancerTargetRef, out *core.LoadBalancerTargetRef, s conversion.Scope) error { +func autoConvert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in *corev1alpha1.LoadBalancerTargetRef, out *core.LoadBalancerTargetRef, s conversion.Scope) error { out.UID = types.UID(in.UID) out.Name = in.Name out.NodeRef = in.NodeRef @@ -1699,11 +1699,11 @@ func autoConvert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in } // Convert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef is an autogenerated conversion function. -func Convert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in *v1alpha1.LoadBalancerTargetRef, out *core.LoadBalancerTargetRef, s conversion.Scope) error { +func Convert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in *corev1alpha1.LoadBalancerTargetRef, out *core.LoadBalancerTargetRef, s conversion.Scope) error { return autoConvert_v1alpha1_LoadBalancerTargetRef_To_core_LoadBalancerTargetRef(in, out, s) } -func autoConvert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in *core.LoadBalancerTargetRef, out *v1alpha1.LoadBalancerTargetRef, s conversion.Scope) error { +func autoConvert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in *core.LoadBalancerTargetRef, out *corev1alpha1.LoadBalancerTargetRef, s conversion.Scope) error { out.UID = types.UID(in.UID) out.Name = in.Name out.NodeRef = in.NodeRef @@ -1711,33 +1711,33 @@ func autoConvert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in } // Convert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef is an autogenerated conversion function. -func Convert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in *core.LoadBalancerTargetRef, out *v1alpha1.LoadBalancerTargetRef, s conversion.Scope) error { +func Convert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in *core.LoadBalancerTargetRef, out *corev1alpha1.LoadBalancerTargetRef, s conversion.Scope) error { return autoConvert_core_LoadBalancerTargetRef_To_v1alpha1_LoadBalancerTargetRef(in, out, s) } -func autoConvert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(in *v1alpha1.LocalUIDReference, out *core.LocalUIDReference, s conversion.Scope) error { +func autoConvert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(in *corev1alpha1.LocalUIDReference, out *core.LocalUIDReference, s conversion.Scope) error { out.Name = in.Name out.UID = types.UID(in.UID) return nil } // Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference is an autogenerated conversion function. -func Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(in *v1alpha1.LocalUIDReference, out *core.LocalUIDReference, s conversion.Scope) error { +func Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(in *corev1alpha1.LocalUIDReference, out *core.LocalUIDReference, s conversion.Scope) error { return autoConvert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(in, out, s) } -func autoConvert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(in *core.LocalUIDReference, out *v1alpha1.LocalUIDReference, s conversion.Scope) error { +func autoConvert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(in *core.LocalUIDReference, out *corev1alpha1.LocalUIDReference, s conversion.Scope) error { out.Name = in.Name out.UID = types.UID(in.UID) return nil } // Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference is an autogenerated conversion function. -func Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(in *core.LocalUIDReference, out *v1alpha1.LocalUIDReference, s conversion.Scope) error { +func Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(in *core.LocalUIDReference, out *corev1alpha1.LocalUIDReference, s conversion.Scope) error { return autoConvert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(in, out, s) } -func autoConvert_v1alpha1_NATGateway_To_core_NATGateway(in *v1alpha1.NATGateway, out *core.NATGateway, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGateway_To_core_NATGateway(in *corev1alpha1.NATGateway, out *core.NATGateway, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1749,11 +1749,11 @@ func autoConvert_v1alpha1_NATGateway_To_core_NATGateway(in *v1alpha1.NATGateway, } // Convert_v1alpha1_NATGateway_To_core_NATGateway is an autogenerated conversion function. -func Convert_v1alpha1_NATGateway_To_core_NATGateway(in *v1alpha1.NATGateway, out *core.NATGateway, s conversion.Scope) error { +func Convert_v1alpha1_NATGateway_To_core_NATGateway(in *corev1alpha1.NATGateway, out *core.NATGateway, s conversion.Scope) error { return autoConvert_v1alpha1_NATGateway_To_core_NATGateway(in, out, s) } -func autoConvert_core_NATGateway_To_v1alpha1_NATGateway(in *core.NATGateway, out *v1alpha1.NATGateway, s conversion.Scope) error { +func autoConvert_core_NATGateway_To_v1alpha1_NATGateway(in *core.NATGateway, out *corev1alpha1.NATGateway, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1765,11 +1765,11 @@ func autoConvert_core_NATGateway_To_v1alpha1_NATGateway(in *core.NATGateway, out } // Convert_core_NATGateway_To_v1alpha1_NATGateway is an autogenerated conversion function. -func Convert_core_NATGateway_To_v1alpha1_NATGateway(in *core.NATGateway, out *v1alpha1.NATGateway, s conversion.Scope) error { +func Convert_core_NATGateway_To_v1alpha1_NATGateway(in *core.NATGateway, out *corev1alpha1.NATGateway, s conversion.Scope) error { return autoConvert_core_NATGateway_To_v1alpha1_NATGateway(in, out, s) } -func autoConvert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in *v1alpha1.NATGatewayAutoscaler, out *core.NATGatewayAutoscaler, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in *corev1alpha1.NATGatewayAutoscaler, out *core.NATGatewayAutoscaler, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1781,11 +1781,11 @@ func autoConvert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in * } // Convert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in *v1alpha1.NATGatewayAutoscaler, out *core.NATGatewayAutoscaler, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in *corev1alpha1.NATGatewayAutoscaler, out *core.NATGatewayAutoscaler, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayAutoscaler_To_core_NATGatewayAutoscaler(in, out, s) } -func autoConvert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in *core.NATGatewayAutoscaler, out *v1alpha1.NATGatewayAutoscaler, s conversion.Scope) error { +func autoConvert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in *core.NATGatewayAutoscaler, out *corev1alpha1.NATGatewayAutoscaler, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -1797,33 +1797,33 @@ func autoConvert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in * } // Convert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler is an autogenerated conversion function. -func Convert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in *core.NATGatewayAutoscaler, out *v1alpha1.NATGatewayAutoscaler, s conversion.Scope) error { +func Convert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in *core.NATGatewayAutoscaler, out *corev1alpha1.NATGatewayAutoscaler, s conversion.Scope) error { return autoConvert_core_NATGatewayAutoscaler_To_v1alpha1_NATGatewayAutoscaler(in, out, s) } -func autoConvert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(in *v1alpha1.NATGatewayAutoscalerList, out *core.NATGatewayAutoscalerList, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(in *corev1alpha1.NATGatewayAutoscalerList, out *core.NATGatewayAutoscalerList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NATGatewayAutoscaler)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(in *v1alpha1.NATGatewayAutoscalerList, out *core.NATGatewayAutoscalerList, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(in *corev1alpha1.NATGatewayAutoscalerList, out *core.NATGatewayAutoscalerList, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayAutoscalerList_To_core_NATGatewayAutoscalerList(in, out, s) } -func autoConvert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(in *core.NATGatewayAutoscalerList, out *v1alpha1.NATGatewayAutoscalerList, s conversion.Scope) error { +func autoConvert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(in *core.NATGatewayAutoscalerList, out *corev1alpha1.NATGatewayAutoscalerList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NATGatewayAutoscaler)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NATGatewayAutoscaler)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList is an autogenerated conversion function. -func Convert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(in *core.NATGatewayAutoscalerList, out *v1alpha1.NATGatewayAutoscalerList, s conversion.Scope) error { +func Convert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(in *core.NATGatewayAutoscalerList, out *corev1alpha1.NATGatewayAutoscalerList, s conversion.Scope) error { return autoConvert_core_NATGatewayAutoscalerList_To_v1alpha1_NATGatewayAutoscalerList(in, out, s) } -func autoConvert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(in *v1alpha1.NATGatewayAutoscalerSpec, out *core.NATGatewayAutoscalerSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(in *corev1alpha1.NATGatewayAutoscalerSpec, out *core.NATGatewayAutoscalerSpec, s conversion.Scope) error { out.NATGatewayRef = in.NATGatewayRef out.MinPublicIPs = (*int32)(unsafe.Pointer(in.MinPublicIPs)) out.MaxPublicIPs = (*int32)(unsafe.Pointer(in.MaxPublicIPs)) @@ -1831,11 +1831,11 @@ func autoConvert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerS } // Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(in *v1alpha1.NATGatewayAutoscalerSpec, out *core.NATGatewayAutoscalerSpec, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(in *corev1alpha1.NATGatewayAutoscalerSpec, out *core.NATGatewayAutoscalerSpec, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayAutoscalerSpec_To_core_NATGatewayAutoscalerSpec(in, out, s) } -func autoConvert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(in *core.NATGatewayAutoscalerSpec, out *v1alpha1.NATGatewayAutoscalerSpec, s conversion.Scope) error { +func autoConvert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(in *core.NATGatewayAutoscalerSpec, out *corev1alpha1.NATGatewayAutoscalerSpec, s conversion.Scope) error { out.NATGatewayRef = in.NATGatewayRef out.MinPublicIPs = (*int32)(unsafe.Pointer(in.MinPublicIPs)) out.MaxPublicIPs = (*int32)(unsafe.Pointer(in.MaxPublicIPs)) @@ -1843,73 +1843,73 @@ func autoConvert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerS } // Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec is an autogenerated conversion function. -func Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(in *core.NATGatewayAutoscalerSpec, out *v1alpha1.NATGatewayAutoscalerSpec, s conversion.Scope) error { +func Convert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(in *core.NATGatewayAutoscalerSpec, out *corev1alpha1.NATGatewayAutoscalerSpec, s conversion.Scope) error { return autoConvert_core_NATGatewayAutoscalerSpec_To_v1alpha1_NATGatewayAutoscalerSpec(in, out, s) } -func autoConvert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(in *v1alpha1.NATGatewayAutoscalerStatus, out *core.NATGatewayAutoscalerStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(in *corev1alpha1.NATGatewayAutoscalerStatus, out *core.NATGatewayAutoscalerStatus, s conversion.Scope) error { return nil } // Convert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(in *v1alpha1.NATGatewayAutoscalerStatus, out *core.NATGatewayAutoscalerStatus, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(in *corev1alpha1.NATGatewayAutoscalerStatus, out *core.NATGatewayAutoscalerStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayAutoscalerStatus_To_core_NATGatewayAutoscalerStatus(in, out, s) } -func autoConvert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(in *core.NATGatewayAutoscalerStatus, out *v1alpha1.NATGatewayAutoscalerStatus, s conversion.Scope) error { +func autoConvert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(in *core.NATGatewayAutoscalerStatus, out *corev1alpha1.NATGatewayAutoscalerStatus, s conversion.Scope) error { return nil } // Convert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus is an autogenerated conversion function. -func Convert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(in *core.NATGatewayAutoscalerStatus, out *v1alpha1.NATGatewayAutoscalerStatus, s conversion.Scope) error { +func Convert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(in *core.NATGatewayAutoscalerStatus, out *corev1alpha1.NATGatewayAutoscalerStatus, s conversion.Scope) error { return autoConvert_core_NATGatewayAutoscalerStatus_To_v1alpha1_NATGatewayAutoscalerStatus(in, out, s) } -func autoConvert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(in *v1alpha1.NATGatewayIP, out *core.NATGatewayIP, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(in *corev1alpha1.NATGatewayIP, out *core.NATGatewayIP, s conversion.Scope) error { out.Name = in.Name out.IP = in.IP return nil } // Convert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(in *v1alpha1.NATGatewayIP, out *core.NATGatewayIP, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(in *corev1alpha1.NATGatewayIP, out *core.NATGatewayIP, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayIP_To_core_NATGatewayIP(in, out, s) } -func autoConvert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(in *core.NATGatewayIP, out *v1alpha1.NATGatewayIP, s conversion.Scope) error { +func autoConvert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(in *core.NATGatewayIP, out *corev1alpha1.NATGatewayIP, s conversion.Scope) error { out.Name = in.Name out.IP = in.IP return nil } // Convert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP is an autogenerated conversion function. -func Convert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(in *core.NATGatewayIP, out *v1alpha1.NATGatewayIP, s conversion.Scope) error { +func Convert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(in *core.NATGatewayIP, out *corev1alpha1.NATGatewayIP, s conversion.Scope) error { return autoConvert_core_NATGatewayIP_To_v1alpha1_NATGatewayIP(in, out, s) } -func autoConvert_v1alpha1_NATGatewayList_To_core_NATGatewayList(in *v1alpha1.NATGatewayList, out *core.NATGatewayList, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayList_To_core_NATGatewayList(in *corev1alpha1.NATGatewayList, out *core.NATGatewayList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NATGateway)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NATGatewayList_To_core_NATGatewayList is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayList_To_core_NATGatewayList(in *v1alpha1.NATGatewayList, out *core.NATGatewayList, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayList_To_core_NATGatewayList(in *corev1alpha1.NATGatewayList, out *core.NATGatewayList, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayList_To_core_NATGatewayList(in, out, s) } -func autoConvert_core_NATGatewayList_To_v1alpha1_NATGatewayList(in *core.NATGatewayList, out *v1alpha1.NATGatewayList, s conversion.Scope) error { +func autoConvert_core_NATGatewayList_To_v1alpha1_NATGatewayList(in *core.NATGatewayList, out *corev1alpha1.NATGatewayList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NATGateway)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NATGateway)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NATGatewayList_To_v1alpha1_NATGatewayList is an autogenerated conversion function. -func Convert_core_NATGatewayList_To_v1alpha1_NATGatewayList(in *core.NATGatewayList, out *v1alpha1.NATGatewayList, s conversion.Scope) error { +func Convert_core_NATGatewayList_To_v1alpha1_NATGatewayList(in *core.NATGatewayList, out *corev1alpha1.NATGatewayList, s conversion.Scope) error { return autoConvert_core_NATGatewayList_To_v1alpha1_NATGatewayList(in, out, s) } -func autoConvert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in *v1alpha1.NATGatewaySpec, out *core.NATGatewaySpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in *corev1alpha1.NATGatewaySpec, out *core.NATGatewaySpec, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) out.NetworkRef = in.NetworkRef out.IPs = *(*[]core.NATGatewayIP)(unsafe.Pointer(&in.IPs)) @@ -1918,68 +1918,68 @@ func autoConvert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in *v1alpha1.NAT } // Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in *v1alpha1.NATGatewaySpec, out *core.NATGatewaySpec, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in *corev1alpha1.NATGatewaySpec, out *core.NATGatewaySpec, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewaySpec_To_core_NATGatewaySpec(in, out, s) } -func autoConvert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(in *core.NATGatewaySpec, out *v1alpha1.NATGatewaySpec, s conversion.Scope) error { +func autoConvert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(in *core.NATGatewaySpec, out *corev1alpha1.NATGatewaySpec, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) out.NetworkRef = in.NetworkRef - out.IPs = *(*[]v1alpha1.NATGatewayIP)(unsafe.Pointer(&in.IPs)) + out.IPs = *(*[]corev1alpha1.NATGatewayIP)(unsafe.Pointer(&in.IPs)) out.PortsPerNetworkInterface = in.PortsPerNetworkInterface return nil } // Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec is an autogenerated conversion function. -func Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(in *core.NATGatewaySpec, out *v1alpha1.NATGatewaySpec, s conversion.Scope) error { +func Convert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(in *core.NATGatewaySpec, out *corev1alpha1.NATGatewaySpec, s conversion.Scope) error { return autoConvert_core_NATGatewaySpec_To_v1alpha1_NATGatewaySpec(in, out, s) } -func autoConvert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(in *v1alpha1.NATGatewayStatus, out *core.NATGatewayStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(in *corev1alpha1.NATGatewayStatus, out *core.NATGatewayStatus, s conversion.Scope) error { out.UsedNATIPs = in.UsedNATIPs out.RequestedNATIPs = in.RequestedNATIPs return nil } // Convert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus is an autogenerated conversion function. -func Convert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(in *v1alpha1.NATGatewayStatus, out *core.NATGatewayStatus, s conversion.Scope) error { +func Convert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(in *corev1alpha1.NATGatewayStatus, out *core.NATGatewayStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NATGatewayStatus_To_core_NATGatewayStatus(in, out, s) } -func autoConvert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(in *core.NATGatewayStatus, out *v1alpha1.NATGatewayStatus, s conversion.Scope) error { +func autoConvert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(in *core.NATGatewayStatus, out *corev1alpha1.NATGatewayStatus, s conversion.Scope) error { out.UsedNATIPs = in.UsedNATIPs out.RequestedNATIPs = in.RequestedNATIPs return nil } // Convert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus is an autogenerated conversion function. -func Convert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(in *core.NATGatewayStatus, out *v1alpha1.NATGatewayStatus, s conversion.Scope) error { +func Convert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(in *core.NATGatewayStatus, out *corev1alpha1.NATGatewayStatus, s conversion.Scope) error { return autoConvert_core_NATGatewayStatus_To_v1alpha1_NATGatewayStatus(in, out, s) } -func autoConvert_v1alpha1_NATIP_To_core_NATIP(in *v1alpha1.NATIP, out *core.NATIP, s conversion.Scope) error { +func autoConvert_v1alpha1_NATIP_To_core_NATIP(in *corev1alpha1.NATIP, out *core.NATIP, s conversion.Scope) error { out.IP = in.IP out.Sections = *(*[]core.NATIPSection)(unsafe.Pointer(&in.Sections)) return nil } // Convert_v1alpha1_NATIP_To_core_NATIP is an autogenerated conversion function. -func Convert_v1alpha1_NATIP_To_core_NATIP(in *v1alpha1.NATIP, out *core.NATIP, s conversion.Scope) error { +func Convert_v1alpha1_NATIP_To_core_NATIP(in *corev1alpha1.NATIP, out *core.NATIP, s conversion.Scope) error { return autoConvert_v1alpha1_NATIP_To_core_NATIP(in, out, s) } -func autoConvert_core_NATIP_To_v1alpha1_NATIP(in *core.NATIP, out *v1alpha1.NATIP, s conversion.Scope) error { +func autoConvert_core_NATIP_To_v1alpha1_NATIP(in *core.NATIP, out *corev1alpha1.NATIP, s conversion.Scope) error { out.IP = in.IP - out.Sections = *(*[]v1alpha1.NATIPSection)(unsafe.Pointer(&in.Sections)) + out.Sections = *(*[]corev1alpha1.NATIPSection)(unsafe.Pointer(&in.Sections)) return nil } // Convert_core_NATIP_To_v1alpha1_NATIP is an autogenerated conversion function. -func Convert_core_NATIP_To_v1alpha1_NATIP(in *core.NATIP, out *v1alpha1.NATIP, s conversion.Scope) error { +func Convert_core_NATIP_To_v1alpha1_NATIP(in *core.NATIP, out *corev1alpha1.NATIP, s conversion.Scope) error { return autoConvert_core_NATIP_To_v1alpha1_NATIP(in, out, s) } -func autoConvert_v1alpha1_NATIPSection_To_core_NATIPSection(in *v1alpha1.NATIPSection, out *core.NATIPSection, s conversion.Scope) error { +func autoConvert_v1alpha1_NATIPSection_To_core_NATIPSection(in *corev1alpha1.NATIPSection, out *core.NATIPSection, s conversion.Scope) error { out.IP = in.IP out.Port = in.Port out.EndPort = in.EndPort @@ -1988,46 +1988,46 @@ func autoConvert_v1alpha1_NATIPSection_To_core_NATIPSection(in *v1alpha1.NATIPSe } // Convert_v1alpha1_NATIPSection_To_core_NATIPSection is an autogenerated conversion function. -func Convert_v1alpha1_NATIPSection_To_core_NATIPSection(in *v1alpha1.NATIPSection, out *core.NATIPSection, s conversion.Scope) error { +func Convert_v1alpha1_NATIPSection_To_core_NATIPSection(in *corev1alpha1.NATIPSection, out *core.NATIPSection, s conversion.Scope) error { return autoConvert_v1alpha1_NATIPSection_To_core_NATIPSection(in, out, s) } -func autoConvert_core_NATIPSection_To_v1alpha1_NATIPSection(in *core.NATIPSection, out *v1alpha1.NATIPSection, s conversion.Scope) error { +func autoConvert_core_NATIPSection_To_v1alpha1_NATIPSection(in *core.NATIPSection, out *corev1alpha1.NATIPSection, s conversion.Scope) error { out.IP = in.IP out.Port = in.Port out.EndPort = in.EndPort - out.TargetRef = (*v1alpha1.NATTableIPTargetRef)(unsafe.Pointer(in.TargetRef)) + out.TargetRef = (*corev1alpha1.NATTableIPTargetRef)(unsafe.Pointer(in.TargetRef)) return nil } // Convert_core_NATIPSection_To_v1alpha1_NATIPSection is an autogenerated conversion function. -func Convert_core_NATIPSection_To_v1alpha1_NATIPSection(in *core.NATIPSection, out *v1alpha1.NATIPSection, s conversion.Scope) error { +func Convert_core_NATIPSection_To_v1alpha1_NATIPSection(in *core.NATIPSection, out *corev1alpha1.NATIPSection, s conversion.Scope) error { return autoConvert_core_NATIPSection_To_v1alpha1_NATIPSection(in, out, s) } -func autoConvert_v1alpha1_NATTable_To_core_NATTable(in *v1alpha1.NATTable, out *core.NATTable, s conversion.Scope) error { +func autoConvert_v1alpha1_NATTable_To_core_NATTable(in *corev1alpha1.NATTable, out *core.NATTable, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.IPs = *(*[]core.NATIP)(unsafe.Pointer(&in.IPs)) return nil } // Convert_v1alpha1_NATTable_To_core_NATTable is an autogenerated conversion function. -func Convert_v1alpha1_NATTable_To_core_NATTable(in *v1alpha1.NATTable, out *core.NATTable, s conversion.Scope) error { +func Convert_v1alpha1_NATTable_To_core_NATTable(in *corev1alpha1.NATTable, out *core.NATTable, s conversion.Scope) error { return autoConvert_v1alpha1_NATTable_To_core_NATTable(in, out, s) } -func autoConvert_core_NATTable_To_v1alpha1_NATTable(in *core.NATTable, out *v1alpha1.NATTable, s conversion.Scope) error { +func autoConvert_core_NATTable_To_v1alpha1_NATTable(in *core.NATTable, out *corev1alpha1.NATTable, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta - out.IPs = *(*[]v1alpha1.NATIP)(unsafe.Pointer(&in.IPs)) + out.IPs = *(*[]corev1alpha1.NATIP)(unsafe.Pointer(&in.IPs)) return nil } // Convert_core_NATTable_To_v1alpha1_NATTable is an autogenerated conversion function. -func Convert_core_NATTable_To_v1alpha1_NATTable(in *core.NATTable, out *v1alpha1.NATTable, s conversion.Scope) error { +func Convert_core_NATTable_To_v1alpha1_NATTable(in *core.NATTable, out *corev1alpha1.NATTable, s conversion.Scope) error { return autoConvert_core_NATTable_To_v1alpha1_NATTable(in, out, s) } -func autoConvert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in *v1alpha1.NATTableIPTargetRef, out *core.NATTableIPTargetRef, s conversion.Scope) error { +func autoConvert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in *corev1alpha1.NATTableIPTargetRef, out *core.NATTableIPTargetRef, s conversion.Scope) error { out.UID = types.UID(in.UID) out.Name = in.Name out.NodeRef = in.NodeRef @@ -2035,11 +2035,11 @@ func autoConvert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in *v1 } // Convert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef is an autogenerated conversion function. -func Convert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in *v1alpha1.NATTableIPTargetRef, out *core.NATTableIPTargetRef, s conversion.Scope) error { +func Convert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in *corev1alpha1.NATTableIPTargetRef, out *core.NATTableIPTargetRef, s conversion.Scope) error { return autoConvert_v1alpha1_NATTableIPTargetRef_To_core_NATTableIPTargetRef(in, out, s) } -func autoConvert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in *core.NATTableIPTargetRef, out *v1alpha1.NATTableIPTargetRef, s conversion.Scope) error { +func autoConvert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in *core.NATTableIPTargetRef, out *corev1alpha1.NATTableIPTargetRef, s conversion.Scope) error { out.UID = types.UID(in.UID) out.Name = in.Name out.NodeRef = in.NodeRef @@ -2047,33 +2047,33 @@ func autoConvert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in *co } // Convert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef is an autogenerated conversion function. -func Convert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in *core.NATTableIPTargetRef, out *v1alpha1.NATTableIPTargetRef, s conversion.Scope) error { +func Convert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in *core.NATTableIPTargetRef, out *corev1alpha1.NATTableIPTargetRef, s conversion.Scope) error { return autoConvert_core_NATTableIPTargetRef_To_v1alpha1_NATTableIPTargetRef(in, out, s) } -func autoConvert_v1alpha1_NATTableList_To_core_NATTableList(in *v1alpha1.NATTableList, out *core.NATTableList, s conversion.Scope) error { +func autoConvert_v1alpha1_NATTableList_To_core_NATTableList(in *corev1alpha1.NATTableList, out *core.NATTableList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NATTable)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NATTableList_To_core_NATTableList is an autogenerated conversion function. -func Convert_v1alpha1_NATTableList_To_core_NATTableList(in *v1alpha1.NATTableList, out *core.NATTableList, s conversion.Scope) error { +func Convert_v1alpha1_NATTableList_To_core_NATTableList(in *corev1alpha1.NATTableList, out *core.NATTableList, s conversion.Scope) error { return autoConvert_v1alpha1_NATTableList_To_core_NATTableList(in, out, s) } -func autoConvert_core_NATTableList_To_v1alpha1_NATTableList(in *core.NATTableList, out *v1alpha1.NATTableList, s conversion.Scope) error { +func autoConvert_core_NATTableList_To_v1alpha1_NATTableList(in *core.NATTableList, out *corev1alpha1.NATTableList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NATTable)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NATTable)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NATTableList_To_v1alpha1_NATTableList is an autogenerated conversion function. -func Convert_core_NATTableList_To_v1alpha1_NATTableList(in *core.NATTableList, out *v1alpha1.NATTableList, s conversion.Scope) error { +func Convert_core_NATTableList_To_v1alpha1_NATTableList(in *core.NATTableList, out *corev1alpha1.NATTableList, s conversion.Scope) error { return autoConvert_core_NATTableList_To_v1alpha1_NATTableList(in, out, s) } -func autoConvert_v1alpha1_Network_To_core_Network(in *v1alpha1.Network, out *core.Network, s conversion.Scope) error { +func autoConvert_v1alpha1_Network_To_core_Network(in *corev1alpha1.Network, out *core.Network, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2085,11 +2085,11 @@ func autoConvert_v1alpha1_Network_To_core_Network(in *v1alpha1.Network, out *cor } // Convert_v1alpha1_Network_To_core_Network is an autogenerated conversion function. -func Convert_v1alpha1_Network_To_core_Network(in *v1alpha1.Network, out *core.Network, s conversion.Scope) error { +func Convert_v1alpha1_Network_To_core_Network(in *corev1alpha1.Network, out *core.Network, s conversion.Scope) error { return autoConvert_v1alpha1_Network_To_core_Network(in, out, s) } -func autoConvert_core_Network_To_v1alpha1_Network(in *core.Network, out *v1alpha1.Network, s conversion.Scope) error { +func autoConvert_core_Network_To_v1alpha1_Network(in *core.Network, out *corev1alpha1.Network, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2101,11 +2101,11 @@ func autoConvert_core_Network_To_v1alpha1_Network(in *core.Network, out *v1alpha } // Convert_core_Network_To_v1alpha1_Network is an autogenerated conversion function. -func Convert_core_Network_To_v1alpha1_Network(in *core.Network, out *v1alpha1.Network, s conversion.Scope) error { +func Convert_core_Network_To_v1alpha1_Network(in *core.Network, out *corev1alpha1.Network, s conversion.Scope) error { return autoConvert_core_Network_To_v1alpha1_Network(in, out, s) } -func autoConvert_v1alpha1_NetworkID_To_core_NetworkID(in *v1alpha1.NetworkID, out *core.NetworkID, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkID_To_core_NetworkID(in *corev1alpha1.NetworkID, out *core.NetworkID, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2114,11 +2114,11 @@ func autoConvert_v1alpha1_NetworkID_To_core_NetworkID(in *v1alpha1.NetworkID, ou } // Convert_v1alpha1_NetworkID_To_core_NetworkID is an autogenerated conversion function. -func Convert_v1alpha1_NetworkID_To_core_NetworkID(in *v1alpha1.NetworkID, out *core.NetworkID, s conversion.Scope) error { +func Convert_v1alpha1_NetworkID_To_core_NetworkID(in *corev1alpha1.NetworkID, out *core.NetworkID, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkID_To_core_NetworkID(in, out, s) } -func autoConvert_core_NetworkID_To_v1alpha1_NetworkID(in *core.NetworkID, out *v1alpha1.NetworkID, s conversion.Scope) error { +func autoConvert_core_NetworkID_To_v1alpha1_NetworkID(in *core.NetworkID, out *corev1alpha1.NetworkID, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2127,11 +2127,11 @@ func autoConvert_core_NetworkID_To_v1alpha1_NetworkID(in *core.NetworkID, out *v } // Convert_core_NetworkID_To_v1alpha1_NetworkID is an autogenerated conversion function. -func Convert_core_NetworkID_To_v1alpha1_NetworkID(in *core.NetworkID, out *v1alpha1.NetworkID, s conversion.Scope) error { +func Convert_core_NetworkID_To_v1alpha1_NetworkID(in *core.NetworkID, out *corev1alpha1.NetworkID, s conversion.Scope) error { return autoConvert_core_NetworkID_To_v1alpha1_NetworkID(in, out, s) } -func autoConvert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in *v1alpha1.NetworkIDClaimRef, out *core.NetworkIDClaimRef, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in *corev1alpha1.NetworkIDClaimRef, out *core.NetworkIDClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Namespace = in.Namespace @@ -2141,11 +2141,11 @@ func autoConvert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in *v1alph } // Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef is an autogenerated conversion function. -func Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in *v1alpha1.NetworkIDClaimRef, out *core.NetworkIDClaimRef, s conversion.Scope) error { +func Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in *corev1alpha1.NetworkIDClaimRef, out *core.NetworkIDClaimRef, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(in, out, s) } -func autoConvert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in *core.NetworkIDClaimRef, out *v1alpha1.NetworkIDClaimRef, s conversion.Scope) error { +func autoConvert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in *core.NetworkIDClaimRef, out *corev1alpha1.NetworkIDClaimRef, s conversion.Scope) error { out.Group = in.Group out.Resource = in.Resource out.Namespace = in.Namespace @@ -2155,33 +2155,33 @@ func autoConvert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in *core.N } // Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef is an autogenerated conversion function. -func Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in *core.NetworkIDClaimRef, out *v1alpha1.NetworkIDClaimRef, s conversion.Scope) error { +func Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in *core.NetworkIDClaimRef, out *corev1alpha1.NetworkIDClaimRef, s conversion.Scope) error { return autoConvert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(in, out, s) } -func autoConvert_v1alpha1_NetworkIDList_To_core_NetworkIDList(in *v1alpha1.NetworkIDList, out *core.NetworkIDList, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkIDList_To_core_NetworkIDList(in *corev1alpha1.NetworkIDList, out *core.NetworkIDList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NetworkID)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NetworkIDList_To_core_NetworkIDList is an autogenerated conversion function. -func Convert_v1alpha1_NetworkIDList_To_core_NetworkIDList(in *v1alpha1.NetworkIDList, out *core.NetworkIDList, s conversion.Scope) error { +func Convert_v1alpha1_NetworkIDList_To_core_NetworkIDList(in *corev1alpha1.NetworkIDList, out *core.NetworkIDList, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkIDList_To_core_NetworkIDList(in, out, s) } -func autoConvert_core_NetworkIDList_To_v1alpha1_NetworkIDList(in *core.NetworkIDList, out *v1alpha1.NetworkIDList, s conversion.Scope) error { +func autoConvert_core_NetworkIDList_To_v1alpha1_NetworkIDList(in *core.NetworkIDList, out *corev1alpha1.NetworkIDList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NetworkID)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NetworkID)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NetworkIDList_To_v1alpha1_NetworkIDList is an autogenerated conversion function. -func Convert_core_NetworkIDList_To_v1alpha1_NetworkIDList(in *core.NetworkIDList, out *v1alpha1.NetworkIDList, s conversion.Scope) error { +func Convert_core_NetworkIDList_To_v1alpha1_NetworkIDList(in *core.NetworkIDList, out *corev1alpha1.NetworkIDList, s conversion.Scope) error { return autoConvert_core_NetworkIDList_To_v1alpha1_NetworkIDList(in, out, s) } -func autoConvert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in *v1alpha1.NetworkIDSpec, out *core.NetworkIDSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in *corev1alpha1.NetworkIDSpec, out *core.NetworkIDSpec, s conversion.Scope) error { if err := Convert_v1alpha1_NetworkIDClaimRef_To_core_NetworkIDClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err } @@ -2189,11 +2189,11 @@ func autoConvert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in *v1alpha1.Netwo } // Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec is an autogenerated conversion function. -func Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in *v1alpha1.NetworkIDSpec, out *core.NetworkIDSpec, s conversion.Scope) error { +func Convert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in *corev1alpha1.NetworkIDSpec, out *core.NetworkIDSpec, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkIDSpec_To_core_NetworkIDSpec(in, out, s) } -func autoConvert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in *core.NetworkIDSpec, out *v1alpha1.NetworkIDSpec, s conversion.Scope) error { +func autoConvert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in *core.NetworkIDSpec, out *corev1alpha1.NetworkIDSpec, s conversion.Scope) error { if err := Convert_core_NetworkIDClaimRef_To_v1alpha1_NetworkIDClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err } @@ -2201,11 +2201,11 @@ func autoConvert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in *core.NetworkID } // Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec is an autogenerated conversion function. -func Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in *core.NetworkIDSpec, out *v1alpha1.NetworkIDSpec, s conversion.Scope) error { +func Convert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in *core.NetworkIDSpec, out *corev1alpha1.NetworkIDSpec, s conversion.Scope) error { return autoConvert_core_NetworkIDSpec_To_v1alpha1_NetworkIDSpec(in, out, s) } -func autoConvert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in *v1alpha1.NetworkInterface, out *core.NetworkInterface, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in *corev1alpha1.NetworkInterface, out *core.NetworkInterface, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2217,11 +2217,11 @@ func autoConvert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in *v1alpha1 } // Convert_v1alpha1_NetworkInterface_To_core_NetworkInterface is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in *v1alpha1.NetworkInterface, out *core.NetworkInterface, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in *corev1alpha1.NetworkInterface, out *core.NetworkInterface, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterface_To_core_NetworkInterface(in, out, s) } -func autoConvert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in *core.NetworkInterface, out *v1alpha1.NetworkInterface, s conversion.Scope) error { +func autoConvert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in *core.NetworkInterface, out *corev1alpha1.NetworkInterface, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2233,33 +2233,33 @@ func autoConvert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in *core.Net } // Convert_core_NetworkInterface_To_v1alpha1_NetworkInterface is an autogenerated conversion function. -func Convert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in *core.NetworkInterface, out *v1alpha1.NetworkInterface, s conversion.Scope) error { +func Convert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in *core.NetworkInterface, out *corev1alpha1.NetworkInterface, s conversion.Scope) error { return autoConvert_core_NetworkInterface_To_v1alpha1_NetworkInterface(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(in *v1alpha1.NetworkInterfaceList, out *core.NetworkInterfaceList, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(in *corev1alpha1.NetworkInterfaceList, out *core.NetworkInterfaceList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NetworkInterface)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(in *v1alpha1.NetworkInterfaceList, out *core.NetworkInterfaceList, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(in *corev1alpha1.NetworkInterfaceList, out *core.NetworkInterfaceList, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfaceList_To_core_NetworkInterfaceList(in, out, s) } -func autoConvert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(in *core.NetworkInterfaceList, out *v1alpha1.NetworkInterfaceList, s conversion.Scope) error { +func autoConvert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(in *core.NetworkInterfaceList, out *corev1alpha1.NetworkInterfaceList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NetworkInterface)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NetworkInterface)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList is an autogenerated conversion function. -func Convert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(in *core.NetworkInterfaceList, out *v1alpha1.NetworkInterfaceList, s conversion.Scope) error { +func Convert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(in *core.NetworkInterfaceList, out *corev1alpha1.NetworkInterfaceList, s conversion.Scope) error { return autoConvert_core_NetworkInterfaceList_To_v1alpha1_NetworkInterfaceList(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in *v1alpha1.NetworkInterfaceNAT, out *core.NetworkInterfaceNAT, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in *corev1alpha1.NetworkInterfaceNAT, out *core.NetworkInterfaceNAT, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) if err := Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err @@ -2268,11 +2268,11 @@ func autoConvert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in *v1 } // Convert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in *v1alpha1.NetworkInterfaceNAT, out *core.NetworkInterfaceNAT, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in *corev1alpha1.NetworkInterfaceNAT, out *core.NetworkInterfaceNAT, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfaceNAT_To_core_NetworkInterfaceNAT(in, out, s) } -func autoConvert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in *core.NetworkInterfaceNAT, out *v1alpha1.NetworkInterfaceNAT, s conversion.Scope) error { +func autoConvert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in *core.NetworkInterfaceNAT, out *corev1alpha1.NetworkInterfaceNAT, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) if err := Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(&in.ClaimRef, &out.ClaimRef, s); err != nil { return err @@ -2281,33 +2281,33 @@ func autoConvert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in *co } // Convert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT is an autogenerated conversion function. -func Convert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in *core.NetworkInterfaceNAT, out *v1alpha1.NetworkInterfaceNAT, s conversion.Scope) error { +func Convert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in *core.NetworkInterfaceNAT, out *corev1alpha1.NetworkInterfaceNAT, s conversion.Scope) error { return autoConvert_core_NetworkInterfaceNAT_To_v1alpha1_NetworkInterfaceNAT(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(in *v1alpha1.NetworkInterfaceNATClaimRef, out *core.NetworkInterfaceNATClaimRef, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(in *corev1alpha1.NetworkInterfaceNATClaimRef, out *core.NetworkInterfaceNATClaimRef, s conversion.Scope) error { out.Name = in.Name out.UID = types.UID(in.UID) return nil } // Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(in *v1alpha1.NetworkInterfaceNATClaimRef, out *core.NetworkInterfaceNATClaimRef, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(in *corev1alpha1.NetworkInterfaceNATClaimRef, out *core.NetworkInterfaceNATClaimRef, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfaceNATClaimRef_To_core_NetworkInterfaceNATClaimRef(in, out, s) } -func autoConvert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(in *core.NetworkInterfaceNATClaimRef, out *v1alpha1.NetworkInterfaceNATClaimRef, s conversion.Scope) error { +func autoConvert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(in *core.NetworkInterfaceNATClaimRef, out *corev1alpha1.NetworkInterfaceNATClaimRef, s conversion.Scope) error { out.Name = in.Name out.UID = types.UID(in.UID) return nil } // Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef is an autogenerated conversion function. -func Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(in *core.NetworkInterfaceNATClaimRef, out *v1alpha1.NetworkInterfaceNATClaimRef, s conversion.Scope) error { +func Convert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(in *core.NetworkInterfaceNATClaimRef, out *corev1alpha1.NetworkInterfaceNATClaimRef, s conversion.Scope) error { return autoConvert_core_NetworkInterfaceNATClaimRef_To_v1alpha1_NetworkInterfaceNATClaimRef(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(in *v1alpha1.NetworkInterfacePublicIP, out *core.NetworkInterfacePublicIP, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(in *corev1alpha1.NetworkInterfacePublicIP, out *core.NetworkInterfacePublicIP, s conversion.Scope) error { out.Name = in.Name out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP @@ -2315,11 +2315,11 @@ func autoConvert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePubli } // Convert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(in *v1alpha1.NetworkInterfacePublicIP, out *core.NetworkInterfacePublicIP, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(in *corev1alpha1.NetworkInterfacePublicIP, out *core.NetworkInterfacePublicIP, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfacePublicIP_To_core_NetworkInterfacePublicIP(in, out, s) } -func autoConvert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(in *core.NetworkInterfacePublicIP, out *v1alpha1.NetworkInterfacePublicIP, s conversion.Scope) error { +func autoConvert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(in *core.NetworkInterfacePublicIP, out *corev1alpha1.NetworkInterfacePublicIP, s conversion.Scope) error { out.Name = in.Name out.IPFamily = corev1.IPFamily(in.IPFamily) out.IP = in.IP @@ -2327,11 +2327,11 @@ func autoConvert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePubli } // Convert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP is an autogenerated conversion function. -func Convert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(in *core.NetworkInterfacePublicIP, out *v1alpha1.NetworkInterfacePublicIP, s conversion.Scope) error { +func Convert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(in *core.NetworkInterfacePublicIP, out *corev1alpha1.NetworkInterfacePublicIP, s conversion.Scope) error { return autoConvert_core_NetworkInterfacePublicIP_To_v1alpha1_NetworkInterfacePublicIP(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in *v1alpha1.NetworkInterfaceSpec, out *core.NetworkInterfaceSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in *corev1alpha1.NetworkInterfaceSpec, out *core.NetworkInterfaceSpec, s conversion.Scope) error { out.NodeRef = in.NodeRef out.NetworkRef = in.NetworkRef out.IPs = *(*[]net.IP)(unsafe.Pointer(&in.IPs)) @@ -2342,26 +2342,26 @@ func autoConvert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in * } // Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in *v1alpha1.NetworkInterfaceSpec, out *core.NetworkInterfaceSpec, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in *corev1alpha1.NetworkInterfaceSpec, out *core.NetworkInterfaceSpec, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfaceSpec_To_core_NetworkInterfaceSpec(in, out, s) } -func autoConvert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(in *core.NetworkInterfaceSpec, out *v1alpha1.NetworkInterfaceSpec, s conversion.Scope) error { +func autoConvert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(in *core.NetworkInterfaceSpec, out *corev1alpha1.NetworkInterfaceSpec, s conversion.Scope) error { out.NodeRef = in.NodeRef out.NetworkRef = in.NetworkRef out.IPs = *(*[]net.IP)(unsafe.Pointer(&in.IPs)) out.Prefixes = *(*[]net.IPPrefix)(unsafe.Pointer(&in.Prefixes)) - out.NATs = *(*[]v1alpha1.NetworkInterfaceNAT)(unsafe.Pointer(&in.NATs)) - out.PublicIPs = *(*[]v1alpha1.NetworkInterfacePublicIP)(unsafe.Pointer(&in.PublicIPs)) + out.NATs = *(*[]corev1alpha1.NetworkInterfaceNAT)(unsafe.Pointer(&in.NATs)) + out.PublicIPs = *(*[]corev1alpha1.NetworkInterfacePublicIP)(unsafe.Pointer(&in.PublicIPs)) return nil } // Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec is an autogenerated conversion function. -func Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(in *core.NetworkInterfaceSpec, out *v1alpha1.NetworkInterfaceSpec, s conversion.Scope) error { +func Convert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(in *core.NetworkInterfaceSpec, out *corev1alpha1.NetworkInterfaceSpec, s conversion.Scope) error { return autoConvert_core_NetworkInterfaceSpec_To_v1alpha1_NetworkInterfaceSpec(in, out, s) } -func autoConvert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(in *v1alpha1.NetworkInterfaceStatus, out *core.NetworkInterfaceStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(in *corev1alpha1.NetworkInterfaceStatus, out *core.NetworkInterfaceStatus, s conversion.Scope) error { out.State = core.NetworkInterfaceState(in.State) out.PCIAddress = (*core.PCIAddress)(unsafe.Pointer(in.PCIAddress)) out.TAPDevice = (*core.TAPDevice)(unsafe.Pointer(in.TAPDevice)) @@ -2372,14 +2372,14 @@ func autoConvert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus( } // Convert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus is an autogenerated conversion function. -func Convert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(in *v1alpha1.NetworkInterfaceStatus, out *core.NetworkInterfaceStatus, s conversion.Scope) error { +func Convert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(in *corev1alpha1.NetworkInterfaceStatus, out *core.NetworkInterfaceStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkInterfaceStatus_To_core_NetworkInterfaceStatus(in, out, s) } -func autoConvert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in *core.NetworkInterfaceStatus, out *v1alpha1.NetworkInterfaceStatus, s conversion.Scope) error { - out.State = v1alpha1.NetworkInterfaceState(in.State) - out.PCIAddress = (*v1alpha1.PCIAddress)(unsafe.Pointer(in.PCIAddress)) - out.TAPDevice = (*v1alpha1.TAPDevice)(unsafe.Pointer(in.TAPDevice)) +func autoConvert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in *core.NetworkInterfaceStatus, out *corev1alpha1.NetworkInterfaceStatus, s conversion.Scope) error { + out.State = corev1alpha1.NetworkInterfaceState(in.State) + out.PCIAddress = (*corev1alpha1.PCIAddress)(unsafe.Pointer(in.PCIAddress)) + out.TAPDevice = (*corev1alpha1.TAPDevice)(unsafe.Pointer(in.TAPDevice)) out.Prefixes = *(*[]net.IPPrefix)(unsafe.Pointer(&in.Prefixes)) out.PublicIPs = *(*[]net.IP)(unsafe.Pointer(&in.PublicIPs)) out.NATIPs = *(*[]net.IP)(unsafe.Pointer(&in.NATIPs)) @@ -2387,33 +2387,33 @@ func autoConvert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus( } // Convert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus is an autogenerated conversion function. -func Convert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in *core.NetworkInterfaceStatus, out *v1alpha1.NetworkInterfaceStatus, s conversion.Scope) error { +func Convert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in *core.NetworkInterfaceStatus, out *corev1alpha1.NetworkInterfaceStatus, s conversion.Scope) error { return autoConvert_core_NetworkInterfaceStatus_To_v1alpha1_NetworkInterfaceStatus(in, out, s) } -func autoConvert_v1alpha1_NetworkList_To_core_NetworkList(in *v1alpha1.NetworkList, out *core.NetworkList, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkList_To_core_NetworkList(in *corev1alpha1.NetworkList, out *core.NetworkList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.Network)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NetworkList_To_core_NetworkList is an autogenerated conversion function. -func Convert_v1alpha1_NetworkList_To_core_NetworkList(in *v1alpha1.NetworkList, out *core.NetworkList, s conversion.Scope) error { +func Convert_v1alpha1_NetworkList_To_core_NetworkList(in *corev1alpha1.NetworkList, out *core.NetworkList, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkList_To_core_NetworkList(in, out, s) } -func autoConvert_core_NetworkList_To_v1alpha1_NetworkList(in *core.NetworkList, out *v1alpha1.NetworkList, s conversion.Scope) error { +func autoConvert_core_NetworkList_To_v1alpha1_NetworkList(in *core.NetworkList, out *corev1alpha1.NetworkList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.Network)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.Network)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NetworkList_To_v1alpha1_NetworkList is an autogenerated conversion function. -func Convert_core_NetworkList_To_v1alpha1_NetworkList(in *core.NetworkList, out *v1alpha1.NetworkList, s conversion.Scope) error { +func Convert_core_NetworkList_To_v1alpha1_NetworkList(in *core.NetworkList, out *corev1alpha1.NetworkList, s conversion.Scope) error { return autoConvert_core_NetworkList_To_v1alpha1_NetworkList(in, out, s) } -func autoConvert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in *v1alpha1.NetworkPeering, out *core.NetworkPeering, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in *corev1alpha1.NetworkPeering, out *core.NetworkPeering, s conversion.Scope) error { out.Name = in.Name out.ID = in.ID out.Prefixes = *(*[]core.PeeringPrefix)(unsafe.Pointer(&in.Prefixes)) @@ -2421,45 +2421,45 @@ func autoConvert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in *v1alpha1.Net } // Convert_v1alpha1_NetworkPeering_To_core_NetworkPeering is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in *v1alpha1.NetworkPeering, out *core.NetworkPeering, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in *corev1alpha1.NetworkPeering, out *core.NetworkPeering, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPeering_To_core_NetworkPeering(in, out, s) } -func autoConvert_core_NetworkPeering_To_v1alpha1_NetworkPeering(in *core.NetworkPeering, out *v1alpha1.NetworkPeering, s conversion.Scope) error { +func autoConvert_core_NetworkPeering_To_v1alpha1_NetworkPeering(in *core.NetworkPeering, out *corev1alpha1.NetworkPeering, s conversion.Scope) error { out.Name = in.Name out.ID = in.ID - out.Prefixes = *(*[]v1alpha1.PeeringPrefix)(unsafe.Pointer(&in.Prefixes)) + out.Prefixes = *(*[]corev1alpha1.PeeringPrefix)(unsafe.Pointer(&in.Prefixes)) return nil } // Convert_core_NetworkPeering_To_v1alpha1_NetworkPeering is an autogenerated conversion function. -func Convert_core_NetworkPeering_To_v1alpha1_NetworkPeering(in *core.NetworkPeering, out *v1alpha1.NetworkPeering, s conversion.Scope) error { +func Convert_core_NetworkPeering_To_v1alpha1_NetworkPeering(in *core.NetworkPeering, out *corev1alpha1.NetworkPeering, s conversion.Scope) error { return autoConvert_core_NetworkPeering_To_v1alpha1_NetworkPeering(in, out, s) } -func autoConvert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(in *v1alpha1.NetworkPeeringStatus, out *core.NetworkPeeringStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(in *corev1alpha1.NetworkPeeringStatus, out *core.NetworkPeeringStatus, s conversion.Scope) error { out.ID = in.ID out.State = core.NetworkPeeringState(in.State) return nil } // Convert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(in *v1alpha1.NetworkPeeringStatus, out *core.NetworkPeeringStatus, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(in *corev1alpha1.NetworkPeeringStatus, out *core.NetworkPeeringStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPeeringStatus_To_core_NetworkPeeringStatus(in, out, s) } -func autoConvert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(in *core.NetworkPeeringStatus, out *v1alpha1.NetworkPeeringStatus, s conversion.Scope) error { +func autoConvert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(in *core.NetworkPeeringStatus, out *corev1alpha1.NetworkPeeringStatus, s conversion.Scope) error { out.ID = in.ID - out.State = v1alpha1.NetworkPeeringState(in.State) + out.State = corev1alpha1.NetworkPeeringState(in.State) return nil } // Convert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus is an autogenerated conversion function. -func Convert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(in *core.NetworkPeeringStatus, out *v1alpha1.NetworkPeeringStatus, s conversion.Scope) error { +func Convert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(in *core.NetworkPeeringStatus, out *corev1alpha1.NetworkPeeringStatus, s conversion.Scope) error { return autoConvert_core_NetworkPeeringStatus_To_v1alpha1_NetworkPeeringStatus(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in *v1alpha1.NetworkPolicy, out *core.NetworkPolicy, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in *corev1alpha1.NetworkPolicy, out *core.NetworkPolicy, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2468,11 +2468,11 @@ func autoConvert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in *v1alpha1.Netwo } // Convert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in *v1alpha1.NetworkPolicy, out *core.NetworkPolicy, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in *corev1alpha1.NetworkPolicy, out *core.NetworkPolicy, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicy_To_core_NetworkPolicy(in, out, s) } -func autoConvert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in *core.NetworkPolicy, out *v1alpha1.NetworkPolicy, s conversion.Scope) error { +func autoConvert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in *core.NetworkPolicy, out *corev1alpha1.NetworkPolicy, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2481,99 +2481,99 @@ func autoConvert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in *core.NetworkPo } // Convert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy is an autogenerated conversion function. -func Convert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in *core.NetworkPolicy, out *v1alpha1.NetworkPolicy, s conversion.Scope) error { +func Convert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in *core.NetworkPolicy, out *corev1alpha1.NetworkPolicy, s conversion.Scope) error { return autoConvert_core_NetworkPolicy_To_v1alpha1_NetworkPolicy(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(in *v1alpha1.NetworkPolicyEgressRule, out *core.NetworkPolicyEgressRule, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(in *corev1alpha1.NetworkPolicyEgressRule, out *core.NetworkPolicyEgressRule, s conversion.Scope) error { out.Ports = *(*[]core.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) out.To = *(*[]core.NetworkPolicyPeer)(unsafe.Pointer(&in.To)) return nil } // Convert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(in *v1alpha1.NetworkPolicyEgressRule, out *core.NetworkPolicyEgressRule, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(in *corev1alpha1.NetworkPolicyEgressRule, out *core.NetworkPolicyEgressRule, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyEgressRule_To_core_NetworkPolicyEgressRule(in, out, s) } -func autoConvert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(in *core.NetworkPolicyEgressRule, out *v1alpha1.NetworkPolicyEgressRule, s conversion.Scope) error { - out.Ports = *(*[]v1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) - out.To = *(*[]v1alpha1.NetworkPolicyPeer)(unsafe.Pointer(&in.To)) +func autoConvert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(in *core.NetworkPolicyEgressRule, out *corev1alpha1.NetworkPolicyEgressRule, s conversion.Scope) error { + out.Ports = *(*[]corev1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) + out.To = *(*[]corev1alpha1.NetworkPolicyPeer)(unsafe.Pointer(&in.To)) return nil } // Convert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule is an autogenerated conversion function. -func Convert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(in *core.NetworkPolicyEgressRule, out *v1alpha1.NetworkPolicyEgressRule, s conversion.Scope) error { +func Convert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(in *core.NetworkPolicyEgressRule, out *corev1alpha1.NetworkPolicyEgressRule, s conversion.Scope) error { return autoConvert_core_NetworkPolicyEgressRule_To_v1alpha1_NetworkPolicyEgressRule(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(in *v1alpha1.NetworkPolicyIngressRule, out *core.NetworkPolicyIngressRule, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(in *corev1alpha1.NetworkPolicyIngressRule, out *core.NetworkPolicyIngressRule, s conversion.Scope) error { out.From = *(*[]core.NetworkPolicyPeer)(unsafe.Pointer(&in.From)) out.Ports = *(*[]core.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) return nil } // Convert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(in *v1alpha1.NetworkPolicyIngressRule, out *core.NetworkPolicyIngressRule, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(in *corev1alpha1.NetworkPolicyIngressRule, out *core.NetworkPolicyIngressRule, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyIngressRule_To_core_NetworkPolicyIngressRule(in, out, s) } -func autoConvert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(in *core.NetworkPolicyIngressRule, out *v1alpha1.NetworkPolicyIngressRule, s conversion.Scope) error { - out.From = *(*[]v1alpha1.NetworkPolicyPeer)(unsafe.Pointer(&in.From)) - out.Ports = *(*[]v1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) +func autoConvert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(in *core.NetworkPolicyIngressRule, out *corev1alpha1.NetworkPolicyIngressRule, s conversion.Scope) error { + out.From = *(*[]corev1alpha1.NetworkPolicyPeer)(unsafe.Pointer(&in.From)) + out.Ports = *(*[]corev1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.Ports)) return nil } // Convert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule is an autogenerated conversion function. -func Convert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(in *core.NetworkPolicyIngressRule, out *v1alpha1.NetworkPolicyIngressRule, s conversion.Scope) error { +func Convert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(in *core.NetworkPolicyIngressRule, out *corev1alpha1.NetworkPolicyIngressRule, s conversion.Scope) error { return autoConvert_core_NetworkPolicyIngressRule_To_v1alpha1_NetworkPolicyIngressRule(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(in *v1alpha1.NetworkPolicyList, out *core.NetworkPolicyList, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(in *corev1alpha1.NetworkPolicyList, out *core.NetworkPolicyList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NetworkPolicy)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(in *v1alpha1.NetworkPolicyList, out *core.NetworkPolicyList, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(in *corev1alpha1.NetworkPolicyList, out *core.NetworkPolicyList, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyList_To_core_NetworkPolicyList(in, out, s) } -func autoConvert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(in *core.NetworkPolicyList, out *v1alpha1.NetworkPolicyList, s conversion.Scope) error { +func autoConvert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(in *core.NetworkPolicyList, out *corev1alpha1.NetworkPolicyList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NetworkPolicy)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NetworkPolicy)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList is an autogenerated conversion function. -func Convert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(in *core.NetworkPolicyList, out *v1alpha1.NetworkPolicyList, s conversion.Scope) error { +func Convert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(in *core.NetworkPolicyList, out *corev1alpha1.NetworkPolicyList, s conversion.Scope) error { return autoConvert_core_NetworkPolicyList_To_v1alpha1_NetworkPolicyList(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(in *v1alpha1.NetworkPolicyPeer, out *core.NetworkPolicyPeer, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(in *corev1alpha1.NetworkPolicyPeer, out *core.NetworkPolicyPeer, s conversion.Scope) error { out.ObjectSelector = (*core.ObjectSelector)(unsafe.Pointer(in.ObjectSelector)) out.IPBlock = (*core.IPBlock)(unsafe.Pointer(in.IPBlock)) return nil } // Convert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(in *v1alpha1.NetworkPolicyPeer, out *core.NetworkPolicyPeer, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(in *corev1alpha1.NetworkPolicyPeer, out *core.NetworkPolicyPeer, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyPeer_To_core_NetworkPolicyPeer(in, out, s) } -func autoConvert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(in *core.NetworkPolicyPeer, out *v1alpha1.NetworkPolicyPeer, s conversion.Scope) error { - out.ObjectSelector = (*v1alpha1.ObjectSelector)(unsafe.Pointer(in.ObjectSelector)) - out.IPBlock = (*v1alpha1.IPBlock)(unsafe.Pointer(in.IPBlock)) +func autoConvert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(in *core.NetworkPolicyPeer, out *corev1alpha1.NetworkPolicyPeer, s conversion.Scope) error { + out.ObjectSelector = (*corev1alpha1.ObjectSelector)(unsafe.Pointer(in.ObjectSelector)) + out.IPBlock = (*corev1alpha1.IPBlock)(unsafe.Pointer(in.IPBlock)) return nil } // Convert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer is an autogenerated conversion function. -func Convert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(in *core.NetworkPolicyPeer, out *v1alpha1.NetworkPolicyPeer, s conversion.Scope) error { +func Convert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(in *core.NetworkPolicyPeer, out *corev1alpha1.NetworkPolicyPeer, s conversion.Scope) error { return autoConvert_core_NetworkPolicyPeer_To_v1alpha1_NetworkPolicyPeer(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in *v1alpha1.NetworkPolicyPort, out *core.NetworkPolicyPort, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in *corev1alpha1.NetworkPolicyPort, out *core.NetworkPolicyPort, s conversion.Scope) error { out.Protocol = (*corev1.Protocol)(unsafe.Pointer(in.Protocol)) out.Port = in.Port out.EndPort = (*int32)(unsafe.Pointer(in.EndPort)) @@ -2581,11 +2581,11 @@ func autoConvert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in *v1alph } // Convert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in *v1alpha1.NetworkPolicyPort, out *core.NetworkPolicyPort, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in *corev1alpha1.NetworkPolicyPort, out *core.NetworkPolicyPort, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyPort_To_core_NetworkPolicyPort(in, out, s) } -func autoConvert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in *core.NetworkPolicyPort, out *v1alpha1.NetworkPolicyPort, s conversion.Scope) error { +func autoConvert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in *core.NetworkPolicyPort, out *corev1alpha1.NetworkPolicyPort, s conversion.Scope) error { out.Protocol = (*corev1.Protocol)(unsafe.Pointer(in.Protocol)) out.Port = in.Port out.EndPort = (*int32)(unsafe.Pointer(in.EndPort)) @@ -2593,11 +2593,11 @@ func autoConvert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in *core.N } // Convert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort is an autogenerated conversion function. -func Convert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in *core.NetworkPolicyPort, out *v1alpha1.NetworkPolicyPort, s conversion.Scope) error { +func Convert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in *core.NetworkPolicyPort, out *corev1alpha1.NetworkPolicyPort, s conversion.Scope) error { return autoConvert_core_NetworkPolicyPort_To_v1alpha1_NetworkPolicyPort(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in *v1alpha1.NetworkPolicyRule, out *core.NetworkPolicyRule, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in *corev1alpha1.NetworkPolicyRule, out *core.NetworkPolicyRule, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_LocalUIDReference_To_core_LocalUIDReference(&in.NetworkRef, &out.NetworkRef, s); err != nil { return err @@ -2610,50 +2610,50 @@ func autoConvert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in *v1alph } // Convert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in *v1alpha1.NetworkPolicyRule, out *core.NetworkPolicyRule, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in *corev1alpha1.NetworkPolicyRule, out *core.NetworkPolicyRule, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyRule_To_core_NetworkPolicyRule(in, out, s) } -func autoConvert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(in *core.NetworkPolicyRule, out *v1alpha1.NetworkPolicyRule, s conversion.Scope) error { +func autoConvert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(in *core.NetworkPolicyRule, out *corev1alpha1.NetworkPolicyRule, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_LocalUIDReference_To_v1alpha1_LocalUIDReference(&in.NetworkRef, &out.NetworkRef, s); err != nil { return err } - out.Targets = *(*[]v1alpha1.TargetNetworkInterface)(unsafe.Pointer(&in.Targets)) + out.Targets = *(*[]corev1alpha1.TargetNetworkInterface)(unsafe.Pointer(&in.Targets)) out.Priority = (*int32)(unsafe.Pointer(in.Priority)) - out.IngressRules = *(*[]v1alpha1.Rule)(unsafe.Pointer(&in.IngressRules)) - out.EgressRules = *(*[]v1alpha1.Rule)(unsafe.Pointer(&in.EgressRules)) + out.IngressRules = *(*[]corev1alpha1.Rule)(unsafe.Pointer(&in.IngressRules)) + out.EgressRules = *(*[]corev1alpha1.Rule)(unsafe.Pointer(&in.EgressRules)) return nil } // Convert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule is an autogenerated conversion function. -func Convert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(in *core.NetworkPolicyRule, out *v1alpha1.NetworkPolicyRule, s conversion.Scope) error { +func Convert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(in *core.NetworkPolicyRule, out *corev1alpha1.NetworkPolicyRule, s conversion.Scope) error { return autoConvert_core_NetworkPolicyRule_To_v1alpha1_NetworkPolicyRule(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(in *v1alpha1.NetworkPolicyRuleList, out *core.NetworkPolicyRuleList, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(in *corev1alpha1.NetworkPolicyRuleList, out *core.NetworkPolicyRuleList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.NetworkPolicyRule)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(in *v1alpha1.NetworkPolicyRuleList, out *core.NetworkPolicyRuleList, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(in *corev1alpha1.NetworkPolicyRuleList, out *core.NetworkPolicyRuleList, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicyRuleList_To_core_NetworkPolicyRuleList(in, out, s) } -func autoConvert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(in *core.NetworkPolicyRuleList, out *v1alpha1.NetworkPolicyRuleList, s conversion.Scope) error { +func autoConvert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(in *core.NetworkPolicyRuleList, out *corev1alpha1.NetworkPolicyRuleList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.NetworkPolicyRule)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.NetworkPolicyRule)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList is an autogenerated conversion function. -func Convert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(in *core.NetworkPolicyRuleList, out *v1alpha1.NetworkPolicyRuleList, s conversion.Scope) error { +func Convert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(in *core.NetworkPolicyRuleList, out *corev1alpha1.NetworkPolicyRuleList, s conversion.Scope) error { return autoConvert_core_NetworkPolicyRuleList_To_v1alpha1_NetworkPolicyRuleList(in, out, s) } -func autoConvert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in *v1alpha1.NetworkPolicySpec, out *core.NetworkPolicySpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in *corev1alpha1.NetworkPolicySpec, out *core.NetworkPolicySpec, s conversion.Scope) error { out.NetworkRef = in.NetworkRef out.NetworkInterfaceSelector = in.NetworkInterfaceSelector out.Priority = (*int32)(unsafe.Pointer(in.Priority)) @@ -2664,68 +2664,68 @@ func autoConvert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in *v1alph } // Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec is an autogenerated conversion function. -func Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in *v1alpha1.NetworkPolicySpec, out *core.NetworkPolicySpec, s conversion.Scope) error { +func Convert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in *corev1alpha1.NetworkPolicySpec, out *core.NetworkPolicySpec, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkPolicySpec_To_core_NetworkPolicySpec(in, out, s) } -func autoConvert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(in *core.NetworkPolicySpec, out *v1alpha1.NetworkPolicySpec, s conversion.Scope) error { +func autoConvert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(in *core.NetworkPolicySpec, out *corev1alpha1.NetworkPolicySpec, s conversion.Scope) error { out.NetworkRef = in.NetworkRef out.NetworkInterfaceSelector = in.NetworkInterfaceSelector out.Priority = (*int32)(unsafe.Pointer(in.Priority)) - out.Ingress = *(*[]v1alpha1.NetworkPolicyIngressRule)(unsafe.Pointer(&in.Ingress)) - out.Egress = *(*[]v1alpha1.NetworkPolicyEgressRule)(unsafe.Pointer(&in.Egress)) - out.PolicyTypes = *(*[]v1alpha1.PolicyType)(unsafe.Pointer(&in.PolicyTypes)) + out.Ingress = *(*[]corev1alpha1.NetworkPolicyIngressRule)(unsafe.Pointer(&in.Ingress)) + out.Egress = *(*[]corev1alpha1.NetworkPolicyEgressRule)(unsafe.Pointer(&in.Egress)) + out.PolicyTypes = *(*[]corev1alpha1.PolicyType)(unsafe.Pointer(&in.PolicyTypes)) return nil } // Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec is an autogenerated conversion function. -func Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(in *core.NetworkPolicySpec, out *v1alpha1.NetworkPolicySpec, s conversion.Scope) error { +func Convert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(in *core.NetworkPolicySpec, out *corev1alpha1.NetworkPolicySpec, s conversion.Scope) error { return autoConvert_core_NetworkPolicySpec_To_v1alpha1_NetworkPolicySpec(in, out, s) } -func autoConvert_v1alpha1_NetworkSpec_To_core_NetworkSpec(in *v1alpha1.NetworkSpec, out *core.NetworkSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkSpec_To_core_NetworkSpec(in *corev1alpha1.NetworkSpec, out *core.NetworkSpec, s conversion.Scope) error { out.ID = in.ID out.Peerings = *(*[]core.NetworkPeering)(unsafe.Pointer(&in.Peerings)) return nil } // Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec is an autogenerated conversion function. -func Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec(in *v1alpha1.NetworkSpec, out *core.NetworkSpec, s conversion.Scope) error { +func Convert_v1alpha1_NetworkSpec_To_core_NetworkSpec(in *corev1alpha1.NetworkSpec, out *core.NetworkSpec, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkSpec_To_core_NetworkSpec(in, out, s) } -func autoConvert_core_NetworkSpec_To_v1alpha1_NetworkSpec(in *core.NetworkSpec, out *v1alpha1.NetworkSpec, s conversion.Scope) error { +func autoConvert_core_NetworkSpec_To_v1alpha1_NetworkSpec(in *core.NetworkSpec, out *corev1alpha1.NetworkSpec, s conversion.Scope) error { out.ID = in.ID - out.Peerings = *(*[]v1alpha1.NetworkPeering)(unsafe.Pointer(&in.Peerings)) + out.Peerings = *(*[]corev1alpha1.NetworkPeering)(unsafe.Pointer(&in.Peerings)) return nil } // Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec is an autogenerated conversion function. -func Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec(in *core.NetworkSpec, out *v1alpha1.NetworkSpec, s conversion.Scope) error { +func Convert_core_NetworkSpec_To_v1alpha1_NetworkSpec(in *core.NetworkSpec, out *corev1alpha1.NetworkSpec, s conversion.Scope) error { return autoConvert_core_NetworkSpec_To_v1alpha1_NetworkSpec(in, out, s) } -func autoConvert_v1alpha1_NetworkStatus_To_core_NetworkStatus(in *v1alpha1.NetworkStatus, out *core.NetworkStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NetworkStatus_To_core_NetworkStatus(in *corev1alpha1.NetworkStatus, out *core.NetworkStatus, s conversion.Scope) error { out.Peerings = *(*map[string][]core.NetworkPeeringStatus)(unsafe.Pointer(&in.Peerings)) return nil } // Convert_v1alpha1_NetworkStatus_To_core_NetworkStatus is an autogenerated conversion function. -func Convert_v1alpha1_NetworkStatus_To_core_NetworkStatus(in *v1alpha1.NetworkStatus, out *core.NetworkStatus, s conversion.Scope) error { +func Convert_v1alpha1_NetworkStatus_To_core_NetworkStatus(in *corev1alpha1.NetworkStatus, out *core.NetworkStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NetworkStatus_To_core_NetworkStatus(in, out, s) } -func autoConvert_core_NetworkStatus_To_v1alpha1_NetworkStatus(in *core.NetworkStatus, out *v1alpha1.NetworkStatus, s conversion.Scope) error { - out.Peerings = *(*map[string][]v1alpha1.NetworkPeeringStatus)(unsafe.Pointer(&in.Peerings)) +func autoConvert_core_NetworkStatus_To_v1alpha1_NetworkStatus(in *core.NetworkStatus, out *corev1alpha1.NetworkStatus, s conversion.Scope) error { + out.Peerings = *(*map[string][]corev1alpha1.NetworkPeeringStatus)(unsafe.Pointer(&in.Peerings)) return nil } // Convert_core_NetworkStatus_To_v1alpha1_NetworkStatus is an autogenerated conversion function. -func Convert_core_NetworkStatus_To_v1alpha1_NetworkStatus(in *core.NetworkStatus, out *v1alpha1.NetworkStatus, s conversion.Scope) error { +func Convert_core_NetworkStatus_To_v1alpha1_NetworkStatus(in *core.NetworkStatus, out *corev1alpha1.NetworkStatus, s conversion.Scope) error { return autoConvert_core_NetworkStatus_To_v1alpha1_NetworkStatus(in, out, s) } -func autoConvert_v1alpha1_Node_To_core_Node(in *v1alpha1.Node, out *core.Node, s conversion.Scope) error { +func autoConvert_v1alpha1_Node_To_core_Node(in *corev1alpha1.Node, out *core.Node, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_v1alpha1_NodeSpec_To_core_NodeSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2737,11 +2737,11 @@ func autoConvert_v1alpha1_Node_To_core_Node(in *v1alpha1.Node, out *core.Node, s } // Convert_v1alpha1_Node_To_core_Node is an autogenerated conversion function. -func Convert_v1alpha1_Node_To_core_Node(in *v1alpha1.Node, out *core.Node, s conversion.Scope) error { +func Convert_v1alpha1_Node_To_core_Node(in *corev1alpha1.Node, out *core.Node, s conversion.Scope) error { return autoConvert_v1alpha1_Node_To_core_Node(in, out, s) } -func autoConvert_core_Node_To_v1alpha1_Node(in *core.Node, out *v1alpha1.Node, s conversion.Scope) error { +func autoConvert_core_Node_To_v1alpha1_Node(in *core.Node, out *corev1alpha1.Node, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := Convert_core_NodeSpec_To_v1alpha1_NodeSpec(&in.Spec, &out.Spec, s); err != nil { return err @@ -2753,73 +2753,73 @@ func autoConvert_core_Node_To_v1alpha1_Node(in *core.Node, out *v1alpha1.Node, s } // Convert_core_Node_To_v1alpha1_Node is an autogenerated conversion function. -func Convert_core_Node_To_v1alpha1_Node(in *core.Node, out *v1alpha1.Node, s conversion.Scope) error { +func Convert_core_Node_To_v1alpha1_Node(in *core.Node, out *corev1alpha1.Node, s conversion.Scope) error { return autoConvert_core_Node_To_v1alpha1_Node(in, out, s) } -func autoConvert_v1alpha1_NodeAffinity_To_core_NodeAffinity(in *v1alpha1.NodeAffinity, out *core.NodeAffinity, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeAffinity_To_core_NodeAffinity(in *corev1alpha1.NodeAffinity, out *core.NodeAffinity, s conversion.Scope) error { out.RequiredDuringSchedulingIgnoredDuringExecution = (*core.NodeSelector)(unsafe.Pointer(in.RequiredDuringSchedulingIgnoredDuringExecution)) return nil } // Convert_v1alpha1_NodeAffinity_To_core_NodeAffinity is an autogenerated conversion function. -func Convert_v1alpha1_NodeAffinity_To_core_NodeAffinity(in *v1alpha1.NodeAffinity, out *core.NodeAffinity, s conversion.Scope) error { +func Convert_v1alpha1_NodeAffinity_To_core_NodeAffinity(in *corev1alpha1.NodeAffinity, out *core.NodeAffinity, s conversion.Scope) error { return autoConvert_v1alpha1_NodeAffinity_To_core_NodeAffinity(in, out, s) } -func autoConvert_core_NodeAffinity_To_v1alpha1_NodeAffinity(in *core.NodeAffinity, out *v1alpha1.NodeAffinity, s conversion.Scope) error { - out.RequiredDuringSchedulingIgnoredDuringExecution = (*v1alpha1.NodeSelector)(unsafe.Pointer(in.RequiredDuringSchedulingIgnoredDuringExecution)) +func autoConvert_core_NodeAffinity_To_v1alpha1_NodeAffinity(in *core.NodeAffinity, out *corev1alpha1.NodeAffinity, s conversion.Scope) error { + out.RequiredDuringSchedulingIgnoredDuringExecution = (*corev1alpha1.NodeSelector)(unsafe.Pointer(in.RequiredDuringSchedulingIgnoredDuringExecution)) return nil } // Convert_core_NodeAffinity_To_v1alpha1_NodeAffinity is an autogenerated conversion function. -func Convert_core_NodeAffinity_To_v1alpha1_NodeAffinity(in *core.NodeAffinity, out *v1alpha1.NodeAffinity, s conversion.Scope) error { +func Convert_core_NodeAffinity_To_v1alpha1_NodeAffinity(in *core.NodeAffinity, out *corev1alpha1.NodeAffinity, s conversion.Scope) error { return autoConvert_core_NodeAffinity_To_v1alpha1_NodeAffinity(in, out, s) } -func autoConvert_v1alpha1_NodeList_To_core_NodeList(in *v1alpha1.NodeList, out *core.NodeList, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeList_To_core_NodeList(in *corev1alpha1.NodeList, out *core.NodeList, s conversion.Scope) error { out.ListMeta = in.ListMeta out.Items = *(*[]core.Node)(unsafe.Pointer(&in.Items)) return nil } // Convert_v1alpha1_NodeList_To_core_NodeList is an autogenerated conversion function. -func Convert_v1alpha1_NodeList_To_core_NodeList(in *v1alpha1.NodeList, out *core.NodeList, s conversion.Scope) error { +func Convert_v1alpha1_NodeList_To_core_NodeList(in *corev1alpha1.NodeList, out *core.NodeList, s conversion.Scope) error { return autoConvert_v1alpha1_NodeList_To_core_NodeList(in, out, s) } -func autoConvert_core_NodeList_To_v1alpha1_NodeList(in *core.NodeList, out *v1alpha1.NodeList, s conversion.Scope) error { +func autoConvert_core_NodeList_To_v1alpha1_NodeList(in *core.NodeList, out *corev1alpha1.NodeList, s conversion.Scope) error { out.ListMeta = in.ListMeta - out.Items = *(*[]v1alpha1.Node)(unsafe.Pointer(&in.Items)) + out.Items = *(*[]corev1alpha1.Node)(unsafe.Pointer(&in.Items)) return nil } // Convert_core_NodeList_To_v1alpha1_NodeList is an autogenerated conversion function. -func Convert_core_NodeList_To_v1alpha1_NodeList(in *core.NodeList, out *v1alpha1.NodeList, s conversion.Scope) error { +func Convert_core_NodeList_To_v1alpha1_NodeList(in *core.NodeList, out *corev1alpha1.NodeList, s conversion.Scope) error { return autoConvert_core_NodeList_To_v1alpha1_NodeList(in, out, s) } -func autoConvert_v1alpha1_NodeSelector_To_core_NodeSelector(in *v1alpha1.NodeSelector, out *core.NodeSelector, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeSelector_To_core_NodeSelector(in *corev1alpha1.NodeSelector, out *core.NodeSelector, s conversion.Scope) error { out.NodeSelectorTerms = *(*[]core.NodeSelectorTerm)(unsafe.Pointer(&in.NodeSelectorTerms)) return nil } // Convert_v1alpha1_NodeSelector_To_core_NodeSelector is an autogenerated conversion function. -func Convert_v1alpha1_NodeSelector_To_core_NodeSelector(in *v1alpha1.NodeSelector, out *core.NodeSelector, s conversion.Scope) error { +func Convert_v1alpha1_NodeSelector_To_core_NodeSelector(in *corev1alpha1.NodeSelector, out *core.NodeSelector, s conversion.Scope) error { return autoConvert_v1alpha1_NodeSelector_To_core_NodeSelector(in, out, s) } -func autoConvert_core_NodeSelector_To_v1alpha1_NodeSelector(in *core.NodeSelector, out *v1alpha1.NodeSelector, s conversion.Scope) error { - out.NodeSelectorTerms = *(*[]v1alpha1.NodeSelectorTerm)(unsafe.Pointer(&in.NodeSelectorTerms)) +func autoConvert_core_NodeSelector_To_v1alpha1_NodeSelector(in *core.NodeSelector, out *corev1alpha1.NodeSelector, s conversion.Scope) error { + out.NodeSelectorTerms = *(*[]corev1alpha1.NodeSelectorTerm)(unsafe.Pointer(&in.NodeSelectorTerms)) return nil } // Convert_core_NodeSelector_To_v1alpha1_NodeSelector is an autogenerated conversion function. -func Convert_core_NodeSelector_To_v1alpha1_NodeSelector(in *core.NodeSelector, out *v1alpha1.NodeSelector, s conversion.Scope) error { +func Convert_core_NodeSelector_To_v1alpha1_NodeSelector(in *core.NodeSelector, out *corev1alpha1.NodeSelector, s conversion.Scope) error { return autoConvert_core_NodeSelector_To_v1alpha1_NodeSelector(in, out, s) } -func autoConvert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(in *v1alpha1.NodeSelectorRequirement, out *core.NodeSelectorRequirement, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(in *corev1alpha1.NodeSelectorRequirement, out *core.NodeSelectorRequirement, s conversion.Scope) error { out.Key = in.Key out.Operator = core.NodeSelectorOperator(in.Operator) out.Values = *(*[]string)(unsafe.Pointer(&in.Values)) @@ -2827,125 +2827,125 @@ func autoConvert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequiremen } // Convert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement is an autogenerated conversion function. -func Convert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(in *v1alpha1.NodeSelectorRequirement, out *core.NodeSelectorRequirement, s conversion.Scope) error { +func Convert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(in *corev1alpha1.NodeSelectorRequirement, out *core.NodeSelectorRequirement, s conversion.Scope) error { return autoConvert_v1alpha1_NodeSelectorRequirement_To_core_NodeSelectorRequirement(in, out, s) } -func autoConvert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(in *core.NodeSelectorRequirement, out *v1alpha1.NodeSelectorRequirement, s conversion.Scope) error { +func autoConvert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(in *core.NodeSelectorRequirement, out *corev1alpha1.NodeSelectorRequirement, s conversion.Scope) error { out.Key = in.Key - out.Operator = v1alpha1.NodeSelectorOperator(in.Operator) + out.Operator = corev1alpha1.NodeSelectorOperator(in.Operator) out.Values = *(*[]string)(unsafe.Pointer(&in.Values)) return nil } // Convert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement is an autogenerated conversion function. -func Convert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(in *core.NodeSelectorRequirement, out *v1alpha1.NodeSelectorRequirement, s conversion.Scope) error { +func Convert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(in *core.NodeSelectorRequirement, out *corev1alpha1.NodeSelectorRequirement, s conversion.Scope) error { return autoConvert_core_NodeSelectorRequirement_To_v1alpha1_NodeSelectorRequirement(in, out, s) } -func autoConvert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *v1alpha1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *corev1alpha1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error { out.MatchExpressions = *(*[]core.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions)) out.MatchFields = *(*[]core.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchFields)) return nil } // Convert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm is an autogenerated conversion function. -func Convert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *v1alpha1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error { +func Convert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(in *corev1alpha1.NodeSelectorTerm, out *core.NodeSelectorTerm, s conversion.Scope) error { return autoConvert_v1alpha1_NodeSelectorTerm_To_core_NodeSelectorTerm(in, out, s) } -func autoConvert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *v1alpha1.NodeSelectorTerm, s conversion.Scope) error { - out.MatchExpressions = *(*[]v1alpha1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions)) - out.MatchFields = *(*[]v1alpha1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchFields)) +func autoConvert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *corev1alpha1.NodeSelectorTerm, s conversion.Scope) error { + out.MatchExpressions = *(*[]corev1alpha1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchExpressions)) + out.MatchFields = *(*[]corev1alpha1.NodeSelectorRequirement)(unsafe.Pointer(&in.MatchFields)) return nil } // Convert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm is an autogenerated conversion function. -func Convert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *v1alpha1.NodeSelectorTerm, s conversion.Scope) error { +func Convert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(in *core.NodeSelectorTerm, out *corev1alpha1.NodeSelectorTerm, s conversion.Scope) error { return autoConvert_core_NodeSelectorTerm_To_v1alpha1_NodeSelectorTerm(in, out, s) } -func autoConvert_v1alpha1_NodeSpec_To_core_NodeSpec(in *v1alpha1.NodeSpec, out *core.NodeSpec, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeSpec_To_core_NodeSpec(in *corev1alpha1.NodeSpec, out *core.NodeSpec, s conversion.Scope) error { return nil } // Convert_v1alpha1_NodeSpec_To_core_NodeSpec is an autogenerated conversion function. -func Convert_v1alpha1_NodeSpec_To_core_NodeSpec(in *v1alpha1.NodeSpec, out *core.NodeSpec, s conversion.Scope) error { +func Convert_v1alpha1_NodeSpec_To_core_NodeSpec(in *corev1alpha1.NodeSpec, out *core.NodeSpec, s conversion.Scope) error { return autoConvert_v1alpha1_NodeSpec_To_core_NodeSpec(in, out, s) } -func autoConvert_core_NodeSpec_To_v1alpha1_NodeSpec(in *core.NodeSpec, out *v1alpha1.NodeSpec, s conversion.Scope) error { +func autoConvert_core_NodeSpec_To_v1alpha1_NodeSpec(in *core.NodeSpec, out *corev1alpha1.NodeSpec, s conversion.Scope) error { return nil } // Convert_core_NodeSpec_To_v1alpha1_NodeSpec is an autogenerated conversion function. -func Convert_core_NodeSpec_To_v1alpha1_NodeSpec(in *core.NodeSpec, out *v1alpha1.NodeSpec, s conversion.Scope) error { +func Convert_core_NodeSpec_To_v1alpha1_NodeSpec(in *core.NodeSpec, out *corev1alpha1.NodeSpec, s conversion.Scope) error { return autoConvert_core_NodeSpec_To_v1alpha1_NodeSpec(in, out, s) } -func autoConvert_v1alpha1_NodeStatus_To_core_NodeStatus(in *v1alpha1.NodeStatus, out *core.NodeStatus, s conversion.Scope) error { +func autoConvert_v1alpha1_NodeStatus_To_core_NodeStatus(in *corev1alpha1.NodeStatus, out *core.NodeStatus, s conversion.Scope) error { return nil } // Convert_v1alpha1_NodeStatus_To_core_NodeStatus is an autogenerated conversion function. -func Convert_v1alpha1_NodeStatus_To_core_NodeStatus(in *v1alpha1.NodeStatus, out *core.NodeStatus, s conversion.Scope) error { +func Convert_v1alpha1_NodeStatus_To_core_NodeStatus(in *corev1alpha1.NodeStatus, out *core.NodeStatus, s conversion.Scope) error { return autoConvert_v1alpha1_NodeStatus_To_core_NodeStatus(in, out, s) } -func autoConvert_core_NodeStatus_To_v1alpha1_NodeStatus(in *core.NodeStatus, out *v1alpha1.NodeStatus, s conversion.Scope) error { +func autoConvert_core_NodeStatus_To_v1alpha1_NodeStatus(in *core.NodeStatus, out *corev1alpha1.NodeStatus, s conversion.Scope) error { return nil } // Convert_core_NodeStatus_To_v1alpha1_NodeStatus is an autogenerated conversion function. -func Convert_core_NodeStatus_To_v1alpha1_NodeStatus(in *core.NodeStatus, out *v1alpha1.NodeStatus, s conversion.Scope) error { +func Convert_core_NodeStatus_To_v1alpha1_NodeStatus(in *core.NodeStatus, out *corev1alpha1.NodeStatus, s conversion.Scope) error { return autoConvert_core_NodeStatus_To_v1alpha1_NodeStatus(in, out, s) } -func autoConvert_v1alpha1_ObjectIP_To_core_ObjectIP(in *v1alpha1.ObjectIP, out *core.ObjectIP, s conversion.Scope) error { +func autoConvert_v1alpha1_ObjectIP_To_core_ObjectIP(in *corev1alpha1.ObjectIP, out *core.ObjectIP, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) out.Prefix = in.Prefix return nil } // Convert_v1alpha1_ObjectIP_To_core_ObjectIP is an autogenerated conversion function. -func Convert_v1alpha1_ObjectIP_To_core_ObjectIP(in *v1alpha1.ObjectIP, out *core.ObjectIP, s conversion.Scope) error { +func Convert_v1alpha1_ObjectIP_To_core_ObjectIP(in *corev1alpha1.ObjectIP, out *core.ObjectIP, s conversion.Scope) error { return autoConvert_v1alpha1_ObjectIP_To_core_ObjectIP(in, out, s) } -func autoConvert_core_ObjectIP_To_v1alpha1_ObjectIP(in *core.ObjectIP, out *v1alpha1.ObjectIP, s conversion.Scope) error { +func autoConvert_core_ObjectIP_To_v1alpha1_ObjectIP(in *core.ObjectIP, out *corev1alpha1.ObjectIP, s conversion.Scope) error { out.IPFamily = corev1.IPFamily(in.IPFamily) out.Prefix = in.Prefix return nil } // Convert_core_ObjectIP_To_v1alpha1_ObjectIP is an autogenerated conversion function. -func Convert_core_ObjectIP_To_v1alpha1_ObjectIP(in *core.ObjectIP, out *v1alpha1.ObjectIP, s conversion.Scope) error { +func Convert_core_ObjectIP_To_v1alpha1_ObjectIP(in *core.ObjectIP, out *corev1alpha1.ObjectIP, s conversion.Scope) error { return autoConvert_core_ObjectIP_To_v1alpha1_ObjectIP(in, out, s) } -func autoConvert_v1alpha1_ObjectSelector_To_core_ObjectSelector(in *v1alpha1.ObjectSelector, out *core.ObjectSelector, s conversion.Scope) error { +func autoConvert_v1alpha1_ObjectSelector_To_core_ObjectSelector(in *corev1alpha1.ObjectSelector, out *core.ObjectSelector, s conversion.Scope) error { out.Kind = in.Kind out.LabelSelector = in.LabelSelector return nil } // Convert_v1alpha1_ObjectSelector_To_core_ObjectSelector is an autogenerated conversion function. -func Convert_v1alpha1_ObjectSelector_To_core_ObjectSelector(in *v1alpha1.ObjectSelector, out *core.ObjectSelector, s conversion.Scope) error { +func Convert_v1alpha1_ObjectSelector_To_core_ObjectSelector(in *corev1alpha1.ObjectSelector, out *core.ObjectSelector, s conversion.Scope) error { return autoConvert_v1alpha1_ObjectSelector_To_core_ObjectSelector(in, out, s) } -func autoConvert_core_ObjectSelector_To_v1alpha1_ObjectSelector(in *core.ObjectSelector, out *v1alpha1.ObjectSelector, s conversion.Scope) error { +func autoConvert_core_ObjectSelector_To_v1alpha1_ObjectSelector(in *core.ObjectSelector, out *corev1alpha1.ObjectSelector, s conversion.Scope) error { out.Kind = in.Kind out.LabelSelector = in.LabelSelector return nil } // Convert_core_ObjectSelector_To_v1alpha1_ObjectSelector is an autogenerated conversion function. -func Convert_core_ObjectSelector_To_v1alpha1_ObjectSelector(in *core.ObjectSelector, out *v1alpha1.ObjectSelector, s conversion.Scope) error { +func Convert_core_ObjectSelector_To_v1alpha1_ObjectSelector(in *core.ObjectSelector, out *corev1alpha1.ObjectSelector, s conversion.Scope) error { return autoConvert_core_ObjectSelector_To_v1alpha1_ObjectSelector(in, out, s) } -func autoConvert_v1alpha1_PCIAddress_To_core_PCIAddress(in *v1alpha1.PCIAddress, out *core.PCIAddress, s conversion.Scope) error { +func autoConvert_v1alpha1_PCIAddress_To_core_PCIAddress(in *corev1alpha1.PCIAddress, out *core.PCIAddress, s conversion.Scope) error { out.Domain = in.Domain out.Bus = in.Bus out.Slot = in.Slot @@ -2954,11 +2954,11 @@ func autoConvert_v1alpha1_PCIAddress_To_core_PCIAddress(in *v1alpha1.PCIAddress, } // Convert_v1alpha1_PCIAddress_To_core_PCIAddress is an autogenerated conversion function. -func Convert_v1alpha1_PCIAddress_To_core_PCIAddress(in *v1alpha1.PCIAddress, out *core.PCIAddress, s conversion.Scope) error { +func Convert_v1alpha1_PCIAddress_To_core_PCIAddress(in *corev1alpha1.PCIAddress, out *core.PCIAddress, s conversion.Scope) error { return autoConvert_v1alpha1_PCIAddress_To_core_PCIAddress(in, out, s) } -func autoConvert_core_PCIAddress_To_v1alpha1_PCIAddress(in *core.PCIAddress, out *v1alpha1.PCIAddress, s conversion.Scope) error { +func autoConvert_core_PCIAddress_To_v1alpha1_PCIAddress(in *core.PCIAddress, out *corev1alpha1.PCIAddress, s conversion.Scope) error { out.Domain = in.Domain out.Bus = in.Bus out.Slot = in.Slot @@ -2967,33 +2967,33 @@ func autoConvert_core_PCIAddress_To_v1alpha1_PCIAddress(in *core.PCIAddress, out } // Convert_core_PCIAddress_To_v1alpha1_PCIAddress is an autogenerated conversion function. -func Convert_core_PCIAddress_To_v1alpha1_PCIAddress(in *core.PCIAddress, out *v1alpha1.PCIAddress, s conversion.Scope) error { +func Convert_core_PCIAddress_To_v1alpha1_PCIAddress(in *core.PCIAddress, out *corev1alpha1.PCIAddress, s conversion.Scope) error { return autoConvert_core_PCIAddress_To_v1alpha1_PCIAddress(in, out, s) } -func autoConvert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(in *v1alpha1.PeeringPrefix, out *core.PeeringPrefix, s conversion.Scope) error { +func autoConvert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(in *corev1alpha1.PeeringPrefix, out *core.PeeringPrefix, s conversion.Scope) error { out.Name = in.Name out.Prefix = (*net.IPPrefix)(unsafe.Pointer(in.Prefix)) return nil } // Convert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix is an autogenerated conversion function. -func Convert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(in *v1alpha1.PeeringPrefix, out *core.PeeringPrefix, s conversion.Scope) error { +func Convert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(in *corev1alpha1.PeeringPrefix, out *core.PeeringPrefix, s conversion.Scope) error { return autoConvert_v1alpha1_PeeringPrefix_To_core_PeeringPrefix(in, out, s) } -func autoConvert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(in *core.PeeringPrefix, out *v1alpha1.PeeringPrefix, s conversion.Scope) error { +func autoConvert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(in *core.PeeringPrefix, out *corev1alpha1.PeeringPrefix, s conversion.Scope) error { out.Name = in.Name out.Prefix = (*net.IPPrefix)(unsafe.Pointer(in.Prefix)) return nil } // Convert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix is an autogenerated conversion function. -func Convert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(in *core.PeeringPrefix, out *v1alpha1.PeeringPrefix, s conversion.Scope) error { +func Convert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(in *core.PeeringPrefix, out *corev1alpha1.PeeringPrefix, s conversion.Scope) error { return autoConvert_core_PeeringPrefix_To_v1alpha1_PeeringPrefix(in, out, s) } -func autoConvert_v1alpha1_Rule_To_core_Rule(in *v1alpha1.Rule, out *core.Rule, s conversion.Scope) error { +func autoConvert_v1alpha1_Rule_To_core_Rule(in *corev1alpha1.Rule, out *core.Rule, s conversion.Scope) error { out.CIDRBlock = *(*[]core.IPBlock)(unsafe.Pointer(&in.CIDRBlock)) out.ObjectIPs = *(*[]core.ObjectIP)(unsafe.Pointer(&in.ObjectIPs)) out.NetworkPolicyPorts = *(*[]core.NetworkPolicyPort)(unsafe.Pointer(&in.NetworkPolicyPorts)) @@ -3001,65 +3001,65 @@ func autoConvert_v1alpha1_Rule_To_core_Rule(in *v1alpha1.Rule, out *core.Rule, s } // Convert_v1alpha1_Rule_To_core_Rule is an autogenerated conversion function. -func Convert_v1alpha1_Rule_To_core_Rule(in *v1alpha1.Rule, out *core.Rule, s conversion.Scope) error { +func Convert_v1alpha1_Rule_To_core_Rule(in *corev1alpha1.Rule, out *core.Rule, s conversion.Scope) error { return autoConvert_v1alpha1_Rule_To_core_Rule(in, out, s) } -func autoConvert_core_Rule_To_v1alpha1_Rule(in *core.Rule, out *v1alpha1.Rule, s conversion.Scope) error { - out.CIDRBlock = *(*[]v1alpha1.IPBlock)(unsafe.Pointer(&in.CIDRBlock)) - out.ObjectIPs = *(*[]v1alpha1.ObjectIP)(unsafe.Pointer(&in.ObjectIPs)) - out.NetworkPolicyPorts = *(*[]v1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.NetworkPolicyPorts)) +func autoConvert_core_Rule_To_v1alpha1_Rule(in *core.Rule, out *corev1alpha1.Rule, s conversion.Scope) error { + out.CIDRBlock = *(*[]corev1alpha1.IPBlock)(unsafe.Pointer(&in.CIDRBlock)) + out.ObjectIPs = *(*[]corev1alpha1.ObjectIP)(unsafe.Pointer(&in.ObjectIPs)) + out.NetworkPolicyPorts = *(*[]corev1alpha1.NetworkPolicyPort)(unsafe.Pointer(&in.NetworkPolicyPorts)) return nil } // Convert_core_Rule_To_v1alpha1_Rule is an autogenerated conversion function. -func Convert_core_Rule_To_v1alpha1_Rule(in *core.Rule, out *v1alpha1.Rule, s conversion.Scope) error { +func Convert_core_Rule_To_v1alpha1_Rule(in *core.Rule, out *corev1alpha1.Rule, s conversion.Scope) error { return autoConvert_core_Rule_To_v1alpha1_Rule(in, out, s) } -func autoConvert_v1alpha1_TAPDevice_To_core_TAPDevice(in *v1alpha1.TAPDevice, out *core.TAPDevice, s conversion.Scope) error { +func autoConvert_v1alpha1_TAPDevice_To_core_TAPDevice(in *corev1alpha1.TAPDevice, out *core.TAPDevice, s conversion.Scope) error { out.Name = in.Name return nil } // Convert_v1alpha1_TAPDevice_To_core_TAPDevice is an autogenerated conversion function. -func Convert_v1alpha1_TAPDevice_To_core_TAPDevice(in *v1alpha1.TAPDevice, out *core.TAPDevice, s conversion.Scope) error { +func Convert_v1alpha1_TAPDevice_To_core_TAPDevice(in *corev1alpha1.TAPDevice, out *core.TAPDevice, s conversion.Scope) error { return autoConvert_v1alpha1_TAPDevice_To_core_TAPDevice(in, out, s) } -func autoConvert_core_TAPDevice_To_v1alpha1_TAPDevice(in *core.TAPDevice, out *v1alpha1.TAPDevice, s conversion.Scope) error { +func autoConvert_core_TAPDevice_To_v1alpha1_TAPDevice(in *core.TAPDevice, out *corev1alpha1.TAPDevice, s conversion.Scope) error { out.Name = in.Name return nil } // Convert_core_TAPDevice_To_v1alpha1_TAPDevice is an autogenerated conversion function. -func Convert_core_TAPDevice_To_v1alpha1_TAPDevice(in *core.TAPDevice, out *v1alpha1.TAPDevice, s conversion.Scope) error { +func Convert_core_TAPDevice_To_v1alpha1_TAPDevice(in *core.TAPDevice, out *corev1alpha1.TAPDevice, s conversion.Scope) error { return autoConvert_core_TAPDevice_To_v1alpha1_TAPDevice(in, out, s) } -func autoConvert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(in *v1alpha1.TargetNetworkInterface, out *core.TargetNetworkInterface, s conversion.Scope) error { +func autoConvert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(in *corev1alpha1.TargetNetworkInterface, out *core.TargetNetworkInterface, s conversion.Scope) error { out.IP = in.IP out.TargetRef = (*core.LocalUIDReference)(unsafe.Pointer(in.TargetRef)) return nil } // Convert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface is an autogenerated conversion function. -func Convert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(in *v1alpha1.TargetNetworkInterface, out *core.TargetNetworkInterface, s conversion.Scope) error { +func Convert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(in *corev1alpha1.TargetNetworkInterface, out *core.TargetNetworkInterface, s conversion.Scope) error { return autoConvert_v1alpha1_TargetNetworkInterface_To_core_TargetNetworkInterface(in, out, s) } -func autoConvert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(in *core.TargetNetworkInterface, out *v1alpha1.TargetNetworkInterface, s conversion.Scope) error { +func autoConvert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(in *core.TargetNetworkInterface, out *corev1alpha1.TargetNetworkInterface, s conversion.Scope) error { out.IP = in.IP - out.TargetRef = (*v1alpha1.LocalUIDReference)(unsafe.Pointer(in.TargetRef)) + out.TargetRef = (*corev1alpha1.LocalUIDReference)(unsafe.Pointer(in.TargetRef)) return nil } // Convert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface is an autogenerated conversion function. -func Convert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(in *core.TargetNetworkInterface, out *v1alpha1.TargetNetworkInterface, s conversion.Scope) error { +func Convert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(in *core.TargetNetworkInterface, out *corev1alpha1.TargetNetworkInterface, s conversion.Scope) error { return autoConvert_core_TargetNetworkInterface_To_v1alpha1_TargetNetworkInterface(in, out, s) } -func autoConvert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in *v1alpha1.TopologySpreadConstraint, out *core.TopologySpreadConstraint, s conversion.Scope) error { +func autoConvert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in *corev1alpha1.TopologySpreadConstraint, out *core.TopologySpreadConstraint, s conversion.Scope) error { out.MaxSkew = in.MaxSkew out.TopologyKey = in.TopologyKey out.WhenUnsatisfiable = core.UnsatisfiableConstraintAction(in.WhenUnsatisfiable) @@ -3068,19 +3068,19 @@ func autoConvert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstra } // Convert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint is an autogenerated conversion function. -func Convert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in *v1alpha1.TopologySpreadConstraint, out *core.TopologySpreadConstraint, s conversion.Scope) error { +func Convert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in *corev1alpha1.TopologySpreadConstraint, out *core.TopologySpreadConstraint, s conversion.Scope) error { return autoConvert_v1alpha1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in, out, s) } -func autoConvert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(in *core.TopologySpreadConstraint, out *v1alpha1.TopologySpreadConstraint, s conversion.Scope) error { +func autoConvert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(in *core.TopologySpreadConstraint, out *corev1alpha1.TopologySpreadConstraint, s conversion.Scope) error { out.MaxSkew = in.MaxSkew out.TopologyKey = in.TopologyKey - out.WhenUnsatisfiable = v1alpha1.UnsatisfiableConstraintAction(in.WhenUnsatisfiable) + out.WhenUnsatisfiable = corev1alpha1.UnsatisfiableConstraintAction(in.WhenUnsatisfiable) out.LabelSelector = (*v1.LabelSelector)(unsafe.Pointer(in.LabelSelector)) return nil } // Convert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint is an autogenerated conversion function. -func Convert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(in *core.TopologySpreadConstraint, out *v1alpha1.TopologySpreadConstraint, s conversion.Scope) error { +func Convert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(in *core.TopologySpreadConstraint, out *corev1alpha1.TopologySpreadConstraint, s conversion.Scope) error { return autoConvert_core_TopologySpreadConstraint_To_v1alpha1_TopologySpreadConstraint(in, out, s) } diff --git a/internal/apis/core/v1alpha1/zz_generated.defaults.go b/internal/apis/core/v1alpha1/zz_generated.defaults.go index cb0dc116..5a835972 100644 --- a/internal/apis/core/v1alpha1/zz_generated.defaults.go +++ b/internal/apis/core/v1alpha1/zz_generated.defaults.go @@ -9,7 +9,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" + corev1alpha1 "github.com/ironcore-dev/ironcore-net/api/core/v1alpha1" runtime "k8s.io/apimachinery/pkg/runtime" ) @@ -17,48 +17,50 @@ import ( // Public to allow building arbitrary schemes. // All generated defaulters are covering - they call all nested defaulters. func RegisterDefaults(scheme *runtime.Scheme) error { - scheme.AddTypeDefaultingFunc(&v1alpha1.IP{}, func(obj interface{}) { SetObjectDefaults_IP(obj.(*v1alpha1.IP)) }) - scheme.AddTypeDefaultingFunc(&v1alpha1.IPList{}, func(obj interface{}) { SetObjectDefaults_IPList(obj.(*v1alpha1.IPList)) }) - scheme.AddTypeDefaultingFunc(&v1alpha1.LoadBalancer{}, func(obj interface{}) { SetObjectDefaults_LoadBalancer(obj.(*v1alpha1.LoadBalancer)) }) - scheme.AddTypeDefaultingFunc(&v1alpha1.LoadBalancerList{}, func(obj interface{}) { SetObjectDefaults_LoadBalancerList(obj.(*v1alpha1.LoadBalancerList)) }) - scheme.AddTypeDefaultingFunc(&v1alpha1.NetworkInterface{}, func(obj interface{}) { SetObjectDefaults_NetworkInterface(obj.(*v1alpha1.NetworkInterface)) }) - scheme.AddTypeDefaultingFunc(&v1alpha1.NetworkInterfaceList{}, func(obj interface{}) { SetObjectDefaults_NetworkInterfaceList(obj.(*v1alpha1.NetworkInterfaceList)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.IP{}, func(obj interface{}) { SetObjectDefaults_IP(obj.(*corev1alpha1.IP)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.IPList{}, func(obj interface{}) { SetObjectDefaults_IPList(obj.(*corev1alpha1.IPList)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.LoadBalancer{}, func(obj interface{}) { SetObjectDefaults_LoadBalancer(obj.(*corev1alpha1.LoadBalancer)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.LoadBalancerList{}, func(obj interface{}) { SetObjectDefaults_LoadBalancerList(obj.(*corev1alpha1.LoadBalancerList)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.NetworkInterface{}, func(obj interface{}) { SetObjectDefaults_NetworkInterface(obj.(*corev1alpha1.NetworkInterface)) }) + scheme.AddTypeDefaultingFunc(&corev1alpha1.NetworkInterfaceList{}, func(obj interface{}) { + SetObjectDefaults_NetworkInterfaceList(obj.(*corev1alpha1.NetworkInterfaceList)) + }) return nil } -func SetObjectDefaults_IP(in *v1alpha1.IP) { +func SetObjectDefaults_IP(in *corev1alpha1.IP) { SetDefaults_IPSpec(&in.Spec) } -func SetObjectDefaults_IPList(in *v1alpha1.IPList) { +func SetObjectDefaults_IPList(in *corev1alpha1.IPList) { for i := range in.Items { a := &in.Items[i] SetObjectDefaults_IP(a) } } -func SetObjectDefaults_LoadBalancer(in *v1alpha1.LoadBalancer) { +func SetObjectDefaults_LoadBalancer(in *corev1alpha1.LoadBalancer) { for i := range in.Spec.IPs { a := &in.Spec.IPs[i] SetDefaults_LoadBalancerIP(a) } } -func SetObjectDefaults_LoadBalancerList(in *v1alpha1.LoadBalancerList) { +func SetObjectDefaults_LoadBalancerList(in *corev1alpha1.LoadBalancerList) { for i := range in.Items { a := &in.Items[i] SetObjectDefaults_LoadBalancer(a) } } -func SetObjectDefaults_NetworkInterface(in *v1alpha1.NetworkInterface) { +func SetObjectDefaults_NetworkInterface(in *corev1alpha1.NetworkInterface) { for i := range in.Spec.PublicIPs { a := &in.Spec.PublicIPs[i] SetDefaults_NetworkInterfacePublicIP(a) } } -func SetObjectDefaults_NetworkInterfaceList(in *v1alpha1.NetworkInterfaceList) { +func SetObjectDefaults_NetworkInterfaceList(in *corev1alpha1.NetworkInterfaceList) { for i := range in.Items { a := &in.Items[i] SetObjectDefaults_NetworkInterface(a) diff --git a/internal/app/apiserver/apiserver.go b/internal/app/apiserver/apiserver.go index 99628a64..e71676cf 100644 --- a/internal/app/apiserver/apiserver.go +++ b/internal/app/apiserver/apiserver.go @@ -26,7 +26,7 @@ import ( genericapiserver "k8s.io/apiserver/pkg/server" "k8s.io/apiserver/pkg/server/options" utilfeature "k8s.io/apiserver/pkg/util/feature" - utilversion "k8s.io/apiserver/pkg/util/version" + "k8s.io/component-base/version" netutils "k8s.io/utils/net" ) @@ -119,7 +119,7 @@ func (o *IronCoreNetServerOptions) Config() (*apiserver.Config, error) { serverConfig := genericapiserver.NewRecommendedConfig(apiserver.Codecs) - serverConfig.EffectiveVersion = utilversion.NewEffectiveVersion("1.0") + serverConfig.EffectiveVersion = version.NewEffectiveVersion("1.0") serverConfig.OpenAPIConfig = genericapiserver.DefaultOpenAPIConfig(apinetopenapi.GetOpenAPIDefinitions, openapi.NewDefinitionNamer(apiserver.Scheme)) serverConfig.OpenAPIConfig.Info.Title = "ironcore-net-api" diff --git a/internal/app/app_suite_test.go b/internal/app/app_suite_test.go index 30342cd1..63825495 100644 --- a/internal/app/app_suite_test.go +++ b/internal/app/app_suite_test.go @@ -63,7 +63,7 @@ var _ = BeforeSuite(func() { // Note that you must have the required binaries setup under the bin directory to perform // the tests directly. When we run make test it will be setup and used automatically. BinaryAssetsDirectory: filepath.Join("..", "..", "bin", "k8s", - fmt.Sprintf("1.31.0-%s-%s", runtime.GOOS, runtime.GOARCH)), + fmt.Sprintf("1.32.0-%s-%s", runtime.GOOS, runtime.GOARCH)), } testEnvExt = &utilsenvtest.EnvironmentExtensions{ APIServiceDirectoryPaths: []string{filepath.Join("..", "..", "config", "apiserver", "apiservice", "bases")}, @@ -99,5 +99,5 @@ var _ = BeforeSuite(func() { Expect(apiSrv.Start()).To(Succeed()) DeferCleanup(apiSrv.Stop) - Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, k8sClient, scheme.Scheme)).To(Succeed()) + Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, cfg, k8sClient, scheme.Scheme)).To(Succeed()) }) diff --git a/internal/controllers/controllers_suite_test.go b/internal/controllers/controllers_suite_test.go index 6e976e66..67c8c178 100644 --- a/internal/controllers/controllers_suite_test.go +++ b/internal/controllers/controllers_suite_test.go @@ -83,7 +83,7 @@ var _ = BeforeSuite(func() { // Note that you must have the required binaries setup under the bin directory to perform // the tests directly. When we run make test it will be setup and used automatically. BinaryAssetsDirectory: filepath.Join("..", "..", "bin", "k8s", - fmt.Sprintf("1.31.0-%s-%s", runtime.GOOS, runtime.GOARCH)), + fmt.Sprintf("1.32.0-%s-%s", runtime.GOOS, runtime.GOARCH)), } testEnvExt = &utilsenvtest.EnvironmentExtensions{ APIServiceDirectoryPaths: []string{filepath.Join("..", "..", "config", "apiserver", "apiservice", "bases")}, @@ -119,7 +119,7 @@ var _ = BeforeSuite(func() { Expect(apiSrv.Start()).To(Succeed()) DeferCleanup(apiSrv.Stop) - Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, k8sClient, scheme.Scheme)).To(Succeed()) + Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, cfg, k8sClient, scheme.Scheme)).To(Succeed()) k8sManager, err := ctrl.NewManager(cfg, ctrl.Options{ Scheme: scheme.Scheme, diff --git a/metalnetlet/controllers/controllers_suite_test.go b/metalnetlet/controllers/controllers_suite_test.go index 085acb76..b31d52a2 100644 --- a/metalnetlet/controllers/controllers_suite_test.go +++ b/metalnetlet/controllers/controllers_suite_test.go @@ -95,7 +95,7 @@ var _ = BeforeSuite(func() { // Note that you must have the required binaries setup under the bin directory to perform // the tests directly. When we run make test it will be setup and used automatically. BinaryAssetsDirectory: filepath.Join("..", "..", "bin", "k8s", - fmt.Sprintf("1.31.0-%s-%s", runtime.GOOS, runtime.GOARCH)), + fmt.Sprintf("1.32.0-%s-%s", runtime.GOOS, runtime.GOARCH)), } testEnvExt = &utilsenvtest.EnvironmentExtensions{ APIServiceDirectoryPaths: []string{filepath.Join("..", "..", "config", "apiserver", "apiservice", "bases")}, @@ -134,7 +134,7 @@ var _ = BeforeSuite(func() { Expect(apiSrv.Start()).To(Succeed()) DeferCleanup(apiSrv.Stop) - Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, k8sClient, scheme.Scheme)).To(Succeed()) + Expect(utilsenvtest.WaitUntilAPIServicesReadyWithTimeout(apiServiceTimeout, testEnvExt, cfg, k8sClient, scheme.Scheme)).To(Succeed()) }) func SetupTest(metalnetNs *corev1.Namespace) {