...

Source file src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go

Documentation: k8s.io/api/authentication/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 deepcopy-gen. DO NOT EDIT.
    21  
    22  package v1beta1
    23  
    24  import (
    25  	runtime "k8s.io/apimachinery/pkg/runtime"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
    30  	{
    31  		in := &in
    32  		*out = make(ExtraValue, len(*in))
    33  		copy(*out, *in)
    34  		return
    35  	}
    36  }
    37  
    38  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
    39  func (in ExtraValue) DeepCopy() ExtraValue {
    40  	if in == nil {
    41  		return nil
    42  	}
    43  	out := new(ExtraValue)
    44  	in.DeepCopyInto(out)
    45  	return *out
    46  }
    47  
    48  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    49  func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview) {
    50  	*out = *in
    51  	out.TypeMeta = in.TypeMeta
    52  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    53  	in.Status.DeepCopyInto(&out.Status)
    54  	return
    55  }
    56  
    57  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview.
    58  func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview {
    59  	if in == nil {
    60  		return nil
    61  	}
    62  	out := new(SelfSubjectReview)
    63  	in.DeepCopyInto(out)
    64  	return out
    65  }
    66  
    67  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    68  func (in *SelfSubjectReview) DeepCopyObject() runtime.Object {
    69  	if c := in.DeepCopy(); c != nil {
    70  		return c
    71  	}
    72  	return nil
    73  }
    74  
    75  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    76  func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) {
    77  	*out = *in
    78  	in.UserInfo.DeepCopyInto(&out.UserInfo)
    79  	return
    80  }
    81  
    82  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus.
    83  func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus {
    84  	if in == nil {
    85  		return nil
    86  	}
    87  	out := new(SelfSubjectReviewStatus)
    88  	in.DeepCopyInto(out)
    89  	return out
    90  }
    91  
    92  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    93  func (in *TokenReview) DeepCopyInto(out *TokenReview) {
    94  	*out = *in
    95  	out.TypeMeta = in.TypeMeta
    96  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    97  	in.Spec.DeepCopyInto(&out.Spec)
    98  	in.Status.DeepCopyInto(&out.Status)
    99  	return
   100  }
   101  
   102  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
   103  func (in *TokenReview) DeepCopy() *TokenReview {
   104  	if in == nil {
   105  		return nil
   106  	}
   107  	out := new(TokenReview)
   108  	in.DeepCopyInto(out)
   109  	return out
   110  }
   111  
   112  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   113  func (in *TokenReview) DeepCopyObject() runtime.Object {
   114  	if c := in.DeepCopy(); c != nil {
   115  		return c
   116  	}
   117  	return nil
   118  }
   119  
   120  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   121  func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
   122  	*out = *in
   123  	if in.Audiences != nil {
   124  		in, out := &in.Audiences, &out.Audiences
   125  		*out = make([]string, len(*in))
   126  		copy(*out, *in)
   127  	}
   128  	return
   129  }
   130  
   131  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
   132  func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
   133  	if in == nil {
   134  		return nil
   135  	}
   136  	out := new(TokenReviewSpec)
   137  	in.DeepCopyInto(out)
   138  	return out
   139  }
   140  
   141  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   142  func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
   143  	*out = *in
   144  	in.User.DeepCopyInto(&out.User)
   145  	if in.Audiences != nil {
   146  		in, out := &in.Audiences, &out.Audiences
   147  		*out = make([]string, len(*in))
   148  		copy(*out, *in)
   149  	}
   150  	return
   151  }
   152  
   153  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
   154  func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
   155  	if in == nil {
   156  		return nil
   157  	}
   158  	out := new(TokenReviewStatus)
   159  	in.DeepCopyInto(out)
   160  	return out
   161  }
   162  
   163  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   164  func (in *UserInfo) DeepCopyInto(out *UserInfo) {
   165  	*out = *in
   166  	if in.Groups != nil {
   167  		in, out := &in.Groups, &out.Groups
   168  		*out = make([]string, len(*in))
   169  		copy(*out, *in)
   170  	}
   171  	if in.Extra != nil {
   172  		in, out := &in.Extra, &out.Extra
   173  		*out = make(map[string]ExtraValue, len(*in))
   174  		for key, val := range *in {
   175  			var outVal []string
   176  			if val == nil {
   177  				(*out)[key] = nil
   178  			} else {
   179  				in, out := &val, &outVal
   180  				*out = make(ExtraValue, len(*in))
   181  				copy(*out, *in)
   182  			}
   183  			(*out)[key] = outVal
   184  		}
   185  	}
   186  	return
   187  }
   188  
   189  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
   190  func (in *UserInfo) DeepCopy() *UserInfo {
   191  	if in == nil {
   192  		return nil
   193  	}
   194  	out := new(UserInfo)
   195  	in.DeepCopyInto(out)
   196  	return out
   197  }
   198  

View as plain text