github.com/kotalco/kotal@v0.3.0/apis/ipfs/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 *ClusterPeer) DeepCopyInto(out *ClusterPeer) {
    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 ClusterPeer.
    23  func (in *ClusterPeer) DeepCopy() *ClusterPeer {
    24  	if in == nil {
    25  		return nil
    26  	}
    27  	out := new(ClusterPeer)
    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 *ClusterPeer) 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 *ClusterPeerList) DeepCopyInto(out *ClusterPeerList) {
    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([]ClusterPeer, 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 ClusterPeerList.
    55  func (in *ClusterPeerList) DeepCopy() *ClusterPeerList {
    56  	if in == nil {
    57  		return nil
    58  	}
    59  	out := new(ClusterPeerList)
    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 *ClusterPeerList) 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 *ClusterPeerSpec) DeepCopyInto(out *ClusterPeerSpec) {
    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.TrustedPeers != nil {
    88  		in, out := &in.TrustedPeers, &out.TrustedPeers
    89  		*out = make([]string, len(*in))
    90  		copy(*out, *in)
    91  	}
    92  	if in.BootstrapPeers != nil {
    93  		in, out := &in.BootstrapPeers, &out.BootstrapPeers
    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 ClusterPeerSpec.
   101  func (in *ClusterPeerSpec) DeepCopy() *ClusterPeerSpec {
   102  	if in == nil {
   103  		return nil
   104  	}
   105  	out := new(ClusterPeerSpec)
   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 *ClusterPeerStatus) DeepCopyInto(out *ClusterPeerStatus) {
   112  	*out = *in
   113  }
   114  
   115  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPeerStatus.
   116  func (in *ClusterPeerStatus) DeepCopy() *ClusterPeerStatus {
   117  	if in == nil {
   118  		return nil
   119  	}
   120  	out := new(ClusterPeerStatus)
   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 *Peer) DeepCopyInto(out *Peer) {
   127  	*out = *in
   128  	out.TypeMeta = in.TypeMeta
   129  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   130  	in.Spec.DeepCopyInto(&out.Spec)
   131  	out.Status = in.Status
   132  }
   133  
   134  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
   135  func (in *Peer) DeepCopy() *Peer {
   136  	if in == nil {
   137  		return nil
   138  	}
   139  	out := new(Peer)
   140  	in.DeepCopyInto(out)
   141  	return out
   142  }
   143  
   144  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   145  func (in *Peer) DeepCopyObject() runtime.Object {
   146  	if c := in.DeepCopy(); c != nil {
   147  		return c
   148  	}
   149  	return nil
   150  }
   151  
   152  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   153  func (in *PeerList) DeepCopyInto(out *PeerList) {
   154  	*out = *in
   155  	out.TypeMeta = in.TypeMeta
   156  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   157  	if in.Items != nil {
   158  		in, out := &in.Items, &out.Items
   159  		*out = make([]Peer, len(*in))
   160  		for i := range *in {
   161  			(*in)[i].DeepCopyInto(&(*out)[i])
   162  		}
   163  	}
   164  }
   165  
   166  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerList.
   167  func (in *PeerList) DeepCopy() *PeerList {
   168  	if in == nil {
   169  		return nil
   170  	}
   171  	out := new(PeerList)
   172  	in.DeepCopyInto(out)
   173  	return out
   174  }
   175  
   176  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   177  func (in *PeerList) DeepCopyObject() runtime.Object {
   178  	if c := in.DeepCopy(); c != nil {
   179  		return c
   180  	}
   181  	return nil
   182  }
   183  
   184  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   185  func (in *PeerSpec) DeepCopyInto(out *PeerSpec) {
   186  	*out = *in
   187  	if in.ExtraArgs != nil {
   188  		in, out := &in.ExtraArgs, &out.ExtraArgs
   189  		*out = make(shared.ExtraArgs, len(*in))
   190  		for key, val := range *in {
   191  			(*out)[key] = val
   192  		}
   193  	}
   194  	if in.Replicas != nil {
   195  		in, out := &in.Replicas, &out.Replicas
   196  		*out = new(uint)
   197  		**out = **in
   198  	}
   199  	if in.InitProfiles != nil {
   200  		in, out := &in.InitProfiles, &out.InitProfiles
   201  		*out = make([]Profile, len(*in))
   202  		copy(*out, *in)
   203  	}
   204  	if in.Profiles != nil {
   205  		in, out := &in.Profiles, &out.Profiles
   206  		*out = make([]Profile, len(*in))
   207  		copy(*out, *in)
   208  	}
   209  	in.Resources.DeepCopyInto(&out.Resources)
   210  }
   211  
   212  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerSpec.
   213  func (in *PeerSpec) DeepCopy() *PeerSpec {
   214  	if in == nil {
   215  		return nil
   216  	}
   217  	out := new(PeerSpec)
   218  	in.DeepCopyInto(out)
   219  	return out
   220  }
   221  
   222  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   223  func (in *PeerStatus) DeepCopyInto(out *PeerStatus) {
   224  	*out = *in
   225  }
   226  
   227  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerStatus.
   228  func (in *PeerStatus) DeepCopy() *PeerStatus {
   229  	if in == nil {
   230  		return nil
   231  	}
   232  	out := new(PeerStatus)
   233  	in.DeepCopyInto(out)
   234  	return out
   235  }