github.com/kotalco/kotal@v0.3.0/apis/ethereum2/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 *BeaconNode) DeepCopyInto(out *BeaconNode) {
    15  	*out = *in
    16  	out.TypeMeta = in.TypeMeta
    17  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    18  	in.Spec.DeepCopyInto(&out.Spec)
    19  	out.Status = in.Status
    20  }
    21  
    22  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeaconNode.
    23  func (in *BeaconNode) DeepCopy() *BeaconNode {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(BeaconNode)
    28  	in.DeepCopyInto(out)
    29  	return out
    30  }
    31  
    32  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    33  func (in *BeaconNode) DeepCopyObject() runtime.Object {
    34  	if c := in.DeepCopy(); c != nil {
    35  		return c
    36  	}
    37  	return nil
    38  }
    39  
    40  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    41  func (in *BeaconNodeList) DeepCopyInto(out *BeaconNodeList) {
    42  	*out = *in
    43  	out.TypeMeta = in.TypeMeta
    44  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    45  	if in.Items != nil {
    46  		in, out := &in.Items, &out.Items
    47  		*out = make([]BeaconNode, len(*in))
    48  		for i := range *in {
    49  			(*in)[i].DeepCopyInto(&(*out)[i])
    50  		}
    51  	}
    52  }
    53  
    54  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeaconNodeList.
    55  func (in *BeaconNodeList) DeepCopy() *BeaconNodeList {
    56  	if in == nil {
    57  		return nil
    58  	}
    59  	out := new(BeaconNodeList)
    60  	in.DeepCopyInto(out)
    61  	return out
    62  }
    63  
    64  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    65  func (in *BeaconNodeList) DeepCopyObject() runtime.Object {
    66  	if c := in.DeepCopy(); c != nil {
    67  		return c
    68  	}
    69  	return nil
    70  }
    71  
    72  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    73  func (in *BeaconNodeSpec) DeepCopyInto(out *BeaconNodeSpec) {
    74  	*out = *in
    75  	if in.ExtraArgs != nil {
    76  		in, out := &in.ExtraArgs, &out.ExtraArgs
    77  		*out = make(shared.ExtraArgs, len(*in))
    78  		for key, val := range *in {
    79  			(*out)[key] = val
    80  		}
    81  	}
    82  	if in.Replicas != nil {
    83  		in, out := &in.Replicas, &out.Replicas
    84  		*out = new(uint)
    85  		**out = **in
    86  	}
    87  	if in.Hosts != nil {
    88  		in, out := &in.Hosts, &out.Hosts
    89  		*out = make([]string, len(*in))
    90  		copy(*out, *in)
    91  	}
    92  	if in.CORSDomains != nil {
    93  		in, out := &in.CORSDomains, &out.CORSDomains
    94  		*out = make([]string, len(*in))
    95  		copy(*out, *in)
    96  	}
    97  	in.Resources.DeepCopyInto(&out.Resources)
    98  }
    99  
   100  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeaconNodeSpec.
   101  func (in *BeaconNodeSpec) DeepCopy() *BeaconNodeSpec {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(BeaconNodeSpec)
   106  	in.DeepCopyInto(out)
   107  	return out
   108  }
   109  
   110  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   111  func (in *BeaconNodeStatus) DeepCopyInto(out *BeaconNodeStatus) {
   112  	*out = *in
   113  }
   114  
   115  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BeaconNodeStatus.
   116  func (in *BeaconNodeStatus) DeepCopy() *BeaconNodeStatus {
   117  	if in == nil {
   118  		return nil
   119  	}
   120  	out := new(BeaconNodeStatus)
   121  	in.DeepCopyInto(out)
   122  	return out
   123  }
   124  
   125  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   126  func (in *Keystore) DeepCopyInto(out *Keystore) {
   127  	*out = *in
   128  }
   129  
   130  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keystore.
   131  func (in *Keystore) DeepCopy() *Keystore {
   132  	if in == nil {
   133  		return nil
   134  	}
   135  	out := new(Keystore)
   136  	in.DeepCopyInto(out)
   137  	return out
   138  }
   139  
   140  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   141  func (in *Validator) DeepCopyInto(out *Validator) {
   142  	*out = *in
   143  	out.TypeMeta = in.TypeMeta
   144  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   145  	in.Spec.DeepCopyInto(&out.Spec)
   146  	out.Status = in.Status
   147  }
   148  
   149  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validator.
   150  func (in *Validator) DeepCopy() *Validator {
   151  	if in == nil {
   152  		return nil
   153  	}
   154  	out := new(Validator)
   155  	in.DeepCopyInto(out)
   156  	return out
   157  }
   158  
   159  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   160  func (in *Validator) DeepCopyObject() runtime.Object {
   161  	if c := in.DeepCopy(); c != nil {
   162  		return c
   163  	}
   164  	return nil
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *ValidatorList) DeepCopyInto(out *ValidatorList) {
   169  	*out = *in
   170  	out.TypeMeta = in.TypeMeta
   171  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   172  	if in.Items != nil {
   173  		in, out := &in.Items, &out.Items
   174  		*out = make([]Validator, len(*in))
   175  		for i := range *in {
   176  			(*in)[i].DeepCopyInto(&(*out)[i])
   177  		}
   178  	}
   179  }
   180  
   181  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatorList.
   182  func (in *ValidatorList) DeepCopy() *ValidatorList {
   183  	if in == nil {
   184  		return nil
   185  	}
   186  	out := new(ValidatorList)
   187  	in.DeepCopyInto(out)
   188  	return out
   189  }
   190  
   191  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   192  func (in *ValidatorList) DeepCopyObject() runtime.Object {
   193  	if c := in.DeepCopy(); c != nil {
   194  		return c
   195  	}
   196  	return nil
   197  }
   198  
   199  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   200  func (in *ValidatorSpec) DeepCopyInto(out *ValidatorSpec) {
   201  	*out = *in
   202  	if in.ExtraArgs != nil {
   203  		in, out := &in.ExtraArgs, &out.ExtraArgs
   204  		*out = make(shared.ExtraArgs, len(*in))
   205  		for key, val := range *in {
   206  			(*out)[key] = val
   207  		}
   208  	}
   209  	if in.Replicas != nil {
   210  		in, out := &in.Replicas, &out.Replicas
   211  		*out = new(uint)
   212  		**out = **in
   213  	}
   214  	if in.BeaconEndpoints != nil {
   215  		in, out := &in.BeaconEndpoints, &out.BeaconEndpoints
   216  		*out = make([]string, len(*in))
   217  		copy(*out, *in)
   218  	}
   219  	if in.Keystores != nil {
   220  		in, out := &in.Keystores, &out.Keystores
   221  		*out = make([]Keystore, len(*in))
   222  		copy(*out, *in)
   223  	}
   224  	in.Resources.DeepCopyInto(&out.Resources)
   225  }
   226  
   227  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatorSpec.
   228  func (in *ValidatorSpec) DeepCopy() *ValidatorSpec {
   229  	if in == nil {
   230  		return nil
   231  	}
   232  	out := new(ValidatorSpec)
   233  	in.DeepCopyInto(out)
   234  	return out
   235  }
   236  
   237  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   238  func (in *ValidatorStatus) DeepCopyInto(out *ValidatorStatus) {
   239  	*out = *in
   240  }
   241  
   242  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatorStatus.
   243  func (in *ValidatorStatus) DeepCopy() *ValidatorStatus {
   244  	if in == nil {
   245  		return nil
   246  	}
   247  	out := new(ValidatorStatus)
   248  	in.DeepCopyInto(out)
   249  	return out
   250  }