...

Source file src/edge-infra.dev/pkg/edge/apis/cluster/v1alpha1/zz_generated.deepcopy.go

Documentation: edge-infra.dev/pkg/edge/apis/cluster/v1alpha1

     1  //go:build !ignore_autogenerated
     2  
     3  // Code generated by controller-gen. DO NOT EDIT.
     4  
     5  package v1alpha1
     6  
     7  import (
     8  	"edge-infra.dev/pkg/edge/api/types"
     9  	"edge-infra.dev/pkg/k8s/runtime/inventory"
    10  	"k8s.io/apimachinery/pkg/apis/meta/v1"
    11  	runtime "k8s.io/apimachinery/pkg/runtime"
    12  )
    13  
    14  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    15  func (in *Cluster) DeepCopyInto(out *Cluster) {
    16  	*out = *in
    17  	out.TypeMeta = in.TypeMeta
    18  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    19  	in.Spec.DeepCopyInto(&out.Spec)
    20  	in.Status.DeepCopyInto(&out.Status)
    21  }
    22  
    23  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
    24  func (in *Cluster) DeepCopy() *Cluster {
    25  	if in == nil {
    26  		return nil
    27  	}
    28  	out := new(Cluster)
    29  	in.DeepCopyInto(out)
    30  	return out
    31  }
    32  
    33  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    34  func (in *Cluster) DeepCopyObject() runtime.Object {
    35  	if c := in.DeepCopy(); c != nil {
    36  		return c
    37  	}
    38  	return nil
    39  }
    40  
    41  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    42  func (in *ClusterList) DeepCopyInto(out *ClusterList) {
    43  	*out = *in
    44  	out.TypeMeta = in.TypeMeta
    45  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    46  	if in.Items != nil {
    47  		in, out := &in.Items, &out.Items
    48  		*out = make([]Cluster, len(*in))
    49  		for i := range *in {
    50  			(*in)[i].DeepCopyInto(&(*out)[i])
    51  		}
    52  	}
    53  }
    54  
    55  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
    56  func (in *ClusterList) DeepCopy() *ClusterList {
    57  	if in == nil {
    58  		return nil
    59  	}
    60  	out := new(ClusterList)
    61  	in.DeepCopyInto(out)
    62  	return out
    63  }
    64  
    65  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    66  func (in *ClusterList) DeepCopyObject() runtime.Object {
    67  	if c := in.DeepCopy(); c != nil {
    68  		return c
    69  	}
    70  	return nil
    71  }
    72  
    73  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    74  func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
    75  	*out = *in
    76  	if in.ClusterArtifacts != nil {
    77  		in, out := &in.ClusterArtifacts, &out.ClusterArtifacts
    78  		*out = make([]types.ArtifactVersion, len(*in))
    79  		copy(*out, *in)
    80  	}
    81  	if in.Interval != nil {
    82  		in, out := &in.Interval, &out.Interval
    83  		*out = new(v1.Duration)
    84  		**out = **in
    85  	}
    86  }
    87  
    88  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
    89  func (in *ClusterSpec) DeepCopy() *ClusterSpec {
    90  	if in == nil {
    91  		return nil
    92  	}
    93  	out := new(ClusterSpec)
    94  	in.DeepCopyInto(out)
    95  	return out
    96  }
    97  
    98  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    99  func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
   100  	*out = *in
   101  	if in.Conditions != nil {
   102  		in, out := &in.Conditions, &out.Conditions
   103  		*out = make([]v1.Condition, len(*in))
   104  		for i := range *in {
   105  			(*in)[i].DeepCopyInto(&(*out)[i])
   106  		}
   107  	}
   108  	in.ExternalInventory.DeepCopyInto(&out.ExternalInventory)
   109  	if in.Inventory != nil {
   110  		in, out := &in.Inventory, &out.Inventory
   111  		*out = new(inventory.ResourceInventory)
   112  		(*in).DeepCopyInto(*out)
   113  	}
   114  }
   115  
   116  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
   117  func (in *ClusterStatus) DeepCopy() *ClusterStatus {
   118  	if in == nil {
   119  		return nil
   120  	}
   121  	out := new(ClusterStatus)
   122  	in.DeepCopyInto(out)
   123  	return out
   124  }
   125  
   126  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   127  func (in *ExternalResourceInventory) DeepCopyInto(out *ExternalResourceInventory) {
   128  	*out = *in
   129  	if in.SecretManagerSecrets != nil {
   130  		in, out := &in.SecretManagerSecrets, &out.SecretManagerSecrets
   131  		*out = make([]string, len(*in))
   132  		copy(*out, *in)
   133  	}
   134  	out.OktaClient = in.OktaClient
   135  }
   136  
   137  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalResourceInventory.
   138  func (in *ExternalResourceInventory) DeepCopy() *ExternalResourceInventory {
   139  	if in == nil {
   140  		return nil
   141  	}
   142  	out := new(ExternalResourceInventory)
   143  	in.DeepCopyInto(out)
   144  	return out
   145  }
   146  
   147  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   148  func (in *OktaClient) DeepCopyInto(out *OktaClient) {
   149  	*out = *in
   150  }
   151  
   152  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OktaClient.
   153  func (in *OktaClient) DeepCopy() *OktaClient {
   154  	if in == nil {
   155  		return nil
   156  	}
   157  	out := new(OktaClient)
   158  	in.DeepCopyInto(out)
   159  	return out
   160  }
   161  

View as plain text