mirror of https://github.com/k3s-io/k3s
1122 lines
36 KiB
Go
1122 lines
36 KiB
Go
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2016 The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
|
|
|
|
package extensions
|
|
|
|
import (
|
|
api "k8s.io/kubernetes/pkg/api"
|
|
unversioned "k8s.io/kubernetes/pkg/api/unversioned"
|
|
conversion "k8s.io/kubernetes/pkg/conversion"
|
|
intstr "k8s.io/kubernetes/pkg/util/intstr"
|
|
reflect "reflect"
|
|
)
|
|
|
|
func init() {
|
|
if err := api.Scheme.AddGeneratedDeepCopyFuncs(
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_APIVersion, InType: reflect.TypeOf(func() *APIVersion { var x *APIVersion; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatus, InType: reflect.TypeOf(func() *CustomMetricCurrentStatus { var x *CustomMetricCurrentStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatusList, InType: reflect.TypeOf(func() *CustomMetricCurrentStatusList { var x *CustomMetricCurrentStatusList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTarget, InType: reflect.TypeOf(func() *CustomMetricTarget { var x *CustomMetricTarget; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTargetList, InType: reflect.TypeOf(func() *CustomMetricTargetList { var x *CustomMetricTargetList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSet, InType: reflect.TypeOf(func() *DaemonSet { var x *DaemonSet; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetList, InType: reflect.TypeOf(func() *DaemonSetList { var x *DaemonSetList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetSpec, InType: reflect.TypeOf(func() *DaemonSetSpec { var x *DaemonSetSpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetStatus, InType: reflect.TypeOf(func() *DaemonSetStatus { var x *DaemonSetStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Deployment, InType: reflect.TypeOf(func() *Deployment { var x *Deployment; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentList, InType: reflect.TypeOf(func() *DeploymentList { var x *DeploymentList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentRollback, InType: reflect.TypeOf(func() *DeploymentRollback { var x *DeploymentRollback; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentSpec, InType: reflect.TypeOf(func() *DeploymentSpec { var x *DeploymentSpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStatus, InType: reflect.TypeOf(func() *DeploymentStatus { var x *DeploymentStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStrategy, InType: reflect.TypeOf(func() *DeploymentStrategy { var x *DeploymentStrategy; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_FSGroupStrategyOptions, InType: reflect.TypeOf(func() *FSGroupStrategyOptions { var x *FSGroupStrategyOptions; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressPath, InType: reflect.TypeOf(func() *HTTPIngressPath { var x *HTTPIngressPath; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressRuleValue, InType: reflect.TypeOf(func() *HTTPIngressRuleValue { var x *HTTPIngressRuleValue; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HostPortRange, InType: reflect.TypeOf(func() *HostPortRange { var x *HostPortRange; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IDRange, InType: reflect.TypeOf(func() *IDRange { var x *IDRange; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Ingress, InType: reflect.TypeOf(func() *Ingress { var x *Ingress; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressBackend, InType: reflect.TypeOf(func() *IngressBackend { var x *IngressBackend; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressList, InType: reflect.TypeOf(func() *IngressList { var x *IngressList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRule, InType: reflect.TypeOf(func() *IngressRule { var x *IngressRule; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRuleValue, InType: reflect.TypeOf(func() *IngressRuleValue { var x *IngressRuleValue; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressSpec, InType: reflect.TypeOf(func() *IngressSpec { var x *IngressSpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressStatus, InType: reflect.TypeOf(func() *IngressStatus { var x *IngressStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressTLS, InType: reflect.TypeOf(func() *IngressTLS { var x *IngressTLS; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicy, InType: reflect.TypeOf(func() *NetworkPolicy { var x *NetworkPolicy; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyIngressRule, InType: reflect.TypeOf(func() *NetworkPolicyIngressRule { var x *NetworkPolicyIngressRule; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyList, InType: reflect.TypeOf(func() *NetworkPolicyList { var x *NetworkPolicyList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPeer, InType: reflect.TypeOf(func() *NetworkPolicyPeer { var x *NetworkPolicyPeer; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPort, InType: reflect.TypeOf(func() *NetworkPolicyPort { var x *NetworkPolicyPort; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicySpec, InType: reflect.TypeOf(func() *NetworkPolicySpec { var x *NetworkPolicySpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicy, InType: reflect.TypeOf(func() *PodSecurityPolicy { var x *PodSecurityPolicy; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicyList, InType: reflect.TypeOf(func() *PodSecurityPolicyList { var x *PodSecurityPolicyList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicySpec, InType: reflect.TypeOf(func() *PodSecurityPolicySpec { var x *PodSecurityPolicySpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSet, InType: reflect.TypeOf(func() *ReplicaSet { var x *ReplicaSet; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetList, InType: reflect.TypeOf(func() *ReplicaSetList { var x *ReplicaSetList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetSpec, InType: reflect.TypeOf(func() *ReplicaSetSpec { var x *ReplicaSetSpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetStatus, InType: reflect.TypeOf(func() *ReplicaSetStatus { var x *ReplicaSetStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicationControllerDummy, InType: reflect.TypeOf(func() *ReplicationControllerDummy { var x *ReplicationControllerDummy; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollbackConfig, InType: reflect.TypeOf(func() *RollbackConfig { var x *RollbackConfig; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollingUpdateDeployment, InType: reflect.TypeOf(func() *RollingUpdateDeployment { var x *RollingUpdateDeployment; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RunAsUserStrategyOptions, InType: reflect.TypeOf(func() *RunAsUserStrategyOptions { var x *RunAsUserStrategyOptions; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SELinuxStrategyOptions, InType: reflect.TypeOf(func() *SELinuxStrategyOptions { var x *SELinuxStrategyOptions; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Scale, InType: reflect.TypeOf(func() *Scale { var x *Scale; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleSpec, InType: reflect.TypeOf(func() *ScaleSpec { var x *ScaleSpec; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleStatus, InType: reflect.TypeOf(func() *ScaleStatus { var x *ScaleStatus; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClass, InType: reflect.TypeOf(func() *StorageClass { var x *StorageClass; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClassList, InType: reflect.TypeOf(func() *StorageClassList { var x *StorageClassList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(func() *SupplementalGroupsStrategyOptions { var x *SupplementalGroupsStrategyOptions; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResource, InType: reflect.TypeOf(func() *ThirdPartyResource { var x *ThirdPartyResource; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceData, InType: reflect.TypeOf(func() *ThirdPartyResourceData { var x *ThirdPartyResourceData; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceDataList, InType: reflect.TypeOf(func() *ThirdPartyResourceDataList { var x *ThirdPartyResourceDataList; return x }())},
|
|
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceList, InType: reflect.TypeOf(func() *ThirdPartyResourceList { var x *ThirdPartyResourceList; return x }())},
|
|
); err != nil {
|
|
// if one of the deep copy functions is malformed, detect it immediately.
|
|
panic(err)
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_APIVersion(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*APIVersion)
|
|
out := out.(*APIVersion)
|
|
out.Name = in.Name
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_CustomMetricCurrentStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*CustomMetricCurrentStatus)
|
|
out := out.(*CustomMetricCurrentStatus)
|
|
out.Name = in.Name
|
|
out.CurrentValue = in.CurrentValue.DeepCopy()
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_CustomMetricCurrentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*CustomMetricCurrentStatusList)
|
|
out := out.(*CustomMetricCurrentStatusList)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CustomMetricCurrentStatus, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_CustomMetricCurrentStatus(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_CustomMetricTarget(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*CustomMetricTarget)
|
|
out := out.(*CustomMetricTarget)
|
|
out.Name = in.Name
|
|
out.TargetValue = in.TargetValue.DeepCopy()
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_CustomMetricTargetList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*CustomMetricTargetList)
|
|
out := out.(*CustomMetricTargetList)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CustomMetricTarget, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_CustomMetricTarget(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DaemonSet(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DaemonSet)
|
|
out := out.(*DaemonSet)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_DaemonSetSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
out.Status = in.Status
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DaemonSetList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DaemonSetList)
|
|
out := out.(*DaemonSetList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]DaemonSet, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_DaemonSet(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DaemonSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DaemonSetSpec)
|
|
out := out.(*DaemonSetSpec)
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.Selector = nil
|
|
}
|
|
if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DaemonSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DaemonSetStatus)
|
|
out := out.(*DaemonSetStatus)
|
|
out.CurrentNumberScheduled = in.CurrentNumberScheduled
|
|
out.NumberMisscheduled = in.NumberMisscheduled
|
|
out.DesiredNumberScheduled = in.DesiredNumberScheduled
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_Deployment(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*Deployment)
|
|
out := out.(*Deployment)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_DeploymentSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
out.Status = in.Status
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DeploymentList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DeploymentList)
|
|
out := out.(*DeploymentList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Deployment, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_Deployment(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DeploymentRollback(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DeploymentRollback)
|
|
out := out.(*DeploymentRollback)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.Name = in.Name
|
|
if in.UpdatedAnnotations != nil {
|
|
in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
|
|
*out = make(map[string]string)
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
} else {
|
|
out.UpdatedAnnotations = nil
|
|
}
|
|
out.RollbackTo = in.RollbackTo
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DeploymentSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DeploymentSpec)
|
|
out := out.(*DeploymentSpec)
|
|
out.Replicas = in.Replicas
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.Selector = nil
|
|
}
|
|
if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_DeploymentStrategy(&in.Strategy, &out.Strategy, c); err != nil {
|
|
return err
|
|
}
|
|
out.MinReadySeconds = in.MinReadySeconds
|
|
if in.RevisionHistoryLimit != nil {
|
|
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
} else {
|
|
out.RevisionHistoryLimit = nil
|
|
}
|
|
out.Paused = in.Paused
|
|
if in.RollbackTo != nil {
|
|
in, out := &in.RollbackTo, &out.RollbackTo
|
|
*out = new(RollbackConfig)
|
|
**out = **in
|
|
} else {
|
|
out.RollbackTo = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DeploymentStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DeploymentStatus)
|
|
out := out.(*DeploymentStatus)
|
|
out.ObservedGeneration = in.ObservedGeneration
|
|
out.Replicas = in.Replicas
|
|
out.UpdatedReplicas = in.UpdatedReplicas
|
|
out.AvailableReplicas = in.AvailableReplicas
|
|
out.UnavailableReplicas = in.UnavailableReplicas
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_DeploymentStrategy(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*DeploymentStrategy)
|
|
out := out.(*DeploymentStrategy)
|
|
out.Type = in.Type
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(RollingUpdateDeployment)
|
|
**out = **in
|
|
} else {
|
|
out.RollingUpdate = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_FSGroupStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*FSGroupStrategyOptions)
|
|
out := out.(*FSGroupStrategyOptions)
|
|
out.Rule = in.Rule
|
|
if in.Ranges != nil {
|
|
in, out := &in.Ranges, &out.Ranges
|
|
*out = make([]IDRange, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Ranges = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_HTTPIngressPath(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*HTTPIngressPath)
|
|
out := out.(*HTTPIngressPath)
|
|
out.Path = in.Path
|
|
out.Backend = in.Backend
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_HTTPIngressRuleValue(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*HTTPIngressRuleValue)
|
|
out := out.(*HTTPIngressRuleValue)
|
|
if in.Paths != nil {
|
|
in, out := &in.Paths, &out.Paths
|
|
*out = make([]HTTPIngressPath, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Paths = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_HostPortRange(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*HostPortRange)
|
|
out := out.(*HostPortRange)
|
|
out.Min = in.Min
|
|
out.Max = in.Max
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IDRange(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IDRange)
|
|
out := out.(*IDRange)
|
|
out.Min = in.Min
|
|
out.Max = in.Max
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_Ingress(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*Ingress)
|
|
out := out.(*Ingress)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_IngressSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_IngressStatus(&in.Status, &out.Status, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressBackend(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressBackend)
|
|
out := out.(*IngressBackend)
|
|
out.ServiceName = in.ServiceName
|
|
out.ServicePort = in.ServicePort
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressList)
|
|
out := out.(*IngressList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Ingress, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_Ingress(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressRule(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressRule)
|
|
out := out.(*IngressRule)
|
|
out.Host = in.Host
|
|
if err := DeepCopy_extensions_IngressRuleValue(&in.IngressRuleValue, &out.IngressRuleValue, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressRuleValue(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressRuleValue)
|
|
out := out.(*IngressRuleValue)
|
|
if in.HTTP != nil {
|
|
in, out := &in.HTTP, &out.HTTP
|
|
*out = new(HTTPIngressRuleValue)
|
|
if err := DeepCopy_extensions_HTTPIngressRuleValue(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.HTTP = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressSpec)
|
|
out := out.(*IngressSpec)
|
|
if in.Backend != nil {
|
|
in, out := &in.Backend, &out.Backend
|
|
*out = new(IngressBackend)
|
|
**out = **in
|
|
} else {
|
|
out.Backend = nil
|
|
}
|
|
if in.TLS != nil {
|
|
in, out := &in.TLS, &out.TLS
|
|
*out = make([]IngressTLS, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_IngressTLS(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.TLS = nil
|
|
}
|
|
if in.Rules != nil {
|
|
in, out := &in.Rules, &out.Rules
|
|
*out = make([]IngressRule, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_IngressRule(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Rules = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressStatus)
|
|
out := out.(*IngressStatus)
|
|
if err := api.DeepCopy_api_LoadBalancerStatus(&in.LoadBalancer, &out.LoadBalancer, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_IngressTLS(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*IngressTLS)
|
|
out := out.(*IngressTLS)
|
|
if in.Hosts != nil {
|
|
in, out := &in.Hosts, &out.Hosts
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
} else {
|
|
out.Hosts = nil
|
|
}
|
|
out.SecretName = in.SecretName
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicy)
|
|
out := out.(*NetworkPolicy)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_NetworkPolicySpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicyIngressRule(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicyIngressRule)
|
|
out := out.(*NetworkPolicyIngressRule)
|
|
if in.Ports != nil {
|
|
in, out := &in.Ports, &out.Ports
|
|
*out = make([]NetworkPolicyPort, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_NetworkPolicyPort(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Ports = nil
|
|
}
|
|
if in.From != nil {
|
|
in, out := &in.From, &out.From
|
|
*out = make([]NetworkPolicyPeer, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_NetworkPolicyPeer(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.From = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicyList)
|
|
out := out.(*NetworkPolicyList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]NetworkPolicy, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_NetworkPolicy(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicyPeer(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicyPeer)
|
|
out := out.(*NetworkPolicyPeer)
|
|
if in.PodSelector != nil {
|
|
in, out := &in.PodSelector, &out.PodSelector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.PodSelector = nil
|
|
}
|
|
if in.NamespaceSelector != nil {
|
|
in, out := &in.NamespaceSelector, &out.NamespaceSelector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.NamespaceSelector = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicyPort(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicyPort)
|
|
out := out.(*NetworkPolicyPort)
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(api.Protocol)
|
|
**out = **in
|
|
} else {
|
|
out.Protocol = nil
|
|
}
|
|
if in.Port != nil {
|
|
in, out := &in.Port, &out.Port
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
} else {
|
|
out.Port = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_NetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*NetworkPolicySpec)
|
|
out := out.(*NetworkPolicySpec)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(&in.PodSelector, &out.PodSelector, c); err != nil {
|
|
return err
|
|
}
|
|
if in.Ingress != nil {
|
|
in, out := &in.Ingress, &out.Ingress
|
|
*out = make([]NetworkPolicyIngressRule, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_NetworkPolicyIngressRule(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Ingress = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_PodSecurityPolicy(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*PodSecurityPolicy)
|
|
out := out.(*PodSecurityPolicy)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_PodSecurityPolicySpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_PodSecurityPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*PodSecurityPolicyList)
|
|
out := out.(*PodSecurityPolicyList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]PodSecurityPolicy, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_PodSecurityPolicy(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_PodSecurityPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*PodSecurityPolicySpec)
|
|
out := out.(*PodSecurityPolicySpec)
|
|
out.Privileged = in.Privileged
|
|
if in.DefaultAddCapabilities != nil {
|
|
in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
|
|
*out = make([]api.Capability, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.DefaultAddCapabilities = nil
|
|
}
|
|
if in.RequiredDropCapabilities != nil {
|
|
in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
|
|
*out = make([]api.Capability, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.RequiredDropCapabilities = nil
|
|
}
|
|
if in.AllowedCapabilities != nil {
|
|
in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
|
|
*out = make([]api.Capability, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.AllowedCapabilities = nil
|
|
}
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]FSType, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Volumes = nil
|
|
}
|
|
out.HostNetwork = in.HostNetwork
|
|
if in.HostPorts != nil {
|
|
in, out := &in.HostPorts, &out.HostPorts
|
|
*out = make([]HostPortRange, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.HostPorts = nil
|
|
}
|
|
out.HostPID = in.HostPID
|
|
out.HostIPC = in.HostIPC
|
|
if err := DeepCopy_extensions_SELinuxStrategyOptions(&in.SELinux, &out.SELinux, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_RunAsUserStrategyOptions(&in.RunAsUser, &out.RunAsUser, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_SupplementalGroupsStrategyOptions(&in.SupplementalGroups, &out.SupplementalGroups, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_FSGroupStrategyOptions(&in.FSGroup, &out.FSGroup, c); err != nil {
|
|
return err
|
|
}
|
|
out.ReadOnlyRootFilesystem = in.ReadOnlyRootFilesystem
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ReplicaSet(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ReplicaSet)
|
|
out := out.(*ReplicaSet)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if err := DeepCopy_extensions_ReplicaSetSpec(&in.Spec, &out.Spec, c); err != nil {
|
|
return err
|
|
}
|
|
out.Status = in.Status
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ReplicaSetList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ReplicaSetList)
|
|
out := out.(*ReplicaSetList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ReplicaSet, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_ReplicaSet(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ReplicaSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ReplicaSetSpec)
|
|
out := out.(*ReplicaSetSpec)
|
|
out.Replicas = in.Replicas
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.Selector = nil
|
|
}
|
|
if err := api.DeepCopy_api_PodTemplateSpec(&in.Template, &out.Template, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ReplicaSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ReplicaSetStatus)
|
|
out := out.(*ReplicaSetStatus)
|
|
out.Replicas = in.Replicas
|
|
out.FullyLabeledReplicas = in.FullyLabeledReplicas
|
|
out.ObservedGeneration = in.ObservedGeneration
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ReplicationControllerDummy(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ReplicationControllerDummy)
|
|
out := out.(*ReplicationControllerDummy)
|
|
out.TypeMeta = in.TypeMeta
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_RollbackConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*RollbackConfig)
|
|
out := out.(*RollbackConfig)
|
|
out.Revision = in.Revision
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_RollingUpdateDeployment(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*RollingUpdateDeployment)
|
|
out := out.(*RollingUpdateDeployment)
|
|
out.MaxUnavailable = in.MaxUnavailable
|
|
out.MaxSurge = in.MaxSurge
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_RunAsUserStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*RunAsUserStrategyOptions)
|
|
out := out.(*RunAsUserStrategyOptions)
|
|
out.Rule = in.Rule
|
|
if in.Ranges != nil {
|
|
in, out := &in.Ranges, &out.Ranges
|
|
*out = make([]IDRange, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Ranges = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_SELinuxStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*SELinuxStrategyOptions)
|
|
out := out.(*SELinuxStrategyOptions)
|
|
out.Rule = in.Rule
|
|
if in.SELinuxOptions != nil {
|
|
in, out := &in.SELinuxOptions, &out.SELinuxOptions
|
|
*out = new(api.SELinuxOptions)
|
|
**out = **in
|
|
} else {
|
|
out.SELinuxOptions = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_Scale(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*Scale)
|
|
out := out.(*Scale)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
out.Spec = in.Spec
|
|
if err := DeepCopy_extensions_ScaleStatus(&in.Status, &out.Status, c); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ScaleSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ScaleSpec)
|
|
out := out.(*ScaleSpec)
|
|
out.Replicas = in.Replicas
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ScaleStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ScaleStatus)
|
|
out := out.(*ScaleStatus)
|
|
out.Replicas = in.Replicas
|
|
if in.Selector != nil {
|
|
in, out := &in.Selector, &out.Selector
|
|
*out = new(unversioned.LabelSelector)
|
|
if err := unversioned.DeepCopy_unversioned_LabelSelector(*in, *out, c); err != nil {
|
|
return err
|
|
}
|
|
} else {
|
|
out.Selector = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_StorageClass(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*StorageClass)
|
|
out := out.(*StorageClass)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
out.Provisioner = in.Provisioner
|
|
if in.Parameters != nil {
|
|
in, out := &in.Parameters, &out.Parameters
|
|
*out = make(map[string]string)
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
} else {
|
|
out.Parameters = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_StorageClassList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*StorageClassList)
|
|
out := out.(*StorageClassList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]StorageClass, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_StorageClass(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_SupplementalGroupsStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*SupplementalGroupsStrategyOptions)
|
|
out := out.(*SupplementalGroupsStrategyOptions)
|
|
out.Rule = in.Rule
|
|
if in.Ranges != nil {
|
|
in, out := &in.Ranges, &out.Ranges
|
|
*out = make([]IDRange, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Ranges = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ThirdPartyResource(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ThirdPartyResource)
|
|
out := out.(*ThirdPartyResource)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
out.Description = in.Description
|
|
if in.Versions != nil {
|
|
in, out := &in.Versions, &out.Versions
|
|
*out = make([]APIVersion, len(*in))
|
|
for i := range *in {
|
|
(*out)[i] = (*in)[i]
|
|
}
|
|
} else {
|
|
out.Versions = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ThirdPartyResourceData(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ThirdPartyResourceData)
|
|
out := out.(*ThirdPartyResourceData)
|
|
out.TypeMeta = in.TypeMeta
|
|
if err := api.DeepCopy_api_ObjectMeta(&in.ObjectMeta, &out.ObjectMeta, c); err != nil {
|
|
return err
|
|
}
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
} else {
|
|
out.Data = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ThirdPartyResourceDataList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ThirdPartyResourceDataList)
|
|
out := out.(*ThirdPartyResourceDataList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ThirdPartyResourceData, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_ThirdPartyResourceData(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|
|
|
|
func DeepCopy_extensions_ThirdPartyResourceList(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
{
|
|
in := in.(*ThirdPartyResourceList)
|
|
out := out.(*ThirdPartyResourceList)
|
|
out.TypeMeta = in.TypeMeta
|
|
out.ListMeta = in.ListMeta
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ThirdPartyResource, len(*in))
|
|
for i := range *in {
|
|
if err := DeepCopy_extensions_ThirdPartyResource(&(*in)[i], &(*out)[i], c); err != nil {
|
|
return err
|
|
}
|
|
}
|
|
} else {
|
|
out.Items = nil
|
|
}
|
|
return nil
|
|
}
|
|
}
|