2017-02-01 00:45:59 +00:00
|
|
|
// +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 api
|
|
|
|
|
|
|
|
import (
|
|
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
|
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
|
|
|
fields "k8s.io/apimachinery/pkg/fields"
|
|
|
|
labels "k8s.io/apimachinery/pkg/labels"
|
|
|
|
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_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(&Affinity{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureDiskVolumeSource, InType: reflect.TypeOf(&AzureDiskVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Binding, InType: reflect.TypeOf(&Binding{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Capabilities, InType: reflect.TypeOf(&Capabilities{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapEnvSource, InType: reflect.TypeOf(&ConfigMapEnvSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapProjection, InType: reflect.TypeOf(&ConfigMapProjection{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Container, InType: reflect.TypeOf(&Container{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerState, InType: reflect.TypeOf(&ContainerState{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConversionError, InType: reflect.TypeOf(&ConversionError{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIProjection, InType: reflect.TypeOf(&DownwardAPIProjection{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(&Endpoints{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvFromSource, InType: reflect.TypeOf(&EnvFromSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(&EnvVar{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(&Event{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventList, InType: reflect.TypeOf(&EventList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventSource, InType: reflect.TypeOf(&EventSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExecAction, InType: reflect.TypeOf(&ExecAction{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Handler, InType: reflect.TypeOf(&Handler{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRange, InType: reflect.TypeOf(&LimitRange{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_List, InType: reflect.TypeOf(&List{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ListOptions, InType: reflect.TypeOf(&ListOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Namespace, InType: reflect.TypeOf(&Namespace{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Node, InType: reflect.TypeOf(&Node{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeList, InType: reflect.TypeOf(&NodeList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeResources, InType: reflect.TypeOf(&NodeResources{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PhotonPersistentDiskVolumeSource, InType: reflect.TypeOf(&PhotonPersistentDiskVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Pod, InType: reflect.TypeOf(&Pod{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodCondition, InType: reflect.TypeOf(&PodCondition{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodList, InType: reflect.TypeOf(&PodList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodPortForwardOptions, InType: reflect.TypeOf(&PodPortForwardOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSignature, InType: reflect.TypeOf(&PodSignature{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSpec, InType: reflect.TypeOf(&PodSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatus, InType: reflect.TypeOf(&PodStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PortworxVolumeSource, InType: reflect.TypeOf(&PortworxVolumeSource{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Preconditions, InType: reflect.TypeOf(&Preconditions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Probe, InType: reflect.TypeOf(&Probe{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ProjectedVolumeSource, InType: reflect.TypeOf(&ProjectedVolumeSource{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_QuobyteVolumeSource, InType: reflect.TypeOf(&QuobyteVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerCondition, InType: reflect.TypeOf(&ReplicationControllerCondition{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ScaleIOVolumeSource, InType: reflect.TypeOf(&ScaleIOVolumeSource{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Secret, InType: reflect.TypeOf(&Secret{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretEnvSource, InType: reflect.TypeOf(&SecretEnvSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretList, InType: reflect.TypeOf(&SecretList{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretProjection, InType: reflect.TypeOf(&SecretProjection{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Service, InType: reflect.TypeOf(&Service{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceList, InType: reflect.TypeOf(&ServiceList{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServicePort, InType: reflect.TypeOf(&ServicePort{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Sysctl, InType: reflect.TypeOf(&Sysctl{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Taint, InType: reflect.TypeOf(&Taint{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Toleration, InType: reflect.TypeOf(&Toleration{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Volume, InType: reflect.TypeOf(&Volume{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})},
|
2017-06-06 07:19:04 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeProjection, InType: reflect.TypeOf(&VolumeProjection{})},
|
2017-02-01 00:45:59 +00:00
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})},
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})},
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*AWSElasticBlockStoreVolumeSource)
|
|
|
|
out := out.(*AWSElasticBlockStoreVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_NodeAffinity(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PodAffinity != nil {
|
|
|
|
in, out := &in.PodAffinity, &out.PodAffinity
|
|
|
|
*out = new(PodAffinity)
|
|
|
|
if err := DeepCopy_api_PodAffinity(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PodAntiAffinity != nil {
|
|
|
|
in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
|
|
|
|
*out = new(PodAntiAffinity)
|
|
|
|
if err := DeepCopy_api_PodAntiAffinity(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_AttachedVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*AttachedVolume)
|
|
|
|
out := out.(*AttachedVolume)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PreferAvoidPodsEntry(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_AzureFileVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*AzureFileVolumeSource)
|
|
|
|
out := out.(*AzureFileVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_CinderVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*CinderVolumeSource)
|
|
|
|
out := out.(*CinderVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ComponentCondition(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ComponentCondition)
|
|
|
|
out := out.(*ComponentCondition)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if in.Conditions != nil {
|
|
|
|
in, out := &in.Conditions, &out.Conditions
|
|
|
|
*out = make([]ComponentCondition, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ComponentStatus(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*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_api_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_api_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_api_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_api_ConfigMap(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_ConfigMapProjection(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ConfigMapProjection)
|
|
|
|
out := out.(*ConfigMapProjection)
|
|
|
|
*out = *in
|
|
|
|
if in.Items != nil {
|
|
|
|
in, out := &in.Items, &out.Items
|
|
|
|
*out = make([]KeyToPath, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Optional != nil {
|
|
|
|
in, out := &in.Optional, &out.Optional
|
|
|
|
*out = new(bool)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_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_api_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_api_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_api_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_api_EnvVar(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_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_api_Probe(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.ReadinessProbe != nil {
|
|
|
|
in, out := &in.ReadinessProbe, &out.ReadinessProbe
|
|
|
|
*out = new(Probe)
|
|
|
|
if err := DeepCopy_api_Probe(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Lifecycle != nil {
|
|
|
|
in, out := &in.Lifecycle, &out.Lifecycle
|
|
|
|
*out = new(Lifecycle)
|
|
|
|
if err := DeepCopy_api_Lifecycle(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.SecurityContext != nil {
|
|
|
|
in, out := &in.SecurityContext, &out.SecurityContext
|
|
|
|
*out = new(SecurityContext)
|
|
|
|
if err := DeepCopy_api_SecurityContext(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ContainerPort(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ContainerPort)
|
|
|
|
out := out.(*ContainerPort)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ContainerStateRunning(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Terminated != nil {
|
|
|
|
in, out := &in.Terminated, &out.Terminated
|
|
|
|
*out = new(ContainerStateTerminated)
|
|
|
|
if err := DeepCopy_api_ContainerStateTerminated(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_ContainerStateWaiting(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ContainerStateWaiting)
|
|
|
|
out := out.(*ContainerStateWaiting)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ContainerStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ContainerStatus)
|
|
|
|
out := out.(*ContainerStatus)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_ContainerState(&in.State, &out.State, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ContainerState(&in.LastTerminationState, &out.LastTerminationState, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ConversionError(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ConversionError)
|
|
|
|
out := out.(*ConversionError)
|
|
|
|
*out = *in
|
|
|
|
// in.In is kind 'Interface'
|
|
|
|
if in.In != nil {
|
|
|
|
if newVal, err := c.DeepCopy(&in.In); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
out.In = *newVal.(*interface{})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// in.Out is kind 'Interface'
|
|
|
|
if in.Out != nil {
|
|
|
|
if newVal, err := c.DeepCopy(&in.Out); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
out.Out = *newVal.(*interface{})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_DaemonEndpoint(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*DaemonEndpoint)
|
|
|
|
out := out.(*DaemonEndpoint)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Preconditions(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.OrphanDependents != nil {
|
|
|
|
in, out := &in.OrphanDependents, &out.OrphanDependents
|
|
|
|
*out = new(bool)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.PropagationPolicy != nil {
|
|
|
|
in, out := &in.PropagationPolicy, &out.PropagationPolicy
|
|
|
|
*out = new(DeletionPropagation)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_DownwardAPIProjection(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*DownwardAPIProjection)
|
|
|
|
out := out.(*DownwardAPIProjection)
|
|
|
|
*out = *in
|
|
|
|
if in.Items != nil {
|
|
|
|
in, out := &in.Items, &out.Items
|
|
|
|
*out = make([]DownwardAPIVolumeFile, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_DownwardAPIVolumeFile(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_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_api_EmptyDirVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*EmptyDirVolumeSource)
|
|
|
|
out := out.(*EmptyDirVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_EndpointPort(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*EndpointPort)
|
|
|
|
out := out.(*EndpointPort)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if in.Subsets != nil {
|
|
|
|
in, out := &in.Subsets, &out.Subsets
|
|
|
|
*out = make([]EndpointSubset, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_EndpointSubset(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Endpoints(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ConfigMapEnvSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.SecretRef != nil {
|
|
|
|
in, out := &in.SecretRef, &out.SecretRef
|
|
|
|
*out = new(SecretEnvSource)
|
|
|
|
if err := DeepCopy_api_SecretEnvSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_EnvVarSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ResourceFieldSelector(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.ConfigMapKeyRef != nil {
|
|
|
|
in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef
|
|
|
|
*out = new(ConfigMapKeySelector)
|
|
|
|
if err := DeepCopy_api_ConfigMapKeySelector(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.SecretKeyRef != nil {
|
|
|
|
in, out := &in.SecretKeyRef, &out.SecretKeyRef
|
|
|
|
*out = new(SecretKeySelector)
|
|
|
|
if err := DeepCopy_api_SecretKeySelector(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
out.FirstTimestamp = in.FirstTimestamp.DeepCopy()
|
|
|
|
out.LastTimestamp = in.LastTimestamp.DeepCopy()
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Event(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_EventSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*EventSource)
|
|
|
|
out := out.(*EventSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_FlockerVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*FlockerVolumeSource)
|
|
|
|
out := out.(*FlockerVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_GCEPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*GCEPersistentDiskVolumeSource)
|
|
|
|
out := out.(*GCEPersistentDiskVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_GitRepoVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*GitRepoVolumeSource)
|
|
|
|
out := out.(*GitRepoVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_GlusterfsVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*GlusterfsVolumeSource)
|
|
|
|
out := out.(*GlusterfsVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_HTTPHeader(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*HTTPHeader)
|
|
|
|
out := out.(*HTTPHeader)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ExecAction(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.HTTPGet != nil {
|
|
|
|
in, out := &in.HTTPGet, &out.HTTPGet
|
|
|
|
*out = new(HTTPGetAction)
|
|
|
|
if err := DeepCopy_api_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_api_HostPathVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*HostPathVolumeSource)
|
|
|
|
out := out.(*HostPathVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ISCSIVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ISCSIVolumeSource)
|
|
|
|
out := out.(*ISCSIVolumeSource)
|
|
|
|
*out = *in
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.Portals != nil {
|
|
|
|
in, out := &in.Portals, &out.Portals
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_Handler(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PreStop != nil {
|
|
|
|
in, out := &in.PreStop, &out.PreStop
|
|
|
|
*out = new(Handler)
|
|
|
|
if err := DeepCopy_api_Handler(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_LimitRangeSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_LimitRange(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_LimitRangeItem(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.Object, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
(*out)[i] = *newVal.(*runtime.Object)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ListOptions)
|
|
|
|
out := out.(*ListOptions)
|
|
|
|
*out = *in
|
|
|
|
// in.LabelSelector is kind 'Interface'
|
|
|
|
if in.LabelSelector != nil {
|
|
|
|
if newVal, err := c.DeepCopy(&in.LabelSelector); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
out.LabelSelector = *newVal.(*labels.Selector)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// in.FieldSelector is kind 'Interface'
|
|
|
|
if in.FieldSelector != nil {
|
|
|
|
if newVal, err := c.DeepCopy(&in.FieldSelector); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
out.FieldSelector = *newVal.(*fields.Selector)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.TimeoutSeconds != nil {
|
|
|
|
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
|
|
|
|
*out = new(int64)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_LoadBalancerIngress(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*LoadBalancerIngress)
|
|
|
|
out := out.(*LoadBalancerIngress)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_LocalObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*LocalObjectReference)
|
|
|
|
out := out.(*LocalObjectReference)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_NFSVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NFSVolumeSource)
|
|
|
|
out := out.(*NFSVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_NamespaceSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Namespace(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_NamespaceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NamespaceStatus)
|
|
|
|
out := out.(*NamespaceStatus)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if err := DeepCopy_api_NodeSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
if err := DeepCopy_api_NodeStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_NodeAddress(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NodeAddress)
|
|
|
|
out := out.(*NodeAddress)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_PreferredSchedulingTerm(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_NodeDaemonEndpoints(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NodeDaemonEndpoints)
|
|
|
|
out := out.(*NodeDaemonEndpoints)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Node(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_NodeProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NodeProxyOptions)
|
|
|
|
out := out.(*NodeProxyOptions)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_NodeSelectorTerm(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_NodeSelectorRequirement(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_NodeSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NodeSpec)
|
|
|
|
out := out.(*NodeSpec)
|
|
|
|
*out = *in
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.Taints != nil {
|
|
|
|
in, out := &in.Taints, &out.Taints
|
|
|
|
*out = make([]Taint, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_Taint(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_NodeSystemInfo(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*NodeSystemInfo)
|
|
|
|
out := out.(*NodeSystemInfo)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ObjectFieldSelector(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ObjectFieldSelector)
|
|
|
|
out := out.(*ObjectFieldSelector)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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(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([]v1.OwnerReference, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
|
|
|
|
return err
|
|
|
|
} else {
|
|
|
|
(*out)[i] = *newVal.(*v1.OwnerReference)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Finalizers != nil {
|
|
|
|
in, out := &in.Finalizers, &out.Finalizers
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ObjectReference)
|
|
|
|
out := out.(*ObjectReference)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PersistentVolumeSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PersistentVolumeClaimSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PersistentVolumeClaimStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PersistentVolumeClaim(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.LabelSelector)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.StorageClassName != nil {
|
|
|
|
in, out := &in.StorageClassName, &out.StorageClassName
|
|
|
|
*out = new(string)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PersistentVolumeClaimVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PersistentVolumeClaimVolumeSource)
|
|
|
|
out := out.(*PersistentVolumeClaimVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PersistentVolume(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_RBDVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Quobyte != nil {
|
|
|
|
in, out := &in.Quobyte, &out.Quobyte
|
|
|
|
*out = new(QuobyteVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.ISCSI != nil {
|
|
|
|
in, out := &in.ISCSI, &out.ISCSI
|
|
|
|
*out = new(ISCSIVolumeSource)
|
2017-06-06 07:19:04 +00:00
|
|
|
if err := DeepCopy_api_ISCSIVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
if in.FlexVolume != nil {
|
|
|
|
in, out := &in.FlexVolume, &out.FlexVolume
|
|
|
|
*out = new(FlexVolumeSource)
|
|
|
|
if err := DeepCopy_api_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_api_CephFSVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.FC != nil {
|
|
|
|
in, out := &in.FC, &out.FC
|
|
|
|
*out = new(FCVolumeSource)
|
|
|
|
if err := DeepCopy_api_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.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.AzureDisk != nil {
|
|
|
|
in, out := &in.AzureDisk, &out.AzureDisk
|
|
|
|
*out = new(AzureDiskVolumeSource)
|
|
|
|
if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PhotonPersistentDisk != nil {
|
|
|
|
in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
|
|
|
|
*out = new(PhotonPersistentDiskVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.PortworxVolume != nil {
|
|
|
|
in, out := &in.PortworxVolume, &out.PortworxVolume
|
|
|
|
*out = new(PortworxVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.ScaleIO != nil {
|
|
|
|
in, out := &in.ScaleIO, &out.ScaleIO
|
|
|
|
*out = new(ScaleIOVolumeSource)
|
|
|
|
if err := DeepCopy_api_ScaleIOVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_PersistentVolumeStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PersistentVolumeStatus)
|
|
|
|
out := out.(*PersistentVolumeStatus)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_PhotonPersistentDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PhotonPersistentDiskVolumeSource)
|
|
|
|
out := out.(*PhotonPersistentDiskVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.LabelSelector)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Namespaces != nil {
|
|
|
|
in, out := &in.Namespaces, &out.Namespaces
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_WeightedPodAffinityTerm(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_PodAttachOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PodAttachOptions)
|
|
|
|
out := out.(*PodAttachOptions)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_Pod(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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(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_api_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_api_PodProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PodProxyOptions)
|
|
|
|
out := out.(*PodProxyOptions)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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.(*v1.OwnerReference)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_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
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.AutomountServiceAccountToken != nil {
|
|
|
|
in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
|
|
|
|
*out = new(bool)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
if in.SecurityContext != nil {
|
|
|
|
in, out := &in.SecurityContext, &out.SecurityContext
|
|
|
|
*out = new(PodSecurityContext)
|
|
|
|
if err := DeepCopy_api_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_api_Affinity(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.Tolerations != nil {
|
|
|
|
in, out := &in.Tolerations, &out.Tolerations
|
|
|
|
*out = make([]Toleration, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_Toleration(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PodCondition(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.StartTime != nil {
|
|
|
|
in, out := &in.StartTime, &out.StartTime
|
|
|
|
*out = new(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_api_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_api_ContainerStatus(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PodStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_PodTemplate(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_PodSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_PortworxVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PortworxVolumeSource)
|
|
|
|
out := out.(*PortworxVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_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_api_PreferAvoidPodsEntry(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PreferAvoidPodsEntry)
|
|
|
|
out := out.(*PreferAvoidPodsEntry)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_PodSignature(&in.PodSignature, &out.PodSignature, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
out.EvictionTime = in.EvictionTime.DeepCopy()
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_PreferredSchedulingTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*PreferredSchedulingTerm)
|
|
|
|
out := out.(*PreferredSchedulingTerm)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_NodeSelectorTerm(&in.Preference, &out.Preference, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_Probe(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*Probe)
|
|
|
|
out := out.(*Probe)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_Handler(&in.Handler, &out.Handler, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_ProjectedVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ProjectedVolumeSource)
|
|
|
|
out := out.(*ProjectedVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
if in.Sources != nil {
|
|
|
|
in, out := &in.Sources, &out.Sources
|
|
|
|
*out = make([]VolumeProjection, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_VolumeProjection(&(*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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_QuobyteVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*QuobyteVolumeSource)
|
|
|
|
out := out.(*QuobyteVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if in.Data != nil {
|
|
|
|
in, out := &in.Data, &out.Data
|
|
|
|
*out = make([]byte, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ReplicationControllerStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_ReplicationController(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ReplicationControllerSpec)
|
|
|
|
out := out.(*ReplicationControllerSpec)
|
|
|
|
*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_api_PodTemplateSpec(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ReplicationControllerCondition(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ResourceQuotaSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ResourceQuotaStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ResourceQuota(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_SELinuxOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*SELinuxOptions)
|
|
|
|
out := out.(*SELinuxOptions)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_ScaleIOVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ScaleIOVolumeSource)
|
|
|
|
out := out.(*ScaleIOVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
if in.SecretRef != nil {
|
|
|
|
in, out := &in.SecretRef, &out.SecretRef
|
|
|
|
*out = new(LocalObjectReference)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_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.(*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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_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_api_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_api_Secret(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_SecretProjection(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*SecretProjection)
|
|
|
|
out := out.(*SecretProjection)
|
|
|
|
*out = *in
|
|
|
|
if in.Items != nil {
|
|
|
|
in, out := &in.Items, &out.Items
|
|
|
|
*out = make([]KeyToPath, len(*in))
|
|
|
|
for i := range *in {
|
|
|
|
if err := DeepCopy_api_KeyToPath(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Optional != nil {
|
|
|
|
in, out := &in.Optional, &out.Optional
|
|
|
|
*out = new(bool)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_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_api_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_api_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_api_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_api_SerializedReference(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*SerializedReference)
|
|
|
|
out := out.(*SerializedReference)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*v1.ObjectMeta)
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ServiceSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
if err := DeepCopy_api_ServiceStatus(&in.Status, &out.Status, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.(*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)
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.AutomountServiceAccountToken != nil {
|
|
|
|
in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken
|
|
|
|
*out = new(bool)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_ServiceAccount(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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_api_Service(&(*in)[i], &(*out)[i], c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ServicePort(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ServicePort)
|
|
|
|
out := out.(*ServicePort)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ServiceProxyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ServiceProxyOptions)
|
|
|
|
out := out.(*ServiceProxyOptions)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_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.LoadBalancerSourceRanges != nil {
|
|
|
|
in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
|
|
|
|
*out = make([]string, len(*in))
|
|
|
|
copy(*out, *in)
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_ServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*ServiceStatus)
|
|
|
|
out := out.(*ServiceStatus)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_Sysctl(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*Sysctl)
|
|
|
|
out := out.(*Sysctl)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_TCPSocketAction(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*TCPSocketAction)
|
|
|
|
out := out.(*TCPSocketAction)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_Taint(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*Taint)
|
|
|
|
out := out.(*Taint)
|
|
|
|
*out = *in
|
2017-06-06 07:19:04 +00:00
|
|
|
out.TimeAdded = in.TimeAdded.DeepCopy()
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_Toleration(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*Toleration)
|
|
|
|
out := out.(*Toleration)
|
|
|
|
*out = *in
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.TolerationSeconds != nil {
|
|
|
|
in, out := &in.TolerationSeconds, &out.TolerationSeconds
|
|
|
|
*out = new(int64)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_Volume(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*Volume)
|
|
|
|
out := out.(*Volume)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_VolumeSource(&in.VolumeSource, &out.VolumeSource, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_VolumeMount(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*VolumeMount)
|
|
|
|
out := out.(*VolumeMount)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-06 07:19:04 +00:00
|
|
|
func DeepCopy_api_VolumeProjection(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*VolumeProjection)
|
|
|
|
out := out.(*VolumeProjection)
|
|
|
|
*out = *in
|
|
|
|
if in.Secret != nil {
|
|
|
|
in, out := &in.Secret, &out.Secret
|
|
|
|
*out = new(SecretProjection)
|
|
|
|
if err := DeepCopy_api_SecretProjection(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.DownwardAPI != nil {
|
|
|
|
in, out := &in.DownwardAPI, &out.DownwardAPI
|
|
|
|
*out = new(DownwardAPIProjection)
|
|
|
|
if err := DeepCopy_api_DownwardAPIProjection(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.ConfigMap != nil {
|
|
|
|
in, out := &in.ConfigMap, &out.ConfigMap
|
|
|
|
*out = new(ConfigMapProjection)
|
|
|
|
if err := DeepCopy_api_ConfigMapProjection(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 00:45:59 +00:00
|
|
|
func DeepCopy_api_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_api_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)
|
2017-06-06 07:19:04 +00:00
|
|
|
if err := DeepCopy_api_ISCSIVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
}
|
|
|
|
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_api_RBDVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.Quobyte != nil {
|
|
|
|
in, out := &in.Quobyte, &out.Quobyte
|
|
|
|
*out = new(QuobyteVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.FlexVolume != nil {
|
|
|
|
in, out := &in.FlexVolume, &out.FlexVolume
|
|
|
|
*out = new(FlexVolumeSource)
|
|
|
|
if err := DeepCopy_api_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_api_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_api_DownwardAPIVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.FC != nil {
|
|
|
|
in, out := &in.FC, &out.FC
|
|
|
|
*out = new(FCVolumeSource)
|
|
|
|
if err := DeepCopy_api_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_api_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.AzureDisk != nil {
|
|
|
|
in, out := &in.AzureDisk, &out.AzureDisk
|
|
|
|
*out = new(AzureDiskVolumeSource)
|
|
|
|
if err := DeepCopy_api_AzureDiskVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PhotonPersistentDisk != nil {
|
|
|
|
in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk
|
|
|
|
*out = new(PhotonPersistentDiskVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
2017-06-06 07:19:04 +00:00
|
|
|
if in.Projected != nil {
|
|
|
|
in, out := &in.Projected, &out.Projected
|
|
|
|
*out = new(ProjectedVolumeSource)
|
|
|
|
if err := DeepCopy_api_ProjectedVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if in.PortworxVolume != nil {
|
|
|
|
in, out := &in.PortworxVolume, &out.PortworxVolume
|
|
|
|
*out = new(PortworxVolumeSource)
|
|
|
|
**out = **in
|
|
|
|
}
|
|
|
|
if in.ScaleIO != nil {
|
|
|
|
in, out := &in.ScaleIO, &out.ScaleIO
|
|
|
|
*out = new(ScaleIOVolumeSource)
|
|
|
|
if err := DeepCopy_api_ScaleIOVolumeSource(*in, *out, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_VsphereVirtualDiskVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*VsphereVirtualDiskVolumeSource)
|
|
|
|
out := out.(*VsphereVirtualDiskVolumeSource)
|
|
|
|
*out = *in
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func DeepCopy_api_WeightedPodAffinityTerm(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
{
|
|
|
|
in := in.(*WeightedPodAffinityTerm)
|
|
|
|
out := out.(*WeightedPodAffinityTerm)
|
|
|
|
*out = *in
|
|
|
|
if err := DeepCopy_api_PodAffinityTerm(&in.PodAffinityTerm, &out.PodAffinityTerm, c); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|