mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #92484 from liggitt/csr-deprecation
Mark 1.19 deprecated beta APIs and replacements
This commit is contained in:
commit
b0967edfd7
@ -27,7 +27,8 @@ import (
|
|||||||
// +genclient:nonNamespaced
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.12
|
// +k8s:prerelease-lifecycle-gen:introduced=1.12
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=certificates.k8s.io,v1,CertificateSigningRequest
|
||||||
|
|
||||||
// Describes a certificate signing request
|
// Describes a certificate signing request
|
||||||
type CertificateSigningRequest struct {
|
type CertificateSigningRequest struct {
|
||||||
@ -195,7 +196,8 @@ type CertificateSigningRequestCondition struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.12
|
// +k8s:prerelease-lifecycle-gen:introduced=1.12
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=certificates.k8s.io,v1,CertificateSigningRequestList
|
||||||
|
|
||||||
type CertificateSigningRequestList struct {
|
type CertificateSigningRequestList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
@ -20,6 +20,10 @@ limitations under the License.
|
|||||||
|
|
||||||
package v1beta1
|
package v1beta1
|
||||||
|
|
||||||
|
import (
|
||||||
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
)
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
||||||
func (in *CertificateSigningRequest) APILifecycleIntroduced() (major, minor int) {
|
func (in *CertificateSigningRequest) APILifecycleIntroduced() (major, minor int) {
|
||||||
@ -29,13 +33,19 @@ func (in *CertificateSigningRequest) APILifecycleIntroduced() (major, minor int)
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *CertificateSigningRequest) APILifecycleDeprecated() (major, minor int) {
|
func (in *CertificateSigningRequest) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *CertificateSigningRequest) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "certificates.k8s.io", Version: "v1", Kind: "CertificateSigningRequest"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *CertificateSigningRequest) APILifecycleRemoved() (major, minor int) {
|
func (in *CertificateSigningRequest) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
@ -47,11 +57,17 @@ func (in *CertificateSigningRequestList) APILifecycleIntroduced() (major, minor
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *CertificateSigningRequestList) APILifecycleDeprecated() (major, minor int) {
|
func (in *CertificateSigningRequestList) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *CertificateSigningRequestList) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "certificates.k8s.io", Version: "v1", Kind: "CertificateSigningRequestList"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *CertificateSigningRequestList) APILifecycleRemoved() (major, minor int) {
|
func (in *CertificateSigningRequestList) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
@ -554,7 +554,7 @@ type DaemonSetList struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
||||||
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1beta1,Ingress
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,Ingress
|
||||||
|
|
||||||
// Ingress is a collection of rules that allow inbound connections to reach the
|
// Ingress is a collection of rules that allow inbound connections to reach the
|
||||||
// endpoints defined by a backend. An Ingress can be configured to give services
|
// endpoints defined by a backend. An Ingress can be configured to give services
|
||||||
@ -583,7 +583,7 @@ type Ingress struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
// +k8s:prerelease-lifecycle-gen:introduced=1.1
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
||||||
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1beta1,IngressList
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,IngressList
|
||||||
|
|
||||||
// IngressList is a collection of Ingress.
|
// IngressList is a collection of Ingress.
|
||||||
type IngressList struct {
|
type IngressList struct {
|
||||||
|
@ -153,7 +153,7 @@ func (in *Ingress) APILifecycleDeprecated() (major, minor int) {
|
|||||||
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind {
|
func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1beta1", Kind: "Ingress"}
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
@ -177,7 +177,7 @@ func (in *IngressList) APILifecycleDeprecated() (major, minor int) {
|
|||||||
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind {
|
func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1beta1", Kind: "IngressList"}
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressList"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
|
@ -25,7 +25,8 @@ import (
|
|||||||
// +genclient
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.14
|
// +k8s:prerelease-lifecycle-gen:introduced=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,Ingress
|
||||||
|
|
||||||
// Ingress is a collection of rules that allow inbound connections to reach the
|
// Ingress is a collection of rules that allow inbound connections to reach the
|
||||||
// endpoints defined by a backend. An Ingress can be configured to give services
|
// endpoints defined by a backend. An Ingress can be configured to give services
|
||||||
@ -51,7 +52,8 @@ type Ingress struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.14
|
// +k8s:prerelease-lifecycle-gen:introduced=1.14
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,IngressList
|
||||||
|
|
||||||
// IngressList is a collection of Ingress.
|
// IngressList is a collection of Ingress.
|
||||||
type IngressList struct {
|
type IngressList struct {
|
||||||
@ -274,7 +276,8 @@ type IngressBackend struct {
|
|||||||
// +genclient:nonNamespaced
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.18
|
// +k8s:prerelease-lifecycle-gen:introduced=1.18
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,IngressClassList
|
||||||
|
|
||||||
// IngressClass represents the class of the Ingress, referenced by the Ingress
|
// IngressClass represents the class of the Ingress, referenced by the Ingress
|
||||||
// Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be
|
// Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be
|
||||||
@ -313,7 +316,8 @@ type IngressClassSpec struct {
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.18
|
// +k8s:prerelease-lifecycle-gen:introduced=1.18
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
|
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
||||||
|
// +k8s:prerelease-lifecycle-gen:replacement=networking.k8s.io,v1,IngressClassList
|
||||||
|
|
||||||
// IngressClassList is a collection of IngressClasses.
|
// IngressClassList is a collection of IngressClasses.
|
||||||
type IngressClassList struct {
|
type IngressClassList struct {
|
||||||
|
@ -20,6 +20,10 @@ limitations under the License.
|
|||||||
|
|
||||||
package v1beta1
|
package v1beta1
|
||||||
|
|
||||||
|
import (
|
||||||
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
)
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
||||||
func (in *Ingress) APILifecycleIntroduced() (major, minor int) {
|
func (in *Ingress) APILifecycleIntroduced() (major, minor int) {
|
||||||
@ -29,13 +33,19 @@ func (in *Ingress) APILifecycleIntroduced() (major, minor int) {
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *Ingress) APILifecycleDeprecated() (major, minor int) {
|
func (in *Ingress) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *Ingress) APILifecycleRemoved() (major, minor int) {
|
func (in *Ingress) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
@ -47,13 +57,19 @@ func (in *IngressClass) APILifecycleIntroduced() (major, minor int) {
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *IngressClass) APILifecycleDeprecated() (major, minor int) {
|
func (in *IngressClass) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *IngressClass) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressClassList"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *IngressClass) APILifecycleRemoved() (major, minor int) {
|
func (in *IngressClass) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
@ -65,13 +81,19 @@ func (in *IngressClassList) APILifecycleIntroduced() (major, minor int) {
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *IngressClassList) APILifecycleDeprecated() (major, minor int) {
|
func (in *IngressClassList) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *IngressClassList) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressClassList"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *IngressClassList) APILifecycleRemoved() (major, minor int) {
|
func (in *IngressClassList) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
||||||
@ -83,11 +105,17 @@ func (in *IngressList) APILifecycleIntroduced() (major, minor int) {
|
|||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
||||||
func (in *IngressList) APILifecycleDeprecated() (major, minor int) {
|
func (in *IngressList) APILifecycleDeprecated() (major, minor int) {
|
||||||
return 1, 22
|
return 1, 19
|
||||||
|
}
|
||||||
|
|
||||||
|
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
||||||
|
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
||||||
|
func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind {
|
||||||
|
return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressList"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
||||||
func (in *IngressList) APILifecycleRemoved() (major, minor int) {
|
func (in *IngressList) APILifecycleRemoved() (major, minor int) {
|
||||||
return 1, 25
|
return 1, 22
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user