sigs.k8s.io/cluster-api@v1.7.1/cmd/clusterctl/internal/test/providers/bootstrap/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  
     3  /*
     4  Copyright The Kubernetes Authors.
     5  
     6  Licensed under the Apache License, Version 2.0 (the "License");
     7  you may not use this file except in compliance with the License.
     8  You may obtain a copy of the License at
     9  
    10      http://www.apache.org/licenses/LICENSE-2.0
    11  
    12  Unless required by applicable law or agreed to in writing, software
    13  distributed under the License is distributed on an "AS IS" BASIS,
    14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  See the License for the specific language governing permissions and
    16  limitations under the License.
    17  */
    18  
    19  // Code generated by controller-gen. DO NOT EDIT.
    20  
    21  package bootstrap
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  )
    26  
    27  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    28  func (in *GenericBootstrapConfig) DeepCopyInto(out *GenericBootstrapConfig) {
    29  	*out = *in
    30  	out.TypeMeta = in.TypeMeta
    31  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    32  	in.Status.DeepCopyInto(&out.Status)
    33  }
    34  
    35  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericBootstrapConfig.
    36  func (in *GenericBootstrapConfig) DeepCopy() *GenericBootstrapConfig {
    37  	if in == nil {
    38  		return nil
    39  	}
    40  	out := new(GenericBootstrapConfig)
    41  	in.DeepCopyInto(out)
    42  	return out
    43  }
    44  
    45  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    46  func (in *GenericBootstrapConfig) DeepCopyObject() runtime.Object {
    47  	if c := in.DeepCopy(); c != nil {
    48  		return c
    49  	}
    50  	return nil
    51  }
    52  
    53  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    54  func (in *GenericBootstrapConfigList) DeepCopyInto(out *GenericBootstrapConfigList) {
    55  	*out = *in
    56  	out.TypeMeta = in.TypeMeta
    57  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    58  	if in.Items != nil {
    59  		in, out := &in.Items, &out.Items
    60  		*out = make([]GenericBootstrapConfig, len(*in))
    61  		for i := range *in {
    62  			(*in)[i].DeepCopyInto(&(*out)[i])
    63  		}
    64  	}
    65  }
    66  
    67  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericBootstrapConfigList.
    68  func (in *GenericBootstrapConfigList) DeepCopy() *GenericBootstrapConfigList {
    69  	if in == nil {
    70  		return nil
    71  	}
    72  	out := new(GenericBootstrapConfigList)
    73  	in.DeepCopyInto(out)
    74  	return out
    75  }
    76  
    77  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    78  func (in *GenericBootstrapConfigList) DeepCopyObject() runtime.Object {
    79  	if c := in.DeepCopy(); c != nil {
    80  		return c
    81  	}
    82  	return nil
    83  }
    84  
    85  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    86  func (in *GenericBootstrapConfigStatus) DeepCopyInto(out *GenericBootstrapConfigStatus) {
    87  	*out = *in
    88  	if in.DataSecretName != nil {
    89  		in, out := &in.DataSecretName, &out.DataSecretName
    90  		*out = new(string)
    91  		**out = **in
    92  	}
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericBootstrapConfigStatus.
    96  func (in *GenericBootstrapConfigStatus) DeepCopy() *GenericBootstrapConfigStatus {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(GenericBootstrapConfigStatus)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   106  func (in *GenericBootstrapConfigTemplate) DeepCopyInto(out *GenericBootstrapConfigTemplate) {
   107  	*out = *in
   108  	out.TypeMeta = in.TypeMeta
   109  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   110  }
   111  
   112  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericBootstrapConfigTemplate.
   113  func (in *GenericBootstrapConfigTemplate) DeepCopy() *GenericBootstrapConfigTemplate {
   114  	if in == nil {
   115  		return nil
   116  	}
   117  	out := new(GenericBootstrapConfigTemplate)
   118  	in.DeepCopyInto(out)
   119  	return out
   120  }
   121  
   122  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   123  func (in *GenericBootstrapConfigTemplate) DeepCopyObject() runtime.Object {
   124  	if c := in.DeepCopy(); c != nil {
   125  		return c
   126  	}
   127  	return nil
   128  }
   129  
   130  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   131  func (in *GenericBootstrapConfigTemplateList) DeepCopyInto(out *GenericBootstrapConfigTemplateList) {
   132  	*out = *in
   133  	out.TypeMeta = in.TypeMeta
   134  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   135  	if in.Items != nil {
   136  		in, out := &in.Items, &out.Items
   137  		*out = make([]GenericBootstrapConfigTemplate, len(*in))
   138  		for i := range *in {
   139  			(*in)[i].DeepCopyInto(&(*out)[i])
   140  		}
   141  	}
   142  }
   143  
   144  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericBootstrapConfigTemplateList.
   145  func (in *GenericBootstrapConfigTemplateList) DeepCopy() *GenericBootstrapConfigTemplateList {
   146  	if in == nil {
   147  		return nil
   148  	}
   149  	out := new(GenericBootstrapConfigTemplateList)
   150  	in.DeepCopyInto(out)
   151  	return out
   152  }
   153  
   154  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   155  func (in *GenericBootstrapConfigTemplateList) DeepCopyObject() runtime.Object {
   156  	if c := in.DeepCopy(); c != nil {
   157  		return c
   158  	}
   159  	return nil
   160  }