k8s.io/kubernetes@v1.29.3/pkg/apis/certificates/zz_generated.deepcopy.go (about)

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