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 v1beta2 |
| 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 *ControllerRevision) APILifecycleIntroduced() (major, minor int) { |
| 30 | return 1, 8 |
| 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 *ControllerRevision) APILifecycleDeprecated() (major, minor int) { |
| 36 | return 1, 9 |
| 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 *ControllerRevision) APILifecycleReplacement() schema.GroupVersionKind { |
| 42 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ControllerRevision"} |
| 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 *ControllerRevision) 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 *ControllerRevisionList) APILifecycleIntroduced() (major, minor int) { |
| 54 | return 1, 8 |
| 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 *ControllerRevisionList) APILifecycleDeprecated() (major, minor int) { |
| 60 | return 1, 9 |
| 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 *ControllerRevisionList) APILifecycleReplacement() schema.GroupVersionKind { |
| 66 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ControllerRevisionList"} |
| 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 *ControllerRevisionList) 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 *DaemonSet) APILifecycleIntroduced() (major, minor int) { |
| 78 | return 1, 8 |
| 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 *DaemonSet) APILifecycleDeprecated() (major, minor int) { |
| 84 | return 1, 9 |
| 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 *DaemonSet) APILifecycleReplacement() schema.GroupVersionKind { |
| 90 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"} |
| 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 *DaemonSet) 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 *DaemonSetList) APILifecycleIntroduced() (major, minor int) { |
| 102 | return 1, 8 |
| 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 *DaemonSetList) APILifecycleDeprecated() (major, minor int) { |
| 108 | return 1, 9 |
| 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 *DaemonSetList) APILifecycleReplacement() schema.GroupVersionKind { |
| 114 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSetList"} |
| 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 *DaemonSetList) 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 *Deployment) APILifecycleIntroduced() (major, minor int) { |
| 126 | return 1, 8 |
| 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 *Deployment) APILifecycleDeprecated() (major, minor int) { |
| 132 | return 1, 9 |
| 133 | } |
| 134 | |
| 135 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 136 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 137 | func (in *Deployment) APILifecycleReplacement() schema.GroupVersionKind { |
| 138 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} |
| 139 | } |
| 140 | |
| 141 | // 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. |
| 142 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 143 | func (in *Deployment) APILifecycleRemoved() (major, minor int) { |
| 144 | return 1, 18 |
| 145 | } |
| 146 | |
| 147 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 148 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 149 | func (in *DeploymentList) APILifecycleIntroduced() (major, minor int) { |
| 150 | return 1, 8 |
| 151 | } |
| 152 | |
| 153 | // 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. |
| 154 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 155 | func (in *DeploymentList) APILifecycleDeprecated() (major, minor int) { |
| 156 | return 1, 9 |
| 157 | } |
| 158 | |
| 159 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 160 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 161 | func (in *DeploymentList) APILifecycleReplacement() schema.GroupVersionKind { |
| 162 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DeploymentList"} |
| 163 | } |
| 164 | |
| 165 | // 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. |
| 166 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 167 | func (in *DeploymentList) APILifecycleRemoved() (major, minor int) { |
| 168 | return 1, 18 |
| 169 | } |
| 170 | |
| 171 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 172 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 173 | func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int) { |
| 174 | return 1, 8 |
| 175 | } |
| 176 | |
| 177 | // 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. |
| 178 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 179 | func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) { |
| 180 | return 1, 9 |
| 181 | } |
| 182 | |
| 183 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 184 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 185 | func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind { |
| 186 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSet"} |
| 187 | } |
| 188 | |
| 189 | // 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. |
| 190 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 191 | func (in *ReplicaSet) APILifecycleRemoved() (major, minor int) { |
| 192 | return 1, 18 |
| 193 | } |
| 194 | |
| 195 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 196 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 197 | func (in *ReplicaSetList) APILifecycleIntroduced() (major, minor int) { |
| 198 | return 1, 8 |
| 199 | } |
| 200 | |
| 201 | // 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. |
| 202 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 203 | func (in *ReplicaSetList) APILifecycleDeprecated() (major, minor int) { |
| 204 | return 1, 9 |
| 205 | } |
| 206 | |
| 207 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 208 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 209 | func (in *ReplicaSetList) APILifecycleReplacement() schema.GroupVersionKind { |
| 210 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSetList"} |
| 211 | } |
| 212 | |
| 213 | // 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. |
| 214 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 215 | func (in *ReplicaSetList) APILifecycleRemoved() (major, minor int) { |
| 216 | return 1, 18 |
| 217 | } |
| 218 | |
| 219 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 220 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 221 | func (in *Scale) APILifecycleIntroduced() (major, minor int) { |
| 222 | return 1, 8 |
| 223 | } |
| 224 | |
| 225 | // 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. |
| 226 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 227 | func (in *Scale) APILifecycleDeprecated() (major, minor int) { |
| 228 | return 1, 9 |
| 229 | } |
| 230 | |
| 231 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 232 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 233 | func (in *Scale) APILifecycleReplacement() schema.GroupVersionKind { |
| 234 | return schema.GroupVersionKind{Group: "autoscaling", Version: "v1", Kind: "Scale"} |
| 235 | } |
| 236 | |
| 237 | // 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. |
| 238 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 239 | func (in *Scale) APILifecycleRemoved() (major, minor int) { |
| 240 | return 1, 18 |
| 241 | } |
| 242 | |
| 243 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 244 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 245 | func (in *StatefulSet) APILifecycleIntroduced() (major, minor int) { |
| 246 | return 1, 8 |
| 247 | } |
| 248 | |
| 249 | // 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. |
| 250 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 251 | func (in *StatefulSet) APILifecycleDeprecated() (major, minor int) { |
| 252 | return 1, 9 |
| 253 | } |
| 254 | |
| 255 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 256 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 257 | func (in *StatefulSet) APILifecycleReplacement() schema.GroupVersionKind { |
| 258 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "StatefulSet"} |
| 259 | } |
| 260 | |
| 261 | // 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. |
| 262 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 263 | func (in *StatefulSet) APILifecycleRemoved() (major, minor int) { |
| 264 | return 1, 18 |
| 265 | } |
| 266 | |
| 267 | // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. |
| 268 | // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. |
| 269 | func (in *StatefulSetList) APILifecycleIntroduced() (major, minor int) { |
| 270 | return 1, 8 |
| 271 | } |
| 272 | |
| 273 | // 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. |
| 274 | // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. |
| 275 | func (in *StatefulSetList) APILifecycleDeprecated() (major, minor int) { |
| 276 | return 1, 9 |
| 277 | } |
| 278 | |
| 279 | // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. |
| 280 | // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. |
| 281 | func (in *StatefulSetList) APILifecycleReplacement() schema.GroupVersionKind { |
| 282 | return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "StatefulSetList"} |
| 283 | } |
| 284 | |
| 285 | // 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. |
| 286 | // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. |
| 287 | func (in *StatefulSetList) APILifecycleRemoved() (major, minor int) { |
| 288 | return 1, 18 |
| 289 | } |