| // +build !ignore_autogenerated |
| |
| /* |
| Copyright 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. |
| */ |
| |
| // Code generated by deepcopy-gen. DO NOT EDIT. |
| |
| package v1 |
| |
| import ( |
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| runtime "k8s.io/apimachinery/pkg/runtime" |
| types "k8s.io/apimachinery/pkg/types" |
| ) |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. |
| func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(AWSElasticBlockStoreVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Affinity) DeepCopyInto(out *Affinity) { |
| *out = *in |
| if in.NodeAffinity != nil { |
| in, out := &in.NodeAffinity, &out.NodeAffinity |
| *out = new(NodeAffinity) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PodAffinity != nil { |
| in, out := &in.PodAffinity, &out.PodAffinity |
| *out = new(PodAffinity) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PodAntiAffinity != nil { |
| in, out := &in.PodAntiAffinity, &out.PodAntiAffinity |
| *out = new(PodAntiAffinity) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. |
| func (in *Affinity) DeepCopy() *Affinity { |
| if in == nil { |
| return nil |
| } |
| out := new(Affinity) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. |
| func (in *AttachedVolume) DeepCopy() *AttachedVolume { |
| if in == nil { |
| return nil |
| } |
| out := new(AttachedVolume) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AvoidPods) DeepCopyInto(out *AvoidPods) { |
| *out = *in |
| if in.PreferAvoidPods != nil { |
| in, out := &in.PreferAvoidPods, &out.PreferAvoidPods |
| *out = make([]PreferAvoidPodsEntry, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. |
| func (in *AvoidPods) DeepCopy() *AvoidPods { |
| if in == nil { |
| return nil |
| } |
| out := new(AvoidPods) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AzureDiskVolumeSource) DeepCopyInto(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 |
| } |
| if in.Kind != nil { |
| in, out := &in.Kind, &out.Kind |
| *out = new(AzureDataDiskKind) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. |
| func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(AzureDiskVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) { |
| *out = *in |
| if in.SecretNamespace != nil { |
| in, out := &in.SecretNamespace, &out.SecretNamespace |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource. |
| func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(AzureFilePersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. |
| func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(AzureFileVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Binding) DeepCopyInto(out *Binding) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| out.Target = in.Target |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. |
| func (in *Binding) DeepCopy() *Binding { |
| if in == nil { |
| return nil |
| } |
| out := new(Binding) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Binding) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource) { |
| *out = *in |
| if in.VolumeAttributes != nil { |
| in, out := &in.VolumeAttributes, &out.VolumeAttributes |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.ControllerPublishSecretRef != nil { |
| in, out := &in.ControllerPublishSecretRef, &out.ControllerPublishSecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| if in.NodeStageSecretRef != nil { |
| in, out := &in.NodeStageSecretRef, &out.NodeStageSecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| if in.NodePublishSecretRef != nil { |
| in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| if in.ControllerExpandSecretRef != nil { |
| in, out := &in.ControllerExpandSecretRef, &out.ControllerExpandSecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource. |
| func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CSIVolumeSource) DeepCopyInto(out *CSIVolumeSource) { |
| *out = *in |
| if in.ReadOnly != nil { |
| in, out := &in.ReadOnly, &out.ReadOnly |
| *out = new(bool) |
| **out = **in |
| } |
| if in.FSType != nil { |
| in, out := &in.FSType, &out.FSType |
| *out = new(string) |
| **out = **in |
| } |
| if in.VolumeAttributes != nil { |
| in, out := &in.VolumeAttributes, &out.VolumeAttributes |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.NodePublishSecretRef != nil { |
| in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef |
| *out = new(LocalObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource. |
| func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CSIVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Capabilities) DeepCopyInto(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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. |
| func (in *Capabilities) DeepCopy() *Capabilities { |
| if in == nil { |
| return nil |
| } |
| out := new(Capabilities) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource) { |
| *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(SecretReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource. |
| func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CephFSPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CephFSVolumeSource) DeepCopyInto(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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. |
| func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CephFSVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource. |
| func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CinderPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(LocalObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. |
| func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(CinderVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) { |
| *out = *in |
| if in.TimeoutSeconds != nil { |
| in, out := &in.TimeoutSeconds, &out.TimeoutSeconds |
| *out = new(int32) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig. |
| func (in *ClientIPConfig) DeepCopy() *ClientIPConfig { |
| if in == nil { |
| return nil |
| } |
| out := new(ClientIPConfig) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. |
| func (in *ComponentCondition) DeepCopy() *ComponentCondition { |
| if in == nil { |
| return nil |
| } |
| out := new(ComponentCondition) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| if in.Conditions != nil { |
| in, out := &in.Conditions, &out.Conditions |
| *out = make([]ComponentCondition, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. |
| func (in *ComponentStatus) DeepCopy() *ComponentStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ComponentStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ComponentStatus) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ComponentStatus, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. |
| func (in *ComponentStatusList) DeepCopy() *ComponentStatusList { |
| if in == nil { |
| return nil |
| } |
| out := new(ComponentStatusList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ComponentStatusList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| if in.Data != nil { |
| in, out := &in.Data, &out.Data |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.BinaryData != nil { |
| in, out := &in.BinaryData, &out.BinaryData |
| *out = make(map[string][]byte, len(*in)) |
| for key, val := range *in { |
| var outVal []byte |
| if val == nil { |
| (*out)[key] = nil |
| } else { |
| in, out := &val, &outVal |
| *out = make([]byte, len(*in)) |
| copy(*out, *in) |
| } |
| (*out)[key] = outVal |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. |
| func (in *ConfigMap) DeepCopy() *ConfigMap { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMap) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ConfigMap) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. |
| func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapEnvSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. |
| func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapKeySelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ConfigMap, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. |
| func (in *ConfigMapList) DeepCopy() *ConfigMapList { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ConfigMapList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource. |
| func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapNodeConfigSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]KeyToPath, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. |
| func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapProjection) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]KeyToPath, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| 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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. |
| func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ConfigMapVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Container) DeepCopyInto(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 { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Env != nil { |
| in, out := &in.Env, &out.Env |
| *out = make([]EnvVar, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| in.Resources.DeepCopyInto(&out.Resources) |
| if in.VolumeMounts != nil { |
| in, out := &in.VolumeMounts, &out.VolumeMounts |
| *out = make([]VolumeMount, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.VolumeDevices != nil { |
| in, out := &in.VolumeDevices, &out.VolumeDevices |
| *out = make([]VolumeDevice, len(*in)) |
| copy(*out, *in) |
| } |
| if in.LivenessProbe != nil { |
| in, out := &in.LivenessProbe, &out.LivenessProbe |
| *out = new(Probe) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ReadinessProbe != nil { |
| in, out := &in.ReadinessProbe, &out.ReadinessProbe |
| *out = new(Probe) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Lifecycle != nil { |
| in, out := &in.Lifecycle, &out.Lifecycle |
| *out = new(Lifecycle) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.SecurityContext != nil { |
| in, out := &in.SecurityContext, &out.SecurityContext |
| *out = new(SecurityContext) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. |
| func (in *Container) DeepCopy() *Container { |
| if in == nil { |
| return nil |
| } |
| out := new(Container) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { |
| *out = *in |
| if in.Names != nil { |
| in, out := &in.Names, &out.Names |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. |
| func (in *ContainerImage) DeepCopy() *ContainerImage { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerImage) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerPort) DeepCopyInto(out *ContainerPort) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. |
| func (in *ContainerPort) DeepCopy() *ContainerPort { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerPort) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerState) DeepCopyInto(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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Terminated != nil { |
| in, out := &in.Terminated, &out.Terminated |
| *out = new(ContainerStateTerminated) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. |
| func (in *ContainerState) DeepCopy() *ContainerState { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerState) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { |
| *out = *in |
| in.StartedAt.DeepCopyInto(&out.StartedAt) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. |
| func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerStateRunning) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) { |
| *out = *in |
| in.StartedAt.DeepCopyInto(&out.StartedAt) |
| in.FinishedAt.DeepCopyInto(&out.FinishedAt) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. |
| func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerStateTerminated) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. |
| func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerStateWaiting) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { |
| *out = *in |
| in.State.DeepCopyInto(&out.State) |
| in.LastTerminationState.DeepCopyInto(&out.LastTerminationState) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. |
| func (in *ContainerStatus) DeepCopy() *ContainerStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ContainerStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. |
| func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint { |
| if in == nil { |
| return nil |
| } |
| out := new(DaemonEndpoint) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) { |
| *out = *in |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]DownwardAPIVolumeFile, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. |
| func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { |
| if in == nil { |
| return nil |
| } |
| out := new(DownwardAPIProjection) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DownwardAPIVolumeFile) DeepCopyInto(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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Mode != nil { |
| in, out := &in.Mode, &out.Mode |
| *out = new(int32) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. |
| func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { |
| if in == nil { |
| return nil |
| } |
| out := new(DownwardAPIVolumeFile) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) { |
| *out = *in |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]DownwardAPIVolumeFile, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.DefaultMode != nil { |
| in, out := &in.DefaultMode, &out.DefaultMode |
| *out = new(int32) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. |
| func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(DownwardAPIVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) { |
| *out = *in |
| if in.SizeLimit != nil { |
| in, out := &in.SizeLimit, &out.SizeLimit |
| x := (*in).DeepCopy() |
| *out = &x |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. |
| func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(EmptyDirVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EndpointAddress) DeepCopyInto(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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. |
| func (in *EndpointAddress) DeepCopy() *EndpointAddress { |
| if in == nil { |
| return nil |
| } |
| out := new(EndpointAddress) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EndpointPort) DeepCopyInto(out *EndpointPort) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. |
| func (in *EndpointPort) DeepCopy() *EndpointPort { |
| if in == nil { |
| return nil |
| } |
| out := new(EndpointPort) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) { |
| *out = *in |
| if in.Addresses != nil { |
| in, out := &in.Addresses, &out.Addresses |
| *out = make([]EndpointAddress, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.NotReadyAddresses != nil { |
| in, out := &in.NotReadyAddresses, &out.NotReadyAddresses |
| *out = make([]EndpointAddress, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Ports != nil { |
| in, out := &in.Ports, &out.Ports |
| *out = make([]EndpointPort, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. |
| func (in *EndpointSubset) DeepCopy() *EndpointSubset { |
| if in == nil { |
| return nil |
| } |
| out := new(EndpointSubset) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Endpoints) DeepCopyInto(out *Endpoints) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| if in.Subsets != nil { |
| in, out := &in.Subsets, &out.Subsets |
| *out = make([]EndpointSubset, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. |
| func (in *Endpoints) DeepCopy() *Endpoints { |
| if in == nil { |
| return nil |
| } |
| out := new(Endpoints) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Endpoints) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EndpointsList) DeepCopyInto(out *EndpointsList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Endpoints, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. |
| func (in *EndpointsList) DeepCopy() *EndpointsList { |
| if in == nil { |
| return nil |
| } |
| out := new(EndpointsList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *EndpointsList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) { |
| *out = *in |
| if in.ConfigMapRef != nil { |
| in, out := &in.ConfigMapRef, &out.ConfigMapRef |
| *out = new(ConfigMapEnvSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(SecretEnvSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. |
| func (in *EnvFromSource) DeepCopy() *EnvFromSource { |
| if in == nil { |
| return nil |
| } |
| out := new(EnvFromSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EnvVar) DeepCopyInto(out *EnvVar) { |
| *out = *in |
| if in.ValueFrom != nil { |
| in, out := &in.ValueFrom, &out.ValueFrom |
| *out = new(EnvVarSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. |
| func (in *EnvVar) DeepCopy() *EnvVar { |
| if in == nil { |
| return nil |
| } |
| out := new(EnvVar) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EnvVarSource) DeepCopyInto(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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ConfigMapKeyRef != nil { |
| in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef |
| *out = new(ConfigMapKeySelector) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.SecretKeyRef != nil { |
| in, out := &in.SecretKeyRef, &out.SecretKeyRef |
| *out = new(SecretKeySelector) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. |
| func (in *EnvVarSource) DeepCopy() *EnvVarSource { |
| if in == nil { |
| return nil |
| } |
| out := new(EnvVarSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Event) DeepCopyInto(out *Event) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| out.InvolvedObject = in.InvolvedObject |
| out.Source = in.Source |
| in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp) |
| in.LastTimestamp.DeepCopyInto(&out.LastTimestamp) |
| in.EventTime.DeepCopyInto(&out.EventTime) |
| if in.Series != nil { |
| in, out := &in.Series, &out.Series |
| *out = new(EventSeries) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Related != nil { |
| in, out := &in.Related, &out.Related |
| *out = new(ObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. |
| func (in *Event) DeepCopy() *Event { |
| if in == nil { |
| return nil |
| } |
| out := new(Event) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Event) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EventList) DeepCopyInto(out *EventList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Event, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. |
| func (in *EventList) DeepCopy() *EventList { |
| if in == nil { |
| return nil |
| } |
| out := new(EventList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *EventList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EventSeries) DeepCopyInto(out *EventSeries) { |
| *out = *in |
| in.LastObservedTime.DeepCopyInto(&out.LastObservedTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries. |
| func (in *EventSeries) DeepCopy() *EventSeries { |
| if in == nil { |
| return nil |
| } |
| out := new(EventSeries) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *EventSource) DeepCopyInto(out *EventSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. |
| func (in *EventSource) DeepCopy() *EventSource { |
| if in == nil { |
| return nil |
| } |
| out := new(EventSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ExecAction) DeepCopyInto(out *ExecAction) { |
| *out = *in |
| if in.Command != nil { |
| in, out := &in.Command, &out.Command |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. |
| func (in *ExecAction) DeepCopy() *ExecAction { |
| if in == nil { |
| return nil |
| } |
| out := new(ExecAction) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *FCVolumeSource) DeepCopyInto(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 |
| } |
| if in.WWIDs != nil { |
| in, out := &in.WWIDs, &out.WWIDs |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. |
| func (in *FCVolumeSource) DeepCopy() *FCVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(FCVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *FlexPersistentVolumeSource) DeepCopyInto(out *FlexPersistentVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| if in.Options != nil { |
| in, out := &in.Options, &out.Options |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexPersistentVolumeSource. |
| func (in *FlexPersistentVolumeSource) DeepCopy() *FlexPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(FlexPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *FlexVolumeSource) DeepCopyInto(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, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. |
| func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(FlexVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. |
| func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(FlockerVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. |
| func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(GCEPersistentDiskVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. |
| func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(GitRepoVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *GlusterfsPersistentVolumeSource) DeepCopyInto(out *GlusterfsPersistentVolumeSource) { |
| *out = *in |
| if in.EndpointsNamespace != nil { |
| in, out := &in.EndpointsNamespace, &out.EndpointsNamespace |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsPersistentVolumeSource. |
| func (in *GlusterfsPersistentVolumeSource) DeepCopy() *GlusterfsPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(GlusterfsPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. |
| func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(GlusterfsVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) { |
| *out = *in |
| out.Port = in.Port |
| if in.HTTPHeaders != nil { |
| in, out := &in.HTTPHeaders, &out.HTTPHeaders |
| *out = make([]HTTPHeader, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. |
| func (in *HTTPGetAction) DeepCopy() *HTTPGetAction { |
| if in == nil { |
| return nil |
| } |
| out := new(HTTPGetAction) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. |
| func (in *HTTPHeader) DeepCopy() *HTTPHeader { |
| if in == nil { |
| return nil |
| } |
| out := new(HTTPHeader) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Handler) DeepCopyInto(out *Handler) { |
| *out = *in |
| if in.Exec != nil { |
| in, out := &in.Exec, &out.Exec |
| *out = new(ExecAction) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.HTTPGet != nil { |
| in, out := &in.HTTPGet, &out.HTTPGet |
| *out = new(HTTPGetAction) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.TCPSocket != nil { |
| in, out := &in.TCPSocket, &out.TCPSocket |
| *out = new(TCPSocketAction) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler. |
| func (in *Handler) DeepCopy() *Handler { |
| if in == nil { |
| return nil |
| } |
| out := new(Handler) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *HostAlias) DeepCopyInto(out *HostAlias) { |
| *out = *in |
| if in.Hostnames != nil { |
| in, out := &in.Hostnames, &out.Hostnames |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. |
| func (in *HostAlias) DeepCopy() *HostAlias { |
| if in == nil { |
| return nil |
| } |
| out := new(HostAlias) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) { |
| *out = *in |
| if in.Type != nil { |
| in, out := &in.Type, &out.Type |
| *out = new(HostPathType) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. |
| func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(HostPathVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ISCSIPersistentVolumeSource) DeepCopyInto(out *ISCSIPersistentVolumeSource) { |
| *out = *in |
| if in.Portals != nil { |
| in, out := &in.Portals, &out.Portals |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| if in.InitiatorName != nil { |
| in, out := &in.InitiatorName, &out.InitiatorName |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIPersistentVolumeSource. |
| func (in *ISCSIPersistentVolumeSource) DeepCopy() *ISCSIPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ISCSIPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) { |
| *out = *in |
| if in.Portals != nil { |
| in, out := &in.Portals, &out.Portals |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(LocalObjectReference) |
| **out = **in |
| } |
| if in.InitiatorName != nil { |
| in, out := &in.InitiatorName, &out.InitiatorName |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. |
| func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ISCSIVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *KeyToPath) DeepCopyInto(out *KeyToPath) { |
| *out = *in |
| if in.Mode != nil { |
| in, out := &in.Mode, &out.Mode |
| *out = new(int32) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. |
| func (in *KeyToPath) DeepCopy() *KeyToPath { |
| if in == nil { |
| return nil |
| } |
| out := new(KeyToPath) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Lifecycle) DeepCopyInto(out *Lifecycle) { |
| *out = *in |
| if in.PostStart != nil { |
| in, out := &in.PostStart, &out.PostStart |
| *out = new(Handler) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PreStop != nil { |
| in, out := &in.PreStop, &out.PreStop |
| *out = new(Handler) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. |
| func (in *Lifecycle) DeepCopy() *Lifecycle { |
| if in == nil { |
| return nil |
| } |
| out := new(Lifecycle) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LimitRange) DeepCopyInto(out *LimitRange) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. |
| func (in *LimitRange) DeepCopy() *LimitRange { |
| if in == nil { |
| return nil |
| } |
| out := new(LimitRange) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *LimitRange) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) { |
| *out = *in |
| if in.Max != nil { |
| in, out := &in.Max, &out.Max |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Min != nil { |
| in, out := &in.Min, &out.Min |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Default != nil { |
| in, out := &in.Default, &out.Default |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.DefaultRequest != nil { |
| in, out := &in.DefaultRequest, &out.DefaultRequest |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.MaxLimitRequestRatio != nil { |
| in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. |
| func (in *LimitRangeItem) DeepCopy() *LimitRangeItem { |
| if in == nil { |
| return nil |
| } |
| out := new(LimitRangeItem) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]LimitRange, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. |
| func (in *LimitRangeList) DeepCopy() *LimitRangeList { |
| if in == nil { |
| return nil |
| } |
| out := new(LimitRangeList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *LimitRangeList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) { |
| *out = *in |
| if in.Limits != nil { |
| in, out := &in.Limits, &out.Limits |
| *out = make([]LimitRangeItem, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. |
| func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(LimitRangeSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *List) DeepCopyInto(out *List) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]runtime.RawExtension, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. |
| func (in *List) DeepCopy() *List { |
| if in == nil { |
| return nil |
| } |
| out := new(List) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *List) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. |
| func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { |
| if in == nil { |
| return nil |
| } |
| out := new(LoadBalancerIngress) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { |
| *out = *in |
| if in.Ingress != nil { |
| in, out := &in.Ingress, &out.Ingress |
| *out = make([]LoadBalancerIngress, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. |
| func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(LoadBalancerStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. |
| func (in *LocalObjectReference) DeepCopy() *LocalObjectReference { |
| if in == nil { |
| return nil |
| } |
| out := new(LocalObjectReference) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) { |
| *out = *in |
| if in.FSType != nil { |
| in, out := &in.FSType, &out.FSType |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. |
| func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(LocalVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. |
| func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(NFSVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Namespace) DeepCopyInto(out *Namespace) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| out.Status = in.Status |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. |
| func (in *Namespace) DeepCopy() *Namespace { |
| if in == nil { |
| return nil |
| } |
| out := new(Namespace) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Namespace) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Namespace, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. |
| func (in *NamespaceList) DeepCopy() *NamespaceList { |
| if in == nil { |
| return nil |
| } |
| out := new(NamespaceList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *NamespaceList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { |
| *out = *in |
| if in.Finalizers != nil { |
| in, out := &in.Finalizers, &out.Finalizers |
| *out = make([]FinalizerName, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. |
| func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(NamespaceSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. |
| func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(NamespaceStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Node) DeepCopyInto(out *Node) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. |
| func (in *Node) DeepCopy() *Node { |
| if in == nil { |
| return nil |
| } |
| out := new(Node) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Node) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeAddress) DeepCopyInto(out *NodeAddress) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. |
| func (in *NodeAddress) DeepCopy() *NodeAddress { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeAddress) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) { |
| *out = *in |
| if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| *out = new(NodeSelector) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| *out = make([]PreferredSchedulingTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. |
| func (in *NodeAffinity) DeepCopy() *NodeAffinity { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeAffinity) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeCondition) DeepCopyInto(out *NodeCondition) { |
| *out = *in |
| in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime) |
| in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. |
| func (in *NodeCondition) DeepCopy() *NodeCondition { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeCondition) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeConfigSource) DeepCopyInto(out *NodeConfigSource) { |
| *out = *in |
| if in.ConfigMap != nil { |
| in, out := &in.ConfigMap, &out.ConfigMap |
| *out = new(ConfigMapNodeConfigSource) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSource. |
| func (in *NodeConfigSource) DeepCopy() *NodeConfigSource { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeConfigSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus) { |
| *out = *in |
| if in.Assigned != nil { |
| in, out := &in.Assigned, &out.Assigned |
| *out = new(NodeConfigSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Active != nil { |
| in, out := &in.Active, &out.Active |
| *out = new(NodeConfigSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.LastKnownGood != nil { |
| in, out := &in.LastKnownGood, &out.LastKnownGood |
| *out = new(NodeConfigSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus. |
| func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeConfigStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) { |
| *out = *in |
| out.KubeletEndpoint = in.KubeletEndpoint |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. |
| func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeDaemonEndpoints) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeList) DeepCopyInto(out *NodeList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Node, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. |
| func (in *NodeList) DeepCopy() *NodeList { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *NodeList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. |
| func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeProxyOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *NodeProxyOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeResources) DeepCopyInto(out *NodeResources) { |
| *out = *in |
| if in.Capacity != nil { |
| in, out := &in.Capacity, &out.Capacity |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. |
| func (in *NodeResources) DeepCopy() *NodeResources { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeResources) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeSelector) DeepCopyInto(out *NodeSelector) { |
| *out = *in |
| if in.NodeSelectorTerms != nil { |
| in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms |
| *out = make([]NodeSelectorTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. |
| func (in *NodeSelector) DeepCopy() *NodeSelector { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeSelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) { |
| *out = *in |
| if in.Values != nil { |
| in, out := &in.Values, &out.Values |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. |
| func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeSelectorRequirement) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { |
| *out = *in |
| if in.MatchExpressions != nil { |
| in, out := &in.MatchExpressions, &out.MatchExpressions |
| *out = make([]NodeSelectorRequirement, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.MatchFields != nil { |
| in, out := &in.MatchFields, &out.MatchFields |
| *out = make([]NodeSelectorRequirement, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. |
| func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeSelectorTerm) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { |
| *out = *in |
| if in.Taints != nil { |
| in, out := &in.Taints, &out.Taints |
| *out = make([]Taint, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.ConfigSource != nil { |
| in, out := &in.ConfigSource, &out.ConfigSource |
| *out = new(NodeConfigSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. |
| func (in *NodeSpec) DeepCopy() *NodeSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { |
| *out = *in |
| if in.Capacity != nil { |
| in, out := &in.Capacity, &out.Capacity |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Allocatable != nil { |
| in, out := &in.Allocatable, &out.Allocatable |
| *out = make(ResourceList, len(*in)) |
| 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 { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Addresses != nil { |
| in, out := &in.Addresses, &out.Addresses |
| *out = make([]NodeAddress, len(*in)) |
| copy(*out, *in) |
| } |
| out.DaemonEndpoints = in.DaemonEndpoints |
| out.NodeInfo = in.NodeInfo |
| if in.Images != nil { |
| in, out := &in.Images, &out.Images |
| *out = make([]ContainerImage, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| 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) |
| } |
| if in.Config != nil { |
| in, out := &in.Config, &out.Config |
| *out = new(NodeConfigStatus) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. |
| func (in *NodeStatus) DeepCopy() *NodeStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. |
| func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo { |
| if in == nil { |
| return nil |
| } |
| out := new(NodeSystemInfo) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. |
| func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { |
| if in == nil { |
| return nil |
| } |
| out := new(ObjectFieldSelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. |
| func (in *ObjectReference) DeepCopy() *ObjectReference { |
| if in == nil { |
| return nil |
| } |
| out := new(ObjectReference) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ObjectReference) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| out.Status = in.Status |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. |
| func (in *PersistentVolume) DeepCopy() *PersistentVolume { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolume) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PersistentVolume) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. |
| func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaim) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaimCondition) DeepCopyInto(out *PersistentVolumeClaimCondition) { |
| *out = *in |
| in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) |
| in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimCondition. |
| func (in *PersistentVolumeClaimCondition) DeepCopy() *PersistentVolumeClaimCondition { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaimCondition) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]PersistentVolumeClaim, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. |
| func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaimList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaimSpec) DeepCopyInto(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 |
| *out = new(metav1.LabelSelector) |
| (*in).DeepCopyInto(*out) |
| } |
| in.Resources.DeepCopyInto(&out.Resources) |
| if in.StorageClassName != nil { |
| in, out := &in.StorageClassName, &out.StorageClassName |
| *out = new(string) |
| **out = **in |
| } |
| if in.VolumeMode != nil { |
| in, out := &in.VolumeMode, &out.VolumeMode |
| *out = new(PersistentVolumeMode) |
| **out = **in |
| } |
| if in.DataSource != nil { |
| in, out := &in.DataSource, &out.DataSource |
| *out = new(TypedLocalObjectReference) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. |
| func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaimSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaimStatus) DeepCopyInto(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, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Conditions != nil { |
| in, out := &in.Conditions, &out.Conditions |
| *out = make([]PersistentVolumeClaimCondition, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. |
| func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaimStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeClaimVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. |
| func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeClaimVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]PersistentVolume, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. |
| func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PersistentVolumeList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeSource) DeepCopyInto(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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Glusterfs != nil { |
| in, out := &in.Glusterfs, &out.Glusterfs |
| *out = new(GlusterfsPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| 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(RBDPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ISCSI != nil { |
| in, out := &in.ISCSI, &out.ISCSI |
| *out = new(ISCSIPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Cinder != nil { |
| in, out := &in.Cinder, &out.Cinder |
| *out = new(CinderPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.CephFS != nil { |
| in, out := &in.CephFS, &out.CephFS |
| *out = new(CephFSPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.FC != nil { |
| in, out := &in.FC, &out.FC |
| *out = new(FCVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Flocker != nil { |
| in, out := &in.Flocker, &out.Flocker |
| *out = new(FlockerVolumeSource) |
| **out = **in |
| } |
| if in.FlexVolume != nil { |
| in, out := &in.FlexVolume, &out.FlexVolume |
| *out = new(FlexPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.AzureFile != nil { |
| in, out := &in.AzureFile, &out.AzureFile |
| *out = new(AzureFilePersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.VsphereVolume != nil { |
| in, out := &in.VsphereVolume, &out.VsphereVolume |
| *out = new(VsphereVirtualDiskVolumeSource) |
| **out = **in |
| } |
| if in.Quobyte != nil { |
| in, out := &in.Quobyte, &out.Quobyte |
| *out = new(QuobyteVolumeSource) |
| **out = **in |
| } |
| if in.AzureDisk != nil { |
| in, out := &in.AzureDisk, &out.AzureDisk |
| *out = new(AzureDiskVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PhotonPersistentDisk != nil { |
| in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk |
| *out = new(PhotonPersistentDiskVolumeSource) |
| **out = **in |
| } |
| 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(ScaleIOPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Local != nil { |
| in, out := &in.Local, &out.Local |
| *out = new(LocalVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.StorageOS != nil { |
| in, out := &in.StorageOS, &out.StorageOS |
| *out = new(StorageOSPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.CSI != nil { |
| in, out := &in.CSI, &out.CSI |
| *out = new(CSIPersistentVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. |
| func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) { |
| *out = *in |
| if in.Capacity != nil { |
| in, out := &in.Capacity, &out.Capacity |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| in.PersistentVolumeSource.DeepCopyInto(&out.PersistentVolumeSource) |
| 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 |
| } |
| if in.MountOptions != nil { |
| in, out := &in.MountOptions, &out.MountOptions |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| if in.VolumeMode != nil { |
| in, out := &in.VolumeMode, &out.VolumeMode |
| *out = new(PersistentVolumeMode) |
| **out = **in |
| } |
| if in.NodeAffinity != nil { |
| in, out := &in.NodeAffinity, &out.NodeAffinity |
| *out = new(VolumeNodeAffinity) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. |
| func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. |
| func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(PersistentVolumeStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDiskVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. |
| func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(PhotonPersistentDiskVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Pod) DeepCopyInto(out *Pod) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. |
| func (in *Pod) DeepCopy() *Pod { |
| if in == nil { |
| return nil |
| } |
| out := new(Pod) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Pod) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodAffinity) DeepCopyInto(out *PodAffinity) { |
| *out = *in |
| if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| *out = make([]PodAffinityTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| *out = make([]WeightedPodAffinityTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. |
| func (in *PodAffinity) DeepCopy() *PodAffinity { |
| if in == nil { |
| return nil |
| } |
| out := new(PodAffinity) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) { |
| *out = *in |
| if in.LabelSelector != nil { |
| in, out := &in.LabelSelector, &out.LabelSelector |
| *out = new(metav1.LabelSelector) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Namespaces != nil { |
| in, out := &in.Namespaces, &out.Namespaces |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. |
| func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm { |
| if in == nil { |
| return nil |
| } |
| out := new(PodAffinityTerm) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) { |
| *out = *in |
| if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| *out = make([]PodAffinityTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| *out = make([]WeightedPodAffinityTerm, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. |
| func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity { |
| if in == nil { |
| return nil |
| } |
| out := new(PodAntiAffinity) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. |
| func (in *PodAttachOptions) DeepCopy() *PodAttachOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(PodAttachOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodAttachOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodCondition) DeepCopyInto(out *PodCondition) { |
| *out = *in |
| in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) |
| in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. |
| func (in *PodCondition) DeepCopy() *PodCondition { |
| if in == nil { |
| return nil |
| } |
| out := new(PodCondition) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodDNSConfig) DeepCopyInto(out *PodDNSConfig) { |
| *out = *in |
| if in.Nameservers != nil { |
| in, out := &in.Nameservers, &out.Nameservers |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| if in.Searches != nil { |
| in, out := &in.Searches, &out.Searches |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| if in.Options != nil { |
| in, out := &in.Options, &out.Options |
| *out = make([]PodDNSConfigOption, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfig. |
| func (in *PodDNSConfig) DeepCopy() *PodDNSConfig { |
| if in == nil { |
| return nil |
| } |
| out := new(PodDNSConfig) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodDNSConfigOption) DeepCopyInto(out *PodDNSConfigOption) { |
| *out = *in |
| if in.Value != nil { |
| in, out := &in.Value, &out.Value |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfigOption. |
| func (in *PodDNSConfigOption) DeepCopy() *PodDNSConfigOption { |
| if in == nil { |
| return nil |
| } |
| out := new(PodDNSConfigOption) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| if in.Command != nil { |
| in, out := &in.Command, &out.Command |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. |
| func (in *PodExecOptions) DeepCopy() *PodExecOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(PodExecOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodExecOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodList) DeepCopyInto(out *PodList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Pod, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. |
| func (in *PodList) DeepCopy() *PodList { |
| if in == nil { |
| return nil |
| } |
| out := new(PodList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| 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 = (*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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. |
| func (in *PodLogOptions) DeepCopy() *PodLogOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(PodLogOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodLogOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| if in.Ports != nil { |
| in, out := &in.Ports, &out.Ports |
| *out = make([]int32, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. |
| func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(PodPortForwardOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. |
| func (in *PodProxyOptions) DeepCopy() *PodProxyOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(PodProxyOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodProxyOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate. |
| func (in *PodReadinessGate) DeepCopy() *PodReadinessGate { |
| if in == nil { |
| return nil |
| } |
| out := new(PodReadinessGate) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { |
| *out = *in |
| if in.SELinuxOptions != nil { |
| in, out := &in.SELinuxOptions, &out.SELinuxOptions |
| *out = new(SELinuxOptions) |
| **out = **in |
| } |
| if in.WindowsOptions != nil { |
| in, out := &in.WindowsOptions, &out.WindowsOptions |
| *out = new(WindowsSecurityContextOptions) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.RunAsUser != nil { |
| in, out := &in.RunAsUser, &out.RunAsUser |
| *out = new(int64) |
| **out = **in |
| } |
| if in.RunAsGroup != nil { |
| in, out := &in.RunAsGroup, &out.RunAsGroup |
| *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 |
| } |
| if in.Sysctls != nil { |
| in, out := &in.Sysctls, &out.Sysctls |
| *out = make([]Sysctl, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. |
| func (in *PodSecurityContext) DeepCopy() *PodSecurityContext { |
| if in == nil { |
| return nil |
| } |
| out := new(PodSecurityContext) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodSignature) DeepCopyInto(out *PodSignature) { |
| *out = *in |
| if in.PodController != nil { |
| in, out := &in.PodController, &out.PodController |
| *out = new(metav1.OwnerReference) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. |
| func (in *PodSignature) DeepCopy() *PodSignature { |
| if in == nil { |
| return nil |
| } |
| out := new(PodSignature) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodSpec) DeepCopyInto(out *PodSpec) { |
| *out = *in |
| if in.Volumes != nil { |
| in, out := &in.Volumes, &out.Volumes |
| *out = make([]Volume, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.InitContainers != nil { |
| in, out := &in.InitContainers, &out.InitContainers |
| *out = make([]Container, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Containers != nil { |
| in, out := &in.Containers, &out.Containers |
| *out = make([]Container, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| 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, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.AutomountServiceAccountToken != nil { |
| in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken |
| *out = new(bool) |
| **out = **in |
| } |
| if in.ShareProcessNamespace != nil { |
| in, out := &in.ShareProcessNamespace, &out.ShareProcessNamespace |
| *out = new(bool) |
| **out = **in |
| } |
| if in.SecurityContext != nil { |
| in, out := &in.SecurityContext, &out.SecurityContext |
| *out = new(PodSecurityContext) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Tolerations != nil { |
| in, out := &in.Tolerations, &out.Tolerations |
| *out = make([]Toleration, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.HostAliases != nil { |
| in, out := &in.HostAliases, &out.HostAliases |
| *out = make([]HostAlias, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Priority != nil { |
| in, out := &in.Priority, &out.Priority |
| *out = new(int32) |
| **out = **in |
| } |
| if in.DNSConfig != nil { |
| in, out := &in.DNSConfig, &out.DNSConfig |
| *out = new(PodDNSConfig) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ReadinessGates != nil { |
| in, out := &in.ReadinessGates, &out.ReadinessGates |
| *out = make([]PodReadinessGate, len(*in)) |
| copy(*out, *in) |
| } |
| if in.RuntimeClassName != nil { |
| in, out := &in.RuntimeClassName, &out.RuntimeClassName |
| *out = new(string) |
| **out = **in |
| } |
| if in.EnableServiceLinks != nil { |
| in, out := &in.EnableServiceLinks, &out.EnableServiceLinks |
| *out = new(bool) |
| **out = **in |
| } |
| if in.PreemptionPolicy != nil { |
| in, out := &in.PreemptionPolicy, &out.PreemptionPolicy |
| *out = new(PreemptionPolicy) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. |
| func (in *PodSpec) DeepCopy() *PodSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(PodSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodStatus) DeepCopyInto(out *PodStatus) { |
| *out = *in |
| if in.Conditions != nil { |
| in, out := &in.Conditions, &out.Conditions |
| *out = make([]PodCondition, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.StartTime != nil { |
| in, out := &in.StartTime, &out.StartTime |
| *out = (*in).DeepCopy() |
| } |
| if in.InitContainerStatuses != nil { |
| in, out := &in.InitContainerStatuses, &out.InitContainerStatuses |
| *out = make([]ContainerStatus, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.ContainerStatuses != nil { |
| in, out := &in.ContainerStatuses, &out.ContainerStatuses |
| *out = make([]ContainerStatus, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. |
| func (in *PodStatus) DeepCopy() *PodStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(PodStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. |
| func (in *PodStatusResult) DeepCopy() *PodStatusResult { |
| if in == nil { |
| return nil |
| } |
| out := new(PodStatusResult) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodStatusResult) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodTemplate) DeepCopyInto(out *PodTemplate) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Template.DeepCopyInto(&out.Template) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. |
| func (in *PodTemplate) DeepCopy() *PodTemplate { |
| if in == nil { |
| return nil |
| } |
| out := new(PodTemplate) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodTemplate) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]PodTemplate, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. |
| func (in *PodTemplateList) DeepCopy() *PodTemplateList { |
| if in == nil { |
| return nil |
| } |
| out := new(PodTemplateList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *PodTemplateList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) { |
| *out = *in |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. |
| func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(PodTemplateSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. |
| func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(PortworxVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Preconditions) DeepCopyInto(out *Preconditions) { |
| *out = *in |
| if in.UID != nil { |
| in, out := &in.UID, &out.UID |
| *out = new(types.UID) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. |
| func (in *Preconditions) DeepCopy() *Preconditions { |
| if in == nil { |
| return nil |
| } |
| out := new(Preconditions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) { |
| *out = *in |
| in.PodSignature.DeepCopyInto(&out.PodSignature) |
| in.EvictionTime.DeepCopyInto(&out.EvictionTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. |
| func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { |
| if in == nil { |
| return nil |
| } |
| out := new(PreferAvoidPodsEntry) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) { |
| *out = *in |
| in.Preference.DeepCopyInto(&out.Preference) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. |
| func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { |
| if in == nil { |
| return nil |
| } |
| out := new(PreferredSchedulingTerm) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Probe) DeepCopyInto(out *Probe) { |
| *out = *in |
| in.Handler.DeepCopyInto(&out.Handler) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. |
| func (in *Probe) DeepCopy() *Probe { |
| if in == nil { |
| return nil |
| } |
| out := new(Probe) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) { |
| *out = *in |
| if in.Sources != nil { |
| in, out := &in.Sources, &out.Sources |
| *out = make([]VolumeProjection, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.DefaultMode != nil { |
| in, out := &in.DefaultMode, &out.DefaultMode |
| *out = new(int32) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. |
| func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ProjectedVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. |
| func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(QuobyteVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *RBDPersistentVolumeSource) DeepCopyInto(out *RBDPersistentVolumeSource) { |
| *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(SecretReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDPersistentVolumeSource. |
| func (in *RBDPersistentVolumeSource) DeepCopy() *RBDPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(RBDPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *RBDVolumeSource) DeepCopyInto(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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. |
| func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(RBDVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| if in.Data != nil { |
| in, out := &in.Data, &out.Data |
| *out = make([]byte, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. |
| func (in *RangeAllocation) DeepCopy() *RangeAllocation { |
| if in == nil { |
| return nil |
| } |
| out := new(RangeAllocation) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *RangeAllocation) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ReplicationController) DeepCopyInto(out *ReplicationController) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. |
| func (in *ReplicationController) DeepCopy() *ReplicationController { |
| if in == nil { |
| return nil |
| } |
| out := new(ReplicationController) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ReplicationController) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControllerCondition) { |
| *out = *in |
| in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. |
| func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { |
| if in == nil { |
| return nil |
| } |
| out := new(ReplicationControllerCondition) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ReplicationController, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. |
| func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList { |
| if in == nil { |
| return nil |
| } |
| out := new(ReplicationControllerList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ReplicationControllerList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) { |
| *out = *in |
| if in.Replicas != nil { |
| in, out := &in.Replicas, &out.Replicas |
| *out = new(int32) |
| **out = **in |
| } |
| if in.Selector != nil { |
| in, out := &in.Selector, &out.Selector |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| if in.Template != nil { |
| in, out := &in.Template, &out.Template |
| *out = new(PodTemplateSpec) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. |
| func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(ReplicationControllerSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus) { |
| *out = *in |
| if in.Conditions != nil { |
| in, out := &in.Conditions, &out.Conditions |
| *out = make([]ReplicationControllerCondition, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. |
| func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ReplicationControllerStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) { |
| *out = *in |
| out.Divisor = in.Divisor.DeepCopy() |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. |
| func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceFieldSelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in ResourceList) DeepCopyInto(out *ResourceList) { |
| { |
| in := &in |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| return |
| } |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList. |
| func (in ResourceList) DeepCopy() ResourceList { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceList) |
| in.DeepCopyInto(out) |
| return *out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. |
| func (in *ResourceQuota) DeepCopy() *ResourceQuota { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceQuota) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ResourceQuota) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ResourceQuota, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. |
| func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceQuotaList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ResourceQuotaList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) { |
| *out = *in |
| if in.Hard != nil { |
| in, out := &in.Hard, &out.Hard |
| *out = make(ResourceList, len(*in)) |
| 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) |
| } |
| if in.ScopeSelector != nil { |
| in, out := &in.ScopeSelector, &out.ScopeSelector |
| *out = new(ScopeSelector) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. |
| func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceQuotaSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) { |
| *out = *in |
| if in.Hard != nil { |
| in, out := &in.Hard, &out.Hard |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Used != nil { |
| in, out := &in.Used, &out.Used |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. |
| func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceQuotaStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { |
| *out = *in |
| if in.Limits != nil { |
| in, out := &in.Limits, &out.Limits |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| if in.Requests != nil { |
| in, out := &in.Requests, &out.Requests |
| *out = make(ResourceList, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val.DeepCopy() |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. |
| func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { |
| if in == nil { |
| return nil |
| } |
| out := new(ResourceRequirements) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. |
| func (in *SELinuxOptions) DeepCopy() *SELinuxOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(SELinuxOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ScaleIOPersistentVolumeSource) DeepCopyInto(out *ScaleIOPersistentVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(SecretReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOPersistentVolumeSource. |
| func (in *ScaleIOPersistentVolumeSource) DeepCopy() *ScaleIOPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ScaleIOPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(LocalObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. |
| func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(ScaleIOVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector) { |
| *out = *in |
| if in.MatchExpressions != nil { |
| in, out := &in.MatchExpressions, &out.MatchExpressions |
| *out = make([]ScopedResourceSelectorRequirement, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSelector. |
| func (in *ScopeSelector) DeepCopy() *ScopeSelector { |
| if in == nil { |
| return nil |
| } |
| out := new(ScopeSelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ScopedResourceSelectorRequirement) DeepCopyInto(out *ScopedResourceSelectorRequirement) { |
| *out = *in |
| if in.Values != nil { |
| in, out := &in.Values, &out.Values |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResourceSelectorRequirement. |
| func (in *ScopedResourceSelectorRequirement) DeepCopy() *ScopedResourceSelectorRequirement { |
| if in == nil { |
| return nil |
| } |
| out := new(ScopedResourceSelectorRequirement) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Secret) DeepCopyInto(out *Secret) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| if in.Data != nil { |
| in, out := &in.Data, &out.Data |
| *out = make(map[string][]byte, len(*in)) |
| for key, val := range *in { |
| var outVal []byte |
| if val == nil { |
| (*out)[key] = nil |
| } else { |
| in, out := &val, &outVal |
| *out = make([]byte, len(*in)) |
| copy(*out, *in) |
| } |
| (*out)[key] = outVal |
| } |
| } |
| if in.StringData != nil { |
| in, out := &in.StringData, &out.StringData |
| *out = make(map[string]string, len(*in)) |
| for key, val := range *in { |
| (*out)[key] = val |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. |
| func (in *Secret) DeepCopy() *Secret { |
| if in == nil { |
| return nil |
| } |
| out := new(Secret) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Secret) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. |
| func (in *SecretEnvSource) DeepCopy() *SecretEnvSource { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretEnvSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. |
| func (in *SecretKeySelector) DeepCopy() *SecretKeySelector { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretKeySelector) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretList) DeepCopyInto(out *SecretList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Secret, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. |
| func (in *SecretList) DeepCopy() *SecretList { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *SecretList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretProjection) DeepCopyInto(out *SecretProjection) { |
| *out = *in |
| out.LocalObjectReference = in.LocalObjectReference |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]KeyToPath, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| if in.Optional != nil { |
| in, out := &in.Optional, &out.Optional |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. |
| func (in *SecretProjection) DeepCopy() *SecretProjection { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretProjection) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretReference) DeepCopyInto(out *SecretReference) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference. |
| func (in *SecretReference) DeepCopy() *SecretReference { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretReference) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) { |
| *out = *in |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]KeyToPath, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| 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 |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. |
| func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(SecretVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SecurityContext) DeepCopyInto(out *SecurityContext) { |
| *out = *in |
| if in.Capabilities != nil { |
| in, out := &in.Capabilities, &out.Capabilities |
| *out = new(Capabilities) |
| (*in).DeepCopyInto(*out) |
| } |
| 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.WindowsOptions != nil { |
| in, out := &in.WindowsOptions, &out.WindowsOptions |
| *out = new(WindowsSecurityContextOptions) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.RunAsUser != nil { |
| in, out := &in.RunAsUser, &out.RunAsUser |
| *out = new(int64) |
| **out = **in |
| } |
| if in.RunAsGroup != nil { |
| in, out := &in.RunAsGroup, &out.RunAsGroup |
| *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 |
| } |
| if in.AllowPrivilegeEscalation != nil { |
| in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation |
| *out = new(bool) |
| **out = **in |
| } |
| if in.ProcMount != nil { |
| in, out := &in.ProcMount, &out.ProcMount |
| *out = new(ProcMountType) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. |
| func (in *SecurityContext) DeepCopy() *SecurityContext { |
| if in == nil { |
| return nil |
| } |
| out := new(SecurityContext) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SerializedReference) DeepCopyInto(out *SerializedReference) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| out.Reference = in.Reference |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. |
| func (in *SerializedReference) DeepCopy() *SerializedReference { |
| if in == nil { |
| return nil |
| } |
| out := new(SerializedReference) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *SerializedReference) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Service) DeepCopyInto(out *Service) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| in.Spec.DeepCopyInto(&out.Spec) |
| in.Status.DeepCopyInto(&out.Status) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. |
| func (in *Service) DeepCopy() *Service { |
| if in == nil { |
| return nil |
| } |
| out := new(Service) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *Service) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ObjectMeta.DeepCopyInto(&out.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) |
| } |
| if in.AutomountServiceAccountToken != nil { |
| in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken |
| *out = new(bool) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. |
| func (in *ServiceAccount) DeepCopy() *ServiceAccount { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceAccount) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ServiceAccount) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]ServiceAccount, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. |
| func (in *ServiceAccountList) DeepCopy() *ServiceAccountList { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceAccountList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ServiceAccountList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceAccountTokenProjection) DeepCopyInto(out *ServiceAccountTokenProjection) { |
| *out = *in |
| if in.ExpirationSeconds != nil { |
| in, out := &in.ExpirationSeconds, &out.ExpirationSeconds |
| *out = new(int64) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenProjection. |
| func (in *ServiceAccountTokenProjection) DeepCopy() *ServiceAccountTokenProjection { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceAccountTokenProjection) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceList) DeepCopyInto(out *ServiceList) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| in.ListMeta.DeepCopyInto(&out.ListMeta) |
| if in.Items != nil { |
| in, out := &in.Items, &out.Items |
| *out = make([]Service, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. |
| func (in *ServiceList) DeepCopy() *ServiceList { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceList) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ServiceList) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServicePort) DeepCopyInto(out *ServicePort) { |
| *out = *in |
| out.TargetPort = in.TargetPort |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. |
| func (in *ServicePort) DeepCopy() *ServicePort { |
| if in == nil { |
| return nil |
| } |
| out := new(ServicePort) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) { |
| *out = *in |
| out.TypeMeta = in.TypeMeta |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. |
| func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceProxyOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object { |
| if c := in.DeepCopy(); c != nil { |
| return c |
| } |
| return nil |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceSpec) DeepCopyInto(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, len(*in)) |
| 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) |
| } |
| if in.SessionAffinityConfig != nil { |
| in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig |
| *out = new(SessionAffinityConfig) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. |
| func (in *ServiceSpec) DeepCopy() *ServiceSpec { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceSpec) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { |
| *out = *in |
| in.LoadBalancer.DeepCopyInto(&out.LoadBalancer) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. |
| func (in *ServiceStatus) DeepCopy() *ServiceStatus { |
| if in == nil { |
| return nil |
| } |
| out := new(ServiceStatus) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig) { |
| *out = *in |
| if in.ClientIP != nil { |
| in, out := &in.ClientIP, &out.ClientIP |
| *out = new(ClientIPConfig) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig. |
| func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig { |
| if in == nil { |
| return nil |
| } |
| out := new(SessionAffinityConfig) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistentVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(ObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. |
| func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(StorageOSPersistentVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) { |
| *out = *in |
| if in.SecretRef != nil { |
| in, out := &in.SecretRef, &out.SecretRef |
| *out = new(LocalObjectReference) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. |
| func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(StorageOSVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Sysctl) DeepCopyInto(out *Sysctl) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. |
| func (in *Sysctl) DeepCopy() *Sysctl { |
| if in == nil { |
| return nil |
| } |
| out := new(Sysctl) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) { |
| *out = *in |
| out.Port = in.Port |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. |
| func (in *TCPSocketAction) DeepCopy() *TCPSocketAction { |
| if in == nil { |
| return nil |
| } |
| out := new(TCPSocketAction) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Taint) DeepCopyInto(out *Taint) { |
| *out = *in |
| if in.TimeAdded != nil { |
| in, out := &in.TimeAdded, &out.TimeAdded |
| *out = (*in).DeepCopy() |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint. |
| func (in *Taint) DeepCopy() *Taint { |
| if in == nil { |
| return nil |
| } |
| out := new(Taint) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Toleration) DeepCopyInto(out *Toleration) { |
| *out = *in |
| if in.TolerationSeconds != nil { |
| in, out := &in.TolerationSeconds, &out.TolerationSeconds |
| *out = new(int64) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. |
| func (in *Toleration) DeepCopy() *Toleration { |
| if in == nil { |
| return nil |
| } |
| out := new(Toleration) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *TopologySelectorLabelRequirement) DeepCopyInto(out *TopologySelectorLabelRequirement) { |
| *out = *in |
| if in.Values != nil { |
| in, out := &in.Values, &out.Values |
| *out = make([]string, len(*in)) |
| copy(*out, *in) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorLabelRequirement. |
| func (in *TopologySelectorLabelRequirement) DeepCopy() *TopologySelectorLabelRequirement { |
| if in == nil { |
| return nil |
| } |
| out := new(TopologySelectorLabelRequirement) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *TopologySelectorTerm) DeepCopyInto(out *TopologySelectorTerm) { |
| *out = *in |
| if in.MatchLabelExpressions != nil { |
| in, out := &in.MatchLabelExpressions, &out.MatchLabelExpressions |
| *out = make([]TopologySelectorLabelRequirement, len(*in)) |
| for i := range *in { |
| (*in)[i].DeepCopyInto(&(*out)[i]) |
| } |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorTerm. |
| func (in *TopologySelectorTerm) DeepCopy() *TopologySelectorTerm { |
| if in == nil { |
| return nil |
| } |
| out := new(TopologySelectorTerm) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *TypedLocalObjectReference) DeepCopyInto(out *TypedLocalObjectReference) { |
| *out = *in |
| if in.APIGroup != nil { |
| in, out := &in.APIGroup, &out.APIGroup |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference. |
| func (in *TypedLocalObjectReference) DeepCopy() *TypedLocalObjectReference { |
| if in == nil { |
| return nil |
| } |
| out := new(TypedLocalObjectReference) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *Volume) DeepCopyInto(out *Volume) { |
| *out = *in |
| in.VolumeSource.DeepCopyInto(&out.VolumeSource) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. |
| func (in *Volume) DeepCopy() *Volume { |
| if in == nil { |
| return nil |
| } |
| out := new(Volume) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VolumeDevice) DeepCopyInto(out *VolumeDevice) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDevice. |
| func (in *VolumeDevice) DeepCopy() *VolumeDevice { |
| if in == nil { |
| return nil |
| } |
| out := new(VolumeDevice) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VolumeMount) DeepCopyInto(out *VolumeMount) { |
| *out = *in |
| if in.MountPropagation != nil { |
| in, out := &in.MountPropagation, &out.MountPropagation |
| *out = new(MountPropagationMode) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. |
| func (in *VolumeMount) DeepCopy() *VolumeMount { |
| if in == nil { |
| return nil |
| } |
| out := new(VolumeMount) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) { |
| *out = *in |
| if in.Required != nil { |
| in, out := &in.Required, &out.Required |
| *out = new(NodeSelector) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity. |
| func (in *VolumeNodeAffinity) DeepCopy() *VolumeNodeAffinity { |
| if in == nil { |
| return nil |
| } |
| out := new(VolumeNodeAffinity) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) { |
| *out = *in |
| if in.Secret != nil { |
| in, out := &in.Secret, &out.Secret |
| *out = new(SecretProjection) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.DownwardAPI != nil { |
| in, out := &in.DownwardAPI, &out.DownwardAPI |
| *out = new(DownwardAPIProjection) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ConfigMap != nil { |
| in, out := &in.ConfigMap, &out.ConfigMap |
| *out = new(ConfigMapProjection) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.ServiceAccountToken != nil { |
| in, out := &in.ServiceAccountToken, &out.ServiceAccountToken |
| *out = new(ServiceAccountTokenProjection) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. |
| func (in *VolumeProjection) DeepCopy() *VolumeProjection { |
| if in == nil { |
| return nil |
| } |
| out := new(VolumeProjection) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VolumeSource) DeepCopyInto(out *VolumeSource) { |
| *out = *in |
| if in.HostPath != nil { |
| in, out := &in.HostPath, &out.HostPath |
| *out = new(HostPathVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.EmptyDir != nil { |
| in, out := &in.EmptyDir, &out.EmptyDir |
| *out = new(EmptyDirVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.FlexVolume != nil { |
| in, out := &in.FlexVolume, &out.FlexVolume |
| *out = new(FlexVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.Cinder != nil { |
| in, out := &in.Cinder, &out.Cinder |
| *out = new(CinderVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.CephFS != nil { |
| in, out := &in.CephFS, &out.CephFS |
| *out = new(CephFSVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.FC != nil { |
| in, out := &in.FC, &out.FC |
| *out = new(FCVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.VsphereVolume != nil { |
| in, out := &in.VsphereVolume, &out.VsphereVolume |
| *out = new(VsphereVirtualDiskVolumeSource) |
| **out = **in |
| } |
| if in.Quobyte != nil { |
| in, out := &in.Quobyte, &out.Quobyte |
| *out = new(QuobyteVolumeSource) |
| **out = **in |
| } |
| if in.AzureDisk != nil { |
| in, out := &in.AzureDisk, &out.AzureDisk |
| *out = new(AzureDiskVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.PhotonPersistentDisk != nil { |
| in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk |
| *out = new(PhotonPersistentDiskVolumeSource) |
| **out = **in |
| } |
| if in.Projected != nil { |
| in, out := &in.Projected, &out.Projected |
| *out = new(ProjectedVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| 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) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.StorageOS != nil { |
| in, out := &in.StorageOS, &out.StorageOS |
| *out = new(StorageOSVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| if in.CSI != nil { |
| in, out := &in.CSI, &out.CSI |
| *out = new(CSIVolumeSource) |
| (*in).DeepCopyInto(*out) |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. |
| func (in *VolumeSource) DeepCopy() *VolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(VolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVolumeSource) { |
| *out = *in |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. |
| func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { |
| if in == nil { |
| return nil |
| } |
| out := new(VsphereVirtualDiskVolumeSource) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) { |
| *out = *in |
| in.PodAffinityTerm.DeepCopyInto(&out.PodAffinityTerm) |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. |
| func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { |
| if in == nil { |
| return nil |
| } |
| out := new(WeightedPodAffinityTerm) |
| in.DeepCopyInto(out) |
| return out |
| } |
| |
| // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| func (in *WindowsSecurityContextOptions) DeepCopyInto(out *WindowsSecurityContextOptions) { |
| *out = *in |
| if in.GMSACredentialSpecName != nil { |
| in, out := &in.GMSACredentialSpecName, &out.GMSACredentialSpecName |
| *out = new(string) |
| **out = **in |
| } |
| if in.GMSACredentialSpec != nil { |
| in, out := &in.GMSACredentialSpec, &out.GMSACredentialSpec |
| *out = new(string) |
| **out = **in |
| } |
| return |
| } |
| |
| // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsSecurityContextOptions. |
| func (in *WindowsSecurityContextOptions) DeepCopy() *WindowsSecurityContextOptions { |
| if in == nil { |
| return nil |
| } |
| out := new(WindowsSecurityContextOptions) |
| in.DeepCopyInto(out) |
| return out |
| } |