123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- // +build !ignore_autogenerated
- /*
- Copyright The Kubernetes Authors.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- // Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
- 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.
- // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
- func (in *DaemonSet) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 14
- }
- // 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.
- // 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) {
- 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.
- // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
- func (in *IngressList) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 14
- }
- // 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.
- // 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) {
- 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.
- // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
- func (in *NetworkPolicy) APILifecycleIntroduced() (major, minor int) {
- return 1, 3
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 9
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 3
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 9
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 11
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 11
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 8
- }
- // 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 *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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
- // 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) APILifecycleIntroduced() (major, minor int) {
- return 1, 1
- }
- // 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) APILifecycleDeprecated() (major, minor int) {
- return 1, 2
- }
- // 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) APILifecycleRemoved() (major, minor int) {
- return 1, 16
- }
|