sigs.k8s.io/cluster-api@v1.7.1/internal/apis/core/exp/addons/v1alpha3/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 v1alpha3
    22  
    23  import (
    24  	runtime "k8s.io/apimachinery/pkg/runtime"
    25  	apiv1alpha3 "sigs.k8s.io/cluster-api/internal/apis/core/v1alpha3"
    26  )
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *ClusterResourceSet) DeepCopyInto(out *ClusterResourceSet) {
    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  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSet.
    38  func (in *ClusterResourceSet) DeepCopy() *ClusterResourceSet {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(ClusterResourceSet)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (in *ClusterResourceSet) DeepCopyObject() runtime.Object {
    49  	if c := in.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *ClusterResourceSetBinding) DeepCopyInto(out *ClusterResourceSetBinding) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    60  	in.Spec.DeepCopyInto(&out.Spec)
    61  }
    62  
    63  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetBinding.
    64  func (in *ClusterResourceSetBinding) DeepCopy() *ClusterResourceSetBinding {
    65  	if in == nil {
    66  		return nil
    67  	}
    68  	out := new(ClusterResourceSetBinding)
    69  	in.DeepCopyInto(out)
    70  	return out
    71  }
    72  
    73  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    74  func (in *ClusterResourceSetBinding) DeepCopyObject() runtime.Object {
    75  	if c := in.DeepCopy(); c != nil {
    76  		return c
    77  	}
    78  	return nil
    79  }
    80  
    81  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    82  func (in *ClusterResourceSetBindingList) DeepCopyInto(out *ClusterResourceSetBindingList) {
    83  	*out = *in
    84  	out.TypeMeta = in.TypeMeta
    85  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    86  	if in.Items != nil {
    87  		in, out := &in.Items, &out.Items
    88  		*out = make([]ClusterResourceSetBinding, len(*in))
    89  		for i := range *in {
    90  			(*in)[i].DeepCopyInto(&(*out)[i])
    91  		}
    92  	}
    93  }
    94  
    95  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetBindingList.
    96  func (in *ClusterResourceSetBindingList) DeepCopy() *ClusterResourceSetBindingList {
    97  	if in == nil {
    98  		return nil
    99  	}
   100  	out := new(ClusterResourceSetBindingList)
   101  	in.DeepCopyInto(out)
   102  	return out
   103  }
   104  
   105  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   106  func (in *ClusterResourceSetBindingList) DeepCopyObject() runtime.Object {
   107  	if c := in.DeepCopy(); c != nil {
   108  		return c
   109  	}
   110  	return nil
   111  }
   112  
   113  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   114  func (in *ClusterResourceSetBindingSpec) DeepCopyInto(out *ClusterResourceSetBindingSpec) {
   115  	*out = *in
   116  	if in.Bindings != nil {
   117  		in, out := &in.Bindings, &out.Bindings
   118  		*out = make([]*ResourceSetBinding, len(*in))
   119  		for i := range *in {
   120  			if (*in)[i] != nil {
   121  				in, out := &(*in)[i], &(*out)[i]
   122  				*out = new(ResourceSetBinding)
   123  				(*in).DeepCopyInto(*out)
   124  			}
   125  		}
   126  	}
   127  }
   128  
   129  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetBindingSpec.
   130  func (in *ClusterResourceSetBindingSpec) DeepCopy() *ClusterResourceSetBindingSpec {
   131  	if in == nil {
   132  		return nil
   133  	}
   134  	out := new(ClusterResourceSetBindingSpec)
   135  	in.DeepCopyInto(out)
   136  	return out
   137  }
   138  
   139  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   140  func (in *ClusterResourceSetList) DeepCopyInto(out *ClusterResourceSetList) {
   141  	*out = *in
   142  	out.TypeMeta = in.TypeMeta
   143  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   144  	if in.Items != nil {
   145  		in, out := &in.Items, &out.Items
   146  		*out = make([]ClusterResourceSet, len(*in))
   147  		for i := range *in {
   148  			(*in)[i].DeepCopyInto(&(*out)[i])
   149  		}
   150  	}
   151  }
   152  
   153  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetList.
   154  func (in *ClusterResourceSetList) DeepCopy() *ClusterResourceSetList {
   155  	if in == nil {
   156  		return nil
   157  	}
   158  	out := new(ClusterResourceSetList)
   159  	in.DeepCopyInto(out)
   160  	return out
   161  }
   162  
   163  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   164  func (in *ClusterResourceSetList) DeepCopyObject() runtime.Object {
   165  	if c := in.DeepCopy(); c != nil {
   166  		return c
   167  	}
   168  	return nil
   169  }
   170  
   171  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   172  func (in *ClusterResourceSetSpec) DeepCopyInto(out *ClusterResourceSetSpec) {
   173  	*out = *in
   174  	in.ClusterSelector.DeepCopyInto(&out.ClusterSelector)
   175  	if in.Resources != nil {
   176  		in, out := &in.Resources, &out.Resources
   177  		*out = make([]ResourceRef, len(*in))
   178  		copy(*out, *in)
   179  	}
   180  }
   181  
   182  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetSpec.
   183  func (in *ClusterResourceSetSpec) DeepCopy() *ClusterResourceSetSpec {
   184  	if in == nil {
   185  		return nil
   186  	}
   187  	out := new(ClusterResourceSetSpec)
   188  	in.DeepCopyInto(out)
   189  	return out
   190  }
   191  
   192  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   193  func (in *ClusterResourceSetStatus) DeepCopyInto(out *ClusterResourceSetStatus) {
   194  	*out = *in
   195  	if in.Conditions != nil {
   196  		in, out := &in.Conditions, &out.Conditions
   197  		*out = make(apiv1alpha3.Conditions, len(*in))
   198  		for i := range *in {
   199  			(*in)[i].DeepCopyInto(&(*out)[i])
   200  		}
   201  	}
   202  }
   203  
   204  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterResourceSetStatus.
   205  func (in *ClusterResourceSetStatus) DeepCopy() *ClusterResourceSetStatus {
   206  	if in == nil {
   207  		return nil
   208  	}
   209  	out := new(ClusterResourceSetStatus)
   210  	in.DeepCopyInto(out)
   211  	return out
   212  }
   213  
   214  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   215  func (in *ResourceBinding) DeepCopyInto(out *ResourceBinding) {
   216  	*out = *in
   217  	out.ResourceRef = in.ResourceRef
   218  	if in.LastAppliedTime != nil {
   219  		in, out := &in.LastAppliedTime, &out.LastAppliedTime
   220  		*out = (*in).DeepCopy()
   221  	}
   222  }
   223  
   224  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceBinding.
   225  func (in *ResourceBinding) DeepCopy() *ResourceBinding {
   226  	if in == nil {
   227  		return nil
   228  	}
   229  	out := new(ResourceBinding)
   230  	in.DeepCopyInto(out)
   231  	return out
   232  }
   233  
   234  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   235  func (in *ResourceRef) DeepCopyInto(out *ResourceRef) {
   236  	*out = *in
   237  }
   238  
   239  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
   240  func (in *ResourceRef) DeepCopy() *ResourceRef {
   241  	if in == nil {
   242  		return nil
   243  	}
   244  	out := new(ResourceRef)
   245  	in.DeepCopyInto(out)
   246  	return out
   247  }
   248  
   249  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   250  func (in *ResourceSetBinding) DeepCopyInto(out *ResourceSetBinding) {
   251  	*out = *in
   252  	if in.Resources != nil {
   253  		in, out := &in.Resources, &out.Resources
   254  		*out = make([]ResourceBinding, len(*in))
   255  		for i := range *in {
   256  			(*in)[i].DeepCopyInto(&(*out)[i])
   257  		}
   258  	}
   259  }
   260  
   261  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSetBinding.
   262  func (in *ResourceSetBinding) DeepCopy() *ResourceSetBinding {
   263  	if in == nil {
   264  		return nil
   265  	}
   266  	out := new(ResourceSetBinding)
   267  	in.DeepCopyInto(out)
   268  	return out
   269  }