mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			1118 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			1118 lines
		
	
	
		
			31 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
/*
 | 
						|
Copyright 2015 The Kubernetes Authors All rights reserved.
 | 
						|
 | 
						|
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.
 | 
						|
*/
 | 
						|
 | 
						|
// DO NOT EDIT. THIS FILE IS AUTO-GENERATED BY $KUBEROOT/hack/update-generated-deep-copies.sh.
 | 
						|
 | 
						|
package expapi
 | 
						|
 | 
						|
import (
 | 
						|
	time "time"
 | 
						|
 | 
						|
	api "k8s.io/kubernetes/pkg/api"
 | 
						|
	resource "k8s.io/kubernetes/pkg/api/resource"
 | 
						|
	conversion "k8s.io/kubernetes/pkg/conversion"
 | 
						|
	util "k8s.io/kubernetes/pkg/util"
 | 
						|
	inf "speter.net/go/exp/math/dec/inf"
 | 
						|
)
 | 
						|
 | 
						|
func deepCopy_api_AWSElasticBlockStoreVolumeSource(in api.AWSElasticBlockStoreVolumeSource, out *api.AWSElasticBlockStoreVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.VolumeID = in.VolumeID
 | 
						|
	out.FSType = in.FSType
 | 
						|
	out.Partition = in.Partition
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Capabilities(in api.Capabilities, out *api.Capabilities, c *conversion.Cloner) error {
 | 
						|
	if in.Add != nil {
 | 
						|
		out.Add = make([]api.Capability, len(in.Add))
 | 
						|
		for i := range in.Add {
 | 
						|
			out.Add[i] = in.Add[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Add = nil
 | 
						|
	}
 | 
						|
	if in.Drop != nil {
 | 
						|
		out.Drop = make([]api.Capability, len(in.Drop))
 | 
						|
		for i := range in.Drop {
 | 
						|
			out.Drop[i] = in.Drop[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Drop = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Container(in api.Container, out *api.Container, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.Image = in.Image
 | 
						|
	if in.Command != nil {
 | 
						|
		out.Command = make([]string, len(in.Command))
 | 
						|
		for i := range in.Command {
 | 
						|
			out.Command[i] = in.Command[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Command = nil
 | 
						|
	}
 | 
						|
	if in.Args != nil {
 | 
						|
		out.Args = make([]string, len(in.Args))
 | 
						|
		for i := range in.Args {
 | 
						|
			out.Args[i] = in.Args[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Args = nil
 | 
						|
	}
 | 
						|
	out.WorkingDir = in.WorkingDir
 | 
						|
	if in.Ports != nil {
 | 
						|
		out.Ports = make([]api.ContainerPort, len(in.Ports))
 | 
						|
		for i := range in.Ports {
 | 
						|
			if err := deepCopy_api_ContainerPort(in.Ports[i], &out.Ports[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Ports = nil
 | 
						|
	}
 | 
						|
	if in.Env != nil {
 | 
						|
		out.Env = make([]api.EnvVar, len(in.Env))
 | 
						|
		for i := range in.Env {
 | 
						|
			if err := deepCopy_api_EnvVar(in.Env[i], &out.Env[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Env = nil
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ResourceRequirements(in.Resources, &out.Resources, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.VolumeMounts != nil {
 | 
						|
		out.VolumeMounts = make([]api.VolumeMount, len(in.VolumeMounts))
 | 
						|
		for i := range in.VolumeMounts {
 | 
						|
			if err := deepCopy_api_VolumeMount(in.VolumeMounts[i], &out.VolumeMounts[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.VolumeMounts = nil
 | 
						|
	}
 | 
						|
	if in.LivenessProbe != nil {
 | 
						|
		out.LivenessProbe = new(api.Probe)
 | 
						|
		if err := deepCopy_api_Probe(*in.LivenessProbe, out.LivenessProbe, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.LivenessProbe = nil
 | 
						|
	}
 | 
						|
	if in.ReadinessProbe != nil {
 | 
						|
		out.ReadinessProbe = new(api.Probe)
 | 
						|
		if err := deepCopy_api_Probe(*in.ReadinessProbe, out.ReadinessProbe, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.ReadinessProbe = nil
 | 
						|
	}
 | 
						|
	if in.Lifecycle != nil {
 | 
						|
		out.Lifecycle = new(api.Lifecycle)
 | 
						|
		if err := deepCopy_api_Lifecycle(*in.Lifecycle, out.Lifecycle, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Lifecycle = nil
 | 
						|
	}
 | 
						|
	out.TerminationMessagePath = in.TerminationMessagePath
 | 
						|
	out.ImagePullPolicy = in.ImagePullPolicy
 | 
						|
	if in.SecurityContext != nil {
 | 
						|
		out.SecurityContext = new(api.SecurityContext)
 | 
						|
		if err := deepCopy_api_SecurityContext(*in.SecurityContext, out.SecurityContext, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.SecurityContext = nil
 | 
						|
	}
 | 
						|
	out.Stdin = in.Stdin
 | 
						|
	out.TTY = in.TTY
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ContainerPort(in api.ContainerPort, out *api.ContainerPort, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.HostPort = in.HostPort
 | 
						|
	out.ContainerPort = in.ContainerPort
 | 
						|
	out.Protocol = in.Protocol
 | 
						|
	out.HostIP = in.HostIP
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_EmptyDirVolumeSource(in api.EmptyDirVolumeSource, out *api.EmptyDirVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.Medium = in.Medium
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_EnvVar(in api.EnvVar, out *api.EnvVar, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.Value = in.Value
 | 
						|
	if in.ValueFrom != nil {
 | 
						|
		out.ValueFrom = new(api.EnvVarSource)
 | 
						|
		if err := deepCopy_api_EnvVarSource(*in.ValueFrom, out.ValueFrom, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.ValueFrom = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_EnvVarSource(in api.EnvVarSource, out *api.EnvVarSource, c *conversion.Cloner) error {
 | 
						|
	if in.FieldRef != nil {
 | 
						|
		out.FieldRef = new(api.ObjectFieldSelector)
 | 
						|
		if err := deepCopy_api_ObjectFieldSelector(*in.FieldRef, out.FieldRef, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.FieldRef = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ExecAction(in api.ExecAction, out *api.ExecAction, c *conversion.Cloner) error {
 | 
						|
	if in.Command != nil {
 | 
						|
		out.Command = make([]string, len(in.Command))
 | 
						|
		for i := range in.Command {
 | 
						|
			out.Command[i] = in.Command[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Command = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_GCEPersistentDiskVolumeSource(in api.GCEPersistentDiskVolumeSource, out *api.GCEPersistentDiskVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.PDName = in.PDName
 | 
						|
	out.FSType = in.FSType
 | 
						|
	out.Partition = in.Partition
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_GitRepoVolumeSource(in api.GitRepoVolumeSource, out *api.GitRepoVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.Repository = in.Repository
 | 
						|
	out.Revision = in.Revision
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_GlusterfsVolumeSource(in api.GlusterfsVolumeSource, out *api.GlusterfsVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.EndpointsName = in.EndpointsName
 | 
						|
	out.Path = in.Path
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_HTTPGetAction(in api.HTTPGetAction, out *api.HTTPGetAction, c *conversion.Cloner) error {
 | 
						|
	out.Path = in.Path
 | 
						|
	if err := deepCopy_util_IntOrString(in.Port, &out.Port, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	out.Host = in.Host
 | 
						|
	out.Scheme = in.Scheme
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Handler(in api.Handler, out *api.Handler, c *conversion.Cloner) error {
 | 
						|
	if in.Exec != nil {
 | 
						|
		out.Exec = new(api.ExecAction)
 | 
						|
		if err := deepCopy_api_ExecAction(*in.Exec, out.Exec, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Exec = nil
 | 
						|
	}
 | 
						|
	if in.HTTPGet != nil {
 | 
						|
		out.HTTPGet = new(api.HTTPGetAction)
 | 
						|
		if err := deepCopy_api_HTTPGetAction(*in.HTTPGet, out.HTTPGet, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.HTTPGet = nil
 | 
						|
	}
 | 
						|
	if in.TCPSocket != nil {
 | 
						|
		out.TCPSocket = new(api.TCPSocketAction)
 | 
						|
		if err := deepCopy_api_TCPSocketAction(*in.TCPSocket, out.TCPSocket, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.TCPSocket = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_HostPathVolumeSource(in api.HostPathVolumeSource, out *api.HostPathVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.Path = in.Path
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ISCSIVolumeSource(in api.ISCSIVolumeSource, out *api.ISCSIVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.TargetPortal = in.TargetPortal
 | 
						|
	out.IQN = in.IQN
 | 
						|
	out.Lun = in.Lun
 | 
						|
	out.FSType = in.FSType
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Lifecycle(in api.Lifecycle, out *api.Lifecycle, c *conversion.Cloner) error {
 | 
						|
	if in.PostStart != nil {
 | 
						|
		out.PostStart = new(api.Handler)
 | 
						|
		if err := deepCopy_api_Handler(*in.PostStart, out.PostStart, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.PostStart = nil
 | 
						|
	}
 | 
						|
	if in.PreStop != nil {
 | 
						|
		out.PreStop = new(api.Handler)
 | 
						|
		if err := deepCopy_api_Handler(*in.PreStop, out.PreStop, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.PreStop = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ListMeta(in api.ListMeta, out *api.ListMeta, c *conversion.Cloner) error {
 | 
						|
	out.SelfLink = in.SelfLink
 | 
						|
	out.ResourceVersion = in.ResourceVersion
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_LocalObjectReference(in api.LocalObjectReference, out *api.LocalObjectReference, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_NFSVolumeSource(in api.NFSVolumeSource, out *api.NFSVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.Server = in.Server
 | 
						|
	out.Path = in.Path
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ObjectFieldSelector(in api.ObjectFieldSelector, out *api.ObjectFieldSelector, c *conversion.Cloner) error {
 | 
						|
	out.APIVersion = in.APIVersion
 | 
						|
	out.FieldPath = in.FieldPath
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ObjectMeta(in api.ObjectMeta, out *api.ObjectMeta, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.GenerateName = in.GenerateName
 | 
						|
	out.Namespace = in.Namespace
 | 
						|
	out.SelfLink = in.SelfLink
 | 
						|
	out.UID = in.UID
 | 
						|
	out.ResourceVersion = in.ResourceVersion
 | 
						|
	out.Generation = in.Generation
 | 
						|
	if err := deepCopy_util_Time(in.CreationTimestamp, &out.CreationTimestamp, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.DeletionTimestamp != nil {
 | 
						|
		out.DeletionTimestamp = new(util.Time)
 | 
						|
		if err := deepCopy_util_Time(*in.DeletionTimestamp, out.DeletionTimestamp, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.DeletionTimestamp = nil
 | 
						|
	}
 | 
						|
	if in.DeletionGracePeriodSeconds != nil {
 | 
						|
		out.DeletionGracePeriodSeconds = new(int64)
 | 
						|
		*out.DeletionGracePeriodSeconds = *in.DeletionGracePeriodSeconds
 | 
						|
	} else {
 | 
						|
		out.DeletionGracePeriodSeconds = nil
 | 
						|
	}
 | 
						|
	if in.Labels != nil {
 | 
						|
		out.Labels = make(map[string]string)
 | 
						|
		for key, val := range in.Labels {
 | 
						|
			out.Labels[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Labels = nil
 | 
						|
	}
 | 
						|
	if in.Annotations != nil {
 | 
						|
		out.Annotations = make(map[string]string)
 | 
						|
		for key, val := range in.Annotations {
 | 
						|
			out.Annotations[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Annotations = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_PersistentVolumeClaimVolumeSource(in api.PersistentVolumeClaimVolumeSource, out *api.PersistentVolumeClaimVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.ClaimName = in.ClaimName
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_PodSpec(in api.PodSpec, out *api.PodSpec, c *conversion.Cloner) error {
 | 
						|
	if in.Volumes != nil {
 | 
						|
		out.Volumes = make([]api.Volume, len(in.Volumes))
 | 
						|
		for i := range in.Volumes {
 | 
						|
			if err := deepCopy_api_Volume(in.Volumes[i], &out.Volumes[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Volumes = nil
 | 
						|
	}
 | 
						|
	if in.Containers != nil {
 | 
						|
		out.Containers = make([]api.Container, len(in.Containers))
 | 
						|
		for i := range in.Containers {
 | 
						|
			if err := deepCopy_api_Container(in.Containers[i], &out.Containers[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Containers = nil
 | 
						|
	}
 | 
						|
	out.RestartPolicy = in.RestartPolicy
 | 
						|
	if in.TerminationGracePeriodSeconds != nil {
 | 
						|
		out.TerminationGracePeriodSeconds = new(int64)
 | 
						|
		*out.TerminationGracePeriodSeconds = *in.TerminationGracePeriodSeconds
 | 
						|
	} else {
 | 
						|
		out.TerminationGracePeriodSeconds = nil
 | 
						|
	}
 | 
						|
	if in.ActiveDeadlineSeconds != nil {
 | 
						|
		out.ActiveDeadlineSeconds = new(int64)
 | 
						|
		*out.ActiveDeadlineSeconds = *in.ActiveDeadlineSeconds
 | 
						|
	} else {
 | 
						|
		out.ActiveDeadlineSeconds = nil
 | 
						|
	}
 | 
						|
	out.DNSPolicy = in.DNSPolicy
 | 
						|
	if in.NodeSelector != nil {
 | 
						|
		out.NodeSelector = make(map[string]string)
 | 
						|
		for key, val := range in.NodeSelector {
 | 
						|
			out.NodeSelector[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.NodeSelector = nil
 | 
						|
	}
 | 
						|
	out.ServiceAccountName = in.ServiceAccountName
 | 
						|
	out.NodeName = in.NodeName
 | 
						|
	out.HostNetwork = in.HostNetwork
 | 
						|
	if in.ImagePullSecrets != nil {
 | 
						|
		out.ImagePullSecrets = make([]api.LocalObjectReference, len(in.ImagePullSecrets))
 | 
						|
		for i := range in.ImagePullSecrets {
 | 
						|
			if err := deepCopy_api_LocalObjectReference(in.ImagePullSecrets[i], &out.ImagePullSecrets[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.ImagePullSecrets = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_PodTemplateSpec(in api.PodTemplateSpec, out *api.PodTemplateSpec, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_PodSpec(in.Spec, &out.Spec, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Probe(in api.Probe, out *api.Probe, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_Handler(in.Handler, &out.Handler, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	out.InitialDelaySeconds = in.InitialDelaySeconds
 | 
						|
	out.TimeoutSeconds = in.TimeoutSeconds
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_RBDVolumeSource(in api.RBDVolumeSource, out *api.RBDVolumeSource, c *conversion.Cloner) error {
 | 
						|
	if in.CephMonitors != nil {
 | 
						|
		out.CephMonitors = make([]string, len(in.CephMonitors))
 | 
						|
		for i := range in.CephMonitors {
 | 
						|
			out.CephMonitors[i] = in.CephMonitors[i]
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.CephMonitors = nil
 | 
						|
	}
 | 
						|
	out.RBDImage = in.RBDImage
 | 
						|
	out.FSType = in.FSType
 | 
						|
	out.RBDPool = in.RBDPool
 | 
						|
	out.RadosUser = in.RadosUser
 | 
						|
	out.Keyring = in.Keyring
 | 
						|
	if in.SecretRef != nil {
 | 
						|
		out.SecretRef = new(api.LocalObjectReference)
 | 
						|
		if err := deepCopy_api_LocalObjectReference(*in.SecretRef, out.SecretRef, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.SecretRef = nil
 | 
						|
	}
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_ResourceRequirements(in api.ResourceRequirements, out *api.ResourceRequirements, c *conversion.Cloner) error {
 | 
						|
	if in.Limits != nil {
 | 
						|
		out.Limits = make(api.ResourceList)
 | 
						|
		for key, val := range in.Limits {
 | 
						|
			newVal := new(resource.Quantity)
 | 
						|
			if err := deepCopy_resource_Quantity(val, newVal, c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			out.Limits[key] = *newVal
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Limits = nil
 | 
						|
	}
 | 
						|
	if in.Requests != nil {
 | 
						|
		out.Requests = make(api.ResourceList)
 | 
						|
		for key, val := range in.Requests {
 | 
						|
			newVal := new(resource.Quantity)
 | 
						|
			if err := deepCopy_resource_Quantity(val, newVal, c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
			out.Requests[key] = *newVal
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Requests = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_SELinuxOptions(in api.SELinuxOptions, out *api.SELinuxOptions, c *conversion.Cloner) error {
 | 
						|
	out.User = in.User
 | 
						|
	out.Role = in.Role
 | 
						|
	out.Type = in.Type
 | 
						|
	out.Level = in.Level
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_SecretVolumeSource(in api.SecretVolumeSource, out *api.SecretVolumeSource, c *conversion.Cloner) error {
 | 
						|
	out.SecretName = in.SecretName
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_SecurityContext(in api.SecurityContext, out *api.SecurityContext, c *conversion.Cloner) error {
 | 
						|
	if in.Capabilities != nil {
 | 
						|
		out.Capabilities = new(api.Capabilities)
 | 
						|
		if err := deepCopy_api_Capabilities(*in.Capabilities, out.Capabilities, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Capabilities = nil
 | 
						|
	}
 | 
						|
	if in.Privileged != nil {
 | 
						|
		out.Privileged = new(bool)
 | 
						|
		*out.Privileged = *in.Privileged
 | 
						|
	} else {
 | 
						|
		out.Privileged = nil
 | 
						|
	}
 | 
						|
	if in.SELinuxOptions != nil {
 | 
						|
		out.SELinuxOptions = new(api.SELinuxOptions)
 | 
						|
		if err := deepCopy_api_SELinuxOptions(*in.SELinuxOptions, out.SELinuxOptions, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.SELinuxOptions = nil
 | 
						|
	}
 | 
						|
	if in.RunAsUser != nil {
 | 
						|
		out.RunAsUser = new(int64)
 | 
						|
		*out.RunAsUser = *in.RunAsUser
 | 
						|
	} else {
 | 
						|
		out.RunAsUser = nil
 | 
						|
	}
 | 
						|
	out.RunAsNonRoot = in.RunAsNonRoot
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_TCPSocketAction(in api.TCPSocketAction, out *api.TCPSocketAction, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_util_IntOrString(in.Port, &out.Port, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_TypeMeta(in api.TypeMeta, out *api.TypeMeta, c *conversion.Cloner) error {
 | 
						|
	out.Kind = in.Kind
 | 
						|
	out.APIVersion = in.APIVersion
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_Volume(in api.Volume, out *api.Volume, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	if err := deepCopy_api_VolumeSource(in.VolumeSource, &out.VolumeSource, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_VolumeMount(in api.VolumeMount, out *api.VolumeMount, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.ReadOnly = in.ReadOnly
 | 
						|
	out.MountPath = in.MountPath
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_api_VolumeSource(in api.VolumeSource, out *api.VolumeSource, c *conversion.Cloner) error {
 | 
						|
	if in.HostPath != nil {
 | 
						|
		out.HostPath = new(api.HostPathVolumeSource)
 | 
						|
		if err := deepCopy_api_HostPathVolumeSource(*in.HostPath, out.HostPath, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.HostPath = nil
 | 
						|
	}
 | 
						|
	if in.EmptyDir != nil {
 | 
						|
		out.EmptyDir = new(api.EmptyDirVolumeSource)
 | 
						|
		if err := deepCopy_api_EmptyDirVolumeSource(*in.EmptyDir, out.EmptyDir, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.EmptyDir = nil
 | 
						|
	}
 | 
						|
	if in.GCEPersistentDisk != nil {
 | 
						|
		out.GCEPersistentDisk = new(api.GCEPersistentDiskVolumeSource)
 | 
						|
		if err := deepCopy_api_GCEPersistentDiskVolumeSource(*in.GCEPersistentDisk, out.GCEPersistentDisk, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.GCEPersistentDisk = nil
 | 
						|
	}
 | 
						|
	if in.AWSElasticBlockStore != nil {
 | 
						|
		out.AWSElasticBlockStore = new(api.AWSElasticBlockStoreVolumeSource)
 | 
						|
		if err := deepCopy_api_AWSElasticBlockStoreVolumeSource(*in.AWSElasticBlockStore, out.AWSElasticBlockStore, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.AWSElasticBlockStore = nil
 | 
						|
	}
 | 
						|
	if in.GitRepo != nil {
 | 
						|
		out.GitRepo = new(api.GitRepoVolumeSource)
 | 
						|
		if err := deepCopy_api_GitRepoVolumeSource(*in.GitRepo, out.GitRepo, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.GitRepo = nil
 | 
						|
	}
 | 
						|
	if in.Secret != nil {
 | 
						|
		out.Secret = new(api.SecretVolumeSource)
 | 
						|
		if err := deepCopy_api_SecretVolumeSource(*in.Secret, out.Secret, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Secret = nil
 | 
						|
	}
 | 
						|
	if in.NFS != nil {
 | 
						|
		out.NFS = new(api.NFSVolumeSource)
 | 
						|
		if err := deepCopy_api_NFSVolumeSource(*in.NFS, out.NFS, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.NFS = nil
 | 
						|
	}
 | 
						|
	if in.ISCSI != nil {
 | 
						|
		out.ISCSI = new(api.ISCSIVolumeSource)
 | 
						|
		if err := deepCopy_api_ISCSIVolumeSource(*in.ISCSI, out.ISCSI, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.ISCSI = nil
 | 
						|
	}
 | 
						|
	if in.Glusterfs != nil {
 | 
						|
		out.Glusterfs = new(api.GlusterfsVolumeSource)
 | 
						|
		if err := deepCopy_api_GlusterfsVolumeSource(*in.Glusterfs, out.Glusterfs, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Glusterfs = nil
 | 
						|
	}
 | 
						|
	if in.PersistentVolumeClaim != nil {
 | 
						|
		out.PersistentVolumeClaim = new(api.PersistentVolumeClaimVolumeSource)
 | 
						|
		if err := deepCopy_api_PersistentVolumeClaimVolumeSource(*in.PersistentVolumeClaim, out.PersistentVolumeClaim, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.PersistentVolumeClaim = nil
 | 
						|
	}
 | 
						|
	if in.RBD != nil {
 | 
						|
		out.RBD = new(api.RBDVolumeSource)
 | 
						|
		if err := deepCopy_api_RBDVolumeSource(*in.RBD, out.RBD, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.RBD = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_resource_Quantity(in resource.Quantity, out *resource.Quantity, c *conversion.Cloner) error {
 | 
						|
	if in.Amount != nil {
 | 
						|
		if newVal, err := c.DeepCopy(in.Amount); err != nil {
 | 
						|
			return err
 | 
						|
		} else if newVal == nil {
 | 
						|
			out.Amount = nil
 | 
						|
		} else {
 | 
						|
			out.Amount = newVal.(*inf.Dec)
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Amount = nil
 | 
						|
	}
 | 
						|
	out.Format = in.Format
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_APIVersion(in APIVersion, out *APIVersion, c *conversion.Cloner) error {
 | 
						|
	out.Name = in.Name
 | 
						|
	out.APIGroup = in.APIGroup
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_Daemon(in Daemon, out *Daemon, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_DaemonSpec(in.Spec, &out.Spec, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_DaemonStatus(in.Status, &out.Status, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DaemonList(in DaemonList, out *DaemonList, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.Items != nil {
 | 
						|
		out.Items = make([]Daemon, len(in.Items))
 | 
						|
		for i := range in.Items {
 | 
						|
			if err := deepCopy_expapi_Daemon(in.Items[i], &out.Items[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Items = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DaemonSpec(in DaemonSpec, out *DaemonSpec, c *conversion.Cloner) error {
 | 
						|
	if in.Selector != nil {
 | 
						|
		out.Selector = make(map[string]string)
 | 
						|
		for key, val := range in.Selector {
 | 
						|
			out.Selector[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Selector = nil
 | 
						|
	}
 | 
						|
	if in.Template != nil {
 | 
						|
		out.Template = new(api.PodTemplateSpec)
 | 
						|
		if err := deepCopy_api_PodTemplateSpec(*in.Template, out.Template, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Template = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DaemonStatus(in DaemonStatus, out *DaemonStatus, c *conversion.Cloner) error {
 | 
						|
	out.CurrentNumberScheduled = in.CurrentNumberScheduled
 | 
						|
	out.NumberMisscheduled = in.NumberMisscheduled
 | 
						|
	out.DesiredNumberScheduled = in.DesiredNumberScheduled
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_Deployment(in Deployment, out *Deployment, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_DeploymentSpec(in.Spec, &out.Spec, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_DeploymentStatus(in.Status, &out.Status, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DeploymentList(in DeploymentList, out *DeploymentList, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.Items != nil {
 | 
						|
		out.Items = make([]Deployment, len(in.Items))
 | 
						|
		for i := range in.Items {
 | 
						|
			if err := deepCopy_expapi_Deployment(in.Items[i], &out.Items[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Items = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *conversion.Cloner) error {
 | 
						|
	if in.Replicas != nil {
 | 
						|
		out.Replicas = new(int)
 | 
						|
		*out.Replicas = *in.Replicas
 | 
						|
	} else {
 | 
						|
		out.Replicas = nil
 | 
						|
	}
 | 
						|
	if in.Selector != nil {
 | 
						|
		out.Selector = make(map[string]string)
 | 
						|
		for key, val := range in.Selector {
 | 
						|
			out.Selector[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Selector = nil
 | 
						|
	}
 | 
						|
	if in.Template != nil {
 | 
						|
		out.Template = new(api.PodTemplateSpec)
 | 
						|
		if err := deepCopy_api_PodTemplateSpec(*in.Template, out.Template, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Template = nil
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_DeploymentStrategy(in.Strategy, &out.Strategy, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.UniqueLabelKey != nil {
 | 
						|
		out.UniqueLabelKey = new(string)
 | 
						|
		*out.UniqueLabelKey = *in.UniqueLabelKey
 | 
						|
	} else {
 | 
						|
		out.UniqueLabelKey = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DeploymentStatus(in DeploymentStatus, out *DeploymentStatus, c *conversion.Cloner) error {
 | 
						|
	out.Replicas = in.Replicas
 | 
						|
	out.UpdatedReplicas = in.UpdatedReplicas
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_DeploymentStrategy(in DeploymentStrategy, out *DeploymentStrategy, c *conversion.Cloner) error {
 | 
						|
	out.Type = in.Type
 | 
						|
	if in.RollingUpdate != nil {
 | 
						|
		out.RollingUpdate = new(RollingUpdateDeployment)
 | 
						|
		if err := deepCopy_expapi_RollingUpdateDeployment(*in.RollingUpdate, out.RollingUpdate, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.RollingUpdate = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_HorizontalPodAutoscaler(in HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_HorizontalPodAutoscalerSpec(in.Spec, &out.Spec, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.Status != nil {
 | 
						|
		out.Status = new(HorizontalPodAutoscalerStatus)
 | 
						|
		if err := deepCopy_expapi_HorizontalPodAutoscalerStatus(*in.Status, out.Status, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Status = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_HorizontalPodAutoscalerList(in HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.Items != nil {
 | 
						|
		out.Items = make([]HorizontalPodAutoscaler, len(in.Items))
 | 
						|
		for i := range in.Items {
 | 
						|
			if err := deepCopy_expapi_HorizontalPodAutoscaler(in.Items[i], &out.Items[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Items = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerSpec, out *HorizontalPodAutoscalerSpec, c *conversion.Cloner) error {
 | 
						|
	if in.ScaleRef != nil {
 | 
						|
		out.ScaleRef = new(SubresourceReference)
 | 
						|
		if err := deepCopy_expapi_SubresourceReference(*in.ScaleRef, out.ScaleRef, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.ScaleRef = nil
 | 
						|
	}
 | 
						|
	out.MinCount = in.MinCount
 | 
						|
	out.MaxCount = in.MaxCount
 | 
						|
	if err := deepCopy_expapi_ResourceConsumption(in.Target, &out.Target, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscalerStatus, out *HorizontalPodAutoscalerStatus, c *conversion.Cloner) error {
 | 
						|
	out.CurrentReplicas = in.CurrentReplicas
 | 
						|
	out.DesiredReplicas = in.DesiredReplicas
 | 
						|
	if in.CurrentConsumption != nil {
 | 
						|
		out.CurrentConsumption = new(ResourceConsumption)
 | 
						|
		if err := deepCopy_expapi_ResourceConsumption(*in.CurrentConsumption, out.CurrentConsumption, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.CurrentConsumption = nil
 | 
						|
	}
 | 
						|
	if in.LastScaleTimestamp != nil {
 | 
						|
		out.LastScaleTimestamp = new(util.Time)
 | 
						|
		if err := deepCopy_util_Time(*in.LastScaleTimestamp, out.LastScaleTimestamp, c); err != nil {
 | 
						|
			return err
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.LastScaleTimestamp = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ReplicationControllerDummy(in ReplicationControllerDummy, out *ReplicationControllerDummy, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ResourceConsumption(in ResourceConsumption, out *ResourceConsumption, c *conversion.Cloner) error {
 | 
						|
	out.Resource = in.Resource
 | 
						|
	if err := deepCopy_resource_Quantity(in.Quantity, &out.Quantity, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_RollingUpdateDeployment(in RollingUpdateDeployment, out *RollingUpdateDeployment, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_util_IntOrString(in.MaxUnavailable, &out.MaxUnavailable, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_util_IntOrString(in.MaxSurge, &out.MaxSurge, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	out.MinReadySeconds = in.MinReadySeconds
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_Scale(in Scale, out *Scale, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_ScaleSpec(in.Spec, &out.Spec, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_expapi_ScaleStatus(in.Status, &out.Status, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ScaleSpec(in ScaleSpec, out *ScaleSpec, c *conversion.Cloner) error {
 | 
						|
	out.Replicas = in.Replicas
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ScaleStatus(in ScaleStatus, out *ScaleStatus, c *conversion.Cloner) error {
 | 
						|
	out.Replicas = in.Replicas
 | 
						|
	if in.Selector != nil {
 | 
						|
		out.Selector = make(map[string]string)
 | 
						|
		for key, val := range in.Selector {
 | 
						|
			out.Selector[key] = val
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Selector = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_SubresourceReference(in SubresourceReference, out *SubresourceReference, c *conversion.Cloner) error {
 | 
						|
	out.Kind = in.Kind
 | 
						|
	out.Namespace = in.Namespace
 | 
						|
	out.Name = in.Name
 | 
						|
	out.APIVersion = in.APIVersion
 | 
						|
	out.Subresource = in.Subresource
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ThirdPartyResource(in ThirdPartyResource, out *ThirdPartyResource, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ObjectMeta(in.ObjectMeta, &out.ObjectMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	out.Description = in.Description
 | 
						|
	if in.Versions != nil {
 | 
						|
		out.Versions = make([]APIVersion, len(in.Versions))
 | 
						|
		for i := range in.Versions {
 | 
						|
			if err := deepCopy_expapi_APIVersion(in.Versions[i], &out.Versions[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Versions = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_expapi_ThirdPartyResourceList(in ThirdPartyResourceList, out *ThirdPartyResourceList, c *conversion.Cloner) error {
 | 
						|
	if err := deepCopy_api_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if err := deepCopy_api_ListMeta(in.ListMeta, &out.ListMeta, c); err != nil {
 | 
						|
		return err
 | 
						|
	}
 | 
						|
	if in.Items != nil {
 | 
						|
		out.Items = make([]ThirdPartyResource, len(in.Items))
 | 
						|
		for i := range in.Items {
 | 
						|
			if err := deepCopy_expapi_ThirdPartyResource(in.Items[i], &out.Items[i], c); err != nil {
 | 
						|
				return err
 | 
						|
			}
 | 
						|
		}
 | 
						|
	} else {
 | 
						|
		out.Items = nil
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_util_IntOrString(in util.IntOrString, out *util.IntOrString, c *conversion.Cloner) error {
 | 
						|
	out.Kind = in.Kind
 | 
						|
	out.IntVal = in.IntVal
 | 
						|
	out.StrVal = in.StrVal
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func deepCopy_util_Time(in util.Time, out *util.Time, c *conversion.Cloner) error {
 | 
						|
	if newVal, err := c.DeepCopy(in.Time); err != nil {
 | 
						|
		return err
 | 
						|
	} else {
 | 
						|
		out.Time = newVal.(time.Time)
 | 
						|
	}
 | 
						|
	return nil
 | 
						|
}
 | 
						|
 | 
						|
func init() {
 | 
						|
	err := api.Scheme.AddGeneratedDeepCopyFuncs(
 | 
						|
		deepCopy_api_AWSElasticBlockStoreVolumeSource,
 | 
						|
		deepCopy_api_Capabilities,
 | 
						|
		deepCopy_api_Container,
 | 
						|
		deepCopy_api_ContainerPort,
 | 
						|
		deepCopy_api_EmptyDirVolumeSource,
 | 
						|
		deepCopy_api_EnvVar,
 | 
						|
		deepCopy_api_EnvVarSource,
 | 
						|
		deepCopy_api_ExecAction,
 | 
						|
		deepCopy_api_GCEPersistentDiskVolumeSource,
 | 
						|
		deepCopy_api_GitRepoVolumeSource,
 | 
						|
		deepCopy_api_GlusterfsVolumeSource,
 | 
						|
		deepCopy_api_HTTPGetAction,
 | 
						|
		deepCopy_api_Handler,
 | 
						|
		deepCopy_api_HostPathVolumeSource,
 | 
						|
		deepCopy_api_ISCSIVolumeSource,
 | 
						|
		deepCopy_api_Lifecycle,
 | 
						|
		deepCopy_api_ListMeta,
 | 
						|
		deepCopy_api_LocalObjectReference,
 | 
						|
		deepCopy_api_NFSVolumeSource,
 | 
						|
		deepCopy_api_ObjectFieldSelector,
 | 
						|
		deepCopy_api_ObjectMeta,
 | 
						|
		deepCopy_api_PersistentVolumeClaimVolumeSource,
 | 
						|
		deepCopy_api_PodSpec,
 | 
						|
		deepCopy_api_PodTemplateSpec,
 | 
						|
		deepCopy_api_Probe,
 | 
						|
		deepCopy_api_RBDVolumeSource,
 | 
						|
		deepCopy_api_ResourceRequirements,
 | 
						|
		deepCopy_api_SELinuxOptions,
 | 
						|
		deepCopy_api_SecretVolumeSource,
 | 
						|
		deepCopy_api_SecurityContext,
 | 
						|
		deepCopy_api_TCPSocketAction,
 | 
						|
		deepCopy_api_TypeMeta,
 | 
						|
		deepCopy_api_Volume,
 | 
						|
		deepCopy_api_VolumeMount,
 | 
						|
		deepCopy_api_VolumeSource,
 | 
						|
		deepCopy_resource_Quantity,
 | 
						|
		deepCopy_expapi_APIVersion,
 | 
						|
		deepCopy_expapi_Daemon,
 | 
						|
		deepCopy_expapi_DaemonList,
 | 
						|
		deepCopy_expapi_DaemonSpec,
 | 
						|
		deepCopy_expapi_DaemonStatus,
 | 
						|
		deepCopy_expapi_Deployment,
 | 
						|
		deepCopy_expapi_DeploymentList,
 | 
						|
		deepCopy_expapi_DeploymentSpec,
 | 
						|
		deepCopy_expapi_DeploymentStatus,
 | 
						|
		deepCopy_expapi_DeploymentStrategy,
 | 
						|
		deepCopy_expapi_HorizontalPodAutoscaler,
 | 
						|
		deepCopy_expapi_HorizontalPodAutoscalerList,
 | 
						|
		deepCopy_expapi_HorizontalPodAutoscalerSpec,
 | 
						|
		deepCopy_expapi_HorizontalPodAutoscalerStatus,
 | 
						|
		deepCopy_expapi_ReplicationControllerDummy,
 | 
						|
		deepCopy_expapi_ResourceConsumption,
 | 
						|
		deepCopy_expapi_RollingUpdateDeployment,
 | 
						|
		deepCopy_expapi_Scale,
 | 
						|
		deepCopy_expapi_ScaleSpec,
 | 
						|
		deepCopy_expapi_ScaleStatus,
 | 
						|
		deepCopy_expapi_SubresourceReference,
 | 
						|
		deepCopy_expapi_ThirdPartyResource,
 | 
						|
		deepCopy_expapi_ThirdPartyResourceList,
 | 
						|
		deepCopy_util_IntOrString,
 | 
						|
		deepCopy_util_Time,
 | 
						|
	)
 | 
						|
	if err != nil {
 | 
						|
		// if one of the deep copy functions is malformed, detect it immediately.
 | 
						|
		panic(err)
 | 
						|
	}
 | 
						|
}
 |