blob: 2ab7b412b962105a9b9c7ed30f3fe2090a04030c [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
23// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
24// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
25func (in *Event) APILifecycleIntroduced() (major, minor int) {
26 return 1, 8
27}
28
29// 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.
30// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
31func (in *Event) APILifecycleDeprecated() (major, minor int) {
32 return 1, 22
33}
34
35// 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.
36// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
37func (in *Event) APILifecycleRemoved() (major, minor int) {
38 return 1, 25
39}
40
41// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
42// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
43func (in *EventList) APILifecycleIntroduced() (major, minor int) {
44 return 1, 8
45}
46
47// 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.
48// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
49func (in *EventList) APILifecycleDeprecated() (major, minor int) {
50 return 1, 22
51}
52
53// 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.
54// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
55func (in *EventList) APILifecycleRemoved() (major, minor int) {
56 return 1, 25
57}