...

Source file src/k8s.io/api/storagemigration/v1alpha1/zz_generated.prerelease-lifecycle.go

Documentation: k8s.io/api/storagemigration/v1alpha1

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

View as plain text