...

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

Documentation: k8s.io/api/authentication/v1

     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 v1
    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 *BoundObjectReference) DeepCopyInto(out *BoundObjectReference) {
    30  	*out = *in
    31  	return
    32  }
    33  
    34  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BoundObjectReference.
    35  func (in *BoundObjectReference) DeepCopy() *BoundObjectReference {
    36  	if in == nil {
    37  		return nil
    38  	}
    39  	out := new(BoundObjectReference)
    40  	in.DeepCopyInto(out)
    41  	return out
    42  }
    43  
    44  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    45  func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
    46  	{
    47  		in := &in
    48  		*out = make(ExtraValue, len(*in))
    49  		copy(*out, *in)
    50  		return
    51  	}
    52  }
    53  
    54  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
    55  func (in ExtraValue) DeepCopy() ExtraValue {
    56  	if in == nil {
    57  		return nil
    58  	}
    59  	out := new(ExtraValue)
    60  	in.DeepCopyInto(out)
    61  	return *out
    62  }
    63  
    64  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    65  func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview) {
    66  	*out = *in
    67  	out.TypeMeta = in.TypeMeta
    68  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    69  	in.Status.DeepCopyInto(&out.Status)
    70  	return
    71  }
    72  
    73  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview.
    74  func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview {
    75  	if in == nil {
    76  		return nil
    77  	}
    78  	out := new(SelfSubjectReview)
    79  	in.DeepCopyInto(out)
    80  	return out
    81  }
    82  
    83  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    84  func (in *SelfSubjectReview) DeepCopyObject() runtime.Object {
    85  	if c := in.DeepCopy(); c != nil {
    86  		return c
    87  	}
    88  	return nil
    89  }
    90  
    91  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    92  func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus) {
    93  	*out = *in
    94  	in.UserInfo.DeepCopyInto(&out.UserInfo)
    95  	return
    96  }
    97  
    98  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus.
    99  func (in *SelfSubjectReviewStatus) DeepCopy() *SelfSubjectReviewStatus {
   100  	if in == nil {
   101  		return nil
   102  	}
   103  	out := new(SelfSubjectReviewStatus)
   104  	in.DeepCopyInto(out)
   105  	return out
   106  }
   107  
   108  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   109  func (in *TokenRequest) DeepCopyInto(out *TokenRequest) {
   110  	*out = *in
   111  	out.TypeMeta = in.TypeMeta
   112  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   113  	in.Spec.DeepCopyInto(&out.Spec)
   114  	in.Status.DeepCopyInto(&out.Status)
   115  	return
   116  }
   117  
   118  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequest.
   119  func (in *TokenRequest) DeepCopy() *TokenRequest {
   120  	if in == nil {
   121  		return nil
   122  	}
   123  	out := new(TokenRequest)
   124  	in.DeepCopyInto(out)
   125  	return out
   126  }
   127  
   128  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   129  func (in *TokenRequest) DeepCopyObject() runtime.Object {
   130  	if c := in.DeepCopy(); c != nil {
   131  		return c
   132  	}
   133  	return nil
   134  }
   135  
   136  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   137  func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec) {
   138  	*out = *in
   139  	if in.Audiences != nil {
   140  		in, out := &in.Audiences, &out.Audiences
   141  		*out = make([]string, len(*in))
   142  		copy(*out, *in)
   143  	}
   144  	if in.ExpirationSeconds != nil {
   145  		in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
   146  		*out = new(int64)
   147  		**out = **in
   148  	}
   149  	if in.BoundObjectRef != nil {
   150  		in, out := &in.BoundObjectRef, &out.BoundObjectRef
   151  		*out = new(BoundObjectReference)
   152  		**out = **in
   153  	}
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestSpec.
   158  func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(TokenRequestSpec)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus) {
   169  	*out = *in
   170  	in.ExpirationTimestamp.DeepCopyInto(&out.ExpirationTimestamp)
   171  	return
   172  }
   173  
   174  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestStatus.
   175  func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus {
   176  	if in == nil {
   177  		return nil
   178  	}
   179  	out := new(TokenRequestStatus)
   180  	in.DeepCopyInto(out)
   181  	return out
   182  }
   183  
   184  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   185  func (in *TokenReview) DeepCopyInto(out *TokenReview) {
   186  	*out = *in
   187  	out.TypeMeta = in.TypeMeta
   188  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   189  	in.Spec.DeepCopyInto(&out.Spec)
   190  	in.Status.DeepCopyInto(&out.Status)
   191  	return
   192  }
   193  
   194  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
   195  func (in *TokenReview) DeepCopy() *TokenReview {
   196  	if in == nil {
   197  		return nil
   198  	}
   199  	out := new(TokenReview)
   200  	in.DeepCopyInto(out)
   201  	return out
   202  }
   203  
   204  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   205  func (in *TokenReview) DeepCopyObject() runtime.Object {
   206  	if c := in.DeepCopy(); c != nil {
   207  		return c
   208  	}
   209  	return nil
   210  }
   211  
   212  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   213  func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
   214  	*out = *in
   215  	if in.Audiences != nil {
   216  		in, out := &in.Audiences, &out.Audiences
   217  		*out = make([]string, len(*in))
   218  		copy(*out, *in)
   219  	}
   220  	return
   221  }
   222  
   223  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
   224  func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
   225  	if in == nil {
   226  		return nil
   227  	}
   228  	out := new(TokenReviewSpec)
   229  	in.DeepCopyInto(out)
   230  	return out
   231  }
   232  
   233  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   234  func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
   235  	*out = *in
   236  	in.User.DeepCopyInto(&out.User)
   237  	if in.Audiences != nil {
   238  		in, out := &in.Audiences, &out.Audiences
   239  		*out = make([]string, len(*in))
   240  		copy(*out, *in)
   241  	}
   242  	return
   243  }
   244  
   245  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
   246  func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
   247  	if in == nil {
   248  		return nil
   249  	}
   250  	out := new(TokenReviewStatus)
   251  	in.DeepCopyInto(out)
   252  	return out
   253  }
   254  
   255  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   256  func (in *UserInfo) DeepCopyInto(out *UserInfo) {
   257  	*out = *in
   258  	if in.Groups != nil {
   259  		in, out := &in.Groups, &out.Groups
   260  		*out = make([]string, len(*in))
   261  		copy(*out, *in)
   262  	}
   263  	if in.Extra != nil {
   264  		in, out := &in.Extra, &out.Extra
   265  		*out = make(map[string]ExtraValue, len(*in))
   266  		for key, val := range *in {
   267  			var outVal []string
   268  			if val == nil {
   269  				(*out)[key] = nil
   270  			} else {
   271  				in, out := &val, &outVal
   272  				*out = make(ExtraValue, len(*in))
   273  				copy(*out, *in)
   274  			}
   275  			(*out)[key] = outVal
   276  		}
   277  	}
   278  	return
   279  }
   280  
   281  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
   282  func (in *UserInfo) DeepCopy() *UserInfo {
   283  	if in == nil {
   284  		return nil
   285  	}
   286  	out := new(UserInfo)
   287  	in.DeepCopyInto(out)
   288  	return out
   289  }
   290  

View as plain text