pkg/apis/bundle/v1alpha1/zz_generated.deepcopy.go (518 lines of code) (raw):

//go:build !ignore_autogenerated // +build !ignore_autogenerated // Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by deepcopy-gen. DO NOT EDIT. package v1alpha1 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 *Bundle) DeepCopyInto(out *Bundle) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.Components != nil { in, out := &in.Components, &out.Components *out = make([]*Component, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = new(Component) (*in).DeepCopyInto(*out) } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bundle. func (in *Bundle) DeepCopy() *Bundle { if in == nil { return nil } out := new(Bundle) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Bundle) 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 *BundleBuilder) DeepCopyInto(out *BundleBuilder) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.ComponentFiles != nil { in, out := &in.ComponentFiles, &out.ComponentFiles *out = make([]File, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BundleBuilder. func (in *BundleBuilder) DeepCopy() *BundleBuilder { if in == nil { return nil } out := new(BundleBuilder) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *BundleBuilder) 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 *Component) DeepCopyInto(out *Component) { *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 Component. func (in *Component) DeepCopy() *Component { if in == nil { return nil } out := new(Component) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Component) 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 *ComponentBuilder) DeepCopyInto(out *ComponentBuilder) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.ObjectFiles != nil { in, out := &in.ObjectFiles, &out.ObjectFiles *out = make([]File, len(*in)) copy(*out, *in) } if in.TemplateFiles != nil { in, out := &in.TemplateFiles, &out.TemplateFiles *out = make([]TemplateFileSet, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.RawTextFiles != nil { in, out := &in.RawTextFiles, &out.RawTextFiles *out = make([]FileGroup, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentBuilder. func (in *ComponentBuilder) DeepCopy() *ComponentBuilder { if in == nil { return nil } out := new(ComponentBuilder) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ComponentBuilder) 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 *ComponentList) DeepCopyInto(out *ComponentList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Component, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList. func (in *ComponentList) DeepCopy() *ComponentList { if in == nil { return nil } out := new(ComponentList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ComponentList) 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 *ComponentReference) DeepCopyInto(out *ComponentReference) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentReference. func (in *ComponentReference) DeepCopy() *ComponentReference { if in == nil { return nil } out := new(ComponentReference) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComponentRequire) DeepCopyInto(out *ComponentRequire) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentRequire. func (in *ComponentRequire) DeepCopy() *ComponentRequire { if in == nil { return nil } out := new(ComponentRequire) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComponentSet) DeepCopyInto(out *ComponentSet) { *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 ComponentSet. func (in *ComponentSet) DeepCopy() *ComponentSet { if in == nil { return nil } out := new(ComponentSet) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ComponentSet) 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 *ComponentSetList) DeepCopyInto(out *ComponentSetList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ComponentSet, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSetList. func (in *ComponentSetList) DeepCopy() *ComponentSetList { if in == nil { return nil } out := new(ComponentSetList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ComponentSetList) 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 *ComponentSetReference) DeepCopyInto(out *ComponentSetReference) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSetReference. func (in *ComponentSetReference) DeepCopy() *ComponentSetReference { if in == nil { return nil } out := new(ComponentSetReference) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComponentSetSpec) DeepCopyInto(out *ComponentSetSpec) { *out = *in if in.Components != nil { in, out := &in.Components, &out.Components *out = make([]ComponentReference, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSetSpec. func (in *ComponentSetSpec) DeepCopy() *ComponentSetSpec { if in == nil { return nil } out := new(ComponentSetSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) { *out = *in if in.Objects != nil { in, out := &in.Objects, &out.Objects *out = make([]*unstructured.Unstructured, len(*in)) for i := range *in { if (*in)[i] != nil { in, out := &(*in)[i], &(*out)[i] *out = (*in).DeepCopy() } } } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec. func (in *ComponentSpec) DeepCopy() *ComponentSpec { if in == nil { return nil } out := new(ComponentSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *File) DeepCopyInto(out *File) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File. func (in *File) DeepCopy() *File { if in == nil { return nil } out := new(File) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FileGroup) DeepCopyInto(out *FileGroup) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *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 = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Files != nil { in, out := &in.Files, &out.Files *out = make([]File, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileGroup. func (in *FileGroup) DeepCopy() *FileGroup { if in == nil { return nil } out := new(FileGroup) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector) { *out = *in if in.Kinds != nil { in, out := &in.Kinds, &out.Kinds *out = make([]string, len(*in)) copy(*out, *in) } if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *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 = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) } if in.InvertMatch != nil { in, out := &in.InvertMatch, &out.InvertMatch *out = new(bool) **out = **in } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSelector. func (in *ObjectSelector) DeepCopy() *ObjectSelector { if in == nil { return nil } out := new(ObjectSelector) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ObjectTemplate) DeepCopyInto(out *ObjectTemplate) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.OptionsSchema != nil { in, out := &in.OptionsSchema, &out.OptionsSchema *out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTemplate. func (in *ObjectTemplate) DeepCopy() *ObjectTemplate { if in == nil { return nil } out := new(ObjectTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ObjectTemplate) 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 *ObjectTemplateBuilder) DeepCopyInto(out *ObjectTemplateBuilder) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) out.File = in.File if in.OptionsSchema != nil { in, out := &in.OptionsSchema, &out.OptionsSchema *out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTemplateBuilder. func (in *ObjectTemplateBuilder) DeepCopy() *ObjectTemplateBuilder { if in == nil { return nil } out := new(ObjectTemplateBuilder) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ObjectTemplateBuilder) 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 *PatchTemplate) DeepCopyInto(out *PatchTemplate) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(ObjectSelector) (*in).DeepCopyInto(*out) } if in.OptionsSchema != nil { in, out := &in.OptionsSchema, &out.OptionsSchema *out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchTemplate. func (in *PatchTemplate) DeepCopy() *PatchTemplate { if in == nil { return nil } out := new(PatchTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PatchTemplate) 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 *PatchTemplateBuilder) DeepCopyInto(out *PatchTemplateBuilder) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(ObjectSelector) (*in).DeepCopyInto(*out) } if in.BuildSchema != nil { in, out := &in.BuildSchema, &out.BuildSchema *out = (*in).DeepCopy() } if in.TargetSchema != nil { in, out := &in.TargetSchema, &out.TargetSchema *out = (*in).DeepCopy() } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchTemplateBuilder. func (in *PatchTemplateBuilder) DeepCopy() *PatchTemplateBuilder { if in == nil { return nil } out := new(PatchTemplateBuilder) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *PatchTemplateBuilder) 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 *Requirements) DeepCopyInto(out *Requirements) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) if in.Visibility != nil { in, out := &in.Visibility, &out.Visibility *out = make([]string, len(*in)) copy(*out, *in) } if in.Require != nil { in, out := &in.Require, &out.Require *out = make([]ComponentRequire, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirements. func (in *Requirements) DeepCopy() *Requirements { if in == nil { return nil } out := new(Requirements) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *Requirements) 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 *TemplateFileSet) DeepCopyInto(out *TemplateFileSet) { *out = *in if in.Files != nil { in, out := &in.Files, &out.Files *out = make([]File, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateFileSet. func (in *TemplateFileSet) DeepCopy() *TemplateFileSet { if in == nil { return nil } out := new(TemplateFileSet) in.DeepCopyInto(out) return out }