From 8648305732a79f2de8ba8e5d13791c9800627a0d Mon Sep 17 00:00:00 2001 From: Sugang Li Date: Mon, 9 May 2022 22:04:58 +0000 Subject: [PATCH] update the codegen script and regenerate apis --- hack/update-codegen.sh | 7 --- hack/update-experimental-codegen.sh | 1 - .../backendconfig/v1/zz_generated.deepcopy.go | 2 +- .../backendconfig/v1/zz_generated.openapi.go | 40 ++++++++++------- .../v1beta1/zz_generated.deepcopy.go | 2 +- .../v1beta1/zz_generated.openapi.go | 40 ++++++++++------- .../v1beta1/zz_generated.deepcopy.go | 2 +- .../v1beta1/zz_generated.openapi.go | 18 +++++--- .../v1beta1/zz_generated.deepcopy.go | 2 +- .../ingparams/v1beta1/zz_generated.openapi.go | 14 +++--- .../v1/zz_generated.deepcopy.go | 2 +- .../v1/zz_generated.openapi.go | 6 +-- .../v1beta1/zz_generated.deepcopy.go | 2 +- .../v1beta1/zz_generated.openapi.go | 43 ++++++++++++------- .../svcneg/v1beta1/zz_generated.deepcopy.go | 2 +- .../svcneg/v1beta1/zz_generated.openapi.go | 26 ++++++++--- .../client/clientset/versioned/clientset.go | 2 +- .../client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 4 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../typed/backendconfig/v1/backendconfig.go | 2 +- .../backendconfig/v1/backendconfig_client.go | 2 +- .../versioned/typed/backendconfig/v1/doc.go | 2 +- .../typed/backendconfig/v1/fake/doc.go | 2 +- .../v1/fake/fake_backendconfig.go | 2 +- .../v1/fake/fake_backendconfig_client.go | 2 +- .../backendconfig/v1/generated_expansion.go | 2 +- .../backendconfig/v1beta1/backendconfig.go | 2 +- .../v1beta1/backendconfig_client.go | 2 +- .../typed/backendconfig/v1beta1/doc.go | 2 +- .../typed/backendconfig/v1beta1/fake/doc.go | 2 +- .../v1beta1/fake/fake_backendconfig.go | 2 +- .../v1beta1/fake/fake_backendconfig_client.go | 2 +- .../v1beta1/generated_expansion.go | 2 +- .../backendconfig/interface.go | 2 +- .../backendconfig/v1/backendconfig.go | 2 +- .../backendconfig/v1/interface.go | 2 +- .../backendconfig/v1beta1/backendconfig.go | 2 +- .../backendconfig/v1beta1/interface.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../listers/backendconfig/v1/backendconfig.go | 7 ++- .../backendconfig/v1/expansion_generated.go | 2 +- .../backendconfig/v1beta1/backendconfig.go | 7 ++- .../v1beta1/expansion_generated.go | 2 +- pkg/composite/gen.go | 2 +- pkg/composite/gen_test.go | 2 +- pkg/crd/validation.go | 2 +- pkg/crd/validation_test.go | 2 +- pkg/e2e/adapter/zz_generated.conversion.go | 15 ++++--- .../v1alpha1/zz_generated.deepcopy.go | 2 +- .../workload/v1alpha1/zz_generated.openapi.go | 28 +++++++++--- .../client/clientset/versioned/clientset.go | 2 +- .../client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/workload/v1alpha1/doc.go | 2 +- .../typed/workload/v1alpha1/fake/doc.go | 2 +- .../workload/v1alpha1/fake/fake_workload.go | 2 +- .../v1alpha1/fake/fake_workload_client.go | 2 +- .../workload/v1alpha1/generated_expansion.go | 2 +- .../typed/workload/v1alpha1/workload.go | 2 +- .../workload/v1alpha1/workload_client.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/workload/interface.go | 2 +- .../workload/v1alpha1/interface.go | 2 +- .../workload/v1alpha1/workload.go | 2 +- .../workload/v1alpha1/expansion_generated.go | 2 +- .../listers/workload/v1alpha1/workload.go | 2 +- .../client/clientset/versioned/clientset.go | 2 +- .../client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 4 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../typed/frontendconfig/v1beta1/doc.go | 2 +- .../typed/frontendconfig/v1beta1/fake/doc.go | 2 +- .../v1beta1/fake/fake_frontendconfig.go | 2 +- .../fake/fake_frontendconfig_client.go | 2 +- .../frontendconfig/v1beta1/frontendconfig.go | 2 +- .../v1beta1/frontendconfig_client.go | 2 +- .../v1beta1/generated_expansion.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../frontendconfig/interface.go | 2 +- .../frontendconfig/v1beta1/frontendconfig.go | 2 +- .../frontendconfig/v1beta1/interface.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../v1beta1/expansion_generated.go | 2 +- .../frontendconfig/v1beta1/frontendconfig.go | 7 ++- .../client/clientset/versioned/clientset.go | 2 +- .../client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/ingparams/v1beta1/doc.go | 2 +- .../typed/ingparams/v1beta1/fake/doc.go | 2 +- .../v1beta1/fake/fake_gcpingressparams.go | 2 +- .../v1beta1/fake/fake_ingparams_client.go | 2 +- .../ingparams/v1beta1/gcpingressparams.go | 2 +- .../ingparams/v1beta1/generated_expansion.go | 2 +- .../ingparams/v1beta1/ingparams_client.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../externalversions/ingparams/interface.go | 2 +- .../ingparams/v1beta1/gcpingressparams.go | 2 +- .../ingparams/v1beta1/interface.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../ingparams/v1beta1/expansion_generated.go | 2 +- .../ingparams/v1beta1/gcpingressparams.go | 2 +- .../client/clientset/versioned/clientset.go | 2 +- .../client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../typed/serviceattachment/v1/doc.go | 2 +- .../typed/serviceattachment/v1/fake/doc.go | 2 +- .../v1/fake/fake_serviceattachment.go | 2 +- .../v1/fake/fake_serviceattachment_client.go | 2 +- .../v1/generated_expansion.go | 2 +- .../serviceattachment/v1/serviceattachment.go | 2 +- .../v1/serviceattachment_client.go | 2 +- .../typed/serviceattachment/v1beta1/doc.go | 2 +- .../serviceattachment/v1beta1/fake/doc.go | 2 +- .../v1beta1/fake/fake_serviceattachment.go | 2 +- .../fake/fake_serviceattachment_client.go | 2 +- .../v1beta1/generated_expansion.go | 2 +- .../v1beta1/serviceattachment.go | 2 +- .../v1beta1/serviceattachment_client.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../serviceattachment/interface.go | 2 +- .../serviceattachment/v1/interface.go | 2 +- .../serviceattachment/v1/serviceattachment.go | 2 +- .../serviceattachment/v1beta1/interface.go | 2 +- .../v1beta1/serviceattachment.go | 2 +- .../v1/expansion_generated.go | 2 +- .../serviceattachment/v1/serviceattachment.go | 2 +- .../v1beta1/expansion_generated.go | 2 +- .../v1beta1/serviceattachment.go | 2 +- .../client/clientset/versioned/clientset.go | 2 +- pkg/svcneg/client/clientset/versioned/doc.go | 2 +- .../versioned/fake/clientset_generated.go | 7 ++- .../client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- .../client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../versioned/typed/svcneg/v1beta1/doc.go | 2 +- .../typed/svcneg/v1beta1/fake/doc.go | 2 +- .../fake/fake_servicenetworkendpointgroup.go | 2 +- .../svcneg/v1beta1/fake/fake_svcneg_client.go | 2 +- .../svcneg/v1beta1/generated_expansion.go | 2 +- .../v1beta1/servicenetworkendpointgroup.go | 2 +- .../typed/svcneg/v1beta1/svcneg_client.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/svcneg/interface.go | 2 +- .../svcneg/v1beta1/interface.go | 2 +- .../v1beta1/servicenetworkendpointgroup.go | 2 +- .../svcneg/v1beta1/expansion_generated.go | 2 +- .../v1beta1/servicenetworkendpointgroup.go | 2 +- 177 files changed, 355 insertions(+), 264 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 6bc4bebbe5..eae1f2e929 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -35,7 +35,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for BackendConfig v1beta1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1\ @@ -43,7 +42,6 @@ ${GOPATH}/bin/openapi-gen \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for BackendConfig v1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/backendconfig/v1\ @@ -58,7 +56,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for FrontendConfig v1beta1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1\ @@ -73,7 +70,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for ServiceNetworkEndpointGroup v1beta1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1\ @@ -88,7 +84,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for ServiceAttachment v1beta1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1\ @@ -96,7 +91,6 @@ ${GOPATH}/bin/openapi-gen \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for ServiceAttachment v1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/serviceattachment/v1\ @@ -119,7 +113,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --plural-exceptions=GCPIngressParams:GCPIngressParams echo "Generating openapi for GCPIngressParams v1beta1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/apis/ingparams/v1beta1\ diff --git a/hack/update-experimental-codegen.sh b/hack/update-experimental-codegen.sh index 1be03f636f..7b41bb9ba7 100755 --- a/hack/update-experimental-codegen.sh +++ b/hack/update-experimental-codegen.sh @@ -35,7 +35,6 @@ ${CODEGEN_PKG}/generate-groups.sh \ --go-header-file ${SCRIPT_ROOT}/hack/boilerplate.go.txt echo "Generating openapi for Workload v1alpha1" -go install ${OPENAPI_PKG}/cmd/openapi-gen ${GOPATH}/bin/openapi-gen \ --output-file-base zz_generated.openapi \ --input-dirs k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1 \ diff --git a/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go b/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go index effda79286..fa0884250d 100644 --- a/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go +++ b/pkg/apis/backendconfig/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/backendconfig/v1/zz_generated.openapi.go b/pkg/apis/backendconfig/v1/zz_generated.openapi.go index 9471960a65..3886a831ac 100644 --- a/pkg/apis/backendconfig/v1/zz_generated.openapi.go +++ b/pkg/apis/backendconfig/v1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -69,17 +69,20 @@ func schema_pkg_apis_backendconfig_v1_BackendConfig(ref common.ReferenceCallback }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1.BackendConfigSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1.BackendConfigSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1.BackendConfigStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1.BackendConfigStatus"), }, }, }, @@ -181,8 +184,9 @@ func schema_pkg_apis_backendconfig_v1_CDNConfig(ref common.ReferenceCallback) co Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ - Type: []string{"boolean"}, - Format: "", + Default: false, + Type: []string{"boolean"}, + Format: "", }, }, "bypassCacheOnRequestHeaders": { @@ -318,8 +322,9 @@ func schema_pkg_apis_backendconfig_v1_CacheKeyPolicy(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -332,8 +337,9 @@ func schema_pkg_apis_backendconfig_v1_CacheKeyPolicy(ref common.ReferenceCallbac Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -378,8 +384,9 @@ func schema_pkg_apis_backendconfig_v1_CustomRequestHeadersConfig(ref common.Refe Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -462,8 +469,9 @@ func schema_pkg_apis_backendconfig_v1_IAPConfig(ref common.ReferenceCallback) co Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ - Type: []string{"boolean"}, - Format: "", + Default: false, + Type: []string{"boolean"}, + Format: "", }, }, "oauthclientCredentials": { @@ -544,6 +552,7 @@ func schema_pkg_apis_backendconfig_v1_OAuthClientCredentials(ref common.Referenc "secretName": { SchemaProps: spec.SchemaProps{ Description: "The name of a k8s secret which stores the OAuth client id & secret.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -579,6 +588,7 @@ func schema_pkg_apis_backendconfig_v1_SecurityPolicyConfig(ref common.ReferenceC "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the security policy that should be associated. If set to empty, the existing security policy on the backend will be removed.", + Default: "", Type: []string{"string"}, Format: "", }, diff --git a/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go b/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go index 3d112d0b13..e85d801181 100644 --- a/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/backendconfig/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/backendconfig/v1beta1/zz_generated.openapi.go b/pkg/apis/backendconfig/v1beta1/zz_generated.openapi.go index 86453f9407..98a3c58a97 100644 --- a/pkg/apis/backendconfig/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/backendconfig/v1beta1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1beta1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -65,17 +65,20 @@ func schema_pkg_apis_backendconfig_v1beta1_BackendConfig(ref common.ReferenceCal }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1.BackendConfigSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1.BackendConfigSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1.BackendConfigStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/backendconfig/v1beta1.BackendConfigStatus"), }, }, }, @@ -151,8 +154,9 @@ func schema_pkg_apis_backendconfig_v1beta1_CDNConfig(ref common.ReferenceCallbac Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ - Type: []string{"boolean"}, - Format: "", + Default: false, + Type: []string{"boolean"}, + Format: "", }, }, "cachePolicy": { @@ -204,8 +208,9 @@ func schema_pkg_apis_backendconfig_v1beta1_CacheKeyPolicy(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -218,8 +223,9 @@ func schema_pkg_apis_backendconfig_v1beta1_CacheKeyPolicy(ref common.ReferenceCa Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -264,8 +270,9 @@ func schema_pkg_apis_backendconfig_v1beta1_CustomRequestHeadersConfig(ref common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -347,8 +354,9 @@ func schema_pkg_apis_backendconfig_v1beta1_IAPConfig(ref common.ReferenceCallbac Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ - Type: []string{"boolean"}, - Format: "", + Default: false, + Type: []string{"boolean"}, + Format: "", }, }, "oauthclientCredentials": { @@ -375,6 +383,7 @@ func schema_pkg_apis_backendconfig_v1beta1_OAuthClientCredentials(ref common.Ref "secretName": { SchemaProps: spec.SchemaProps{ Description: "The name of a k8s secret which stores the OAuth client id & secret.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -410,6 +419,7 @@ func schema_pkg_apis_backendconfig_v1beta1_SecurityPolicyConfig(ref common.Refer "name": { SchemaProps: spec.SchemaProps{ Description: "Name of the security policy that should be associated. If set to empty, the existing security policy on the backend will be removed.", + Default: "", Type: []string{"string"}, Format: "", }, diff --git a/pkg/apis/frontendconfig/v1beta1/zz_generated.deepcopy.go b/pkg/apis/frontendconfig/v1beta1/zz_generated.deepcopy.go index 3a6f115955..f1dbecfe18 100644 --- a/pkg/apis/frontendconfig/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/frontendconfig/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go b/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go index 0df76b9408..4fd1412227 100644 --- a/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/frontendconfig/v1beta1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1beta1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -57,17 +57,20 @@ func schema_pkg_apis_frontendconfig_v1beta1_FrontendConfig(ref common.ReferenceC }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1.FrontendConfigSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1.FrontendConfigSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1.FrontendConfigStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/frontendconfig/v1beta1.FrontendConfigStatus"), }, }, }, @@ -113,8 +116,9 @@ func schema_pkg_apis_frontendconfig_v1beta1_HttpsRedirectConfig(ref common.Refer Properties: map[string]spec.Schema{ "enabled": { SchemaProps: spec.SchemaProps{ - Type: []string{"boolean"}, - Format: "", + Default: false, + Type: []string{"boolean"}, + Format: "", }, }, "responseCodeName": { diff --git a/pkg/apis/ingparams/v1beta1/zz_generated.deepcopy.go b/pkg/apis/ingparams/v1beta1/zz_generated.deepcopy.go index fc3aaaacb6..ce0c9c0614 100644 --- a/pkg/apis/ingparams/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/ingparams/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/ingparams/v1beta1/zz_generated.openapi.go b/pkg/apis/ingparams/v1beta1/zz_generated.openapi.go index dd7ec753da..17b6a883e6 100644 --- a/pkg/apis/ingparams/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/ingparams/v1beta1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1beta1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -57,17 +57,20 @@ func schema_pkg_apis_ingparams_v1beta1_GCPIngressParams(ref common.ReferenceCall }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/ingparams/v1beta1.GCPIngressParamsSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/ingparams/v1beta1.GCPIngressParamsSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/ingparams/v1beta1.GCPIngressParamsStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/ingparams/v1beta1.GCPIngressParamsStatus"), }, }, }, @@ -88,6 +91,7 @@ func schema_pkg_apis_ingparams_v1beta1_GCPIngressParamsSpec(ref common.Reference "internal": { SchemaProps: spec.SchemaProps{ Description: "Internal specifies whether internal or external load balancing is desired. The default is external load balancing, so Internal will default to false.", + Default: false, Type: []string{"boolean"}, Format: "", }, diff --git a/pkg/apis/serviceattachment/v1/zz_generated.deepcopy.go b/pkg/apis/serviceattachment/v1/zz_generated.deepcopy.go index 5ad1a3b576..de6cd27c82 100644 --- a/pkg/apis/serviceattachment/v1/zz_generated.deepcopy.go +++ b/pkg/apis/serviceattachment/v1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/serviceattachment/v1/zz_generated.openapi.go b/pkg/apis/serviceattachment/v1/zz_generated.openapi.go index 2fd058a9dd..d60f514964 100644 --- a/pkg/apis/serviceattachment/v1/zz_generated.openapi.go +++ b/pkg/apis/serviceattachment/v1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -199,7 +199,7 @@ func schema_pkg_apis_serviceattachment_v1_ServiceAttachmentSpec(ref common.Refer }, }, SchemaProps: spec.SchemaProps{ - Description: "NATSubnets contains the list of subnet names for PSC", + Description: "NATSubnets contains the list of subnet names for PSC or nat subnet resource urls", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ diff --git a/pkg/apis/serviceattachment/v1beta1/zz_generated.deepcopy.go b/pkg/apis/serviceattachment/v1beta1/zz_generated.deepcopy.go index e241a480b5..1db1bf9d23 100644 --- a/pkg/apis/serviceattachment/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/serviceattachment/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/serviceattachment/v1beta1/zz_generated.openapi.go b/pkg/apis/serviceattachment/v1beta1/zz_generated.openapi.go index 96ed3adb48..16edd85f6a 100644 --- a/pkg/apis/serviceattachment/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/serviceattachment/v1beta1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1beta1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -97,8 +97,9 @@ func schema_pkg_apis_serviceattachment_v1beta1_ConsumerProject(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -116,8 +117,9 @@ func schema_pkg_apis_serviceattachment_v1beta1_ConsumerProject(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -152,17 +154,20 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachment(ref common.Refe }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ServiceAttachmentSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ServiceAttachmentSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ServiceAttachmentStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ServiceAttachmentStatus"), }, }, }, @@ -194,13 +199,14 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentSpec(ref common. }, }, SchemaProps: spec.SchemaProps{ - Description: "NATSubnets contains the list of subnet names for PSC", + Description: "NATSubnets contains the list of subnet names for PSC or nat subnet resource urls", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -209,6 +215,7 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentSpec(ref common. "resourceRef": { SchemaProps: spec.SchemaProps{ Description: "ResourceRef is the reference to the K8s resource that created the forwarding rule Only Services can be used as a reference", + Default: map[string]interface{}{}, Ref: ref("k8s.io/api/core/v1.TypedLocalObjectReference"), }, }, @@ -231,7 +238,8 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentSpec(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ConsumerProject"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ConsumerProject"), }, }, }, @@ -249,8 +257,9 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentSpec(ref common. Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Type: []string{"string"}, - Format: "", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, @@ -297,7 +306,8 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentStatus(ref commo Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ConsumerForwardingRule"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/serviceattachment/v1beta1.ConsumerForwardingRule"), }, }, }, @@ -306,6 +316,7 @@ func schema_pkg_apis_serviceattachment_v1beta1_ServiceAttachmentStatus(ref commo "lastModifiedTimestamp": { SchemaProps: spec.SchemaProps{ Description: "LastModifiedTimestamp tracks last time Status was updated", + Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, diff --git a/pkg/apis/svcneg/v1beta1/zz_generated.deepcopy.go b/pkg/apis/svcneg/v1beta1/zz_generated.deepcopy.go index 5bf1e40aa6..6608779800 100644 --- a/pkg/apis/svcneg/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/svcneg/v1beta1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/svcneg/v1beta1/zz_generated.openapi.go b/pkg/apis/svcneg/v1beta1/zz_generated.openapi.go index 0937f64309..d6012d4eb7 100644 --- a/pkg/apis/svcneg/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/svcneg/v1beta1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1beta1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -46,6 +46,7 @@ func schema_pkg_apis_svcneg_v1beta1_Condition(ref common.ReferenceCallback) comm "type": { SchemaProps: spec.SchemaProps{ Description: "Type is the type of the condition.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -53,6 +54,7 @@ func schema_pkg_apis_svcneg_v1beta1_Condition(ref common.ReferenceCallback) comm "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -67,12 +69,14 @@ func schema_pkg_apis_svcneg_v1beta1_Condition(ref common.ReferenceCallback) comm "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another.", + Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition", + Default: "", Type: []string{"string"}, Format: "", }, @@ -80,6 +84,7 @@ func schema_pkg_apis_svcneg_v1beta1_Condition(ref common.ReferenceCallback) comm "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition. This field may be empty.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -103,6 +108,7 @@ func schema_pkg_apis_svcneg_v1beta1_NegObjectReference(ref common.ReferenceCallb "id": { SchemaProps: spec.SchemaProps{ Description: "The unique identifier for the NEG resource in GCE API.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -150,17 +156,20 @@ func schema_pkg_apis_svcneg_v1beta1_ServiceNetworkEndpointGroup(ref common.Refer }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.ServiceNetworkEndpointGroupSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.ServiceNetworkEndpointGroupSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.ServiceNetworkEndpointGroupStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.ServiceNetworkEndpointGroupStatus"), }, }, }, @@ -192,7 +201,8 @@ func schema_pkg_apis_svcneg_v1beta1_ServiceNetworkEndpointGroupStatus(ref common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.NegObjectReference"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.NegObjectReference"), }, }, }, @@ -213,7 +223,8 @@ func schema_pkg_apis_svcneg_v1beta1_ServiceNetworkEndpointGroupStatus(ref common Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.Condition"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/apis/svcneg/v1beta1.Condition"), }, }, }, @@ -222,6 +233,7 @@ func schema_pkg_apis_svcneg_v1beta1_ServiceNetworkEndpointGroupStatus(ref common "lastSyncTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the NEG syncer syncs associated NEGs.", + Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, diff --git a/pkg/backendconfig/client/clientset/versioned/clientset.go b/pkg/backendconfig/client/clientset/versioned/clientset.go index 535a3d3adc..fe3f14a300 100644 --- a/pkg/backendconfig/client/clientset/versioned/clientset.go +++ b/pkg/backendconfig/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/doc.go b/pkg/backendconfig/client/clientset/versioned/doc.go index 92576525fa..ab7539cb9f 100644 --- a/pkg/backendconfig/client/clientset/versioned/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go b/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go index 5ce22175eb..4f8aee8e4b 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -76,7 +76,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // CloudV1beta1 retrieves the CloudV1beta1Client func (c *Clientset) CloudV1beta1() cloudv1beta1.CloudV1beta1Interface { diff --git a/pkg/backendconfig/client/clientset/versioned/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/fake/doc.go index 4b91eb6a64..7d98eabcc8 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/fake/register.go b/pkg/backendconfig/client/clientset/versioned/fake/register.go index 55000de54c..9020d5a784 100644 --- a/pkg/backendconfig/client/clientset/versioned/fake/register.go +++ b/pkg/backendconfig/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import ( var scheme = runtime.NewScheme() var codecs = serializer.NewCodecFactory(scheme) -var parameterCodec = runtime.NewParameterCodec(scheme) + var localSchemeBuilder = runtime.SchemeBuilder{ cloudv1beta1.AddToScheme, cloudv1.AddToScheme, diff --git a/pkg/backendconfig/client/clientset/versioned/scheme/doc.go b/pkg/backendconfig/client/clientset/versioned/scheme/doc.go index 6dc5e6530d..288d3794dc 100644 --- a/pkg/backendconfig/client/clientset/versioned/scheme/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/scheme/register.go b/pkg/backendconfig/client/clientset/versioned/scheme/register.go index 2de2082c97..c38ca62de3 100644 --- a/pkg/backendconfig/client/clientset/versioned/scheme/register.go +++ b/pkg/backendconfig/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go index e5814aa0ea..9423b34dcf 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go index 57b50ab024..5b629f697d 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go index d2b78a77fe..01fa5fd655 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go index 43eec078a4..dd9e9e4c8f 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go index b4505cd128..4f5d626c41 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go index e066f4694c..75e4f66782 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/fake/fake_backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go index ced9274d14..3258446c69 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go index a5f2ca50d1..5940bacd25 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go index 7d631211f5..8c25df5270 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go index 6029d89549..890a21e055 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go index 43eec078a4..dd9e9e4c8f 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go index 7210ed7f2e..76438dfcee 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go index 5141990052..e249328fc5 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/fake/fake_backendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go index 3fdf92de1a..b37df4069c 100644 --- a/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go +++ b/pkg/backendconfig/client/clientset/versioned/typed/backendconfig/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go index c5a691c567..661f201e28 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go index ea6fac184b..d8518fd369 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go index 9dccda3362..189e41973d 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go index 69bfcd0a43..e16a8739cf 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go index 5ce150e604..10e557a1ba 100644 --- a/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go +++ b/pkg/backendconfig/client/informers/externalversions/backendconfig/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/factory.go b/pkg/backendconfig/client/informers/externalversions/factory.go index d6bfd60af2..afbc1bad02 100644 --- a/pkg/backendconfig/client/informers/externalversions/factory.go +++ b/pkg/backendconfig/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/generic.go b/pkg/backendconfig/client/informers/externalversions/generic.go index be8102bcef..e0b02513b8 100644 --- a/pkg/backendconfig/client/informers/externalversions/generic.go +++ b/pkg/backendconfig/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 4f823505c5..0cf901d6fa 100644 --- a/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/backendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go b/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go index 00d7e45769..a380ceaa49 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,8 +26,10 @@ import ( ) // BackendConfigLister helps list BackendConfigs. +// All objects returned here must be treated as read-only. type BackendConfigLister interface { // List lists all BackendConfigs in the indexer. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.BackendConfig, err error) // BackendConfigs returns an object that can list and get BackendConfigs. BackendConfigs(namespace string) BackendConfigNamespaceLister @@ -58,10 +60,13 @@ func (s *backendConfigLister) BackendConfigs(namespace string) BackendConfigName } // BackendConfigNamespaceLister helps list and get BackendConfigs. +// All objects returned here must be treated as read-only. type BackendConfigNamespaceLister interface { // List lists all BackendConfigs in the indexer for a given namespace. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1.BackendConfig, err error) // Get retrieves the BackendConfig from the indexer for a given namespace and name. + // Objects returned here must be treated as read-only. Get(name string) (*v1.BackendConfig, error) BackendConfigNamespaceListerExpansion } diff --git a/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go b/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go index d5374f2992..2aee89cc9c 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go b/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go index b16e360d55..c3cf5715cc 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1beta1/backendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,8 +26,10 @@ import ( ) // BackendConfigLister helps list BackendConfigs. +// All objects returned here must be treated as read-only. type BackendConfigLister interface { // List lists all BackendConfigs in the indexer. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1beta1.BackendConfig, err error) // BackendConfigs returns an object that can list and get BackendConfigs. BackendConfigs(namespace string) BackendConfigNamespaceLister @@ -58,10 +60,13 @@ func (s *backendConfigLister) BackendConfigs(namespace string) BackendConfigName } // BackendConfigNamespaceLister helps list and get BackendConfigs. +// All objects returned here must be treated as read-only. type BackendConfigNamespaceLister interface { // List lists all BackendConfigs in the indexer for a given namespace. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1beta1.BackendConfig, err error) // Get retrieves the BackendConfig from the indexer for a given namespace and name. + // Objects returned here must be treated as read-only. Get(name string) (*v1beta1.BackendConfig, error) BackendConfigNamespaceListerExpansion } diff --git a/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go b/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go index 40ab3c297a..0f47af0d6d 100644 --- a/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go +++ b/pkg/backendconfig/client/listers/backendconfig/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/composite/gen.go b/pkg/composite/gen.go index 878c3039d8..602ad4f2ac 100644 --- a/pkg/composite/gen.go +++ b/pkg/composite/gen.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/composite/gen_test.go b/pkg/composite/gen_test.go index 9422c2b6d9..041815054c 100644 --- a/pkg/composite/gen_test.go +++ b/pkg/composite/gen_test.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/crd/validation.go b/pkg/crd/validation.go index 3cf260e9cb..20e6513358 100644 --- a/pkg/crd/validation.go +++ b/pkg/crd/validation.go @@ -20,10 +20,10 @@ import ( "encoding/json" "fmt" - spec "github.com/go-openapi/spec" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) var metav1OpenAPISpec = map[string]common.OpenAPIDefinition{ diff --git a/pkg/crd/validation_test.go b/pkg/crd/validation_test.go index a9589017d3..0617107ac7 100644 --- a/pkg/crd/validation_test.go +++ b/pkg/crd/validation_test.go @@ -19,8 +19,8 @@ package crd import ( "testing" - "github.com/go-openapi/spec" "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) var ( diff --git a/pkg/e2e/adapter/zz_generated.conversion.go b/pkg/e2e/adapter/zz_generated.conversion.go index da4ad6075e..23f0bcd7a2 100644 --- a/pkg/e2e/adapter/zz_generated.conversion.go +++ b/pkg/e2e/adapter/zz_generated.conversion.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* @@ -26,7 +27,7 @@ import ( unsafe "unsafe" corev1 "k8s.io/api/core/v1" - v1 "k8s.io/api/core/v1" + // v1 "k8s.io/api/core/v1" networking "k8s.io/api/networking/v1" v1beta1 "k8s.io/api/networking/v1beta1" conversion "k8s.io/apimachinery/pkg/conversion" @@ -141,7 +142,7 @@ func autoConvert_v1beta1_IngressBackend_To_networking_IngressBackend(in *v1beta1 func autoConvert_networking_IngressBackend_To_v1beta1_IngressBackend(in *networking.IngressBackend, out *v1beta1.IngressBackend, s conversion.Scope) error { // WARNING: in.Service requires manual conversion: does not exist in peer-type - out.Resource = (*v1.TypedLocalObjectReference)(unsafe.Pointer(in.Resource)) + out.Resource = (*corev1.TypedLocalObjectReference)(unsafe.Pointer(in.Resource)) return nil } @@ -195,7 +196,7 @@ func Convert_networking_IngressClassList_To_v1beta1_IngressClassList(in *network func autoConvert_v1beta1_IngressClassSpec_To_networking_IngressClassSpec(in *v1beta1.IngressClassSpec, out *networking.IngressClassSpec, s conversion.Scope) error { out.Controller = in.Controller - out.Parameters = (*corev1.TypedLocalObjectReference)(unsafe.Pointer(in.Parameters)) + out.Parameters = (*networking.IngressClassParametersReference)(unsafe.Pointer(in.Parameters)) return nil } @@ -206,7 +207,7 @@ func Convert_v1beta1_IngressClassSpec_To_networking_IngressClassSpec(in *v1beta1 func autoConvert_networking_IngressClassSpec_To_v1beta1_IngressClassSpec(in *networking.IngressClassSpec, out *v1beta1.IngressClassSpec, s conversion.Scope) error { out.Controller = in.Controller - out.Parameters = (*v1.TypedLocalObjectReference)(unsafe.Pointer(in.Parameters)) + out.Parameters = (*v1beta1.IngressClassParametersReference)(unsafe.Pointer(in.Parameters)) return nil } @@ -405,13 +406,13 @@ func Convert_networking_IngressTLS_To_v1beta1_IngressTLS(in *networking.IngressT // Copied from k8s.io.kubernetes/apis/core/v1/conversion.go // Convert_core_LoadBalancerStatus_To_v1_LoadBalancerStatus is defined outside the autogenerated file for use by other API packages -func Convert_core_LoadBalancerStatus_To_v1_LoadBalancerStatus(in *corev1.LoadBalancerStatus, out *v1.LoadBalancerStatus, s conversion.Scope) error { - out.Ingress = *(*[]v1.LoadBalancerIngress)(unsafe.Pointer(&in.Ingress)) +func Convert_core_LoadBalancerStatus_To_v1_LoadBalancerStatus(in *corev1.LoadBalancerStatus, out *corev1.LoadBalancerStatus, s conversion.Scope) error { + out.Ingress = *(*[]corev1.LoadBalancerIngress)(unsafe.Pointer(&in.Ingress)) return nil } // Convert_v1_LoadBalancerStatus_To_core_LoadBalancerStatus is defined outside the autogenerated file for use by other API packages -func Convert_v1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *v1.LoadBalancerStatus, out *corev1.LoadBalancerStatus, s conversion.Scope) error { +func Convert_v1_LoadBalancerStatus_To_core_LoadBalancerStatus(in *corev1.LoadBalancerStatus, out *corev1.LoadBalancerStatus, s conversion.Scope) error { out.Ingress = *(*[]corev1.LoadBalancerIngress)(unsafe.Pointer(&in.Ingress)) return nil } diff --git a/pkg/experimental/apis/workload/v1alpha1/zz_generated.deepcopy.go b/pkg/experimental/apis/workload/v1alpha1/zz_generated.deepcopy.go index 4d2aa81e02..bee3eba8dc 100644 --- a/pkg/experimental/apis/workload/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/experimental/apis/workload/v1alpha1/zz_generated.deepcopy.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/apis/workload/v1alpha1/zz_generated.openapi.go b/pkg/experimental/apis/workload/v1alpha1/zz_generated.openapi.go index 8c89371694..96278a1409 100644 --- a/pkg/experimental/apis/workload/v1alpha1/zz_generated.openapi.go +++ b/pkg/experimental/apis/workload/v1alpha1/zz_generated.openapi.go @@ -1,7 +1,7 @@ // +build !ignore_autogenerated /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ limitations under the License. package v1alpha1 import ( - spec "github.com/go-openapi/spec" common "k8s.io/kube-openapi/pkg/common" + spec "k8s.io/kube-openapi/pkg/validation/spec" ) func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { @@ -46,6 +46,7 @@ func schema_experimental_apis_workload_v1alpha1_Condition(ref common.ReferenceCa "type": { SchemaProps: spec.SchemaProps{ Description: "Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -53,6 +54,7 @@ func schema_experimental_apis_workload_v1alpha1_Condition(ref common.ReferenceCa "status": { SchemaProps: spec.SchemaProps{ Description: "Status of the condition, one of True, False, Unknown.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -67,12 +69,14 @@ func schema_experimental_apis_workload_v1alpha1_Condition(ref common.ReferenceCa "lastTransitionTime": { SchemaProps: spec.SchemaProps{ Description: "Last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.", + Default: map[string]interface{}{}, Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, "reason": { SchemaProps: spec.SchemaProps{ Description: "The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -80,6 +84,7 @@ func schema_experimental_apis_workload_v1alpha1_Condition(ref common.ReferenceCa "message": { SchemaProps: spec.SchemaProps{ Description: "A human readable message indicating details about the transition. This field may be empty.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -103,6 +108,7 @@ func schema_experimental_apis_workload_v1alpha1_ExternalWorkloadAddress(ref comm "address": { SchemaProps: spec.SchemaProps{ Description: "Address is the address of the workload exposed to the cluster.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -110,6 +116,7 @@ func schema_experimental_apis_workload_v1alpha1_ExternalWorkloadAddress(ref comm "addressType": { SchemaProps: spec.SchemaProps{ Description: "AddressType specifies the address type of the external workload.", + Default: "", Type: []string{"string"}, Format: "", }, @@ -143,17 +150,20 @@ func schema_experimental_apis_workload_v1alpha1_Workload(ref common.ReferenceCal }, "metadata": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), }, }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.WorkloadSpec"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.WorkloadSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.WorkloadStatus"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.WorkloadStatus"), }, }, }, @@ -174,6 +184,7 @@ func schema_experimental_apis_workload_v1alpha1_WorkloadSpec(ref common.Referenc "enableHeartbeat": { SchemaProps: spec.SchemaProps{ Description: "EnableHeartbeat indicates whether Heartbeat condition is enabled on this ExternalWorkload.", + Default: false, Type: []string{"boolean"}, Format: "", }, @@ -181,6 +192,7 @@ func schema_experimental_apis_workload_v1alpha1_WorkloadSpec(ref common.Referenc "enablePing": { SchemaProps: spec.SchemaProps{ Description: "EnablePing indicates whether Ping condition is enabled on this ExternalWorkload.", + Default: false, Type: []string{"boolean"}, Format: "", }, @@ -204,7 +216,8 @@ func schema_experimental_apis_workload_v1alpha1_WorkloadSpec(ref common.Referenc Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.ExternalWorkloadAddress"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.ExternalWorkloadAddress"), }, }, }, @@ -240,7 +253,8 @@ func schema_experimental_apis_workload_v1alpha1_WorkloadStatus(ref common.Refere Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.Condition"), + Default: map[string]interface{}{}, + Ref: ref("k8s.io/ingress-gce/pkg/experimental/apis/workload/v1alpha1.Condition"), }, }, }, diff --git a/pkg/experimental/workload/client/clientset/versioned/clientset.go b/pkg/experimental/workload/client/clientset/versioned/clientset.go index 904d715386..960cb7f98b 100644 --- a/pkg/experimental/workload/client/clientset/versioned/clientset.go +++ b/pkg/experimental/workload/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/doc.go b/pkg/experimental/workload/client/clientset/versioned/doc.go index 6ee812fc57..ab7539cb9f 100644 --- a/pkg/experimental/workload/client/clientset/versioned/doc.go +++ b/pkg/experimental/workload/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/fake/clientset_generated.go b/pkg/experimental/workload/client/clientset/versioned/fake/clientset_generated.go index 4b102e71e6..4021d123b0 100644 --- a/pkg/experimental/workload/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/experimental/workload/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,7 +74,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // NetworkingV1alpha1 retrieves the NetworkingV1alpha1Client func (c *Clientset) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface { diff --git a/pkg/experimental/workload/client/clientset/versioned/fake/doc.go b/pkg/experimental/workload/client/clientset/versioned/fake/doc.go index d6baf01acb..7d98eabcc8 100644 --- a/pkg/experimental/workload/client/clientset/versioned/fake/doc.go +++ b/pkg/experimental/workload/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/fake/register.go b/pkg/experimental/workload/client/clientset/versioned/fake/register.go index 765f5baca3..d44c5d5bb3 100644 --- a/pkg/experimental/workload/client/clientset/versioned/fake/register.go +++ b/pkg/experimental/workload/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/scheme/doc.go b/pkg/experimental/workload/client/clientset/versioned/scheme/doc.go index 7d06c9402d..288d3794dc 100644 --- a/pkg/experimental/workload/client/clientset/versioned/scheme/doc.go +++ b/pkg/experimental/workload/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/scheme/register.go b/pkg/experimental/workload/client/clientset/versioned/scheme/register.go index 850d03dcc1..0ab03135ee 100644 --- a/pkg/experimental/workload/client/clientset/versioned/scheme/register.go +++ b/pkg/experimental/workload/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/doc.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/doc.go index 54eabf9454..5362dda2ff 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/doc.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/doc.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/doc.go index 0243e68ff4..dd9e9e4c8f 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/doc.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload.go index ae9c15ff0e..dbeeec1a49 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload_client.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload_client.go index fef473618d..20d89c579f 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload_client.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/fake/fake_workload_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/generated_expansion.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/generated_expansion.go index b7e2d0190d..662bbff3de 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/generated_expansion.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload.go index 8f04c2bc8c..56a3877602 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload_client.go b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload_client.go index 6ce6601ab4..1708c282ac 100644 --- a/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload_client.go +++ b/pkg/experimental/workload/client/clientset/versioned/typed/workload/v1alpha1/workload_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/factory.go b/pkg/experimental/workload/client/informers/externalversions/factory.go index 6904d5df5c..561d811952 100644 --- a/pkg/experimental/workload/client/informers/externalversions/factory.go +++ b/pkg/experimental/workload/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/generic.go b/pkg/experimental/workload/client/informers/externalversions/generic.go index 295a43f063..6a2a8fac9a 100644 --- a/pkg/experimental/workload/client/informers/externalversions/generic.go +++ b/pkg/experimental/workload/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/experimental/workload/client/informers/externalversions/internalinterfaces/factory_interfaces.go index f34103ac0d..3774ee159b 100644 --- a/pkg/experimental/workload/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/experimental/workload/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/workload/interface.go b/pkg/experimental/workload/client/informers/externalversions/workload/interface.go index 4fdfee10a4..ebc0d4ef18 100644 --- a/pkg/experimental/workload/client/informers/externalversions/workload/interface.go +++ b/pkg/experimental/workload/client/informers/externalversions/workload/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/interface.go b/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/interface.go index 9de157f89d..cc7adf38db 100644 --- a/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/interface.go +++ b/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/workload.go b/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/workload.go index 904b9890c0..74f7457532 100644 --- a/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/workload.go +++ b/pkg/experimental/workload/client/informers/externalversions/workload/v1alpha1/workload.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/listers/workload/v1alpha1/expansion_generated.go b/pkg/experimental/workload/client/listers/workload/v1alpha1/expansion_generated.go index d86bba1a87..16231e4646 100644 --- a/pkg/experimental/workload/client/listers/workload/v1alpha1/expansion_generated.go +++ b/pkg/experimental/workload/client/listers/workload/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/experimental/workload/client/listers/workload/v1alpha1/workload.go b/pkg/experimental/workload/client/listers/workload/v1alpha1/workload.go index 8ed1ace711..8e5865a90a 100644 --- a/pkg/experimental/workload/client/listers/workload/v1alpha1/workload.go +++ b/pkg/experimental/workload/client/listers/workload/v1alpha1/workload.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/clientset.go b/pkg/frontendconfig/client/clientset/versioned/clientset.go index ea337e0539..e59a156214 100644 --- a/pkg/frontendconfig/client/clientset/versioned/clientset.go +++ b/pkg/frontendconfig/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/doc.go b/pkg/frontendconfig/client/clientset/versioned/doc.go index 6ee812fc57..ab7539cb9f 100644 --- a/pkg/frontendconfig/client/clientset/versioned/doc.go +++ b/pkg/frontendconfig/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/fake/clientset_generated.go b/pkg/frontendconfig/client/clientset/versioned/fake/clientset_generated.go index b219a21d8f..6ceae4d82c 100644 --- a/pkg/frontendconfig/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/frontendconfig/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,7 +74,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { diff --git a/pkg/frontendconfig/client/clientset/versioned/fake/doc.go b/pkg/frontendconfig/client/clientset/versioned/fake/doc.go index d6baf01acb..7d98eabcc8 100644 --- a/pkg/frontendconfig/client/clientset/versioned/fake/doc.go +++ b/pkg/frontendconfig/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/fake/register.go b/pkg/frontendconfig/client/clientset/versioned/fake/register.go index 923201c27e..8b08cb64e8 100644 --- a/pkg/frontendconfig/client/clientset/versioned/fake/register.go +++ b/pkg/frontendconfig/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ import ( var scheme = runtime.NewScheme() var codecs = serializer.NewCodecFactory(scheme) -var parameterCodec = runtime.NewParameterCodec(scheme) + var localSchemeBuilder = runtime.SchemeBuilder{ networkingv1beta1.AddToScheme, } diff --git a/pkg/frontendconfig/client/clientset/versioned/scheme/doc.go b/pkg/frontendconfig/client/clientset/versioned/scheme/doc.go index 7d06c9402d..288d3794dc 100644 --- a/pkg/frontendconfig/client/clientset/versioned/scheme/doc.go +++ b/pkg/frontendconfig/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/scheme/register.go b/pkg/frontendconfig/client/clientset/versioned/scheme/register.go index 11040ee08e..265a2aaebb 100644 --- a/pkg/frontendconfig/client/clientset/versioned/scheme/register.go +++ b/pkg/frontendconfig/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/doc.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/doc.go index 68f9a55b51..890a21e055 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/doc.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/doc.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/doc.go index 0243e68ff4..dd9e9e4c8f 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/doc.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig.go index 4ac6d4cb67..c88a8ca445 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig_client.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig_client.go index e7690f70f0..5107d15bf4 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig_client.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/fake/fake_frontendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig.go index d82dfb1450..1e5aac93b9 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig_client.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig_client.go index 4e606d4f24..415d327262 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig_client.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/frontendconfig_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/generated_expansion.go b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/generated_expansion.go index 3df2db2180..545476d12f 100644 --- a/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/generated_expansion.go +++ b/pkg/frontendconfig/client/clientset/versioned/typed/frontendconfig/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/factory.go b/pkg/frontendconfig/client/informers/externalversions/factory.go index 317f6bd4e0..f27a2e673b 100644 --- a/pkg/frontendconfig/client/informers/externalversions/factory.go +++ b/pkg/frontendconfig/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/interface.go b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/interface.go index b7baf6755b..e85d4cbd36 100644 --- a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/interface.go +++ b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/frontendconfig.go b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/frontendconfig.go index 1aa19fe1e5..9754d22c3e 100644 --- a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/frontendconfig.go +++ b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/frontendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/interface.go b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/interface.go index cf2931a1a4..c014f90c3d 100644 --- a/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/interface.go +++ b/pkg/frontendconfig/client/informers/externalversions/frontendconfig/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/generic.go b/pkg/frontendconfig/client/informers/externalversions/generic.go index 38eed4d5d3..c02ee77133 100644 --- a/pkg/frontendconfig/client/informers/externalversions/generic.go +++ b/pkg/frontendconfig/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/frontendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 348e1a2385..af46bbb944 100644 --- a/pkg/frontendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/frontendconfig/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/expansion_generated.go b/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/expansion_generated.go index a47f8ac8df..c9a856afdd 100644 --- a/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/expansion_generated.go +++ b/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/frontendconfig.go b/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/frontendconfig.go index c832d3615c..1d51a40751 100644 --- a/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/frontendconfig.go +++ b/pkg/frontendconfig/client/listers/frontendconfig/v1beta1/frontendconfig.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,8 +26,10 @@ import ( ) // FrontendConfigLister helps list FrontendConfigs. +// All objects returned here must be treated as read-only. type FrontendConfigLister interface { // List lists all FrontendConfigs in the indexer. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1beta1.FrontendConfig, err error) // FrontendConfigs returns an object that can list and get FrontendConfigs. FrontendConfigs(namespace string) FrontendConfigNamespaceLister @@ -58,10 +60,13 @@ func (s *frontendConfigLister) FrontendConfigs(namespace string) FrontendConfigN } // FrontendConfigNamespaceLister helps list and get FrontendConfigs. +// All objects returned here must be treated as read-only. type FrontendConfigNamespaceLister interface { // List lists all FrontendConfigs in the indexer for a given namespace. + // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1beta1.FrontendConfig, err error) // Get retrieves the FrontendConfig from the indexer for a given namespace and name. + // Objects returned here must be treated as read-only. Get(name string) (*v1beta1.FrontendConfig, error) FrontendConfigNamespaceListerExpansion } diff --git a/pkg/ingparams/client/clientset/versioned/clientset.go b/pkg/ingparams/client/clientset/versioned/clientset.go index 55d1b03ea9..2bfbe858ab 100644 --- a/pkg/ingparams/client/clientset/versioned/clientset.go +++ b/pkg/ingparams/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/doc.go b/pkg/ingparams/client/clientset/versioned/doc.go index 6ee812fc57..ab7539cb9f 100644 --- a/pkg/ingparams/client/clientset/versioned/doc.go +++ b/pkg/ingparams/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/fake/clientset_generated.go b/pkg/ingparams/client/clientset/versioned/fake/clientset_generated.go index acb3fc93ad..fda4f1f66a 100644 --- a/pkg/ingparams/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/ingparams/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,7 +74,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { diff --git a/pkg/ingparams/client/clientset/versioned/fake/doc.go b/pkg/ingparams/client/clientset/versioned/fake/doc.go index d6baf01acb..7d98eabcc8 100644 --- a/pkg/ingparams/client/clientset/versioned/fake/doc.go +++ b/pkg/ingparams/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/fake/register.go b/pkg/ingparams/client/clientset/versioned/fake/register.go index d69027c3ed..25020f7758 100644 --- a/pkg/ingparams/client/clientset/versioned/fake/register.go +++ b/pkg/ingparams/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/scheme/doc.go b/pkg/ingparams/client/clientset/versioned/scheme/doc.go index 7d06c9402d..288d3794dc 100644 --- a/pkg/ingparams/client/clientset/versioned/scheme/doc.go +++ b/pkg/ingparams/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/scheme/register.go b/pkg/ingparams/client/clientset/versioned/scheme/register.go index 6e701dfc2d..e4212ea8b0 100644 --- a/pkg/ingparams/client/clientset/versioned/scheme/register.go +++ b/pkg/ingparams/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/doc.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/doc.go index 68f9a55b51..890a21e055 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/doc.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/doc.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/doc.go index 0243e68ff4..dd9e9e4c8f 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/doc.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_gcpingressparams.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_gcpingressparams.go index 7beb30f8d5..e06e7dafb0 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_gcpingressparams.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_gcpingressparams.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_ingparams_client.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_ingparams_client.go index d6c9d857a3..1cf186e75c 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_ingparams_client.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/fake/fake_ingparams_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/gcpingressparams.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/gcpingressparams.go index eeea0772a7..67fa2275df 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/gcpingressparams.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/gcpingressparams.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/generated_expansion.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/generated_expansion.go index d762a25ea8..f313f52cc0 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/generated_expansion.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/ingparams_client.go b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/ingparams_client.go index 27272be369..0e843793d4 100644 --- a/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/ingparams_client.go +++ b/pkg/ingparams/client/clientset/versioned/typed/ingparams/v1beta1/ingparams_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/factory.go b/pkg/ingparams/client/informers/externalversions/factory.go index f620211a84..7d4194182c 100644 --- a/pkg/ingparams/client/informers/externalversions/factory.go +++ b/pkg/ingparams/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/generic.go b/pkg/ingparams/client/informers/externalversions/generic.go index dde0a13af4..6cff05972f 100644 --- a/pkg/ingparams/client/informers/externalversions/generic.go +++ b/pkg/ingparams/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/ingparams/interface.go b/pkg/ingparams/client/informers/externalversions/ingparams/interface.go index 62524ee4ea..d4f1a21d43 100644 --- a/pkg/ingparams/client/informers/externalversions/ingparams/interface.go +++ b/pkg/ingparams/client/informers/externalversions/ingparams/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/gcpingressparams.go b/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/gcpingressparams.go index 5f3271b618..577faf6a0d 100644 --- a/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/gcpingressparams.go +++ b/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/gcpingressparams.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/interface.go b/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/interface.go index 4432c6841c..df9f8071b2 100644 --- a/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/interface.go +++ b/pkg/ingparams/client/informers/externalversions/ingparams/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/ingparams/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 111219f5ee..3d261dfe66 100644 --- a/pkg/ingparams/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/ingparams/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/listers/ingparams/v1beta1/expansion_generated.go b/pkg/ingparams/client/listers/ingparams/v1beta1/expansion_generated.go index 34227d9baa..39d5c26014 100644 --- a/pkg/ingparams/client/listers/ingparams/v1beta1/expansion_generated.go +++ b/pkg/ingparams/client/listers/ingparams/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/ingparams/client/listers/ingparams/v1beta1/gcpingressparams.go b/pkg/ingparams/client/listers/ingparams/v1beta1/gcpingressparams.go index d117848410..fe7d621c8d 100644 --- a/pkg/ingparams/client/listers/ingparams/v1beta1/gcpingressparams.go +++ b/pkg/ingparams/client/listers/ingparams/v1beta1/gcpingressparams.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/clientset.go b/pkg/serviceattachment/client/clientset/versioned/clientset.go index 9995a22711..febfa8346d 100644 --- a/pkg/serviceattachment/client/clientset/versioned/clientset.go +++ b/pkg/serviceattachment/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/doc.go b/pkg/serviceattachment/client/clientset/versioned/doc.go index 92576525fa..ab7539cb9f 100644 --- a/pkg/serviceattachment/client/clientset/versioned/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/fake/clientset_generated.go b/pkg/serviceattachment/client/clientset/versioned/fake/clientset_generated.go index 2c1876e235..216824afdf 100644 --- a/pkg/serviceattachment/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/serviceattachment/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -76,7 +76,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { diff --git a/pkg/serviceattachment/client/clientset/versioned/fake/doc.go b/pkg/serviceattachment/client/clientset/versioned/fake/doc.go index 4b91eb6a64..7d98eabcc8 100644 --- a/pkg/serviceattachment/client/clientset/versioned/fake/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/fake/register.go b/pkg/serviceattachment/client/clientset/versioned/fake/register.go index b06b9e042a..dff883d159 100644 --- a/pkg/serviceattachment/client/clientset/versioned/fake/register.go +++ b/pkg/serviceattachment/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/scheme/doc.go b/pkg/serviceattachment/client/clientset/versioned/scheme/doc.go index 6dc5e6530d..288d3794dc 100644 --- a/pkg/serviceattachment/client/clientset/versioned/scheme/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/scheme/register.go b/pkg/serviceattachment/client/clientset/versioned/scheme/register.go index 09c8ee5715..36a6e4203b 100644 --- a/pkg/serviceattachment/client/clientset/versioned/scheme/register.go +++ b/pkg/serviceattachment/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/doc.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/doc.go index d2b78a77fe..01fa5fd655 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/doc.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/doc.go index 43eec078a4..dd9e9e4c8f 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment.go index 6bfbcc9ced..edf31ee797 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment_client.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment_client.go index bad11fe51b..ed60fbfb3e 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment_client.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/fake/fake_serviceattachment_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/generated_expansion.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/generated_expansion.go index 9002c63b63..72e53d12ae 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/generated_expansion.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment.go index 4a76075b59..2baa137d64 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment_client.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment_client.go index 46874d6d59..5af371f611 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment_client.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1/serviceattachment_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/doc.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/doc.go index 6029d89549..890a21e055 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/doc.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/doc.go index 43eec078a4..dd9e9e4c8f 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/doc.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment.go index c7771f0365..d7c54f7d21 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment_client.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment_client.go index 5692162271..c3c30ba265 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment_client.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/fake/fake_serviceattachment_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/generated_expansion.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/generated_expansion.go index 4cbe5827db..0a2d6c0835 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/generated_expansion.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment.go index 47229fa475..bddc01760d 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment_client.go b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment_client.go index 3353287d54..71cb822516 100644 --- a/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment_client.go +++ b/pkg/serviceattachment/client/clientset/versioned/typed/serviceattachment/v1beta1/serviceattachment_client.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/factory.go b/pkg/serviceattachment/client/informers/externalversions/factory.go index 553635c8b6..f4707f65a3 100644 --- a/pkg/serviceattachment/client/informers/externalversions/factory.go +++ b/pkg/serviceattachment/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/generic.go b/pkg/serviceattachment/client/informers/externalversions/generic.go index c4df326742..a3d6e8bd56 100644 --- a/pkg/serviceattachment/client/informers/externalversions/generic.go +++ b/pkg/serviceattachment/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/serviceattachment/client/informers/externalversions/internalinterfaces/factory_interfaces.go index d506f0348d..3f7598d718 100644 --- a/pkg/serviceattachment/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/serviceattachment/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/interface.go b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/interface.go index ffc2660351..c45db19d24 100644 --- a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/interface.go +++ b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/interface.go b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/interface.go index 314fe292c3..17dde22966 100644 --- a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/interface.go +++ b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/serviceattachment.go b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/serviceattachment.go index 071bcbb17e..1c25582bfd 100644 --- a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/serviceattachment.go +++ b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/interface.go b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/interface.go index 75abd0c72d..ea1cfe364f 100644 --- a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/interface.go +++ b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/serviceattachment.go b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/serviceattachment.go index 99f4159839..09af28bac4 100644 --- a/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/serviceattachment.go +++ b/pkg/serviceattachment/client/informers/externalversions/serviceattachment/v1beta1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/listers/serviceattachment/v1/expansion_generated.go b/pkg/serviceattachment/client/listers/serviceattachment/v1/expansion_generated.go index 25d89c4d0f..8ea56c4c90 100644 --- a/pkg/serviceattachment/client/listers/serviceattachment/v1/expansion_generated.go +++ b/pkg/serviceattachment/client/listers/serviceattachment/v1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/listers/serviceattachment/v1/serviceattachment.go b/pkg/serviceattachment/client/listers/serviceattachment/v1/serviceattachment.go index 9ed81a39b8..76901ef414 100644 --- a/pkg/serviceattachment/client/listers/serviceattachment/v1/serviceattachment.go +++ b/pkg/serviceattachment/client/listers/serviceattachment/v1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/expansion_generated.go b/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/expansion_generated.go index 0fbd0f0fbe..ad784878bf 100644 --- a/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/expansion_generated.go +++ b/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/serviceattachment.go b/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/serviceattachment.go index 88d04cf625..d38e30a1b3 100644 --- a/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/serviceattachment.go +++ b/pkg/serviceattachment/client/listers/serviceattachment/v1beta1/serviceattachment.go @@ -1,5 +1,5 @@ /* -Copyright 2021 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/clientset.go b/pkg/svcneg/client/clientset/versioned/clientset.go index 501128a4b5..9787ada6a1 100644 --- a/pkg/svcneg/client/clientset/versioned/clientset.go +++ b/pkg/svcneg/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/doc.go b/pkg/svcneg/client/clientset/versioned/doc.go index 6ee812fc57..ab7539cb9f 100644 --- a/pkg/svcneg/client/clientset/versioned/doc.go +++ b/pkg/svcneg/client/clientset/versioned/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/fake/clientset_generated.go b/pkg/svcneg/client/clientset/versioned/fake/clientset_generated.go index b30ce8d55d..91c3f87531 100644 --- a/pkg/svcneg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/svcneg/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,7 +74,10 @@ func (c *Clientset) Tracker() testing.ObjectTracker { return c.tracker } -var _ clientset.Interface = &Clientset{} +var ( + _ clientset.Interface = &Clientset{} + _ testing.FakeClient = &Clientset{} +) // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { diff --git a/pkg/svcneg/client/clientset/versioned/fake/doc.go b/pkg/svcneg/client/clientset/versioned/fake/doc.go index d6baf01acb..7d98eabcc8 100644 --- a/pkg/svcneg/client/clientset/versioned/fake/doc.go +++ b/pkg/svcneg/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/fake/register.go b/pkg/svcneg/client/clientset/versioned/fake/register.go index 9864f50c86..910340a4d8 100644 --- a/pkg/svcneg/client/clientset/versioned/fake/register.go +++ b/pkg/svcneg/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/scheme/doc.go b/pkg/svcneg/client/clientset/versioned/scheme/doc.go index 7d06c9402d..288d3794dc 100644 --- a/pkg/svcneg/client/clientset/versioned/scheme/doc.go +++ b/pkg/svcneg/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/scheme/register.go b/pkg/svcneg/client/clientset/versioned/scheme/register.go index 094756f4e6..df16e1ce77 100644 --- a/pkg/svcneg/client/clientset/versioned/scheme/register.go +++ b/pkg/svcneg/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/doc.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/doc.go index 68f9a55b51..890a21e055 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/doc.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/doc.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/doc.go index 0243e68ff4..dd9e9e4c8f 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/doc.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_servicenetworkendpointgroup.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_servicenetworkendpointgroup.go index a51b346101..cd9dcdc229 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_servicenetworkendpointgroup.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_servicenetworkendpointgroup.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_svcneg_client.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_svcneg_client.go index 197f5cd95a..115bc414b2 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_svcneg_client.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/fake/fake_svcneg_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/generated_expansion.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/generated_expansion.go index c7352270e6..c27af13e82 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/generated_expansion.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/servicenetworkendpointgroup.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/servicenetworkendpointgroup.go index 8412f2a8f6..6531b7960e 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/servicenetworkendpointgroup.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/servicenetworkendpointgroup.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/svcneg_client.go b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/svcneg_client.go index 3bb0f61161..609b3146fa 100644 --- a/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/svcneg_client.go +++ b/pkg/svcneg/client/clientset/versioned/typed/svcneg/v1beta1/svcneg_client.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/factory.go b/pkg/svcneg/client/informers/externalversions/factory.go index c98741aa23..d566c47e2e 100644 --- a/pkg/svcneg/client/informers/externalversions/factory.go +++ b/pkg/svcneg/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/generic.go b/pkg/svcneg/client/informers/externalversions/generic.go index 7700e1b537..efd7dd1da6 100644 --- a/pkg/svcneg/client/informers/externalversions/generic.go +++ b/pkg/svcneg/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/svcneg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index cfbf2f263c..84c315148a 100644 --- a/pkg/svcneg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/svcneg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/svcneg/interface.go b/pkg/svcneg/client/informers/externalversions/svcneg/interface.go index 8cae97c3cb..5feb5401b1 100644 --- a/pkg/svcneg/client/informers/externalversions/svcneg/interface.go +++ b/pkg/svcneg/client/informers/externalversions/svcneg/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/interface.go b/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/interface.go index 2a7f887875..c447d576e7 100644 --- a/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/interface.go +++ b/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/interface.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/servicenetworkendpointgroup.go b/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/servicenetworkendpointgroup.go index dc3882bd4c..5e6a09a4f0 100644 --- a/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/servicenetworkendpointgroup.go +++ b/pkg/svcneg/client/informers/externalversions/svcneg/v1beta1/servicenetworkendpointgroup.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/listers/svcneg/v1beta1/expansion_generated.go b/pkg/svcneg/client/listers/svcneg/v1beta1/expansion_generated.go index fdca949d02..38711dce2c 100644 --- a/pkg/svcneg/client/listers/svcneg/v1beta1/expansion_generated.go +++ b/pkg/svcneg/client/listers/svcneg/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/svcneg/client/listers/svcneg/v1beta1/servicenetworkendpointgroup.go b/pkg/svcneg/client/listers/svcneg/v1beta1/servicenetworkendpointgroup.go index 768d2ccd0a..29d40db561 100644 --- a/pkg/svcneg/client/listers/svcneg/v1beta1/servicenetworkendpointgroup.go +++ b/pkg/svcneg/client/listers/svcneg/v1beta1/servicenetworkendpointgroup.go @@ -1,5 +1,5 @@ /* -Copyright 2020 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.