api/v1alpha1/zz_generated.deepcopy.go (504 lines of code) (raw):

//go:build !ignore_autogenerated // +build !ignore_autogenerated /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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 * * http://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 controller-gen. DO NOT EDIT. package v1alpha1 import ( "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSAlert) DeepCopyInto(out *DSAlert) { *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 DSAlert. func (in *DSAlert) DeepCopy() *DSAlert { if in == nil { return nil } out := new(DSAlert) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSAlert) 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 *DSAlertList) DeepCopyInto(out *DSAlertList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DSAlert, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSAlertList. func (in *DSAlertList) DeepCopy() *DSAlertList { if in == nil { return nil } out := new(DSAlertList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSAlertList) 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 *DSAlertSpec) DeepCopyInto(out *DSAlertSpec) { *out = *in if in.Datasource != nil { in, out := &in.Datasource, &out.Datasource *out = new(DateSourceTemplate) **out = **in } if in.Deployment != nil { in, out := &in.Deployment, &out.Deployment *out = new(DeploymentPolicy) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSAlertSpec. func (in *DSAlertSpec) DeepCopy() *DSAlertSpec { if in == nil { return nil } out := new(DSAlertSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSAlertStatus) DeepCopyInto(out *DSAlertStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DsCondition, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSAlertStatus. func (in *DSAlertStatus) DeepCopy() *DSAlertStatus { if in == nil { return nil } out := new(DSAlertStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSApi) DeepCopyInto(out *DSApi) { *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 DSApi. func (in *DSApi) DeepCopy() *DSApi { if in == nil { return nil } out := new(DSApi) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSApi) 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 *DSApiList) DeepCopyInto(out *DSApiList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DSApi, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSApiList. func (in *DSApiList) DeepCopy() *DSApiList { if in == nil { return nil } out := new(DSApiList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSApiList) 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 *DSApiSpec) DeepCopyInto(out *DSApiSpec) { *out = *in if in.Datasource != nil { in, out := &in.Datasource, &out.Datasource *out = new(DateSourceTemplate) **out = **in } if in.Deployment != nil { in, out := &in.Deployment, &out.Deployment *out = new(DeploymentPolicy) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSApiSpec. func (in *DSApiSpec) DeepCopy() *DSApiSpec { if in == nil { return nil } out := new(DSApiSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSApiStatus) DeepCopyInto(out *DSApiStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DsCondition, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSApiStatus. func (in *DSApiStatus) DeepCopy() *DSApiStatus { if in == nil { return nil } out := new(DSApiStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSMaster) DeepCopyInto(out *DSMaster) { *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 DSMaster. func (in *DSMaster) DeepCopy() *DSMaster { if in == nil { return nil } out := new(DSMaster) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSMaster) 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 *DSMasterList) DeepCopyInto(out *DSMasterList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DSMaster, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSMasterList. func (in *DSMasterList) DeepCopy() *DSMasterList { if in == nil { return nil } out := new(DSMasterList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSMasterList) 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 *DSMasterSpec) DeepCopyInto(out *DSMasterSpec) { *out = *in if in.Datasource != nil { in, out := &in.Datasource, &out.Datasource *out = new(DateSourceTemplate) **out = **in } if in.Pod != nil { in, out := &in.Pod, &out.Pod *out = new(PodPolicy) (*in).DeepCopyInto(*out) } if in.HpaPolicy != nil { in, out := &in.HpaPolicy, &out.HpaPolicy *out = new(HpaPolicy) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSMasterSpec. func (in *DSMasterSpec) DeepCopy() *DSMasterSpec { if in == nil { return nil } out := new(DSMasterSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSMasterStatus) DeepCopyInto(out *DSMasterStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DsCondition, len(*in)) copy(*out, *in) } in.Members.DeepCopyInto(&out.Members) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSMasterStatus. func (in *DSMasterStatus) DeepCopy() *DSMasterStatus { if in == nil { return nil } out := new(DSMasterStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSWorker) DeepCopyInto(out *DSWorker) { *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 DSWorker. func (in *DSWorker) DeepCopy() *DSWorker { if in == nil { return nil } out := new(DSWorker) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSWorker) 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 *DSWorkerList) DeepCopyInto(out *DSWorkerList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DSWorker, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSWorkerList. func (in *DSWorkerList) DeepCopy() *DSWorkerList { if in == nil { return nil } out := new(DSWorkerList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *DSWorkerList) 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 *DSWorkerSpec) DeepCopyInto(out *DSWorkerSpec) { *out = *in if in.Datasource != nil { in, out := &in.Datasource, &out.Datasource *out = new(DateSourceTemplate) **out = **in } if in.Pod != nil { in, out := &in.Pod, &out.Pod *out = new(PodPolicy) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSWorkerSpec. func (in *DSWorkerSpec) DeepCopy() *DSWorkerSpec { if in == nil { return nil } out := new(DSWorkerSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DSWorkerStatus) DeepCopyInto(out *DSWorkerStatus) { *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]DsCondition, len(*in)) copy(*out, *in) } in.Members.DeepCopyInto(&out.Members) } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DSWorkerStatus. func (in *DSWorkerStatus) DeepCopy() *DSWorkerStatus { if in == nil { return nil } out := new(DSWorkerStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DateSourceTemplate) DeepCopyInto(out *DateSourceTemplate) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DateSourceTemplate. func (in *DateSourceTemplate) DeepCopy() *DateSourceTemplate { if in == nil { return nil } out := new(DateSourceTemplate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DeploymentPolicy) DeepCopyInto(out *DeploymentPolicy) { *out = *in 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.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.Envs != nil { in, out := &in.Envs, &out.Envs *out = make([]v1.EnvVar, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } in.Resources.DeepCopyInto(&out.Resources) if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]v1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentPolicy. func (in *DeploymentPolicy) DeepCopy() *DeploymentPolicy { if in == nil { return nil } out := new(DeploymentPolicy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DsCondition) DeepCopyInto(out *DsCondition) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DsCondition. func (in *DsCondition) DeepCopy() *DsCondition { if in == nil { return nil } out := new(DsCondition) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HpaPolicy) DeepCopyInto(out *HpaPolicy) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HpaPolicy. func (in *HpaPolicy) DeepCopy() *HpaPolicy { if in == nil { return nil } out := new(HpaPolicy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MembersStatus) DeepCopyInto(out *MembersStatus) { *out = *in if in.Ready != nil { in, out := &in.Ready, &out.Ready *out = make([]string, len(*in)) copy(*out, *in) } if in.Unready != nil { in, out := &in.Unready, &out.Unready *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembersStatus. func (in *MembersStatus) DeepCopy() *MembersStatus { if in == nil { return nil } out := new(MembersStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PodPolicy) DeepCopyInto(out *PodPolicy) { *out = *in 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.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } in.Resources.DeepCopyInto(&out.Resources) if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]v1.Toleration, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Envs != nil { in, out := &in.Envs, &out.Envs *out = make([]v1.EnvVar, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } 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.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(v1.PodSecurityContext) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPolicy. func (in *PodPolicy) DeepCopy() *PodPolicy { if in == nil { return nil } out := new(PodPolicy) in.DeepCopyInto(out) return out }