//go:build !ignore_autogenerated // Code generated by controller-gen. DO NOT EDIT. package v1alpha1 import ( "edge-infra.dev/pkg/k8s/runtime/inventory" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Persistence) DeepCopyInto(out *Persistence) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) in.Status.DeepCopyInto(&out.Status) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Persistence. func (in *Persistence) DeepCopy() *Persistence { if in == nil { return nil } out := new(Persistence) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Persistence) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistenceList) DeepCopyInto(out *PersistenceList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Persistence, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceList. func (in *PersistenceList) DeepCopy() *PersistenceList { if in == nil { return nil } out := new(PersistenceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PersistenceList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistenceSpec) DeepCopyInto(out *PersistenceSpec) { *out = *in if in.NodeSelectorTerms != nil { in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms *out = make([]v1.NodeSelectorTerm, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.NameSubstitution != nil { in, out := &in.NameSubstitution, &out.NameSubstitution *out = new(string) **out = **in } in.StatefulSet.DeepCopyInto(&out.StatefulSet) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceSpec. func (in *PersistenceSpec) DeepCopy() *PersistenceSpec { if in == nil { return nil } out := new(PersistenceSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistenceStatus) DeepCopyInto(out *PersistenceStatus) { *out = *in if in.Inventory != nil { in, out := &in.Inventory, &out.Inventory *out = new(inventory.ResourceInventory) (*in).DeepCopyInto(*out) } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]metav1.Condition, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceStatus. func (in *PersistenceStatus) DeepCopy() *PersistenceStatus { if in == nil { return nil } out := new(PersistenceStatus) in.DeepCopyInto(out) return out }