// +build !ignore_autogenerated /* Copyright 2017 The Kubernetes Authors. 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 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. */ // This file was autogenerated by deepcopy-gen. Do not edit it manually! package v1 import ( meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" conversion "k8s.io/apimachinery/pkg/conversion" runtime "k8s.io/apimachinery/pkg/runtime" types "k8s.io/apimachinery/pkg/types" reflect "reflect" ) func init() { SchemeBuilder.Register(RegisterDeepCopies) } // RegisterDeepCopies adds deep-copy functions to the given scheme. Public // to allow building arbitrary schemes. func RegisterDeepCopies(scheme *runtime.Scheme) error { return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Affinity, InType: reflect.TypeOf(&Affinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AzureDiskVolumeSource, InType: reflect.TypeOf(&AzureDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Binding, InType: reflect.TypeOf(&Binding{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Capabilities, InType: reflect.TypeOf(&Capabilities{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapEnvSource, InType: reflect.TypeOf(&ConfigMapEnvSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Container, InType: reflect.TypeOf(&Container{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerState, InType: reflect.TypeOf(&ContainerState{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Endpoints, InType: reflect.TypeOf(&Endpoints{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvFromSource, InType: reflect.TypeOf(&EnvFromSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVar, InType: reflect.TypeOf(&EnvVar{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Event, InType: reflect.TypeOf(&Event{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventList, InType: reflect.TypeOf(&EventList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventSource, InType: reflect.TypeOf(&EventSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ExecAction, InType: reflect.TypeOf(&ExecAction{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Handler, InType: reflect.TypeOf(&Handler{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRange, InType: reflect.TypeOf(&LimitRange{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_List, InType: reflect.TypeOf(&List{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ListOptions, InType: reflect.TypeOf(&ListOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Namespace, InType: reflect.TypeOf(&Namespace{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Node, InType: reflect.TypeOf(&Node{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeList, InType: reflect.TypeOf(&NodeList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeResources, InType: reflect.TypeOf(&NodeResources{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PhotonPersistentDiskVolumeSource, InType: reflect.TypeOf(&PhotonPersistentDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Pod, InType: reflect.TypeOf(&Pod{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodCondition, InType: reflect.TypeOf(&PodCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodList, InType: reflect.TypeOf(&PodList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodPortForwardOptions, InType: reflect.TypeOf(&PodPortForwardOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSignature, InType: reflect.TypeOf(&PodSignature{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSpec, InType: reflect.TypeOf(&PodSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatus, InType: reflect.TypeOf(&PodStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Preconditions, InType: reflect.TypeOf(&Preconditions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Probe, InType: reflect.TypeOf(&Probe{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_QuobyteVolumeSource, InType: reflect.TypeOf(&QuobyteVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerCondition, InType: reflect.TypeOf(&ReplicationControllerCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Secret, InType: reflect.TypeOf(&Secret{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretEnvSource, InType: reflect.TypeOf(&SecretEnvSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretList, InType: reflect.TypeOf(&SecretList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Service, InType: reflect.TypeOf(&Service{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceList, InType: reflect.TypeOf(&ServiceList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServicePort, InType: reflect.TypeOf(&ServicePort{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Sysctl, InType: reflect.TypeOf(&Sysctl{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Taint, InType: reflect.TypeOf(&Taint{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Toleration, InType: reflect.TypeOf(&Toleration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Volume, InType: reflect.TypeOf(&Volume{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})}, ) } func DeepCopy_v1_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AWSElasticBlockStoreVolumeSource) out := out.(*AWSElasticBlockStoreVolumeSource) *out = *in return nil } } func DeepCopy_v1_Affinity(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Affinity) out := out.(*Affinity) *out = *in if in.NodeAffinity != nil { in, out := &in.NodeAffinity, &out.NodeAffinity *out = new(NodeAffinity) if err := DeepCopy_v1_NodeAffinity(*in, *out, c); err != nil { return err } } if in.PodAffinity != nil { in, out := &in.PodAffinity, &out.PodAffinity *out = new(PodAffinity) if err := DeepCopy_v1_PodAffinity(*in, *out, c); err != nil { return err } } if in.PodAntiAffinity != nil { in, out := &in.PodAntiAffinity, &out.PodAntiAffinity *out = new(PodAntiAffinity) if err := DeepCopy_v1_PodAntiAffinity(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_AttachedVolume(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AttachedVolume) out := out.(*AttachedVolume) *out = *in return nil } } func DeepCopy_v1_AvoidPods(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AvoidPods) out := out.(*AvoidPods) *out = *in if in.PreferAvoidPods != nil { in, out := &in.PreferAvoidPods, &out.PreferAvoidPods *out = make([]PreferAvoidPodsEntry, len(*in)) for i := range *in { if err := DeepCopy_v1_PreferAvoidPodsEntry(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_AzureDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AzureDiskVolumeSource) out := out.(*AzureDiskVolumeSource) *out = *in if in.CachingMode != nil { in, out := &in.CachingMode, &out.CachingMode *out = new(AzureDataDiskCachingMode) **out = **in } if in.FSType != nil { in, out := &in.FSType, &out.FSType *out = new(string) **out = **in } if in.ReadOnly != nil { in, out := &in.ReadOnly, &out.ReadOnly *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_AzureFileVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*AzureFileVolumeSource) out := out.(*AzureFileVolumeSource) *out = *in return nil } } func DeepCopy_v1_Binding(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Binding) out := out.(*Binding) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } return nil } } func DeepCopy_v1_Capabilities(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Capabilities) out := out.(*Capabilities) *out = *in if in.Add != nil { in, out := &in.Add, &out.Add *out = make([]Capability, len(*in)) copy(*out, *in) } if in.Drop != nil { in, out := &in.Drop, &out.Drop *out = make([]Capability, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_CephFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*CephFSVolumeSource) out := out.(*CephFSVolumeSource) *out = *in if in.Monitors != nil { in, out := &in.Monitors, &out.Monitors *out = make([]string, len(*in)) copy(*out, *in) } if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in } return nil } } func DeepCopy_v1_CinderVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*CinderVolumeSource) out := out.(*CinderVolumeSource) *out = *in return nil } } func DeepCopy_v1_ComponentCondition(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ComponentCondition) out := out.(*ComponentCondition) *out = *in return nil } } func DeepCopy_v1_ComponentStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ComponentStatus) out := out.(*ComponentStatus) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ComponentCondition, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ComponentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ComponentStatusList) out := out.(*ComponentStatusList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ComponentStatus, len(*in)) for i := range *in { if err := DeepCopy_v1_ComponentStatus(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ConfigMap(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMap) out := out.(*ConfigMap) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Data != nil { in, out := &in.Data, &out.Data *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } return nil } } func DeepCopy_v1_ConfigMapEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapEnvSource) out := out.(*ConfigMapEnvSource) *out = *in if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_ConfigMapKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapKeySelector) out := out.(*ConfigMapKeySelector) *out = *in if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_ConfigMapList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapList) out := out.(*ConfigMapList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ConfigMap, len(*in)) for i := range *in { if err := DeepCopy_v1_ConfigMap(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ConfigMapVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ConfigMapVolumeSource) out := out.(*ConfigMapVolumeSource) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) for i := range *in { if err := DeepCopy_v1_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in } if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_Container(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Container) out := out.(*Container) *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) } if in.Args != nil { in, out := &in.Args, &out.Args *out = make([]string, len(*in)) copy(*out, *in) } if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ContainerPort, len(*in)) copy(*out, *in) } if in.EnvFrom != nil { in, out := &in.EnvFrom, &out.EnvFrom *out = make([]EnvFromSource, len(*in)) for i := range *in { if err := DeepCopy_v1_EnvFromSource(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.Env != nil { in, out := &in.Env, &out.Env *out = make([]EnvVar, len(*in)) for i := range *in { if err := DeepCopy_v1_EnvVar(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if err := DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err } if in.VolumeMounts != nil { in, out := &in.VolumeMounts, &out.VolumeMounts *out = make([]VolumeMount, len(*in)) copy(*out, *in) } if in.LivenessProbe != nil { in, out := &in.LivenessProbe, &out.LivenessProbe *out = new(Probe) if err := DeepCopy_v1_Probe(*in, *out, c); err != nil { return err } } if in.ReadinessProbe != nil { in, out := &in.ReadinessProbe, &out.ReadinessProbe *out = new(Probe) if err := DeepCopy_v1_Probe(*in, *out, c); err != nil { return err } } if in.Lifecycle != nil { in, out := &in.Lifecycle, &out.Lifecycle *out = new(Lifecycle) if err := DeepCopy_v1_Lifecycle(*in, *out, c); err != nil { return err } } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(SecurityContext) if err := DeepCopy_v1_SecurityContext(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_ContainerImage(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerImage) out := out.(*ContainerImage) *out = *in if in.Names != nil { in, out := &in.Names, &out.Names *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ContainerPort(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerPort) out := out.(*ContainerPort) *out = *in return nil } } func DeepCopy_v1_ContainerState(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerState) out := out.(*ContainerState) *out = *in if in.Waiting != nil { in, out := &in.Waiting, &out.Waiting *out = new(ContainerStateWaiting) **out = **in } if in.Running != nil { in, out := &in.Running, &out.Running *out = new(ContainerStateRunning) if err := DeepCopy_v1_ContainerStateRunning(*in, *out, c); err != nil { return err } } if in.Terminated != nil { in, out := &in.Terminated, &out.Terminated *out = new(ContainerStateTerminated) if err := DeepCopy_v1_ContainerStateTerminated(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_ContainerStateRunning(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerStateRunning) out := out.(*ContainerStateRunning) *out = *in out.StartedAt = in.StartedAt.DeepCopy() return nil } } func DeepCopy_v1_ContainerStateTerminated(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerStateTerminated) out := out.(*ContainerStateTerminated) *out = *in out.StartedAt = in.StartedAt.DeepCopy() out.FinishedAt = in.FinishedAt.DeepCopy() return nil } } func DeepCopy_v1_ContainerStateWaiting(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerStateWaiting) out := out.(*ContainerStateWaiting) *out = *in return nil } } func DeepCopy_v1_ContainerStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ContainerStatus) out := out.(*ContainerStatus) *out = *in if err := DeepCopy_v1_ContainerState(&in.State, &out.State, c); err != nil { return err } if err := DeepCopy_v1_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil { return err } return nil } } func DeepCopy_v1_DaemonEndpoint(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DaemonEndpoint) out := out.(*DaemonEndpoint) *out = *in return nil } } func DeepCopy_v1_DeleteOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DeleteOptions) out := out.(*DeleteOptions) *out = *in if in.GracePeriodSeconds != nil { in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds *out = new(int64) **out = **in } if in.Preconditions != nil { in, out := &in.Preconditions, &out.Preconditions *out = new(Preconditions) if err := DeepCopy_v1_Preconditions(*in, *out, c); err != nil { return err } } if in.OrphanDependents != nil { in, out := &in.OrphanDependents, &out.OrphanDependents *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_DownwardAPIVolumeFile(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DownwardAPIVolumeFile) out := out.(*DownwardAPIVolumeFile) *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef *out = new(ResourceFieldSelector) if err := DeepCopy_v1_ResourceFieldSelector(*in, *out, c); err != nil { return err } } if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in } return nil } } func DeepCopy_v1_DownwardAPIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*DownwardAPIVolumeSource) out := out.(*DownwardAPIVolumeSource) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]DownwardAPIVolumeFile, len(*in)) for i := range *in { if err := DeepCopy_v1_DownwardAPIVolumeFile(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in } return nil } } func DeepCopy_v1_EmptyDirVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EmptyDirVolumeSource) out := out.(*EmptyDirVolumeSource) *out = *in return nil } } func DeepCopy_v1_EndpointAddress(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EndpointAddress) out := out.(*EndpointAddress) *out = *in if in.NodeName != nil { in, out := &in.NodeName, &out.NodeName *out = new(string) **out = **in } if in.TargetRef != nil { in, out := &in.TargetRef, &out.TargetRef *out = new(ObjectReference) **out = **in } return nil } } func DeepCopy_v1_EndpointPort(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EndpointPort) out := out.(*EndpointPort) *out = *in return nil } } func DeepCopy_v1_EndpointSubset(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EndpointSubset) out := out.(*EndpointSubset) *out = *in if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses *out = make([]EndpointAddress, len(*in)) for i := range *in { if err := DeepCopy_v1_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.NotReadyAddresses != nil { in, out := &in.NotReadyAddresses, &out.NotReadyAddresses *out = make([]EndpointAddress, len(*in)) for i := range *in { if err := DeepCopy_v1_EndpointAddress(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]EndpointPort, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_Endpoints(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Endpoints) out := out.(*Endpoints) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Subsets != nil { in, out := &in.Subsets, &out.Subsets *out = make([]EndpointSubset, len(*in)) for i := range *in { if err := DeepCopy_v1_EndpointSubset(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_EndpointsList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EndpointsList) out := out.(*EndpointsList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Endpoints, len(*in)) for i := range *in { if err := DeepCopy_v1_Endpoints(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_EnvFromSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EnvFromSource) out := out.(*EnvFromSource) *out = *in if in.ConfigMapRef != nil { in, out := &in.ConfigMapRef, &out.ConfigMapRef *out = new(ConfigMapEnvSource) if err := DeepCopy_v1_ConfigMapEnvSource(*in, *out, c); err != nil { return err } } if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(SecretEnvSource) if err := DeepCopy_v1_SecretEnvSource(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_EnvVar(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EnvVar) out := out.(*EnvVar) *out = *in if in.ValueFrom != nil { in, out := &in.ValueFrom, &out.ValueFrom *out = new(EnvVarSource) if err := DeepCopy_v1_EnvVarSource(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_EnvVarSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EnvVarSource) out := out.(*EnvVarSource) *out = *in if in.FieldRef != nil { in, out := &in.FieldRef, &out.FieldRef *out = new(ObjectFieldSelector) **out = **in } if in.ResourceFieldRef != nil { in, out := &in.ResourceFieldRef, &out.ResourceFieldRef *out = new(ResourceFieldSelector) if err := DeepCopy_v1_ResourceFieldSelector(*in, *out, c); err != nil { return err } } if in.ConfigMapKeyRef != nil { in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef *out = new(ConfigMapKeySelector) if err := DeepCopy_v1_ConfigMapKeySelector(*in, *out, c); err != nil { return err } } if in.SecretKeyRef != nil { in, out := &in.SecretKeyRef, &out.SecretKeyRef *out = new(SecretKeySelector) if err := DeepCopy_v1_SecretKeySelector(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_Event(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Event) out := out.(*Event) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } out.FirstTimestamp = in.FirstTimestamp.DeepCopy() out.LastTimestamp = in.LastTimestamp.DeepCopy() return nil } } func DeepCopy_v1_EventList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EventList) out := out.(*EventList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Event, len(*in)) for i := range *in { if err := DeepCopy_v1_Event(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_EventSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*EventSource) out := out.(*EventSource) *out = *in return nil } } func DeepCopy_v1_ExecAction(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ExecAction) out := out.(*ExecAction) *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_FCVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*FCVolumeSource) out := out.(*FCVolumeSource) *out = *in if in.TargetWWNs != nil { in, out := &in.TargetWWNs, &out.TargetWWNs *out = make([]string, len(*in)) copy(*out, *in) } if in.Lun != nil { in, out := &in.Lun, &out.Lun *out = new(int32) **out = **in } return nil } } func DeepCopy_v1_FlexVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*FlexVolumeSource) out := out.(*FlexVolumeSource) *out = *in if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in } if in.Options != nil { in, out := &in.Options, &out.Options *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } return nil } } func DeepCopy_v1_FlockerVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*FlockerVolumeSource) out := out.(*FlockerVolumeSource) *out = *in return nil } } func DeepCopy_v1_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*GCEPersistentDiskVolumeSource) out := out.(*GCEPersistentDiskVolumeSource) *out = *in return nil } } func DeepCopy_v1_GitRepoVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*GitRepoVolumeSource) out := out.(*GitRepoVolumeSource) *out = *in return nil } } func DeepCopy_v1_GlusterfsVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*GlusterfsVolumeSource) out := out.(*GlusterfsVolumeSource) *out = *in return nil } } func DeepCopy_v1_HTTPGetAction(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*HTTPGetAction) out := out.(*HTTPGetAction) *out = *in if in.HTTPHeaders != nil { in, out := &in.HTTPHeaders, &out.HTTPHeaders *out = make([]HTTPHeader, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_HTTPHeader(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*HTTPHeader) out := out.(*HTTPHeader) *out = *in return nil } } func DeepCopy_v1_Handler(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Handler) out := out.(*Handler) *out = *in if in.Exec != nil { in, out := &in.Exec, &out.Exec *out = new(ExecAction) if err := DeepCopy_v1_ExecAction(*in, *out, c); err != nil { return err } } if in.HTTPGet != nil { in, out := &in.HTTPGet, &out.HTTPGet *out = new(HTTPGetAction) if err := DeepCopy_v1_HTTPGetAction(*in, *out, c); err != nil { return err } } if in.TCPSocket != nil { in, out := &in.TCPSocket, &out.TCPSocket *out = new(TCPSocketAction) **out = **in } return nil } } func DeepCopy_v1_HostPathVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*HostPathVolumeSource) out := out.(*HostPathVolumeSource) *out = *in return nil } } func DeepCopy_v1_ISCSIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ISCSIVolumeSource) out := out.(*ISCSIVolumeSource) *out = *in return nil } } func DeepCopy_v1_KeyToPath(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*KeyToPath) out := out.(*KeyToPath) *out = *in if in.Mode != nil { in, out := &in.Mode, &out.Mode *out = new(int32) **out = **in } return nil } } func DeepCopy_v1_Lifecycle(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Lifecycle) out := out.(*Lifecycle) *out = *in if in.PostStart != nil { in, out := &in.PostStart, &out.PostStart *out = new(Handler) if err := DeepCopy_v1_Handler(*in, *out, c); err != nil { return err } } if in.PreStop != nil { in, out := &in.PreStop, &out.PreStop *out = new(Handler) if err := DeepCopy_v1_Handler(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_LimitRange(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LimitRange) out := out.(*LimitRange) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_LimitRangeSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } } func DeepCopy_v1_LimitRangeItem(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LimitRangeItem) out := out.(*LimitRangeItem) *out = *in if in.Max != nil { in, out := &in.Max, &out.Max *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Min != nil { in, out := &in.Min, &out.Min *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Default != nil { in, out := &in.Default, &out.Default *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.DefaultRequest != nil { in, out := &in.DefaultRequest, &out.DefaultRequest *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.MaxLimitRequestRatio != nil { in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return nil } } func DeepCopy_v1_LimitRangeList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LimitRangeList) out := out.(*LimitRangeList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]LimitRange, len(*in)) for i := range *in { if err := DeepCopy_v1_LimitRange(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_LimitRangeSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LimitRangeSpec) out := out.(*LimitRangeSpec) *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make([]LimitRangeItem, len(*in)) for i := range *in { if err := DeepCopy_v1_LimitRangeItem(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_List(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*List) out := out.(*List) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]runtime.RawExtension, len(*in)) for i := range *in { if newVal, err := c.DeepCopy(&(*in)[i]); err != nil { return err } else { (*out)[i] = *newVal.(*runtime.RawExtension) } } } return nil } } func DeepCopy_v1_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ListOptions) out := out.(*ListOptions) *out = *in if in.TimeoutSeconds != nil { in, out := &in.TimeoutSeconds, &out.TimeoutSeconds *out = new(int64) **out = **in } return nil } } func DeepCopy_v1_LoadBalancerIngress(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LoadBalancerIngress) out := out.(*LoadBalancerIngress) *out = *in return nil } } func DeepCopy_v1_LoadBalancerStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LoadBalancerStatus) out := out.(*LoadBalancerStatus) *out = *in if in.Ingress != nil { in, out := &in.Ingress, &out.Ingress *out = make([]LoadBalancerIngress, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_LocalObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*LocalObjectReference) out := out.(*LocalObjectReference) *out = *in return nil } } func DeepCopy_v1_NFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NFSVolumeSource) out := out.(*NFSVolumeSource) *out = *in return nil } } func DeepCopy_v1_Namespace(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Namespace) out := out.(*Namespace) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } } func DeepCopy_v1_NamespaceList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NamespaceList) out := out.(*NamespaceList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Namespace, len(*in)) for i := range *in { if err := DeepCopy_v1_Namespace(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_NamespaceSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NamespaceSpec) out := out.(*NamespaceSpec) *out = *in if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]FinalizerName, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_NamespaceStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NamespaceStatus) out := out.(*NamespaceStatus) *out = *in return nil } } func DeepCopy_v1_Node(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Node) out := out.(*Node) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_NodeStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_NodeAddress(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeAddress) out := out.(*NodeAddress) *out = *in return nil } } func DeepCopy_v1_NodeAffinity(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeAffinity) out := out.(*NodeAffinity) *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = new(NodeSelector) if err := DeepCopy_v1_NodeSelector(*in, *out, c); err != nil { return err } } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution *out = make([]PreferredSchedulingTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_PreferredSchedulingTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_NodeCondition(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeCondition) out := out.(*NodeCondition) *out = *in out.LastHeartbeatTime = in.LastHeartbeatTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() return nil } } func DeepCopy_v1_NodeDaemonEndpoints(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeDaemonEndpoints) out := out.(*NodeDaemonEndpoints) *out = *in return nil } } func DeepCopy_v1_NodeList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeList) out := out.(*NodeList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Node, len(*in)) for i := range *in { if err := DeepCopy_v1_Node(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_NodeProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeProxyOptions) out := out.(*NodeProxyOptions) *out = *in return nil } } func DeepCopy_v1_NodeResources(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeResources) out := out.(*NodeResources) *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return nil } } func DeepCopy_v1_NodeSelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeSelector) out := out.(*NodeSelector) *out = *in if in.NodeSelectorTerms != nil { in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms *out = make([]NodeSelectorTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_NodeSelectorTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_NodeSelectorRequirement(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeSelectorRequirement) out := out.(*NodeSelectorRequirement) *out = *in if in.Values != nil { in, out := &in.Values, &out.Values *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_NodeSelectorTerm(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeSelectorTerm) out := out.(*NodeSelectorTerm) *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions *out = make([]NodeSelectorRequirement, len(*in)) for i := range *in { if err := DeepCopy_v1_NodeSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeSpec) out := out.(*NodeSpec) *out = *in return nil } } func DeepCopy_v1_NodeStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeStatus) out := out.(*NodeStatus) *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Allocatable != nil { in, out := &in.Allocatable, &out.Allocatable *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]NodeCondition, len(*in)) for i := range *in { if err := DeepCopy_v1_NodeCondition(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.Addresses != nil { in, out := &in.Addresses, &out.Addresses *out = make([]NodeAddress, len(*in)) copy(*out, *in) } if in.Images != nil { in, out := &in.Images, &out.Images *out = make([]ContainerImage, len(*in)) for i := range *in { if err := DeepCopy_v1_ContainerImage(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.VolumesInUse != nil { in, out := &in.VolumesInUse, &out.VolumesInUse *out = make([]UniqueVolumeName, len(*in)) copy(*out, *in) } if in.VolumesAttached != nil { in, out := &in.VolumesAttached, &out.VolumesAttached *out = make([]AttachedVolume, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_NodeSystemInfo(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NodeSystemInfo) out := out.(*NodeSystemInfo) *out = *in return nil } } func DeepCopy_v1_ObjectFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ObjectFieldSelector) out := out.(*ObjectFieldSelector) *out = *in return nil } } func DeepCopy_v1_ObjectMeta(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ObjectMeta) out := out.(*ObjectMeta) *out = *in out.CreationTimestamp = in.CreationTimestamp.DeepCopy() if in.DeletionTimestamp != nil { in, out := &in.DeletionTimestamp, &out.DeletionTimestamp *out = new(meta_v1.Time) **out = (*in).DeepCopy() } if in.DeletionGracePeriodSeconds != nil { in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds *out = new(int64) **out = **in } if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } if in.OwnerReferences != nil { in, out := &in.OwnerReferences, &out.OwnerReferences *out = make([]meta_v1.OwnerReference, len(*in)) for i := range *in { if newVal, err := c.DeepCopy(&(*in)[i]); err != nil { return err } else { (*out)[i] = *newVal.(*meta_v1.OwnerReference) } } } if in.Finalizers != nil { in, out := &in.Finalizers, &out.Finalizers *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ObjectReference) out := out.(*ObjectReference) *out = *in return nil } } func DeepCopy_v1_PersistentVolume(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolume) out := out.(*PersistentVolume) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } } func DeepCopy_v1_PersistentVolumeClaim(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeClaim) out := out.(*PersistentVolumeClaim) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PersistentVolumeClaimSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_PersistentVolumeClaimStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_PersistentVolumeClaimList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeClaimList) out := out.(*PersistentVolumeClaimList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolumeClaim, len(*in)) for i := range *in { if err := DeepCopy_v1_PersistentVolumeClaim(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PersistentVolumeClaimSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeClaimSpec) out := out.(*PersistentVolumeClaimSpec) *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) copy(*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 err := DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { return err } return nil } } func DeepCopy_v1_PersistentVolumeClaimStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeClaimStatus) out := out.(*PersistentVolumeClaimStatus) *out = *in if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) copy(*out, *in) } if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return nil } } func DeepCopy_v1_PersistentVolumeClaimVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeClaimVolumeSource) out := out.(*PersistentVolumeClaimVolumeSource) *out = *in return nil } } func DeepCopy_v1_PersistentVolumeList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeList) out := out.(*PersistentVolumeList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PersistentVolume, len(*in)) for i := range *in { if err := DeepCopy_v1_PersistentVolume(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PersistentVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeSource) out := out.(*PersistentVolumeSource) *out = *in if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in } if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in } if in.RBD != nil { in, out := &in.RBD, &out.RBD *out = new(RBDVolumeSource) if err := DeepCopy_v1_RBDVolumeSource(*in, *out, c); err != nil { return err } } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS *out = new(CephFSVolumeSource) if err := DeepCopy_v1_CephFSVolumeSource(*in, *out, c); err != nil { return err } } if in.FC != nil { in, out := &in.FC, &out.FC *out = new(FCVolumeSource) if err := DeepCopy_v1_FCVolumeSource(*in, *out, c); err != nil { return err } } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume *out = new(FlexVolumeSource) if err := DeepCopy_v1_FlexVolumeSource(*in, *out, c); err != nil { return err } } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk *out = new(AzureDiskVolumeSource) if err := DeepCopy_v1_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in } return nil } } func DeepCopy_v1_PersistentVolumeSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeSpec) out := out.(*PersistentVolumeSpec) *out = *in if in.Capacity != nil { in, out := &in.Capacity, &out.Capacity *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if err := DeepCopy_v1_PersistentVolumeSource(&in.PersistentVolumeSource, &out.PersistentVolumeSource, c); err != nil { return err } if in.AccessModes != nil { in, out := &in.AccessModes, &out.AccessModes *out = make([]PersistentVolumeAccessMode, len(*in)) copy(*out, *in) } if in.ClaimRef != nil { in, out := &in.ClaimRef, &out.ClaimRef *out = new(ObjectReference) **out = **in } return nil } } func DeepCopy_v1_PersistentVolumeStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PersistentVolumeStatus) out := out.(*PersistentVolumeStatus) *out = *in return nil } } func DeepCopy_v1_PhotonPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PhotonPersistentDiskVolumeSource) out := out.(*PhotonPersistentDiskVolumeSource) *out = *in return nil } } func DeepCopy_v1_Pod(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Pod) out := out.(*Pod) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PodSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_PodStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_PodAffinity(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodAffinity) out := out.(*PodAffinity) *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution *out = make([]WeightedPodAffinityTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodAffinityTerm) out := out.(*PodAffinityTerm) *out = *in if in.LabelSelector != nil { in, out := &in.LabelSelector, &out.LabelSelector if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*meta_v1.LabelSelector) } } if in.Namespaces != nil { in, out := &in.Namespaces, &out.Namespaces *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_PodAntiAffinity(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodAntiAffinity) out := out.(*PodAntiAffinity) *out = *in if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution *out = make([]PodAffinityTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_PodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution *out = make([]WeightedPodAffinityTerm, len(*in)) for i := range *in { if err := DeepCopy_v1_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PodAttachOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodAttachOptions) out := out.(*PodAttachOptions) *out = *in return nil } } func DeepCopy_v1_PodCondition(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodCondition) out := out.(*PodCondition) *out = *in out.LastProbeTime = in.LastProbeTime.DeepCopy() out.LastTransitionTime = in.LastTransitionTime.DeepCopy() return nil } } func DeepCopy_v1_PodExecOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodExecOptions) out := out.(*PodExecOptions) *out = *in if in.Command != nil { in, out := &in.Command, &out.Command *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_PodList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodList) out := out.(*PodList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Pod, len(*in)) for i := range *in { if err := DeepCopy_v1_Pod(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PodLogOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodLogOptions) out := out.(*PodLogOptions) *out = *in if in.SinceSeconds != nil { in, out := &in.SinceSeconds, &out.SinceSeconds *out = new(int64) **out = **in } if in.SinceTime != nil { in, out := &in.SinceTime, &out.SinceTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() } if in.TailLines != nil { in, out := &in.TailLines, &out.TailLines *out = new(int64) **out = **in } if in.LimitBytes != nil { in, out := &in.LimitBytes, &out.LimitBytes *out = new(int64) **out = **in } return nil } } func DeepCopy_v1_PodPortForwardOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodPortForwardOptions) out := out.(*PodPortForwardOptions) *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]int32, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_PodProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodProxyOptions) out := out.(*PodProxyOptions) *out = *in return nil } } func DeepCopy_v1_PodSecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodSecurityContext) out := out.(*PodSecurityContext) *out = *in if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in } if in.SupplementalGroups != nil { in, out := &in.SupplementalGroups, &out.SupplementalGroups *out = make([]int64, len(*in)) copy(*out, *in) } if in.FSGroup != nil { in, out := &in.FSGroup, &out.FSGroup *out = new(int64) **out = **in } return nil } } func DeepCopy_v1_PodSignature(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodSignature) out := out.(*PodSignature) *out = *in if in.PodController != nil { in, out := &in.PodController, &out.PodController if newVal, err := c.DeepCopy(*in); err != nil { return err } else { *out = newVal.(*meta_v1.OwnerReference) } } return nil } } func DeepCopy_v1_PodSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodSpec) out := out.(*PodSpec) *out = *in if in.Volumes != nil { in, out := &in.Volumes, &out.Volumes *out = make([]Volume, len(*in)) for i := range *in { if err := DeepCopy_v1_Volume(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.InitContainers != nil { in, out := &in.InitContainers, &out.InitContainers *out = make([]Container, len(*in)) for i := range *in { if err := DeepCopy_v1_Container(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.Containers != nil { in, out := &in.Containers, &out.Containers *out = make([]Container, len(*in)) for i := range *in { if err := DeepCopy_v1_Container(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.TerminationGracePeriodSeconds != nil { in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds *out = new(int64) **out = **in } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) **out = **in } if in.NodeSelector != nil { in, out := &in.NodeSelector, &out.NodeSelector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } if in.SecurityContext != nil { in, out := &in.SecurityContext, &out.SecurityContext *out = new(PodSecurityContext) if err := DeepCopy_v1_PodSecurityContext(*in, *out, c); err != nil { return err } } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets *out = make([]LocalObjectReference, len(*in)) copy(*out, *in) } if in.Affinity != nil { in, out := &in.Affinity, &out.Affinity *out = new(Affinity) if err := DeepCopy_v1_Affinity(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_PodStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodStatus) out := out.(*PodStatus) *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]PodCondition, len(*in)) for i := range *in { if err := DeepCopy_v1_PodCondition(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.StartTime != nil { in, out := &in.StartTime, &out.StartTime *out = new(meta_v1.Time) **out = (*in).DeepCopy() } if in.InitContainerStatuses != nil { in, out := &in.InitContainerStatuses, &out.InitContainerStatuses *out = make([]ContainerStatus, len(*in)) for i := range *in { if err := DeepCopy_v1_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.ContainerStatuses != nil { in, out := &in.ContainerStatuses, &out.ContainerStatuses *out = make([]ContainerStatus, len(*in)) for i := range *in { if err := DeepCopy_v1_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PodStatusResult(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodStatusResult) out := out.(*PodStatusResult) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PodStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_PodTemplate(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodTemplate) out := out.(*PodTemplate) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PodTemplateSpec(&in.Template, &out.Template, c); err != nil { return err } return nil } } func DeepCopy_v1_PodTemplateList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodTemplateList) out := out.(*PodTemplateList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodTemplate, len(*in)) for i := range *in { if err := DeepCopy_v1_PodTemplate(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_PodTemplateSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PodTemplateSpec) out := out.(*PodTemplateSpec) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_PodSpec(&in.Spec, &out.Spec, c); err != nil { return err } return nil } } func DeepCopy_v1_Preconditions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Preconditions) out := out.(*Preconditions) *out = *in if in.UID != nil { in, out := &in.UID, &out.UID *out = new(types.UID) **out = **in } return nil } } func DeepCopy_v1_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PreferAvoidPodsEntry) out := out.(*PreferAvoidPodsEntry) *out = *in if err := DeepCopy_v1_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil { return err } out.EvictionTime = in.EvictionTime.DeepCopy() return nil } } func DeepCopy_v1_PreferredSchedulingTerm(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*PreferredSchedulingTerm) out := out.(*PreferredSchedulingTerm) *out = *in if err := DeepCopy_v1_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil { return err } return nil } } func DeepCopy_v1_Probe(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Probe) out := out.(*Probe) *out = *in if err := DeepCopy_v1_Handler(&in.Handler, &out.Handler, c); err != nil { return err } return nil } } func DeepCopy_v1_QuobyteVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*QuobyteVolumeSource) out := out.(*QuobyteVolumeSource) *out = *in return nil } } func DeepCopy_v1_RBDVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*RBDVolumeSource) out := out.(*RBDVolumeSource) *out = *in if in.CephMonitors != nil { in, out := &in.CephMonitors, &out.CephMonitors *out = make([]string, len(*in)) copy(*out, *in) } if in.SecretRef != nil { in, out := &in.SecretRef, &out.SecretRef *out = new(LocalObjectReference) **out = **in } return nil } } func DeepCopy_v1_RangeAllocation(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*RangeAllocation) out := out.(*RangeAllocation) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Data != nil { in, out := &in.Data, &out.Data *out = make([]byte, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ReplicationController(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicationController) out := out.(*ReplicationController) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_ReplicationControllerStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_ReplicationControllerCondition(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicationControllerCondition) out := out.(*ReplicationControllerCondition) *out = *in out.LastTransitionTime = in.LastTransitionTime.DeepCopy() return nil } } func DeepCopy_v1_ReplicationControllerList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicationControllerList) out := out.(*ReplicationControllerList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ReplicationController, len(*in)) for i := range *in { if err := DeepCopy_v1_ReplicationController(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ReplicationControllerSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicationControllerSpec) out := out.(*ReplicationControllerSpec) *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 *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } if in.Template != nil { in, out := &in.Template, &out.Template *out = new(PodTemplateSpec) if err := DeepCopy_v1_PodTemplateSpec(*in, *out, c); err != nil { return err } } return nil } } func DeepCopy_v1_ReplicationControllerStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ReplicationControllerStatus) out := out.(*ReplicationControllerStatus) *out = *in if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]ReplicationControllerCondition, len(*in)) for i := range *in { if err := DeepCopy_v1_ReplicationControllerCondition(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ResourceFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceFieldSelector) out := out.(*ResourceFieldSelector) *out = *in out.Divisor = in.Divisor.DeepCopy() return nil } } func DeepCopy_v1_ResourceQuota(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceQuota) out := out.(*ResourceQuota) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_ResourceQuotaSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_ResourceQuotaStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_ResourceQuotaList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceQuotaList) out := out.(*ResourceQuotaList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ResourceQuota, len(*in)) for i := range *in { if err := DeepCopy_v1_ResourceQuota(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ResourceQuotaSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceQuotaSpec) out := out.(*ResourceQuotaSpec) *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Scopes != nil { in, out := &in.Scopes, &out.Scopes *out = make([]ResourceQuotaScope, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ResourceQuotaStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceQuotaStatus) out := out.(*ResourceQuotaStatus) *out = *in if in.Hard != nil { in, out := &in.Hard, &out.Hard *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Used != nil { in, out := &in.Used, &out.Used *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return nil } } func DeepCopy_v1_ResourceRequirements(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ResourceRequirements) out := out.(*ResourceRequirements) *out = *in if in.Limits != nil { in, out := &in.Limits, &out.Limits *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } if in.Requests != nil { in, out := &in.Requests, &out.Requests *out = make(ResourceList) for key, val := range *in { (*out)[key] = val.DeepCopy() } } return nil } } func DeepCopy_v1_SELinuxOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SELinuxOptions) out := out.(*SELinuxOptions) *out = *in return nil } } func DeepCopy_v1_Secret(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Secret) out := out.(*Secret) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Data != nil { in, out := &in.Data, &out.Data *out = make(map[string][]byte) for key, val := range *in { if newVal, err := c.DeepCopy(&val); err != nil { return err } else { (*out)[key] = *newVal.(*[]byte) } } } if in.StringData != nil { in, out := &in.StringData, &out.StringData *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } return nil } } func DeepCopy_v1_SecretEnvSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SecretEnvSource) out := out.(*SecretEnvSource) *out = *in if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_SecretKeySelector(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SecretKeySelector) out := out.(*SecretKeySelector) *out = *in if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_SecretList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SecretList) out := out.(*SecretList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Secret, len(*in)) for i := range *in { if err := DeepCopy_v1_Secret(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_SecretVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SecretVolumeSource) out := out.(*SecretVolumeSource) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KeyToPath, len(*in)) for i := range *in { if err := DeepCopy_v1_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil { return err } } } if in.DefaultMode != nil { in, out := &in.DefaultMode, &out.DefaultMode *out = new(int32) **out = **in } if in.Optional != nil { in, out := &in.Optional, &out.Optional *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_SecurityContext(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SecurityContext) out := out.(*SecurityContext) *out = *in if in.Capabilities != nil { in, out := &in.Capabilities, &out.Capabilities *out = new(Capabilities) if err := DeepCopy_v1_Capabilities(*in, *out, c); err != nil { return err } } if in.Privileged != nil { in, out := &in.Privileged, &out.Privileged *out = new(bool) **out = **in } if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) **out = **in } if in.RunAsUser != nil { in, out := &in.RunAsUser, &out.RunAsUser *out = new(int64) **out = **in } if in.RunAsNonRoot != nil { in, out := &in.RunAsNonRoot, &out.RunAsNonRoot *out = new(bool) **out = **in } if in.ReadOnlyRootFilesystem != nil { in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem *out = new(bool) **out = **in } return nil } } func DeepCopy_v1_SerializedReference(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*SerializedReference) out := out.(*SerializedReference) *out = *in return nil } } func DeepCopy_v1_Service(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Service) out := out.(*Service) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if err := DeepCopy_v1_ServiceSpec(&in.Spec, &out.Spec, c); err != nil { return err } if err := DeepCopy_v1_ServiceStatus(&in.Status, &out.Status, c); err != nil { return err } return nil } } func DeepCopy_v1_ServiceAccount(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceAccount) out := out.(*ServiceAccount) *out = *in if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil { return err } else { out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta) } if in.Secrets != nil { in, out := &in.Secrets, &out.Secrets *out = make([]ObjectReference, len(*in)) copy(*out, *in) } if in.ImagePullSecrets != nil { in, out := &in.ImagePullSecrets, &out.ImagePullSecrets *out = make([]LocalObjectReference, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ServiceAccountList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceAccountList) out := out.(*ServiceAccountList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ServiceAccount, len(*in)) for i := range *in { if err := DeepCopy_v1_ServiceAccount(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ServiceList(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceList) out := out.(*ServiceList) *out = *in if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]Service, len(*in)) for i := range *in { if err := DeepCopy_v1_Service(&(*in)[i], &(*out)[i], c); err != nil { return err } } } return nil } } func DeepCopy_v1_ServicePort(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServicePort) out := out.(*ServicePort) *out = *in return nil } } func DeepCopy_v1_ServiceProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceProxyOptions) out := out.(*ServiceProxyOptions) *out = *in return nil } } func DeepCopy_v1_ServiceSpec(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceSpec) out := out.(*ServiceSpec) *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports *out = make([]ServicePort, len(*in)) copy(*out, *in) } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) for key, val := range *in { (*out)[key] = val } } if in.ExternalIPs != nil { in, out := &in.ExternalIPs, &out.ExternalIPs *out = make([]string, len(*in)) copy(*out, *in) } if in.DeprecatedPublicIPs != nil { in, out := &in.DeprecatedPublicIPs, &out.DeprecatedPublicIPs *out = make([]string, len(*in)) copy(*out, *in) } if in.LoadBalancerSourceRanges != nil { in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges *out = make([]string, len(*in)) copy(*out, *in) } return nil } } func DeepCopy_v1_ServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*ServiceStatus) out := out.(*ServiceStatus) *out = *in if err := DeepCopy_v1_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil { return err } return nil } } func DeepCopy_v1_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Sysctl) out := out.(*Sysctl) *out = *in return nil } } func DeepCopy_v1_TCPSocketAction(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*TCPSocketAction) out := out.(*TCPSocketAction) *out = *in return nil } } func DeepCopy_v1_Taint(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Taint) out := out.(*Taint) *out = *in return nil } } func DeepCopy_v1_Toleration(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Toleration) out := out.(*Toleration) *out = *in return nil } } func DeepCopy_v1_Volume(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*Volume) out := out.(*Volume) *out = *in if err := DeepCopy_v1_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil { return err } return nil } } func DeepCopy_v1_VolumeMount(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*VolumeMount) out := out.(*VolumeMount) *out = *in return nil } } func DeepCopy_v1_VolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*VolumeSource) out := out.(*VolumeSource) *out = *in if in.HostPath != nil { in, out := &in.HostPath, &out.HostPath *out = new(HostPathVolumeSource) **out = **in } if in.EmptyDir != nil { in, out := &in.EmptyDir, &out.EmptyDir *out = new(EmptyDirVolumeSource) **out = **in } if in.GCEPersistentDisk != nil { in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk *out = new(GCEPersistentDiskVolumeSource) **out = **in } if in.AWSElasticBlockStore != nil { in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore *out = new(AWSElasticBlockStoreVolumeSource) **out = **in } if in.GitRepo != nil { in, out := &in.GitRepo, &out.GitRepo *out = new(GitRepoVolumeSource) **out = **in } if in.Secret != nil { in, out := &in.Secret, &out.Secret *out = new(SecretVolumeSource) if err := DeepCopy_v1_SecretVolumeSource(*in, *out, c); err != nil { return err } } if in.NFS != nil { in, out := &in.NFS, &out.NFS *out = new(NFSVolumeSource) **out = **in } if in.ISCSI != nil { in, out := &in.ISCSI, &out.ISCSI *out = new(ISCSIVolumeSource) **out = **in } if in.Glusterfs != nil { in, out := &in.Glusterfs, &out.Glusterfs *out = new(GlusterfsVolumeSource) **out = **in } if in.PersistentVolumeClaim != nil { in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim *out = new(PersistentVolumeClaimVolumeSource) **out = **in } if in.RBD != nil { in, out := &in.RBD, &out.RBD *out = new(RBDVolumeSource) if err := DeepCopy_v1_RBDVolumeSource(*in, *out, c); err != nil { return err } } if in.FlexVolume != nil { in, out := &in.FlexVolume, &out.FlexVolume *out = new(FlexVolumeSource) if err := DeepCopy_v1_FlexVolumeSource(*in, *out, c); err != nil { return err } } if in.Cinder != nil { in, out := &in.Cinder, &out.Cinder *out = new(CinderVolumeSource) **out = **in } if in.CephFS != nil { in, out := &in.CephFS, &out.CephFS *out = new(CephFSVolumeSource) if err := DeepCopy_v1_CephFSVolumeSource(*in, *out, c); err != nil { return err } } if in.Flocker != nil { in, out := &in.Flocker, &out.Flocker *out = new(FlockerVolumeSource) **out = **in } if in.DownwardAPI != nil { in, out := &in.DownwardAPI, &out.DownwardAPI *out = new(DownwardAPIVolumeSource) if err := DeepCopy_v1_DownwardAPIVolumeSource(*in, *out, c); err != nil { return err } } if in.FC != nil { in, out := &in.FC, &out.FC *out = new(FCVolumeSource) if err := DeepCopy_v1_FCVolumeSource(*in, *out, c); err != nil { return err } } if in.AzureFile != nil { in, out := &in.AzureFile, &out.AzureFile *out = new(AzureFileVolumeSource) **out = **in } if in.ConfigMap != nil { in, out := &in.ConfigMap, &out.ConfigMap *out = new(ConfigMapVolumeSource) if err := DeepCopy_v1_ConfigMapVolumeSource(*in, *out, c); err != nil { return err } } if in.VsphereVolume != nil { in, out := &in.VsphereVolume, &out.VsphereVolume *out = new(VsphereVirtualDiskVolumeSource) **out = **in } if in.Quobyte != nil { in, out := &in.Quobyte, &out.Quobyte *out = new(QuobyteVolumeSource) **out = **in } if in.AzureDisk != nil { in, out := &in.AzureDisk, &out.AzureDisk *out = new(AzureDiskVolumeSource) if err := DeepCopy_v1_AzureDiskVolumeSource(*in, *out, c); err != nil { return err } } if in.PhotonPersistentDisk != nil { in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk *out = new(PhotonPersistentDiskVolumeSource) **out = **in } return nil } } func DeepCopy_v1_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*VsphereVirtualDiskVolumeSource) out := out.(*VsphereVirtualDiskVolumeSource) *out = *in return nil } } func DeepCopy_v1_WeightedPodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*WeightedPodAffinityTerm) out := out.(*WeightedPodAffinityTerm) *out = *in if err := DeepCopy_v1_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil { return err } return nil } }