blob: 45969d15c0b80f874ff21cde8e6d6273607d371a [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
24 schema "k8s.io/apimachinery/pkg/runtime/schema"
25)
26
27// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
28// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
29func (in *PriorityClass) APILifecycleIntroduced() (major, minor int) {
30 return 1, 11
31}
32
33// 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.
34// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
35func (in *PriorityClass) APILifecycleDeprecated() (major, minor int) {
36 return 1, 14
37}
38
39// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
40// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
41func (in *PriorityClass) APILifecycleReplacement() schema.GroupVersionKind {
42 return schema.GroupVersionKind{Group: "scheduling.k8s.io", Version: "v1", Kind: "PriorityClass"}
43}
44
45// 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.
46// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
47func (in *PriorityClass) APILifecycleRemoved() (major, minor int) {
48 return 1, 22
49}
50
51// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
52// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
53func (in *PriorityClassList) APILifecycleIntroduced() (major, minor int) {
54 return 1, 11
55}
56
57// 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.
58// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
59func (in *PriorityClassList) APILifecycleDeprecated() (major, minor int) {
60 return 1, 14
61}
62
63// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
64// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
65func (in *PriorityClassList) APILifecycleReplacement() schema.GroupVersionKind {
66 return schema.GroupVersionKind{Group: "scheduling.k8s.io", Version: "v1", Kind: "PriorityClassList"}
67}
68
69// 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.
70// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
71func (in *PriorityClassList) APILifecycleRemoved() (major, minor int) {
72 return 1, 22
73}