From b80578366be9b855f0c9100e8751fa484d239b00 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Fri, 17 Apr 2020 12:28:57 -0400 Subject: [PATCH] Update generated files --- .../zz_generated.prerelease-lifecycle.go | 244 ++++++++++++------ 1 file changed, 160 insertions(+), 84 deletions(-) diff --git a/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go b/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go index fd54381e78c..f72f649b995 100644 --- a/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go +++ b/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go @@ -20,254 +20,330 @@ limitations under the License. package v1beta1 -// Introduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. +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. // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. -func (in *DaemonSet) Introduced() (int64, int64) { +func (in *DaemonSet) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *DaemonSet) Deprecated() (int64, int64) { +func (in *DaemonSet) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *DaemonSet) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"} +} + +// 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. -func (in *DaemonSet) Removed() (int64, int64) { +func (in *DaemonSet) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *DaemonSetList) Introduced() (int64, int64) { +func (in *DaemonSetList) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *DaemonSetList) Deprecated() (int64, int64) { +func (in *DaemonSetList) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *DaemonSetList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSetList"} +} + +// 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. -func (in *DaemonSetList) Removed() (int64, int64) { +func (in *DaemonSetList) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *Deployment) Introduced() (int64, int64) { +func (in *Deployment) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *Deployment) Deprecated() (int64, int64) { +func (in *Deployment) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *Deployment) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} +} + +// 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. -func (in *Deployment) Removed() (int64, int64) { +func (in *Deployment) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *DeploymentList) Introduced() (int64, int64) { +func (in *DeploymentList) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *DeploymentList) Deprecated() (int64, int64) { +func (in *DeploymentList) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *DeploymentList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DeploymentList"} +} + +// 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. -func (in *DeploymentList) Removed() (int64, int64) { +func (in *DeploymentList) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *DeploymentRollback) Introduced() (int64, int64) { +func (in *DeploymentRollback) APILifecycleIntroduced() (major, minor int) { return 1, 2 } -// Deprecated 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. -func (in *DeploymentRollback) Deprecated() (int64, int64) { +func (in *DeploymentRollback) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed 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. -func (in *DeploymentRollback) Removed() (int64, int64) { +func (in *DeploymentRollback) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *Ingress) Introduced() (int64, int64) { +func (in *Ingress) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *Ingress) Deprecated() (int64, int64) { +func (in *Ingress) APILifecycleDeprecated() (major, minor int) { return 1, 14 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1beta1", 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. // 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) Removed() (int64, int64) { +func (in *Ingress) APILifecycleRemoved() (major, minor int) { return 1, 22 } -// Introduced 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. -func (in *IngressList) Introduced() (int64, int64) { +func (in *IngressList) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *IngressList) Deprecated() (int64, int64) { +func (in *IngressList) APILifecycleDeprecated() (major, minor int) { return 1, 14 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1beta1", 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. // 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) Removed() (int64, int64) { +func (in *IngressList) APILifecycleRemoved() (major, minor int) { return 1, 22 } -// Introduced 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. -func (in *NetworkPolicy) Introduced() (int64, int64) { +func (in *NetworkPolicy) APILifecycleIntroduced() (major, minor int) { return 1, 3 } -// Deprecated 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. -func (in *NetworkPolicy) Deprecated() (int64, int64) { +func (in *NetworkPolicy) APILifecycleDeprecated() (major, minor int) { return 1, 9 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *NetworkPolicy) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicy"} +} + +// 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. -func (in *NetworkPolicy) Removed() (int64, int64) { +func (in *NetworkPolicy) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *NetworkPolicyList) Introduced() (int64, int64) { +func (in *NetworkPolicyList) APILifecycleIntroduced() (major, minor int) { return 1, 3 } -// Deprecated 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. -func (in *NetworkPolicyList) Deprecated() (int64, int64) { +func (in *NetworkPolicyList) APILifecycleDeprecated() (major, minor int) { return 1, 9 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *NetworkPolicyList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicyList"} +} + +// 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. -func (in *NetworkPolicyList) Removed() (int64, int64) { +func (in *NetworkPolicyList) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *PodSecurityPolicy) Introduced() (int64, int64) { +func (in *PodSecurityPolicy) APILifecycleIntroduced() (major, minor int) { return 1, 2 } -// Deprecated 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. -func (in *PodSecurityPolicy) Deprecated() (int64, int64) { +func (in *PodSecurityPolicy) APILifecycleDeprecated() (major, minor int) { return 1, 11 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *PodSecurityPolicy) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "policy", Version: "v1beta1", Kind: "PodSecurityPolicy"} +} + +// 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. -func (in *PodSecurityPolicy) Removed() (int64, int64) { +func (in *PodSecurityPolicy) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *PodSecurityPolicyList) Introduced() (int64, int64) { +func (in *PodSecurityPolicyList) APILifecycleIntroduced() (major, minor int) { return 1, 2 } -// Deprecated 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. -func (in *PodSecurityPolicyList) Deprecated() (int64, int64) { +func (in *PodSecurityPolicyList) APILifecycleDeprecated() (major, minor int) { return 1, 11 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *PodSecurityPolicyList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "policy", Version: "v1beta1", Kind: "PodSecurityPolicyList"} +} + +// 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. -func (in *PodSecurityPolicyList) Removed() (int64, int64) { +func (in *PodSecurityPolicyList) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *ReplicaSet) Introduced() (int64, int64) { +func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int) { return 1, 2 } -// Deprecated 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. -func (in *ReplicaSet) Deprecated() (int64, int64) { +func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSet"} +} + +// 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. -func (in *ReplicaSet) Removed() (int64, int64) { +func (in *ReplicaSet) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *ReplicaSetList) Introduced() (int64, int64) { +func (in *ReplicaSetList) APILifecycleIntroduced() (major, minor int) { return 1, 2 } -// Deprecated 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. -func (in *ReplicaSetList) Deprecated() (int64, int64) { +func (in *ReplicaSetList) APILifecycleDeprecated() (major, minor int) { return 1, 8 } -// Removed is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// 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=,," tags in types.go. +func (in *ReplicaSetList) APILifecycleReplacement() schema.GroupVersionKind { + return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSetList"} +} + +// 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. -func (in *ReplicaSetList) Removed() (int64, int64) { +func (in *ReplicaSetList) APILifecycleRemoved() (major, minor int) { return 1, 18 } -// Introduced 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. -func (in *Scale) Introduced() (int64, int64) { +func (in *Scale) APILifecycleIntroduced() (major, minor int) { return 1, 1 } -// Deprecated 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. -func (in *Scale) Deprecated() (int64, int64) { +func (in *Scale) APILifecycleDeprecated() (major, minor int) { return 1, 2 } -// Removed 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. -func (in *Scale) Removed() (int64, int64) { +func (in *Scale) APILifecycleRemoved() (major, minor int) { return 1, 18 }