...

Source file src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go

Documentation: k8s.io/api/extensions/v1beta1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11      http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
    21  
    22  package v1beta1
    23  
    24  import (
    25  	schema "k8s.io/apimachinery/pkg/runtime/schema"
    26  )
    27  
    28  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    29  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    30  func (in *DaemonSet) APILifecycleIntroduced() (major, minor int) {
    31  	return 1, 1
    32  }
    33  
    34  // 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.
    35  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
    36  func (in *DaemonSet) APILifecycleDeprecated() (major, minor int) {
    37  	return 1, 8
    38  }
    39  
    40  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    41  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    42  func (in *DaemonSet) APILifecycleReplacement() schema.GroupVersionKind {
    43  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"}
    44  }
    45  
    46  // 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.
    47  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
    48  func (in *DaemonSet) APILifecycleRemoved() (major, minor int) {
    49  	return 1, 16
    50  }
    51  
    52  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    53  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    54  func (in *DaemonSetList) APILifecycleIntroduced() (major, minor int) {
    55  	return 1, 1
    56  }
    57  
    58  // 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.
    59  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
    60  func (in *DaemonSetList) APILifecycleDeprecated() (major, minor int) {
    61  	return 1, 8
    62  }
    63  
    64  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    65  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    66  func (in *DaemonSetList) APILifecycleReplacement() schema.GroupVersionKind {
    67  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSetList"}
    68  }
    69  
    70  // 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.
    71  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
    72  func (in *DaemonSetList) APILifecycleRemoved() (major, minor int) {
    73  	return 1, 16
    74  }
    75  
    76  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
    77  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    78  func (in *Deployment) APILifecycleIntroduced() (major, minor int) {
    79  	return 1, 1
    80  }
    81  
    82  // 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.
    83  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
    84  func (in *Deployment) APILifecycleDeprecated() (major, minor int) {
    85  	return 1, 8
    86  }
    87  
    88  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    89  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    90  func (in *Deployment) APILifecycleReplacement() schema.GroupVersionKind {
    91  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"}
    92  }
    93  
    94  // 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.
    95  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
    96  func (in *Deployment) APILifecycleRemoved() (major, minor int) {
    97  	return 1, 16
    98  }
    99  
   100  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   101  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   102  func (in *DeploymentList) APILifecycleIntroduced() (major, minor int) {
   103  	return 1, 1
   104  }
   105  
   106  // 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.
   107  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   108  func (in *DeploymentList) APILifecycleDeprecated() (major, minor int) {
   109  	return 1, 8
   110  }
   111  
   112  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   113  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   114  func (in *DeploymentList) APILifecycleReplacement() schema.GroupVersionKind {
   115  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DeploymentList"}
   116  }
   117  
   118  // 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.
   119  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   120  func (in *DeploymentList) APILifecycleRemoved() (major, minor int) {
   121  	return 1, 16
   122  }
   123  
   124  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   125  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   126  func (in *DeploymentRollback) APILifecycleIntroduced() (major, minor int) {
   127  	return 1, 2
   128  }
   129  
   130  // 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.
   131  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   132  func (in *DeploymentRollback) APILifecycleDeprecated() (major, minor int) {
   133  	return 1, 8
   134  }
   135  
   136  // 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.
   137  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   138  func (in *DeploymentRollback) APILifecycleRemoved() (major, minor int) {
   139  	return 1, 16
   140  }
   141  
   142  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   143  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   144  func (in *Ingress) APILifecycleIntroduced() (major, minor int) {
   145  	return 1, 1
   146  }
   147  
   148  // 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.
   149  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   150  func (in *Ingress) APILifecycleDeprecated() (major, minor int) {
   151  	return 1, 14
   152  }
   153  
   154  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   155  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   156  func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind {
   157  	return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"}
   158  }
   159  
   160  // 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.
   161  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   162  func (in *Ingress) APILifecycleRemoved() (major, minor int) {
   163  	return 1, 22
   164  }
   165  
   166  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   167  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   168  func (in *IngressList) APILifecycleIntroduced() (major, minor int) {
   169  	return 1, 1
   170  }
   171  
   172  // 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.
   173  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   174  func (in *IngressList) APILifecycleDeprecated() (major, minor int) {
   175  	return 1, 14
   176  }
   177  
   178  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   179  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   180  func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind {
   181  	return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressList"}
   182  }
   183  
   184  // 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.
   185  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   186  func (in *IngressList) APILifecycleRemoved() (major, minor int) {
   187  	return 1, 22
   188  }
   189  
   190  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   191  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   192  func (in *NetworkPolicy) APILifecycleIntroduced() (major, minor int) {
   193  	return 1, 3
   194  }
   195  
   196  // 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.
   197  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   198  func (in *NetworkPolicy) APILifecycleDeprecated() (major, minor int) {
   199  	return 1, 9
   200  }
   201  
   202  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   203  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   204  func (in *NetworkPolicy) APILifecycleReplacement() schema.GroupVersionKind {
   205  	return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicy"}
   206  }
   207  
   208  // 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.
   209  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   210  func (in *NetworkPolicy) APILifecycleRemoved() (major, minor int) {
   211  	return 1, 16
   212  }
   213  
   214  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   215  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   216  func (in *NetworkPolicyList) APILifecycleIntroduced() (major, minor int) {
   217  	return 1, 3
   218  }
   219  
   220  // 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.
   221  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   222  func (in *NetworkPolicyList) APILifecycleDeprecated() (major, minor int) {
   223  	return 1, 9
   224  }
   225  
   226  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   227  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   228  func (in *NetworkPolicyList) APILifecycleReplacement() schema.GroupVersionKind {
   229  	return schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "NetworkPolicyList"}
   230  }
   231  
   232  // 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.
   233  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   234  func (in *NetworkPolicyList) APILifecycleRemoved() (major, minor int) {
   235  	return 1, 16
   236  }
   237  
   238  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   239  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   240  func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int) {
   241  	return 1, 2
   242  }
   243  
   244  // 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.
   245  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   246  func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) {
   247  	return 1, 8
   248  }
   249  
   250  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   251  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   252  func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind {
   253  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSet"}
   254  }
   255  
   256  // 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.
   257  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   258  func (in *ReplicaSet) APILifecycleRemoved() (major, minor int) {
   259  	return 1, 16
   260  }
   261  
   262  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   263  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   264  func (in *ReplicaSetList) APILifecycleIntroduced() (major, minor int) {
   265  	return 1, 2
   266  }
   267  
   268  // 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.
   269  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   270  func (in *ReplicaSetList) APILifecycleDeprecated() (major, minor int) {
   271  	return 1, 8
   272  }
   273  
   274  // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
   275  // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
   276  func (in *ReplicaSetList) APILifecycleReplacement() schema.GroupVersionKind {
   277  	return schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "ReplicaSetList"}
   278  }
   279  
   280  // 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.
   281  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   282  func (in *ReplicaSetList) APILifecycleRemoved() (major, minor int) {
   283  	return 1, 16
   284  }
   285  
   286  // APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
   287  // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
   288  func (in *Scale) APILifecycleIntroduced() (major, minor int) {
   289  	return 1, 1
   290  }
   291  
   292  // 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.
   293  // It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
   294  func (in *Scale) APILifecycleDeprecated() (major, minor int) {
   295  	return 1, 2
   296  }
   297  
   298  // 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.
   299  // It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or  "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
   300  func (in *Scale) APILifecycleRemoved() (major, minor int) {
   301  	return 1, 16
   302  }
   303  

View as plain text