github.com/kotalco/kotal@v0.3.0/apis/chainlink/v1alpha1/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Code generated by controller-gen. DO NOT EDIT.
     5  
     6  package v1alpha1
     7  
     8  import (
     9  	"github.com/kotalco/kotal/apis/shared"
    10  	"k8s.io/apimachinery/pkg/runtime"
    11  )
    12  
    13  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    14  func (in *APICredentials) DeepCopyInto(out *APICredentials) {
    15  	*out = *in
    16  }
    17  
    18  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APICredentials.
    19  func (in *APICredentials) DeepCopy() *APICredentials {
    20  	if in == nil {
    21  		return nil
    22  	}
    23  	out := new(APICredentials)
    24  	in.DeepCopyInto(out)
    25  	return out
    26  }
    27  
    28  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    29  func (in *Node) DeepCopyInto(out *Node) {
    30  	*out = *in
    31  	out.TypeMeta = in.TypeMeta
    32  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    33  	in.Spec.DeepCopyInto(&out.Spec)
    34  	out.Status = in.Status
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
    38  func (in *Node) DeepCopy() *Node {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(Node)
    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 *Node) 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 *NodeList) DeepCopyInto(out *NodeList) {
    57  	*out = *in
    58  	out.TypeMeta = in.TypeMeta
    59  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    60  	if in.Items != nil {
    61  		in, out := &in.Items, &out.Items
    62  		*out = make([]Node, len(*in))
    63  		for i := range *in {
    64  			(*in)[i].DeepCopyInto(&(*out)[i])
    65  		}
    66  	}
    67  }
    68  
    69  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
    70  func (in *NodeList) DeepCopy() *NodeList {
    71  	if in == nil {
    72  		return nil
    73  	}
    74  	out := new(NodeList)
    75  	in.DeepCopyInto(out)
    76  	return out
    77  }
    78  
    79  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    80  func (in *NodeList) DeepCopyObject() runtime.Object {
    81  	if c := in.DeepCopy(); c != nil {
    82  		return c
    83  	}
    84  	return nil
    85  }
    86  
    87  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    88  func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
    89  	*out = *in
    90  	if in.ExtraArgs != nil {
    91  		in, out := &in.ExtraArgs, &out.ExtraArgs
    92  		*out = make(shared.ExtraArgs, len(*in))
    93  		for key, val := range *in {
    94  			(*out)[key] = val
    95  		}
    96  	}
    97  	if in.Replicas != nil {
    98  		in, out := &in.Replicas, &out.Replicas
    99  		*out = new(uint)
   100  		**out = **in
   101  	}
   102  	if in.EthereumHTTPEndpoints != nil {
   103  		in, out := &in.EthereumHTTPEndpoints, &out.EthereumHTTPEndpoints
   104  		*out = make([]string, len(*in))
   105  		copy(*out, *in)
   106  	}
   107  	out.APICredentials = in.APICredentials
   108  	if in.CORSDomains != nil {
   109  		in, out := &in.CORSDomains, &out.CORSDomains
   110  		*out = make([]string, len(*in))
   111  		copy(*out, *in)
   112  	}
   113  	in.Resources.DeepCopyInto(&out.Resources)
   114  }
   115  
   116  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
   117  func (in *NodeSpec) DeepCopy() *NodeSpec {
   118  	if in == nil {
   119  		return nil
   120  	}
   121  	out := new(NodeSpec)
   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 *NodeStatus) DeepCopyInto(out *NodeStatus) {
   128  	*out = *in
   129  }
   130  
   131  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
   132  func (in *NodeStatus) DeepCopy() *NodeStatus {
   133  	if in == nil {
   134  		return nil
   135  	}
   136  	out := new(NodeStatus)
   137  	in.DeepCopyInto(out)
   138  	return out
   139  }