...

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

Documentation: k8s.io/api/authorization/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 *LocalSubjectAccessReview) APILifecycleIntroduced() (major, minor int) {
    31  	return 1, 2
    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 *LocalSubjectAccessReview) APILifecycleDeprecated() (major, minor int) {
    37  	return 1, 19
    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 *LocalSubjectAccessReview) APILifecycleReplacement() schema.GroupVersionKind {
    43  	return schema.GroupVersionKind{Group: "authorization.k8s.io", Version: "v1", Kind: "LocalSubjectAccessReview"}
    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 *LocalSubjectAccessReview) APILifecycleRemoved() (major, minor int) {
    49  	return 1, 22
    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 *SelfSubjectAccessReview) APILifecycleIntroduced() (major, minor int) {
    55  	return 1, 2
    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 *SelfSubjectAccessReview) APILifecycleDeprecated() (major, minor int) {
    61  	return 1, 19
    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 *SelfSubjectAccessReview) APILifecycleReplacement() schema.GroupVersionKind {
    67  	return schema.GroupVersionKind{Group: "authorization.k8s.io", Version: "v1", Kind: "SelfSubjectAccessReview"}
    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 *SelfSubjectAccessReview) APILifecycleRemoved() (major, minor int) {
    73  	return 1, 22
    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 *SelfSubjectRulesReview) APILifecycleIntroduced() (major, minor int) {
    79  	return 1, 8
    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 *SelfSubjectRulesReview) APILifecycleDeprecated() (major, minor int) {
    85  	return 1, 19
    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 *SelfSubjectRulesReview) APILifecycleReplacement() schema.GroupVersionKind {
    91  	return schema.GroupVersionKind{Group: "authorization.k8s.io", Version: "v1", Kind: "SelfSubjectRulesReview"}
    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 *SelfSubjectRulesReview) APILifecycleRemoved() (major, minor int) {
    97  	return 1, 22
    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 *SubjectAccessReview) APILifecycleIntroduced() (major, minor int) {
   103  	return 1, 2
   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 *SubjectAccessReview) APILifecycleDeprecated() (major, minor int) {
   109  	return 1, 19
   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 *SubjectAccessReview) APILifecycleReplacement() schema.GroupVersionKind {
   115  	return schema.GroupVersionKind{Group: "authorization.k8s.io", Version: "v1", Kind: "SubjectAccessReview"}
   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 *SubjectAccessReview) APILifecycleRemoved() (major, minor int) {
   121  	return 1, 22
   122  }
   123  

View as plain text