func DeepCopy_v1beta1_SubjectAccessReviewSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SubjectAccessReviewSpec) out := out.(*SubjectAccessReviewSpec) *out = *in if in.ResourceAttributes != nil { in, out := &in.ResourceAttributes, &out.ResourceAttributes *out = new(ResourceAttributes) **out = **in } if in.NonResourceAttributes != nil { in, out := &in.NonResourceAttributes, &out.NonResourceAttributes *out = new(NonResourceAttributes) **out = **in } if in.Groups != nil { in, out := &in.Groups, &out.Groups *out = make([]string, len(*in)) copy(*out, *in) } if in.Extra != nil { in, out := &in.Extra, &out.Extra *out = make(map[string]ExtraValue) for key, val := range *in { if newVal, err := c.DeepCopy(&val); err != nil { return err } else { (*out)[key] = *newVal.(*ExtraValue) } } } return nil } }
func DeepCopy_v1beta1_StatefulSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*StatefulSetSpec) out := out.(*StatefulSetSpec) *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*v1.LabelSelector) } } if err := api_v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err } if in.VolumeClaimTemplates != nil { in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates *out = make([]api_v1.PersistentVolumeClaim, len(*in)) for i := range *in { if err := api_v1.DeepCopy_v1_PersistentVolumeClaim(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } }
func DeepCopy_v1alpha1_AdmissionPluginConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AdmissionPluginConfiguration) out := out.(*AdmissionPluginConfiguration) *out = *in if newVal, err := c.DeepCopy(&in.Configuration); err != nil { return err } else { out.Configuration = *newVal.(*runtime.RawExtension) } return nil } }
func DeepCopy_v1_Scale(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Scale) out := out.(*Scale) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } return nil } }
func DeepCopy_v1beta1_DaemonSet(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DaemonSet) out := out.(*DaemonSet) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_v1beta1_DaemonSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } }
func DeepCopy_authentication_TokenReview(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*TokenReview) out := out.(*TokenReview) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_authentication_TokenReviewStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_v1beta1_SelfSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SelfSubjectAccessReview) out := out.(*SelfSubjectAccessReview) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_v1beta1_SelfSubjectAccessReviewSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } }
func DeepCopy_extensions_Scale(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Scale) out := out.(*Scale) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_extensions_ScaleStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_extensions_ScaleStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ScaleStatus) out := out.(*ScaleStatus) *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*v1.LabelSelector) } } return nil } }
func DeepCopy_extensions_PodSecurityPolicy(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodSecurityPolicy) out := out.(*PodSecurityPolicy) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_extensions_PodSecurityPolicySpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } }
func DeepCopy_v1beta1_PodDisruptionBudgetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodDisruptionBudgetSpec) out := out.(*PodDisruptionBudgetSpec) *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*v1.LabelSelector) } } return nil } }
func DeepCopy_v1_InternalEvent(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*InternalEvent) out := out.(*InternalEvent) *out = *in // in.Object is kind 'Interface' if in.Object != nil { if newVal, err := c.DeepCopy(&in.Object); err != nil { return err } else { out.Object = *newVal.(*runtime.Object) } } return nil } }
func DeepCopy_v2alpha1_JobTemplateSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*JobTemplateSpec) out := out.(*JobTemplateSpec) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_v2alpha1_JobSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } }
func DeepCopy_componentconfig_AdmissionPluginConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AdmissionPluginConfiguration) out := out.(*AdmissionPluginConfiguration) *out = *in // in.Configuration is kind 'Interface' if in.Configuration != nil { if newVal, err := c.DeepCopy(&in.Configuration); err != nil { return err } else { out.Configuration = *newVal.(*runtime.Object) } } return nil } }
func DeepCopy_apiregistration_APIService(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*APIService) out := out.(*APIService) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_apiregistration_APIServiceSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } }
func DeepCopy_extensions_ThirdPartyResourceData(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ThirdPartyResourceData) out := out.(*ThirdPartyResourceData) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if in.Data != nil { in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) } return nil } }
func DeepCopy_v1alpha1_CertificateSigningRequest(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*CertificateSigningRequest) out := out.(*CertificateSigningRequest) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_v1alpha1_CertificateSigningRequestSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1alpha1_CertificateSigningRequestStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_v1_Job(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Job) out := out.(*Job) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_JobSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_JobStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_policy_PodDisruptionBudget(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodDisruptionBudget) out := out.(*PodDisruptionBudget) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_policy_PodDisruptionBudgetSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_policy_PodDisruptionBudgetStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_extensions_ReplicaSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicaSetSpec) out := out.(*ReplicaSetSpec) *out = *in if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*v1.LabelSelector) } } if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err } return nil } }
func DeepCopy_v1beta1_HorizontalPodAutoscaler(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*HorizontalPodAutoscaler) out := out.(*HorizontalPodAutoscaler) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_v1beta1_HorizontalPodAutoscalerSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1beta1_HorizontalPodAutoscalerStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_federation_Cluster(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Cluster) out := out.(*Cluster) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if err := DeepCopy_federation_ClusterSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_federation_ClusterStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } }
func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DeploymentSpec) out := out.(*DeploymentSpec) *out = *in if in.Replicas != nil { in, out := &in.Replicas, &out.Replicas *out = new(int32) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*v1.LabelSelector) } } if err := api_v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err } if err := DeepCopy_v1beta1_DeploymentStrategy(&in.Strategy, &out.Strategy, c); err != nil { return err } if in.RevisionHistoryLimit != nil { in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit *out = new(int32) **out = **in } if in.RollbackTo != nil { in, out := &in.RollbackTo, &out.RollbackTo *out = new(RollbackConfig) **out = **in } if in.ProgressDeadlineSeconds != nil { in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds *out = new(int32) **out = **in } return nil } }
func DeepCopy_v1alpha1_ClusterRoleBinding(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ClusterRoleBinding) out := out.(*ClusterRoleBinding) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if in.Subjects != nil { in, out := &in.Subjects, &out.Subjects *out = make([]Subject, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } } return nil } }
func DeepCopy_v1beta1_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*StorageClass) out := out.(*StorageClass) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if in.Parameters != nil { in, out := &in.Parameters, &out.Parameters *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } return nil } }
func DeepCopy_v1beta1_Eviction(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Eviction) out := out.(*Eviction) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if in.DeleteOptions != nil { in, out := &in.DeleteOptions, &out.DeleteOptions *out = new(api_v1.DeleteOptions) if err := api_v1.DeepCopy_v1_DeleteOptions(*in, *out, c); err != nil { return err } } return nil } }
func DeepCopy_extensions_ThirdPartyResource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ThirdPartyResource) out := out.(*ThirdPartyResource) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*v1.ObjectMeta) } if in.Versions != nil { in, out := &in.Versions, &out.Versions *out = make([]APIVersion, len(*in)) for i := range *in { (*out)[i] = (*in)[i] } } return nil } }
func DeepCopy_runtime_RawExtension(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*RawExtension) out := out.(*RawExtension) *out = *in if in.Raw != nil { in, out := &in.Raw, &out.Raw *out = make([]byte, len(*in)) copy(*out, *in) } // in.Object is kind 'Interface' if in.Object != nil { if newVal, err := c.DeepCopy(&in.Object); err != nil { return err } else { out.Object = *newVal.(*Object) } } return nil } }
func DeepCopy_v1_JobSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*JobSpec) out := out.(*JobSpec) *out = *in if in.Parallelism != nil { in, out := &in.Parallelism, &out.Parallelism *out = new(int32) **out = **in } if in.Completions != nil { in, out := &in.Completions, &out.Completions *out = new(int32) **out = **in } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*meta_v1.LabelSelector) } } if in.ManualSelector != nil { in, out := &in.ManualSelector, &out.ManualSelector *out = new(bool) **out = **in } if err := api_v1.DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err } return nil } }
func DeepCopy_extensions_NetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NetworkPolicySpec) out := out.(*NetworkPolicySpec) *out = *in if newVal, err := c.DeepCopy(&in.PodSelector); err != nil { return err } else { out.PodSelector = *newVal.(*v1.LabelSelector) } if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]NetworkPolicyIngressRule, len(*in)) for i := range *in { if err := DeepCopy_extensions_NetworkPolicyIngressRule(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } }