github.com/kotalco/kotal@v0.3.0/apis/ethereum/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 *Account) DeepCopyInto(out *Account) {
    15  	*out = *in
    16  	if in.Storage != nil {
    17  		in, out := &in.Storage, &out.Storage
    18  		*out = make(map[HexString]HexString, len(*in))
    19  		for key, val := range *in {
    20  			(*out)[key] = val
    21  		}
    22  	}
    23  }
    24  
    25  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
    26  func (in *Account) DeepCopy() *Account {
    27  	if in == nil {
    28  		return nil
    29  	}
    30  	out := new(Account)
    31  	in.DeepCopyInto(out)
    32  	return out
    33  }
    34  
    35  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    36  func (in *Clique) DeepCopyInto(out *Clique) {
    37  	*out = *in
    38  	out.PoA = in.PoA
    39  	if in.Signers != nil {
    40  		in, out := &in.Signers, &out.Signers
    41  		*out = make([]shared.EthereumAddress, len(*in))
    42  		copy(*out, *in)
    43  	}
    44  }
    45  
    46  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Clique.
    47  func (in *Clique) DeepCopy() *Clique {
    48  	if in == nil {
    49  		return nil
    50  	}
    51  	out := new(Clique)
    52  	in.DeepCopyInto(out)
    53  	return out
    54  }
    55  
    56  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    57  func (in *Ethash) DeepCopyInto(out *Ethash) {
    58  	*out = *in
    59  	if in.FixedDifficulty != nil {
    60  		in, out := &in.FixedDifficulty, &out.FixedDifficulty
    61  		*out = new(uint)
    62  		**out = **in
    63  	}
    64  }
    65  
    66  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ethash.
    67  func (in *Ethash) DeepCopy() *Ethash {
    68  	if in == nil {
    69  		return nil
    70  	}
    71  	out := new(Ethash)
    72  	in.DeepCopyInto(out)
    73  	return out
    74  }
    75  
    76  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    77  func (in *Forks) DeepCopyInto(out *Forks) {
    78  	*out = *in
    79  	if in.DAO != nil {
    80  		in, out := &in.DAO, &out.DAO
    81  		*out = new(uint)
    82  		**out = **in
    83  	}
    84  }
    85  
    86  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Forks.
    87  func (in *Forks) DeepCopy() *Forks {
    88  	if in == nil {
    89  		return nil
    90  	}
    91  	out := new(Forks)
    92  	in.DeepCopyInto(out)
    93  	return out
    94  }
    95  
    96  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    97  func (in *Genesis) DeepCopyInto(out *Genesis) {
    98  	*out = *in
    99  	if in.Accounts != nil {
   100  		in, out := &in.Accounts, &out.Accounts
   101  		*out = make([]Account, len(*in))
   102  		for i := range *in {
   103  			(*in)[i].DeepCopyInto(&(*out)[i])
   104  		}
   105  	}
   106  	if in.Ethash != nil {
   107  		in, out := &in.Ethash, &out.Ethash
   108  		*out = new(Ethash)
   109  		(*in).DeepCopyInto(*out)
   110  	}
   111  	if in.Clique != nil {
   112  		in, out := &in.Clique, &out.Clique
   113  		*out = new(Clique)
   114  		(*in).DeepCopyInto(*out)
   115  	}
   116  	if in.IBFT2 != nil {
   117  		in, out := &in.IBFT2, &out.IBFT2
   118  		*out = new(IBFT2)
   119  		(*in).DeepCopyInto(*out)
   120  	}
   121  	if in.Forks != nil {
   122  		in, out := &in.Forks, &out.Forks
   123  		*out = new(Forks)
   124  		(*in).DeepCopyInto(*out)
   125  	}
   126  }
   127  
   128  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Genesis.
   129  func (in *Genesis) DeepCopy() *Genesis {
   130  	if in == nil {
   131  		return nil
   132  	}
   133  	out := new(Genesis)
   134  	in.DeepCopyInto(out)
   135  	return out
   136  }
   137  
   138  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   139  func (in *IBFT2) DeepCopyInto(out *IBFT2) {
   140  	*out = *in
   141  	out.PoA = in.PoA
   142  	if in.Validators != nil {
   143  		in, out := &in.Validators, &out.Validators
   144  		*out = make([]shared.EthereumAddress, len(*in))
   145  		copy(*out, *in)
   146  	}
   147  }
   148  
   149  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBFT2.
   150  func (in *IBFT2) DeepCopy() *IBFT2 {
   151  	if in == nil {
   152  		return nil
   153  	}
   154  	out := new(IBFT2)
   155  	in.DeepCopyInto(out)
   156  	return out
   157  }
   158  
   159  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   160  func (in *ImportedAccount) DeepCopyInto(out *ImportedAccount) {
   161  	*out = *in
   162  }
   163  
   164  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportedAccount.
   165  func (in *ImportedAccount) DeepCopy() *ImportedAccount {
   166  	if in == nil {
   167  		return nil
   168  	}
   169  	out := new(ImportedAccount)
   170  	in.DeepCopyInto(out)
   171  	return out
   172  }
   173  
   174  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   175  func (in *Node) DeepCopyInto(out *Node) {
   176  	*out = *in
   177  	out.TypeMeta = in.TypeMeta
   178  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   179  	in.Spec.DeepCopyInto(&out.Spec)
   180  	out.Status = in.Status
   181  }
   182  
   183  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node.
   184  func (in *Node) DeepCopy() *Node {
   185  	if in == nil {
   186  		return nil
   187  	}
   188  	out := new(Node)
   189  	in.DeepCopyInto(out)
   190  	return out
   191  }
   192  
   193  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   194  func (in *Node) DeepCopyObject() runtime.Object {
   195  	if c := in.DeepCopy(); c != nil {
   196  		return c
   197  	}
   198  	return nil
   199  }
   200  
   201  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   202  func (in *NodeList) DeepCopyInto(out *NodeList) {
   203  	*out = *in
   204  	out.TypeMeta = in.TypeMeta
   205  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   206  	if in.Items != nil {
   207  		in, out := &in.Items, &out.Items
   208  		*out = make([]Node, len(*in))
   209  		for i := range *in {
   210  			(*in)[i].DeepCopyInto(&(*out)[i])
   211  		}
   212  	}
   213  }
   214  
   215  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
   216  func (in *NodeList) DeepCopy() *NodeList {
   217  	if in == nil {
   218  		return nil
   219  	}
   220  	out := new(NodeList)
   221  	in.DeepCopyInto(out)
   222  	return out
   223  }
   224  
   225  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   226  func (in *NodeList) DeepCopyObject() runtime.Object {
   227  	if c := in.DeepCopy(); c != nil {
   228  		return c
   229  	}
   230  	return nil
   231  }
   232  
   233  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   234  func (in *NodeSpec) DeepCopyInto(out *NodeSpec) {
   235  	*out = *in
   236  	if in.ExtraArgs != nil {
   237  		in, out := &in.ExtraArgs, &out.ExtraArgs
   238  		*out = make(shared.ExtraArgs, len(*in))
   239  		for key, val := range *in {
   240  			(*out)[key] = val
   241  		}
   242  	}
   243  	if in.Replicas != nil {
   244  		in, out := &in.Replicas, &out.Replicas
   245  		*out = new(uint)
   246  		**out = **in
   247  	}
   248  	if in.Genesis != nil {
   249  		in, out := &in.Genesis, &out.Genesis
   250  		*out = new(Genesis)
   251  		(*in).DeepCopyInto(*out)
   252  	}
   253  	if in.Import != nil {
   254  		in, out := &in.Import, &out.Import
   255  		*out = new(ImportedAccount)
   256  		**out = **in
   257  	}
   258  	if in.Bootnodes != nil {
   259  		in, out := &in.Bootnodes, &out.Bootnodes
   260  		*out = make([]Enode, len(*in))
   261  		copy(*out, *in)
   262  	}
   263  	if in.StaticNodes != nil {
   264  		in, out := &in.StaticNodes, &out.StaticNodes
   265  		*out = make([]Enode, len(*in))
   266  		copy(*out, *in)
   267  	}
   268  	if in.Hosts != nil {
   269  		in, out := &in.Hosts, &out.Hosts
   270  		*out = make([]string, len(*in))
   271  		copy(*out, *in)
   272  	}
   273  	if in.CORSDomains != nil {
   274  		in, out := &in.CORSDomains, &out.CORSDomains
   275  		*out = make([]string, len(*in))
   276  		copy(*out, *in)
   277  	}
   278  	if in.RPCAPI != nil {
   279  		in, out := &in.RPCAPI, &out.RPCAPI
   280  		*out = make([]API, len(*in))
   281  		copy(*out, *in)
   282  	}
   283  	if in.WSAPI != nil {
   284  		in, out := &in.WSAPI, &out.WSAPI
   285  		*out = make([]API, len(*in))
   286  		copy(*out, *in)
   287  	}
   288  	in.Resources.DeepCopyInto(&out.Resources)
   289  }
   290  
   291  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec.
   292  func (in *NodeSpec) DeepCopy() *NodeSpec {
   293  	if in == nil {
   294  		return nil
   295  	}
   296  	out := new(NodeSpec)
   297  	in.DeepCopyInto(out)
   298  	return out
   299  }
   300  
   301  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   302  func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
   303  	*out = *in
   304  }
   305  
   306  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
   307  func (in *NodeStatus) DeepCopy() *NodeStatus {
   308  	if in == nil {
   309  		return nil
   310  	}
   311  	out := new(NodeStatus)
   312  	in.DeepCopyInto(out)
   313  	return out
   314  }
   315  
   316  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   317  func (in *PoA) DeepCopyInto(out *PoA) {
   318  	*out = *in
   319  }
   320  
   321  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoA.
   322  func (in *PoA) DeepCopy() *PoA {
   323  	if in == nil {
   324  		return nil
   325  	}
   326  	out := new(PoA)
   327  	in.DeepCopyInto(out)
   328  	return out
   329  }