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 *DaemonSet) APILifecycleIntroduced() (major, minor int) { |
| 30 | return 1, 1 |
| 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 *DaemonSet) APILifecycleDeprecated() (major, minor int) { |
| 36 | return 1, 8 |
| 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 *DaemonSet) APILifecycleReplacement() schema.GroupVersionKind { |
| 42 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"} |
| 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 *DaemonSet) APILifecycleRemoved() (major, minor int) { |
| 48 | return 1, 18 |
| 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 *DaemonSetList) APILifecycleIntroduced() (major, minor int) { |
| 54 | return 1, 1 |
| 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 *DaemonSetList) APILifecycleDeprecated() (major, minor int) { |
| 60 | return 1, 8 |
| 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 *DaemonSetList) APILifecycleReplacement() schema.GroupVersionKind { |
| 66 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSetList"} |
| 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 *DaemonSetList) APILifecycleRemoved() (major, minor int) { |
| 72 | return 1, 18 |
| 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 *Deployment) APILifecycleIntroduced() (major, minor int) { |
| 78 | return 1, 1 |
| 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 *Deployment) APILifecycleDeprecated() (major, minor int) { |
| 84 | return 1, 8 |
| 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 *Deployment) APILifecycleReplacement() schema.GroupVersionKind { |
| 90 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} |
| 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 *Deployment) APILifecycleRemoved() (major, minor int) { |
| 96 | return 1, 18 |
| 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 *DeploymentList) APILifecycleIntroduced() (major, minor int) { |
| 102 | return 1, 1 |
| 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 *DeploymentList) APILifecycleDeprecated() (major, minor int) { |
| 108 | return 1, 8 |
| 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 *DeploymentList) APILifecycleReplacement() schema.GroupVersionKind { |
| 114 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DeploymentList"} |
| 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 *DeploymentList) APILifecycleRemoved() (major, minor int) { |
| 120 | return 1, 18 |
| 121 | } |
| 122 | |
| 123 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 124 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 125 | func (in *DeploymentRollback) APILifecycleIntroduced() (major, minor int) { |
| 126 | return 1, 2 |
| 127 | } |
| 128 | |
| 129 | // 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. |
| 130 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 131 | func (in *DeploymentRollback) APILifecycleDeprecated() (major, minor int) { |
| 132 | return 1, 8 |
| 133 | } |
| 134 | |
| 135 | // 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. |
| 136 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 137 | func (in *DeploymentRollback) APILifecycleRemoved() (major, minor int) { |
| 138 | return 1, 18 |
| 139 | } |
| 140 | |
| 141 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 142 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 143 | func (in *Ingress) APILifecycleIntroduced() (major, minor int) { |
| 144 | return 1, 1 |
| 145 | } |
| 146 | |
| 147 | // 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. |
| 148 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 149 | func (in *Ingress) APILifecycleDeprecated() (major, minor int) { |
| 150 | return 1, 14 |
| 151 | } |
| 152 | |
| 153 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 154 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 155 | func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind { |
| 156 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"} |
| 157 | } |
| 158 | |
| 159 | // 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. |
| 160 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 161 | func (in *Ingress) APILifecycleRemoved() (major, minor int) { |
| 162 | return 1, 22 |
| 163 | } |
| 164 | |
| 165 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 166 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 167 | func (in *IngressList) APILifecycleIntroduced() (major, minor int) { |
| 168 | return 1, 1 |
| 169 | } |
| 170 | |
| 171 | // 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. |
| 172 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 173 | func (in *IngressList) APILifecycleDeprecated() (major, minor int) { |
| 174 | return 1, 14 |
| 175 | } |
| 176 | |
| 177 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 178 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 179 | func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind { |
| 180 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressList"} |
| 181 | } |
| 182 | |
| 183 | // 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. |
| 184 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 185 | func (in *IngressList) APILifecycleRemoved() (major, minor int) { |
| 186 | return 1, 22 |
| 187 | } |
| 188 | |
| 189 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 190 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 191 | func (in *NetworkPolicy) APILifecycleIntroduced() (major, minor int) { |
| 192 | return 1, 3 |
| 193 | } |
| 194 | |
| 195 | // 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. |
| 196 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 197 | func (in *NetworkPolicy) APILifecycleDeprecated() (major, minor int) { |
| 198 | return 1, 9 |
| 199 | } |
| 200 | |
| 201 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 202 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 203 | func (in *NetworkPolicy) APILifecycleReplacement() schema.GroupVersionKind { |
| 204 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicy"} |
| 205 | } |
| 206 | |
| 207 | // 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. |
| 208 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 209 | func (in *NetworkPolicy) APILifecycleRemoved() (major, minor int) { |
| 210 | return 1, 18 |
| 211 | } |
| 212 | |
| 213 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 214 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 215 | func (in *NetworkPolicyList) APILifecycleIntroduced() (major, minor int) { |
| 216 | return 1, 3 |
| 217 | } |
| 218 | |
| 219 | // 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. |
| 220 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 221 | func (in *NetworkPolicyList) APILifecycleDeprecated() (major, minor int) { |
| 222 | return 1, 9 |
| 223 | } |
| 224 | |
| 225 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 226 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 227 | func (in *NetworkPolicyList) APILifecycleReplacement() schema.GroupVersionKind { |
| 228 | return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicyList"} |
| 229 | } |
| 230 | |
| 231 | // 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. |
| 232 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 233 | func (in *NetworkPolicyList) APILifecycleRemoved() (major, minor int) { |
| 234 | return 1, 18 |
| 235 | } |
| 236 | |
| 237 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 238 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 239 | func (in *PodSecurityPolicy) APILifecycleIntroduced() (major, minor int) { |
| 240 | return 1, 2 |
| 241 | } |
| 242 | |
| 243 | // 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. |
| 244 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 245 | func (in *PodSecurityPolicy) APILifecycleDeprecated() (major, minor int) { |
| 246 | return 1, 11 |
| 247 | } |
| 248 | |
| 249 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 250 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 251 | func (in *PodSecurityPolicy) APILifecycleReplacement() schema.GroupVersionKind { |
| 252 | return schema.GroupVersionKind{Group: "policy", Version: "v1beta1", Kind: "PodSecurityPolicy"} |
| 253 | } |
| 254 | |
| 255 | // 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. |
| 256 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 257 | func (in *PodSecurityPolicy) APILifecycleRemoved() (major, minor int) { |
| 258 | return 1, 18 |
| 259 | } |
| 260 | |
| 261 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 262 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 263 | func (in *PodSecurityPolicyList) APILifecycleIntroduced() (major, minor int) { |
| 264 | return 1, 2 |
| 265 | } |
| 266 | |
| 267 | // 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. |
| 268 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 269 | func (in *PodSecurityPolicyList) APILifecycleDeprecated() (major, minor int) { |
| 270 | return 1, 11 |
| 271 | } |
| 272 | |
| 273 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 274 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 275 | func (in *PodSecurityPolicyList) APILifecycleReplacement() schema.GroupVersionKind { |
| 276 | return schema.GroupVersionKind{Group: "policy", Version: "v1beta1", Kind: "PodSecurityPolicyList"} |
| 277 | } |
| 278 | |
| 279 | // 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. |
| 280 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 281 | func (in *PodSecurityPolicyList) APILifecycleRemoved() (major, minor int) { |
| 282 | return 1, 18 |
| 283 | } |
| 284 | |
| 285 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 286 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 287 | func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int) { |
| 288 | return 1, 2 |
| 289 | } |
| 290 | |
| 291 | // 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. |
| 292 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 293 | func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) { |
| 294 | return 1, 8 |
| 295 | } |
| 296 | |
| 297 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 298 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 299 | func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind { |
| 300 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSet"} |
| 301 | } |
| 302 | |
| 303 | // 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. |
| 304 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 305 | func (in *ReplicaSet) APILifecycleRemoved() (major, minor int) { |
| 306 | return 1, 18 |
| 307 | } |
| 308 | |
| 309 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 310 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 311 | func (in *ReplicaSetList) APILifecycleIntroduced() (major, minor int) { |
| 312 | return 1, 2 |
| 313 | } |
| 314 | |
| 315 | // 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. |
| 316 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 317 | func (in *ReplicaSetList) APILifecycleDeprecated() (major, minor int) { |
| 318 | return 1, 8 |
| 319 | } |
| 320 | |
| 321 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 322 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 323 | func (in *ReplicaSetList) APILifecycleReplacement() schema.GroupVersionKind { |
| 324 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSetList"} |
| 325 | } |
| 326 | |
| 327 | // 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. |
| 328 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 329 | func (in *ReplicaSetList) APILifecycleRemoved() (major, minor int) { |
| 330 | return 1, 18 |
| 331 | } |
| 332 | |
| 333 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 334 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 335 | func (in *Scale) APILifecycleIntroduced() (major, minor int) { |
| 336 | return 1, 1 |
| 337 | } |
| 338 | |
| 339 | // 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. |
| 340 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 341 | func (in *Scale) APILifecycleDeprecated() (major, minor int) { |
| 342 | return 1, 2 |
| 343 | } |
| 344 | |
| 345 | // 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. |
| 346 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 347 | func (in *Scale) APILifecycleRemoved() (major, minor int) { |
| 348 | return 1, 18 |
| 349 | } |