//go:build !ignore_autogenerated // +build !ignore_autogenerated /* Copyright 2019-2021 OpenFaaS Authors Licensed under the MIT license. See LICENSE file in the project root for full license information. */ // Code generated by deepcopy-gen. DO NOT EDIT. package v1 import ( corev1 "k8s.io/api/core/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 *Function) DeepCopyInto(out *Function) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function. func (in *Function) DeepCopy() *Function { if in == nil { return nil } out := new(Function) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Function) 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 *FunctionList) DeepCopyInto(out *FunctionList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Function, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList. func (in *FunctionList) DeepCopy() *FunctionList { if in == nil { return nil } out := new(FunctionList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *FunctionList) 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 *FunctionResources) DeepCopyInto(out *FunctionResources) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionResources. func (in *FunctionResources) DeepCopy() *FunctionResources { if in == nil { return nil } out := new(FunctionResources) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = new(map[string]string) if **in != nil { in, out := *in, *out *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = new(map[string]string) if **in != nil { in, out := *in, *out *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } if in.Environment != nil { in, out := &in.Environment, &out.Environment *out = new(map[string]string) if **in != nil { in, out := *in, *out *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } } if in.Constraints != nil { in, out := &in.Constraints, &out.Constraints *out = make([]string, len(*in)) copy(*out, *in) } if in.Secrets != nil { in, out := &in.Secrets, &out.Secrets *out = make([]string, len(*in)) copy(*out, *in) } if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = new(FunctionResources) **out = **in } if in.Requests != nil { in, out := &in.Requests, &out.Requests *out = new(FunctionResources) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec. func (in *FunctionSpec) DeepCopy() *FunctionSpec { if in == nil { return nil } out := new(FunctionSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Profile) DeepCopyInto(out *Profile) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile. func (in *Profile) DeepCopy() *Profile { if in == nil { return nil } out := new(Profile) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Profile) 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 *ProfileList) DeepCopyInto(out *ProfileList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Profile, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList. func (in *ProfileList) DeepCopy() *ProfileList { if in == nil { return nil } out := new(ProfileList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ProfileList) 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 *ProfileSpec) DeepCopyInto(out *ProfileSpec) { *out = *in if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]corev1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.RuntimeClassName != nil { in, out := &in.RuntimeClassName, &out.RuntimeClassName *out = new(string) **out = **in } if in.PodSecurityContext != nil { in, out := &in.PodSecurityContext, &out.PodSecurityContext *out = new(corev1.PodSecurityContext) (*in).DeepCopyInto(*out) } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(corev1.Affinity) (*in).DeepCopyInto(*out) } if in.TopologySpreadConstraints != nil { in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints *out = make([]corev1.TopologySpreadConstraint, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.SchedulerName != "" { out.SchedulerName = in.SchedulerName } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec. func (in *ProfileSpec) DeepCopy() *ProfileSpec { if in == nil { return nil } out := new(ProfileSpec) in.DeepCopyInto(out) return out }