Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by prerelease-lifecycle-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1beta1 |
| 22 | |
| 23 | import ( |
| 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. |
| 29 | func (in *Ingress) APILifecycleIntroduced() (major, minor int) { |
| 30 | return 1, 14 |
| 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. |
| 35 | func (in *Ingress) APILifecycleDeprecated() (major, minor int) { |
| 36 | return 1, 19 |
| 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. |
| 41 | func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind { |
| 42 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"} |
| 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. |
| 47 | func (in *Ingress) 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. |
| 53 | func (in *IngressClass) APILifecycleIntroduced() (major, minor int) { |
| 54 | return 1, 18 |
| 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. |
| 59 | func (in *IngressClass) APILifecycleDeprecated() (major, minor int) { |
| 60 | return 1, 19 |
| 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. |
| 65 | func (in *IngressClass) APILifecycleReplacement() schema.GroupVersionKind { |
| 66 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressClassList"} |
| 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. |
| 71 | func (in *IngressClass) APILifecycleRemoved() (major, minor int) { |
| 72 | return 1, 22 |
| 73 | } |
| 74 | |
| 75 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 76 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 77 | func (in *IngressClassList) APILifecycleIntroduced() (major, minor int) { |
| 78 | return 1, 18 |
| 79 | } |
| 80 | |
| 81 | // 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. |
| 82 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 83 | func (in *IngressClassList) APILifecycleDeprecated() (major, minor int) { |
| 84 | return 1, 19 |
| 85 | } |
| 86 | |
| 87 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 88 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 89 | func (in *IngressClassList) APILifecycleReplacement() schema.GroupVersionKind { |
| 90 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressClassList"} |
| 91 | } |
| 92 | |
| 93 | // 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. |
| 94 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 95 | func (in *IngressClassList) APILifecycleRemoved() (major, minor int) { |
| 96 | return 1, 22 |
| 97 | } |
| 98 | |
| 99 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 100 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 101 | func (in *IngressList) APILifecycleIntroduced() (major, minor int) { |
| 102 | return 1, 14 |
| 103 | } |
| 104 | |
| 105 | // 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. |
| 106 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 107 | func (in *IngressList) APILifecycleDeprecated() (major, minor int) { |
| 108 | return 1, 19 |
| 109 | } |
| 110 | |
| 111 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 112 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 113 | func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind { |
| 114 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressList"} |
| 115 | } |
| 116 | |
| 117 | // 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. |
| 118 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 119 | func (in *IngressList) APILifecycleRemoved() (major, minor int) { |
| 120 | return 1, 22 |
| 121 | } |