pkg/krm/functions/api/v1/zz_generated.deepcopy.go (101 lines of code) (raw):

//go:build !ignore_autogenerated // +build !ignore_autogenerated // Code generated by deepcopy-gen. DO NOT EDIT. package v1 import ( unstructured "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" 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 *ResourceList) DeepCopyInto(out *ResourceList) { *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]*unstructured.Unstructured, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = (*in).DeepCopy() } } } if in.FunctionConfig != nil { in, out := &in.FunctionConfig, &out.FunctionConfig *out = (*in).DeepCopy() } if in.Results != nil { in, out := &in.Results, &out.Results *out = make([]*Result, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(Result) (*in).DeepCopyInto(*out) } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList. func (in *ResourceList) DeepCopy() *ResourceList { if in == nil { return nil } out := new(ResourceList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ResourceList) 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 *Result) DeepCopyInto(out *Result) { *out = *in if in.File != nil { in, out := &in.File, &out.File *out = new(ResultFile) **out = **in } if in.ResourceRef != nil { in, out := &in.ResourceRef, &out.ResourceRef *out = new(ResultResourceRef) **out = **in } if in.Tags != nil { in, out := &in.Tags, &out.Tags *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Result. func (in *Result) DeepCopy() *Result { if in == nil { return nil } out := new(Result) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResultFile) DeepCopyInto(out *ResultFile) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultFile. func (in *ResultFile) DeepCopy() *ResultFile { if in == nil { return nil } out := new(ResultFile) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ResultResourceRef) DeepCopyInto(out *ResultResourceRef) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResultResourceRef. func (in *ResultResourceRef) DeepCopy() *ResultResourceRef { if in == nil { return nil } out := new(ResultResourceRef) in.DeepCopyInto(out) return out }