mirror of https://github.com/kubernetes/kops.git
6284 lines
168 KiB
Go
6284 lines
168 KiB
Go
//go:build !ignore_autogenerated
|
|
// +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 kops
|
|
|
|
import (
|
|
corev1 "k8s.io/api/core/v1"
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
intstr "k8s.io/apimachinery/pkg/util/intstr"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *APISpec) DeepCopyInto(out *APISpec) {
|
|
*out = *in
|
|
if in.DNS != nil {
|
|
in, out := &in.DNS, &out.DNS
|
|
*out = new(DNSAccessSpec)
|
|
**out = **in
|
|
}
|
|
if in.LoadBalancer != nil {
|
|
in, out := &in.LoadBalancer, &out.LoadBalancer
|
|
*out = new(LoadBalancerAccessSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AdditionalSANs != nil {
|
|
in, out := &in.AdditionalSANs, &out.AdditionalSANs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Access != nil {
|
|
in, out := &in.Access, &out.Access
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISpec.
|
|
func (in *APISpec) DeepCopy() *APISpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(APISpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AWSAuthenticationIdentityMappingSpec) DeepCopyInto(out *AWSAuthenticationIdentityMappingSpec) {
|
|
*out = *in
|
|
if in.Groups != nil {
|
|
in, out := &in.Groups, &out.Groups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthenticationIdentityMappingSpec.
|
|
func (in *AWSAuthenticationIdentityMappingSpec) DeepCopy() *AWSAuthenticationIdentityMappingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AWSAuthenticationIdentityMappingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AWSAuthenticationSpec) DeepCopyInto(out *AWSAuthenticationSpec) {
|
|
*out = *in
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.IdentityMappings != nil {
|
|
in, out := &in.IdentityMappings, &out.IdentityMappings
|
|
*out = make([]AWSAuthenticationIdentityMappingSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSAuthenticationSpec.
|
|
func (in *AWSAuthenticationSpec) DeepCopy() *AWSAuthenticationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AWSAuthenticationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AWSPermission) DeepCopyInto(out *AWSPermission) {
|
|
*out = *in
|
|
if in.PolicyARNs != nil {
|
|
in, out := &in.PolicyARNs, &out.PolicyARNs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSPermission.
|
|
func (in *AWSPermission) DeepCopy() *AWSPermission {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AWSPermission)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AWSSpec) DeepCopyInto(out *AWSSpec) {
|
|
*out = *in
|
|
if in.EBSCSIDriver != nil {
|
|
in, out := &in.EBSCSIDriver, &out.EBSCSIDriver
|
|
*out = new(EBSCSIDriverSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NodeTerminationHandler != nil {
|
|
in, out := &in.NodeTerminationHandler, &out.NodeTerminationHandler
|
|
*out = new(NodeTerminationHandlerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.LoadBalancerController != nil {
|
|
in, out := &in.LoadBalancerController, &out.LoadBalancerController
|
|
*out = new(LoadBalancerControllerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PodIdentityWebhook != nil {
|
|
in, out := &in.PodIdentityWebhook, &out.PodIdentityWebhook
|
|
*out = new(PodIdentityWebhookSpec)
|
|
**out = **in
|
|
}
|
|
if in.WarmPool != nil {
|
|
in, out := &in.WarmPool, &out.WarmPool
|
|
*out = new(WarmPoolSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NodeIPFamilies != nil {
|
|
in, out := &in.NodeIPFamilies, &out.NodeIPFamilies
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DisableSecurityGroupIngress != nil {
|
|
in, out := &in.DisableSecurityGroupIngress, &out.DisableSecurityGroupIngress
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ElbSecurityGroup != nil {
|
|
in, out := &in.ElbSecurityGroup, &out.ElbSecurityGroup
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SpotinstProduct != nil {
|
|
in, out := &in.SpotinstProduct, &out.SpotinstProduct
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SpotinstOrientation != nil {
|
|
in, out := &in.SpotinstOrientation, &out.SpotinstOrientation
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.BinariesLocation != nil {
|
|
in, out := &in.BinariesLocation, &out.BinariesLocation
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSSpec.
|
|
func (in *AWSSpec) DeepCopy() *AWSSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AWSSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AcceleratorConfig) DeepCopyInto(out *AcceleratorConfig) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcceleratorConfig.
|
|
func (in *AcceleratorConfig) DeepCopy() *AcceleratorConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AcceleratorConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AccessLogSpec) DeepCopyInto(out *AccessLogSpec) {
|
|
*out = *in
|
|
if in.Bucket != nil {
|
|
in, out := &in.Bucket, &out.Bucket
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.BucketPrefix != nil {
|
|
in, out := &in.BucketPrefix, &out.BucketPrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessLogSpec.
|
|
func (in *AccessLogSpec) DeepCopy() *AccessLogSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AccessLogSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AddonSpec) DeepCopyInto(out *AddonSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonSpec.
|
|
func (in *AddonSpec) DeepCopy() *AddonSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AddonSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AlwaysAllowAuthorizationSpec) DeepCopyInto(out *AlwaysAllowAuthorizationSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlwaysAllowAuthorizationSpec.
|
|
func (in *AlwaysAllowAuthorizationSpec) DeepCopy() *AlwaysAllowAuthorizationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AlwaysAllowAuthorizationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AmazonVPCNetworkingSpec) DeepCopyInto(out *AmazonVPCNetworkingSpec) {
|
|
*out = *in
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]EnvVar, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonVPCNetworkingSpec.
|
|
func (in *AmazonVPCNetworkingSpec) DeepCopy() *AmazonVPCNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AmazonVPCNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AssetsSpec) DeepCopyInto(out *AssetsSpec) {
|
|
*out = *in
|
|
if in.ContainerRegistry != nil {
|
|
in, out := &in.ContainerRegistry, &out.ContainerRegistry
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.FileRepository != nil {
|
|
in, out := &in.FileRepository, &out.FileRepository
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ContainerProxy != nil {
|
|
in, out := &in.ContainerProxy, &out.ContainerProxy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssetsSpec.
|
|
func (in *AssetsSpec) DeepCopy() *AssetsSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AssetsSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec) {
|
|
*out = *in
|
|
if in.Kopeio != nil {
|
|
in, out := &in.Kopeio, &out.Kopeio
|
|
*out = new(KopeioAuthenticationSpec)
|
|
**out = **in
|
|
}
|
|
if in.AWS != nil {
|
|
in, out := &in.AWS, &out.AWS
|
|
*out = new(AWSAuthenticationSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.OIDC != nil {
|
|
in, out := &in.OIDC, &out.OIDC
|
|
*out = new(OIDCAuthenticationSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationSpec.
|
|
func (in *AuthenticationSpec) DeepCopy() *AuthenticationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AuthenticationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AuthorizationSpec) DeepCopyInto(out *AuthorizationSpec) {
|
|
*out = *in
|
|
if in.AlwaysAllow != nil {
|
|
in, out := &in.AlwaysAllow, &out.AlwaysAllow
|
|
*out = new(AlwaysAllowAuthorizationSpec)
|
|
**out = **in
|
|
}
|
|
if in.RBAC != nil {
|
|
in, out := &in.RBAC, &out.RBAC
|
|
*out = new(RBACAuthorizationSpec)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationSpec.
|
|
func (in *AuthorizationSpec) DeepCopy() *AuthorizationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AuthorizationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AzureSpec) DeepCopyInto(out *AzureSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSpec.
|
|
func (in *AzureSpec) DeepCopy() *AzureSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AzureSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BastionLoadBalancerSpec) DeepCopyInto(out *BastionLoadBalancerSpec) {
|
|
*out = *in
|
|
if in.AdditionalSecurityGroups != nil {
|
|
in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionLoadBalancerSpec.
|
|
func (in *BastionLoadBalancerSpec) DeepCopy() *BastionLoadBalancerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BastionLoadBalancerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *BastionSpec) DeepCopyInto(out *BastionSpec) {
|
|
*out = *in
|
|
if in.LoadBalancer != nil {
|
|
in, out := &in.LoadBalancer, &out.LoadBalancer
|
|
*out = new(BastionLoadBalancerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BastionSpec.
|
|
func (in *BastionSpec) DeepCopy() *BastionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(BastionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CNINetworkingSpec) DeepCopyInto(out *CNINetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNINetworkingSpec.
|
|
func (in *CNINetworkingSpec) DeepCopy() *CNINetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CNINetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CalicoNetworkingSpec) DeepCopyInto(out *CalicoNetworkingSpec) {
|
|
*out = *in
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CrossSubnet != nil {
|
|
in, out := &in.CrossSubnet, &out.CrossSubnet
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MTU != nil {
|
|
in, out := &in.MTU, &out.MTU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalicoNetworkingSpec.
|
|
func (in *CalicoNetworkingSpec) DeepCopy() *CalicoNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CalicoNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CanalNetworkingSpec) DeepCopyInto(out *CanalNetworkingSpec) {
|
|
*out = *in
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.FlanneldIptablesForwardRules != nil {
|
|
in, out := &in.FlanneldIptablesForwardRules, &out.FlanneldIptablesForwardRules
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MTU != nil {
|
|
in, out := &in.MTU, &out.MTU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanalNetworkingSpec.
|
|
func (in *CanalNetworkingSpec) DeepCopy() *CanalNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CanalNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CertManagerConfig) DeepCopyInto(out *CertManagerConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Managed != nil {
|
|
in, out := &in.Managed, &out.Managed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Image != nil {
|
|
in, out := &in.Image, &out.Image
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DefaultIssuer != nil {
|
|
in, out := &in.DefaultIssuer, &out.DefaultIssuer
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Nameservers != nil {
|
|
in, out := &in.Nameservers, &out.Nameservers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.HostedZoneIDs != nil {
|
|
in, out := &in.HostedZoneIDs, &out.HostedZoneIDs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]bool, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertManagerConfig.
|
|
func (in *CertManagerConfig) DeepCopy() *CertManagerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CertManagerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Channel) DeepCopyInto(out *Channel) {
|
|
*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 Channel.
|
|
func (in *Channel) DeepCopy() *Channel {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Channel)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ChannelImageSpec) DeepCopyInto(out *ChannelImageSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelImageSpec.
|
|
func (in *ChannelImageSpec) DeepCopy() *ChannelImageSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ChannelImageSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec) {
|
|
*out = *in
|
|
if in.Images != nil {
|
|
in, out := &in.Images, &out.Images
|
|
*out = make([]*ChannelImageSpec, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(ChannelImageSpec)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
if in.Cluster != nil {
|
|
in, out := &in.Cluster, &out.Cluster
|
|
*out = new(ClusterSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KopsVersions != nil {
|
|
in, out := &in.KopsVersions, &out.KopsVersions
|
|
*out = make([]KopsVersionSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.KubernetesVersions != nil {
|
|
in, out := &in.KubernetesVersions, &out.KubernetesVersions
|
|
*out = make([]KubernetesVersionSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]PackageVersionSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChannelSpec.
|
|
func (in *ChannelSpec) DeepCopy() *ChannelSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ChannelSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CiliumGatewayAPISpec) DeepCopyInto(out *CiliumGatewayAPISpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableSecretsSync != nil {
|
|
in, out := &in.EnableSecretsSync, &out.EnableSecretsSync
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumGatewayAPISpec.
|
|
func (in *CiliumGatewayAPISpec) DeepCopy() *CiliumGatewayAPISpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CiliumGatewayAPISpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CiliumIngressSpec) DeepCopyInto(out *CiliumIngressSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnforceHttps != nil {
|
|
in, out := &in.EnforceHttps, &out.EnforceHttps
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableSecretsSync != nil {
|
|
in, out := &in.EnableSecretsSync, &out.EnableSecretsSync
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumIngressSpec.
|
|
func (in *CiliumIngressSpec) DeepCopy() *CiliumIngressSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CiliumIngressSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CiliumNetworkingSpec) DeepCopyInto(out *CiliumNetworkingSpec) {
|
|
*out = *in
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.Metrics != nil {
|
|
in, out := &in.Metrics, &out.Metrics
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EnableL7Proxy != nil {
|
|
in, out := &in.EnableL7Proxy, &out.EnableL7Proxy
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableLocalRedirectPolicy != nil {
|
|
in, out := &in.EnableLocalRedirectPolicy, &out.EnableLocalRedirectPolicy
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableBPFMasquerade != nil {
|
|
in, out := &in.EnableBPFMasquerade, &out.EnableBPFMasquerade
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableEndpointHealthChecking != nil {
|
|
in, out := &in.EnableEndpointHealthChecking, &out.EnableEndpointHealthChecking
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Masquerade != nil {
|
|
in, out := &in.Masquerade, &out.Masquerade
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AgentPodAnnotations != nil {
|
|
in, out := &in.AgentPodAnnotations, &out.AgentPodAnnotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.OperatorPodAnnotations != nil {
|
|
in, out := &in.OperatorPodAnnotations, &out.OperatorPodAnnotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.InstallIptablesRules != nil {
|
|
in, out := &in.InstallIptablesRules, &out.InstallIptablesRules
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableRemoteNodeIdentity != nil {
|
|
in, out := &in.EnableRemoteNodeIdentity, &out.EnableRemoteNodeIdentity
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableUnreachableRoutes != nil {
|
|
in, out := &in.EnableUnreachableRoutes, &out.EnableUnreachableRoutes
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CniExclusive != nil {
|
|
in, out := &in.CniExclusive, &out.CniExclusive
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Hubble != nil {
|
|
in, out := &in.Hubble, &out.Hubble
|
|
*out = new(HubbleSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DisableCNPStatusUpdates != nil {
|
|
in, out := &in.DisableCNPStatusUpdates, &out.DisableCNPStatusUpdates
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Ingress != nil {
|
|
in, out := &in.Ingress, &out.Ingress
|
|
*out = new(CiliumIngressSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.GatewayAPI != nil {
|
|
in, out := &in.GatewayAPI, &out.GatewayAPI
|
|
*out = new(CiliumGatewayAPISpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CiliumNetworkingSpec.
|
|
func (in *CiliumNetworkingSpec) DeepCopy() *CiliumNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CiliumNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClassicNetworkingSpec) DeepCopyInto(out *ClassicNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicNetworkingSpec.
|
|
func (in *ClassicNetworkingSpec) DeepCopy() *ClassicNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClassicNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloudConfiguration) DeepCopyInto(out *CloudConfiguration) {
|
|
*out = *in
|
|
if in.ManageStorageClasses != nil {
|
|
in, out := &in.ManageStorageClasses, &out.ManageStorageClasses
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudConfiguration.
|
|
func (in *CloudConfiguration) DeepCopy() *CloudConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloudConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManagerConfig) {
|
|
*out = *in
|
|
if in.AllowUntaggedCloud != nil {
|
|
in, out := &in.AllowUntaggedCloud, &out.AllowUntaggedCloud
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AllocateNodeCIDRs != nil {
|
|
in, out := &in.AllocateNodeCIDRs, &out.AllocateNodeCIDRs
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ConfigureCloudRoutes != nil {
|
|
in, out := &in.ConfigureCloudRoutes, &out.ConfigureCloudRoutes
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Controllers != nil {
|
|
in, out := &in.Controllers, &out.Controllers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CIDRAllocatorType != nil {
|
|
in, out := &in.CIDRAllocatorType, &out.CIDRAllocatorType
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElection != nil {
|
|
in, out := &in.LeaderElection, &out.LeaderElection
|
|
*out = new(LeaderElectionConfiguration)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UseServiceAccountCredentials != nil {
|
|
in, out := &in.UseServiceAccountCredentials, &out.UseServiceAccountCredentials
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableLeaderMigration != nil {
|
|
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NodeStatusUpdateFrequency != nil {
|
|
in, out := &in.NodeStatusUpdateFrequency, &out.NodeStatusUpdateFrequency
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentNodeSyncs != nil {
|
|
in, out := &in.ConcurrentNodeSyncs, &out.ConcurrentNodeSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.
|
|
func (in *CloudControllerManagerConfig) DeepCopy() *CloudControllerManagerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloudControllerManagerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CloudProviderSpec) DeepCopyInto(out *CloudProviderSpec) {
|
|
*out = *in
|
|
if in.AWS != nil {
|
|
in, out := &in.AWS, &out.AWS
|
|
*out = new(AWSSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Azure != nil {
|
|
in, out := &in.Azure, &out.Azure
|
|
*out = new(AzureSpec)
|
|
**out = **in
|
|
}
|
|
if in.DO != nil {
|
|
in, out := &in.DO, &out.DO
|
|
*out = new(DOSpec)
|
|
**out = **in
|
|
}
|
|
if in.GCE != nil {
|
|
in, out := &in.GCE, &out.GCE
|
|
*out = new(GCESpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Hetzner != nil {
|
|
in, out := &in.Hetzner, &out.Hetzner
|
|
*out = new(HetznerSpec)
|
|
**out = **in
|
|
}
|
|
if in.Openstack != nil {
|
|
in, out := &in.Openstack, &out.Openstack
|
|
*out = new(OpenstackSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Scaleway != nil {
|
|
in, out := &in.Scaleway, &out.Scaleway
|
|
*out = new(ScalewaySpec)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderSpec.
|
|
func (in *CloudProviderSpec) DeepCopy() *CloudProviderSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CloudProviderSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Cluster) DeepCopyInto(out *Cluster) {
|
|
*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 Cluster.
|
|
func (in *Cluster) DeepCopy() *Cluster {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Cluster)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Cluster) 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 *ClusterAutoscalerConfig) DeepCopyInto(out *ClusterAutoscalerConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.BalanceSimilarNodeGroups != nil {
|
|
in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EmitPerNodegroupMetrics != nil {
|
|
in, out := &in.EmitPerNodegroupMetrics, &out.EmitPerNodegroupMetrics
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AWSUseStaticInstanceList != nil {
|
|
in, out := &in.AWSUseStaticInstanceList, &out.AWSUseStaticInstanceList
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IgnoreDaemonSetsUtilization != nil {
|
|
in, out := &in.IgnoreDaemonSetsUtilization, &out.IgnoreDaemonSetsUtilization
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ScaleDownUtilizationThreshold != nil {
|
|
in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SkipNodesWithCustomControllerPods != nil {
|
|
in, out := &in.SkipNodesWithCustomControllerPods, &out.SkipNodesWithCustomControllerPods
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SkipNodesWithSystemPods != nil {
|
|
in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SkipNodesWithLocalStorage != nil {
|
|
in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NewPodScaleUpDelay != nil {
|
|
in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ScaleDownDelayAfterAdd != nil {
|
|
in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ScaleDownUnneededTime != nil {
|
|
in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ScaleDownUnreadyTime != nil {
|
|
in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.CordonNodeBeforeTerminating != nil {
|
|
in, out := &in.CordonNodeBeforeTerminating, &out.CordonNodeBeforeTerminating
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Image != nil {
|
|
in, out := &in.Image, &out.Image
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.PodAnnotations != nil {
|
|
in, out := &in.PodAnnotations, &out.PodAnnotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.CreatePriorityExpenderConfig != nil {
|
|
in, out := &in.CreatePriorityExpenderConfig, &out.CreatePriorityExpenderConfig
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CustomPriorityExpanderConfig != nil {
|
|
in, out := &in.CustomPriorityExpanderConfig, &out.CustomPriorityExpanderConfig
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []string
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutoscalerConfig.
|
|
func (in *ClusterAutoscalerConfig) DeepCopy() *ClusterAutoscalerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterAutoscalerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterList) DeepCopyInto(out *ClusterList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Cluster, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
|
|
func (in *ClusterList) DeepCopy() *ClusterList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterList) 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 *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
|
|
*out = *in
|
|
if in.Addons != nil {
|
|
in, out := &in.Addons, &out.Addons
|
|
*out = make([]AddonSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.ConfigStore = in.ConfigStore
|
|
in.CloudProvider.DeepCopyInto(&out.CloudProvider)
|
|
if in.GossipConfig != nil {
|
|
in, out := &in.GossipConfig, &out.GossipConfig
|
|
*out = new(GossipConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.DNSControllerGossipConfig != nil {
|
|
in, out := &in.DNSControllerGossipConfig, &out.DNSControllerGossipConfig
|
|
*out = new(DNSControllerGossipConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.SSHAccess != nil {
|
|
in, out := &in.SSHAccess, &out.SSHAccess
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.NodePortAccess != nil {
|
|
in, out := &in.NodePortAccess, &out.NodePortAccess
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SSHKeyName != nil {
|
|
in, out := &in.SSHKeyName, &out.SSHKeyName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UpdatePolicy != nil {
|
|
in, out := &in.UpdatePolicy, &out.UpdatePolicy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ExternalPolicies != nil {
|
|
in, out := &in.ExternalPolicies, &out.ExternalPolicies
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []string
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
if in.AdditionalPolicies != nil {
|
|
in, out := &in.AdditionalPolicies, &out.AdditionalPolicies
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.FileAssets != nil {
|
|
in, out := &in.FileAssets, &out.FileAssets
|
|
*out = make([]FileAssetSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EtcdClusters != nil {
|
|
in, out := &in.EtcdClusters, &out.EtcdClusters
|
|
*out = make([]EtcdClusterSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Docker != nil {
|
|
in, out := &in.Docker, &out.Docker
|
|
*out = new(DockerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Containerd != nil {
|
|
in, out := &in.Containerd, &out.Containerd
|
|
*out = new(ContainerdConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeDNS != nil {
|
|
in, out := &in.KubeDNS, &out.KubeDNS
|
|
*out = new(KubeDNSConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeAPIServer != nil {
|
|
in, out := &in.KubeAPIServer, &out.KubeAPIServer
|
|
*out = new(KubeAPIServerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeControllerManager != nil {
|
|
in, out := &in.KubeControllerManager, &out.KubeControllerManager
|
|
*out = new(KubeControllerManagerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ExternalCloudControllerManager != nil {
|
|
in, out := &in.ExternalCloudControllerManager, &out.ExternalCloudControllerManager
|
|
*out = new(CloudControllerManagerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeScheduler != nil {
|
|
in, out := &in.KubeScheduler, &out.KubeScheduler
|
|
*out = new(KubeSchedulerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeProxy != nil {
|
|
in, out := &in.KubeProxy, &out.KubeProxy
|
|
*out = new(KubeProxyConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Kubelet != nil {
|
|
in, out := &in.Kubelet, &out.Kubelet
|
|
*out = new(KubeletConfigSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ControlPlaneKubelet != nil {
|
|
in, out := &in.ControlPlaneKubelet, &out.ControlPlaneKubelet
|
|
*out = new(KubeletConfigSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.CloudConfig != nil {
|
|
in, out := &in.CloudConfig, &out.CloudConfig
|
|
*out = new(CloudConfiguration)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ExternalDNS != nil {
|
|
in, out := &in.ExternalDNS, &out.ExternalDNS
|
|
*out = new(ExternalDNSConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NTP != nil {
|
|
in, out := &in.NTP, &out.NTP
|
|
*out = new(NTPConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.NodeProblemDetector != nil {
|
|
in, out := &in.NodeProblemDetector, &out.NodeProblemDetector
|
|
*out = new(NodeProblemDetectorConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.MetricsServer != nil {
|
|
in, out := &in.MetricsServer, &out.MetricsServer
|
|
*out = new(MetricsServerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.CertManager != nil {
|
|
in, out := &in.CertManager, &out.CertManager
|
|
*out = new(CertManagerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
in.Networking.DeepCopyInto(&out.Networking)
|
|
in.API.DeepCopyInto(&out.API)
|
|
if in.Authentication != nil {
|
|
in, out := &in.Authentication, &out.Authentication
|
|
*out = new(AuthenticationSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Authorization != nil {
|
|
in, out := &in.Authorization, &out.Authorization
|
|
*out = new(AuthorizationSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NodeAuthorization != nil {
|
|
in, out := &in.NodeAuthorization, &out.NodeAuthorization
|
|
*out = new(NodeAuthorizationSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.CloudLabels != nil {
|
|
in, out := &in.CloudLabels, &out.CloudLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Hooks != nil {
|
|
in, out := &in.Hooks, &out.Hooks
|
|
*out = make([]HookSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Assets != nil {
|
|
in, out := &in.Assets, &out.Assets
|
|
*out = new(AssetsSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.IAM != nil {
|
|
in, out := &in.IAM, &out.IAM
|
|
*out = new(IAMSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.EncryptionConfig != nil {
|
|
in, out := &in.EncryptionConfig, &out.EncryptionConfig
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Target != nil {
|
|
in, out := &in.Target, &out.Target
|
|
*out = new(TargetSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UseHostCertificates != nil {
|
|
in, out := &in.UseHostCertificates, &out.UseHostCertificates
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SysctlParameters != nil {
|
|
in, out := &in.SysctlParameters, &out.SysctlParameters
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(RollingUpdate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ClusterAutoscaler != nil {
|
|
in, out := &in.ClusterAutoscaler, &out.ClusterAutoscaler
|
|
*out = new(ClusterAutoscalerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.ServiceAccountIssuerDiscovery != nil {
|
|
in, out := &in.ServiceAccountIssuerDiscovery, &out.ServiceAccountIssuerDiscovery
|
|
*out = new(ServiceAccountIssuerDiscoveryConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.SnapshotController != nil {
|
|
in, out := &in.SnapshotController, &out.SnapshotController
|
|
*out = new(SnapshotControllerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Karpenter != nil {
|
|
in, out := &in.Karpenter, &out.Karpenter
|
|
*out = new(KarpenterConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
|
|
func (in *ClusterSpec) DeepCopy() *ClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
|
|
*out = *in
|
|
if in.EtcdClusters != nil {
|
|
in, out := &in.EtcdClusters, &out.EtcdClusters
|
|
*out = make([]EtcdClusterStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
|
|
func (in *ClusterStatus) DeepCopy() *ClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterSubnetSpec) DeepCopyInto(out *ClusterSubnetSpec) {
|
|
*out = *in
|
|
if in.AdditionalRoutes != nil {
|
|
in, out := &in.AdditionalRoutes, &out.AdditionalRoutes
|
|
*out = make([]RouteSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSubnetSpec.
|
|
func (in *ClusterSubnetSpec) DeepCopy() *ClusterSubnetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterSubnetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ConfigStoreSpec) DeepCopyInto(out *ConfigStoreSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStoreSpec.
|
|
func (in *ConfigStoreSpec) DeepCopy() *ConfigStoreSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ConfigStoreSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ContainerdConfig) DeepCopyInto(out *ContainerdConfig) {
|
|
*out = *in
|
|
if in.Address != nil {
|
|
in, out := &in.Address, &out.Address
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ConfigAdditions != nil {
|
|
in, out := &in.ConfigAdditions, &out.ConfigAdditions
|
|
*out = make(map[string]intstr.IntOrString, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.ConfigOverride != nil {
|
|
in, out := &in.ConfigOverride, &out.ConfigOverride
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LogLevel != nil {
|
|
in, out := &in.LogLevel, &out.LogLevel
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = new(PackagesConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.RegistryMirrors != nil {
|
|
in, out := &in.RegistryMirrors, &out.RegistryMirrors
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []string
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
if in.Root != nil {
|
|
in, out := &in.Root, &out.Root
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.State != nil {
|
|
in, out := &in.State, &out.State
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.NvidiaGPU != nil {
|
|
in, out := &in.NvidiaGPU, &out.NvidiaGPU
|
|
*out = new(NvidiaGPUConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Runc != nil {
|
|
in, out := &in.Runc, &out.Runc
|
|
*out = new(Runc)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.NRI != nil {
|
|
in, out := &in.NRI, &out.NRI
|
|
*out = new(NRIConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerdConfig.
|
|
func (in *ContainerdConfig) DeepCopy() *ContainerdConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ContainerdConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DCGMExporterConfig) DeepCopyInto(out *DCGMExporterConfig) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DCGMExporterConfig.
|
|
func (in *DCGMExporterConfig) DeepCopy() *DCGMExporterConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DCGMExporterConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSAccessSpec) DeepCopyInto(out *DNSAccessSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSAccessSpec.
|
|
func (in *DNSAccessSpec) DeepCopy() *DNSAccessSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSAccessSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSControllerGossipConfig) DeepCopyInto(out *DNSControllerGossipConfig) {
|
|
*out = *in
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Listen != nil {
|
|
in, out := &in.Listen, &out.Listen
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secondary != nil {
|
|
in, out := &in.Secondary, &out.Secondary
|
|
*out = new(DNSControllerGossipConfigSecondary)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Seed != nil {
|
|
in, out := &in.Seed, &out.Seed
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSControllerGossipConfig.
|
|
func (in *DNSControllerGossipConfig) DeepCopy() *DNSControllerGossipConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSControllerGossipConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DNSControllerGossipConfigSecondary) DeepCopyInto(out *DNSControllerGossipConfigSecondary) {
|
|
*out = *in
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Listen != nil {
|
|
in, out := &in.Listen, &out.Listen
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Seed != nil {
|
|
in, out := &in.Seed, &out.Seed
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSControllerGossipConfigSecondary.
|
|
func (in *DNSControllerGossipConfigSecondary) DeepCopy() *DNSControllerGossipConfigSecondary {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DNSControllerGossipConfigSecondary)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DOSpec) DeepCopyInto(out *DOSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOSpec.
|
|
func (in *DOSpec) DeepCopy() *DOSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DOSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DockerConfig) DeepCopyInto(out *DockerConfig) {
|
|
*out = *in
|
|
if in.AuthorizationPlugins != nil {
|
|
in, out := &in.AuthorizationPlugins, &out.AuthorizationPlugins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Bridge != nil {
|
|
in, out := &in.Bridge, &out.Bridge
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.BridgeIP != nil {
|
|
in, out := &in.BridgeIP, &out.BridgeIP
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DataRoot != nil {
|
|
in, out := &in.DataRoot, &out.DataRoot
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DefaultUlimit != nil {
|
|
in, out := &in.DefaultUlimit, &out.DefaultUlimit
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DefaultRuntime != nil {
|
|
in, out := &in.DefaultRuntime, &out.DefaultRuntime
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DNS != nil {
|
|
in, out := &in.DNS, &out.DNS
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExecOpt != nil {
|
|
in, out := &in.ExecOpt, &out.ExecOpt
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExecRoot != nil {
|
|
in, out := &in.ExecRoot, &out.ExecRoot
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Experimental != nil {
|
|
in, out := &in.Experimental, &out.Experimental
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Hosts != nil {
|
|
in, out := &in.Hosts, &out.Hosts
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IPMasq != nil {
|
|
in, out := &in.IPMasq, &out.IPMasq
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IPTables != nil {
|
|
in, out := &in.IPTables, &out.IPTables
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.InsecureRegistry != nil {
|
|
in, out := &in.InsecureRegistry, &out.InsecureRegistry
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.InsecureRegistries != nil {
|
|
in, out := &in.InsecureRegistries, &out.InsecureRegistries
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.LiveRestore != nil {
|
|
in, out := &in.LiveRestore, &out.LiveRestore
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.LogDriver != nil {
|
|
in, out := &in.LogDriver, &out.LogDriver
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LogLevel != nil {
|
|
in, out := &in.LogLevel, &out.LogLevel
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LogOpt != nil {
|
|
in, out := &in.LogOpt, &out.LogOpt
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MaxConcurrentDownloads != nil {
|
|
in, out := &in.MaxConcurrentDownloads, &out.MaxConcurrentDownloads
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxConcurrentUploads != nil {
|
|
in, out := &in.MaxConcurrentUploads, &out.MaxConcurrentUploads
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxDownloadAttempts != nil {
|
|
in, out := &in.MaxDownloadAttempts, &out.MaxDownloadAttempts
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MetricsAddress != nil {
|
|
in, out := &in.MetricsAddress, &out.MetricsAddress
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.MTU != nil {
|
|
in, out := &in.MTU, &out.MTU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = new(PackagesConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.RegistryMirrors != nil {
|
|
in, out := &in.RegistryMirrors, &out.RegistryMirrors
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Runtimes != nil {
|
|
in, out := &in.Runtimes, &out.Runtimes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SelinuxEnabled != nil {
|
|
in, out := &in.SelinuxEnabled, &out.SelinuxEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Storage != nil {
|
|
in, out := &in.Storage, &out.Storage
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.StorageOpts != nil {
|
|
in, out := &in.StorageOpts, &out.StorageOpts
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerConfig.
|
|
func (in *DockerConfig) DeepCopy() *DockerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DockerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EBSCSIDriverSpec) DeepCopyInto(out *EBSCSIDriverSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Managed != nil {
|
|
in, out := &in.Managed, &out.Managed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.KubeAPIQPS != nil {
|
|
in, out := &in.KubeAPIQPS, &out.KubeAPIQPS
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.KubeAPIBurst != nil {
|
|
in, out := &in.KubeAPIBurst, &out.KubeAPIBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.VolumeAttachLimit != nil {
|
|
in, out := &in.VolumeAttachLimit, &out.VolumeAttachLimit
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.PodAnnotations != nil {
|
|
in, out := &in.PodAnnotations, &out.PodAnnotations
|
|
*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 EBSCSIDriverSpec.
|
|
func (in *EBSCSIDriverSpec) DeepCopy() *EBSCSIDriverSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EBSCSIDriverSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EgressProxySpec) DeepCopyInto(out *EgressProxySpec) {
|
|
*out = *in
|
|
out.HTTPProxy = in.HTTPProxy
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressProxySpec.
|
|
func (in *EgressProxySpec) DeepCopy() *EgressProxySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EgressProxySpec)
|
|
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
|
|
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 *EtcdBackupSpec) DeepCopyInto(out *EtcdBackupSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdBackupSpec.
|
|
func (in *EtcdBackupSpec) DeepCopy() *EtcdBackupSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdBackupSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdClusterSpec) DeepCopyInto(out *EtcdClusterSpec) {
|
|
*out = *in
|
|
if in.Members != nil {
|
|
in, out := &in.Members, &out.Members
|
|
*out = make([]EtcdMemberSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.LeaderElectionTimeout != nil {
|
|
in, out := &in.LeaderElectionTimeout, &out.LeaderElectionTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HeartbeatInterval != nil {
|
|
in, out := &in.HeartbeatInterval, &out.HeartbeatInterval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Backups != nil {
|
|
in, out := &in.Backups, &out.Backups
|
|
*out = new(EtcdBackupSpec)
|
|
**out = **in
|
|
}
|
|
if in.Manager != nil {
|
|
in, out := &in.Manager, &out.Manager
|
|
*out = new(EtcdManagerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdClusterSpec.
|
|
func (in *EtcdClusterSpec) DeepCopy() *EtcdClusterSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdClusterSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdClusterStatus) DeepCopyInto(out *EtcdClusterStatus) {
|
|
*out = *in
|
|
if in.Members != nil {
|
|
in, out := &in.Members, &out.Members
|
|
*out = make([]*EtcdMemberStatus, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(EtcdMemberStatus)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdClusterStatus.
|
|
func (in *EtcdClusterStatus) DeepCopy() *EtcdClusterStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdClusterStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdManagerSpec) DeepCopyInto(out *EtcdManagerSpec) {
|
|
*out = *in
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]EnvVar, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.BackupInterval != nil {
|
|
in, out := &in.BackupInterval, &out.BackupInterval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.BackupRetentionDays != nil {
|
|
in, out := &in.BackupRetentionDays, &out.BackupRetentionDays
|
|
*out = new(uint32)
|
|
**out = **in
|
|
}
|
|
if in.DiscoveryPollInterval != nil {
|
|
in, out := &in.DiscoveryPollInterval, &out.DiscoveryPollInterval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ListenMetricsURLs != nil {
|
|
in, out := &in.ListenMetricsURLs, &out.ListenMetricsURLs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.LogLevel != nil {
|
|
in, out := &in.LogLevel, &out.LogLevel
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdManagerSpec.
|
|
func (in *EtcdManagerSpec) DeepCopy() *EtcdManagerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdManagerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdMemberSpec) DeepCopyInto(out *EtcdMemberSpec) {
|
|
*out = *in
|
|
if in.InstanceGroup != nil {
|
|
in, out := &in.InstanceGroup, &out.InstanceGroup
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.VolumeType != nil {
|
|
in, out := &in.VolumeType, &out.VolumeType
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.VolumeIOPS != nil {
|
|
in, out := &in.VolumeIOPS, &out.VolumeIOPS
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.VolumeThroughput != nil {
|
|
in, out := &in.VolumeThroughput, &out.VolumeThroughput
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.VolumeSize != nil {
|
|
in, out := &in.VolumeSize, &out.VolumeSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.KmsKeyID != nil {
|
|
in, out := &in.KmsKeyID, &out.KmsKeyID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.EncryptedVolume != nil {
|
|
in, out := &in.EncryptedVolume, &out.EncryptedVolume
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdMemberSpec.
|
|
func (in *EtcdMemberSpec) DeepCopy() *EtcdMemberSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdMemberSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EtcdMemberStatus) DeepCopyInto(out *EtcdMemberStatus) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdMemberStatus.
|
|
func (in *EtcdMemberStatus) DeepCopy() *EtcdMemberStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EtcdMemberStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExecContainerAction) DeepCopyInto(out *ExecContainerAction) {
|
|
*out = *in
|
|
if in.Command != nil {
|
|
in, out := &in.Command, &out.Command
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Environment != nil {
|
|
in, out := &in.Environment, &out.Environment
|
|
*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 ExecContainerAction.
|
|
func (in *ExecContainerAction) DeepCopy() *ExecContainerAction {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExecContainerAction)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExternalDNSConfig) DeepCopyInto(out *ExternalDNSConfig) {
|
|
*out = *in
|
|
if in.WatchIngress != nil {
|
|
in, out := &in.WatchIngress, &out.WatchIngress
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDNSConfig.
|
|
func (in *ExternalDNSConfig) DeepCopy() *ExternalDNSConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExternalDNSConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ExternalNetworkingSpec) DeepCopyInto(out *ExternalNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNetworkingSpec.
|
|
func (in *ExternalNetworkingSpec) DeepCopy() *ExternalNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ExternalNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FileAssetSpec) DeepCopyInto(out *FileAssetSpec) {
|
|
*out = *in
|
|
if in.Roles != nil {
|
|
in, out := &in.Roles, &out.Roles
|
|
*out = make([]InstanceGroupRole, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileAssetSpec.
|
|
func (in *FileAssetSpec) DeepCopy() *FileAssetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FileAssetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *FlannelNetworkingSpec) DeepCopyInto(out *FlannelNetworkingSpec) {
|
|
*out = *in
|
|
if in.IptablesResyncSeconds != nil {
|
|
in, out := &in.IptablesResyncSeconds, &out.IptablesResyncSeconds
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlannelNetworkingSpec.
|
|
func (in *FlannelNetworkingSpec) DeepCopy() *FlannelNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(FlannelNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GCESpec) DeepCopyInto(out *GCESpec) {
|
|
*out = *in
|
|
if in.Multizone != nil {
|
|
in, out := &in.Multizone, &out.Multizone
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NodeTags != nil {
|
|
in, out := &in.NodeTags, &out.NodeTags
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.NodeInstancePrefix != nil {
|
|
in, out := &in.NodeInstancePrefix, &out.NodeInstancePrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.PDCSIDriver != nil {
|
|
in, out := &in.PDCSIDriver, &out.PDCSIDriver
|
|
*out = new(PDCSIDriver)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UseStartupScript != nil {
|
|
in, out := &in.UseStartupScript, &out.UseStartupScript
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.BinariesLocation != nil {
|
|
in, out := &in.BinariesLocation, &out.BinariesLocation
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCESpec.
|
|
func (in *GCESpec) DeepCopy() *GCESpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GCESpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GCPNetworkingSpec) DeepCopyInto(out *GCPNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPNetworkingSpec.
|
|
func (in *GCPNetworkingSpec) DeepCopy() *GCPNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GCPNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GossipConfig) DeepCopyInto(out *GossipConfig) {
|
|
*out = *in
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Listen != nil {
|
|
in, out := &in.Listen, &out.Listen
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secondary != nil {
|
|
in, out := &in.Secondary, &out.Secondary
|
|
*out = new(GossipConfigSecondary)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipConfig.
|
|
func (in *GossipConfig) DeepCopy() *GossipConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GossipConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GossipConfigSecondary) DeepCopyInto(out *GossipConfigSecondary) {
|
|
*out = *in
|
|
if in.Protocol != nil {
|
|
in, out := &in.Protocol, &out.Protocol
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Listen != nil {
|
|
in, out := &in.Listen, &out.Listen
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GossipConfigSecondary.
|
|
func (in *GossipConfigSecondary) DeepCopy() *GossipConfigSecondary {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GossipConfigSecondary)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HTTPProxy) DeepCopyInto(out *HTTPProxy) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPProxy.
|
|
func (in *HTTPProxy) DeepCopy() *HTTPProxy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HTTPProxy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HetznerSpec) DeepCopyInto(out *HetznerSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HetznerSpec.
|
|
func (in *HetznerSpec) DeepCopy() *HetznerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HetznerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HookSpec) DeepCopyInto(out *HookSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Roles != nil {
|
|
in, out := &in.Roles, &out.Roles
|
|
*out = make([]InstanceGroupRole, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Requires != nil {
|
|
in, out := &in.Requires, &out.Requires
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Before != nil {
|
|
in, out := &in.Before, &out.Before
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExecContainer != nil {
|
|
in, out := &in.ExecContainer, &out.ExecContainer
|
|
*out = new(ExecContainerAction)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HookSpec.
|
|
func (in *HookSpec) DeepCopy() *HookSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HookSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HubbleSpec) DeepCopyInto(out *HubbleSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Metrics != nil {
|
|
in, out := &in.Metrics, &out.Metrics
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubbleSpec.
|
|
func (in *HubbleSpec) DeepCopy() *HubbleSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HubbleSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IAMProfileSpec) DeepCopyInto(out *IAMProfileSpec) {
|
|
*out = *in
|
|
if in.Profile != nil {
|
|
in, out := &in.Profile, &out.Profile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMProfileSpec.
|
|
func (in *IAMProfileSpec) DeepCopy() *IAMProfileSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IAMProfileSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *IAMSpec) DeepCopyInto(out *IAMSpec) {
|
|
*out = *in
|
|
if in.PermissionsBoundary != nil {
|
|
in, out := &in.PermissionsBoundary, &out.PermissionsBoundary
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UseServiceAccountExternalPermissions != nil {
|
|
in, out := &in.UseServiceAccountExternalPermissions, &out.UseServiceAccountExternalPermissions
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ServiceAccountExternalPermissions != nil {
|
|
in, out := &in.ServiceAccountExternalPermissions, &out.ServiceAccountExternalPermissions
|
|
*out = make([]ServiceAccountExternalPermission, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMSpec.
|
|
func (in *IAMSpec) DeepCopy() *IAMSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IAMSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstanceGroup) DeepCopyInto(out *InstanceGroup) {
|
|
*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 InstanceGroup.
|
|
func (in *InstanceGroup) DeepCopy() *InstanceGroup {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceGroup)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *InstanceGroup) 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 *InstanceGroupList) DeepCopyInto(out *InstanceGroupList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]InstanceGroup, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceGroupList.
|
|
func (in *InstanceGroupList) DeepCopy() *InstanceGroupList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceGroupList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *InstanceGroupList) 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 *InstanceGroupSpec) DeepCopyInto(out *InstanceGroupSpec) {
|
|
*out = *in
|
|
if in.MinSize != nil {
|
|
in, out := &in.MinSize, &out.MinSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MaxSize != nil {
|
|
in, out := &in.MaxSize, &out.MaxSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Autoscale != nil {
|
|
in, out := &in.Autoscale, &out.Autoscale
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RootVolume != nil {
|
|
in, out := &in.RootVolume, &out.RootVolume
|
|
*out = new(InstanceRootVolumeSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Volumes != nil {
|
|
in, out := &in.Volumes, &out.Volumes
|
|
*out = make([]VolumeSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.VolumeMounts != nil {
|
|
in, out := &in.VolumeMounts, &out.VolumeMounts
|
|
*out = make([]VolumeMountSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Subnets != nil {
|
|
in, out := &in.Subnets, &out.Subnets
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Zones != nil {
|
|
in, out := &in.Zones, &out.Zones
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Hooks != nil {
|
|
in, out := &in.Hooks, &out.Hooks
|
|
*out = make([]HookSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.MaxPrice != nil {
|
|
in, out := &in.MaxPrice, &out.MaxPrice
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SpotDurationInMinutes != nil {
|
|
in, out := &in.SpotDurationInMinutes, &out.SpotDurationInMinutes
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.CPUCredits != nil {
|
|
in, out := &in.CPUCredits, &out.CPUCredits
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AssociatePublicIP != nil {
|
|
in, out := &in.AssociatePublicIP, &out.AssociatePublicIP
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AdditionalSecurityGroups != nil {
|
|
in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CloudLabels != nil {
|
|
in, out := &in.CloudLabels, &out.CloudLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.NodeLabels != nil {
|
|
in, out := &in.NodeLabels, &out.NodeLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.FileAssets != nil {
|
|
in, out := &in.FileAssets, &out.FileAssets
|
|
*out = make([]FileAssetSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Kubelet != nil {
|
|
in, out := &in.Kubelet, &out.Kubelet
|
|
*out = new(KubeletConfigSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Taints != nil {
|
|
in, out := &in.Taints, &out.Taints
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MixedInstancesPolicy != nil {
|
|
in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy
|
|
*out = new(MixedInstancesPolicySpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.CapacityRebalance != nil {
|
|
in, out := &in.CapacityRebalance, &out.CapacityRebalance
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AdditionalUserData != nil {
|
|
in, out := &in.AdditionalUserData, &out.AdditionalUserData
|
|
*out = make([]UserData, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SuspendProcesses != nil {
|
|
in, out := &in.SuspendProcesses, &out.SuspendProcesses
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ExternalLoadBalancers != nil {
|
|
in, out := &in.ExternalLoadBalancers, &out.ExternalLoadBalancers
|
|
*out = make([]LoadBalancerSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.DetailedInstanceMonitoring != nil {
|
|
in, out := &in.DetailedInstanceMonitoring, &out.DetailedInstanceMonitoring
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IAM != nil {
|
|
in, out := &in.IAM, &out.IAM
|
|
*out = new(IAMProfileSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.SecurityGroupOverride != nil {
|
|
in, out := &in.SecurityGroupOverride, &out.SecurityGroupOverride
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.InstanceProtection != nil {
|
|
in, out := &in.InstanceProtection, &out.InstanceProtection
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SysctlParameters != nil {
|
|
in, out := &in.SysctlParameters, &out.SysctlParameters
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RollingUpdate != nil {
|
|
in, out := &in.RollingUpdate, &out.RollingUpdate
|
|
*out = new(RollingUpdate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.InstanceInterruptionBehavior != nil {
|
|
in, out := &in.InstanceInterruptionBehavior, &out.InstanceInterruptionBehavior
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.CompressUserData != nil {
|
|
in, out := &in.CompressUserData, &out.CompressUserData
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.InstanceMetadata != nil {
|
|
in, out := &in.InstanceMetadata, &out.InstanceMetadata
|
|
*out = new(InstanceMetadataOptions)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UpdatePolicy != nil {
|
|
in, out := &in.UpdatePolicy, &out.UpdatePolicy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.WarmPool != nil {
|
|
in, out := &in.WarmPool, &out.WarmPool
|
|
*out = new(WarmPoolSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Containerd != nil {
|
|
in, out := &in.Containerd, &out.Containerd
|
|
*out = new(ContainerdConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.GuestAccelerators != nil {
|
|
in, out := &in.GuestAccelerators, &out.GuestAccelerators
|
|
*out = make([]AcceleratorConfig, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MaxInstanceLifetime != nil {
|
|
in, out := &in.MaxInstanceLifetime, &out.MaxInstanceLifetime
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.GCPProvisioningModel != nil {
|
|
in, out := &in.GCPProvisioningModel, &out.GCPProvisioningModel
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceGroupSpec.
|
|
func (in *InstanceGroupSpec) DeepCopy() *InstanceGroupSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceGroupSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstanceMetadataOptions) DeepCopyInto(out *InstanceMetadataOptions) {
|
|
*out = *in
|
|
if in.HTTPPutResponseHopLimit != nil {
|
|
in, out := &in.HTTPPutResponseHopLimit, &out.HTTPPutResponseHopLimit
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.HTTPTokens != nil {
|
|
in, out := &in.HTTPTokens, &out.HTTPTokens
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMetadataOptions.
|
|
func (in *InstanceMetadataOptions) DeepCopy() *InstanceMetadataOptions {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceMetadataOptions)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstanceRequirementsSpec) DeepCopyInto(out *InstanceRequirementsSpec) {
|
|
*out = *in
|
|
if in.CPU != nil {
|
|
in, out := &in.CPU, &out.CPU
|
|
*out = new(MinMaxSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Memory != nil {
|
|
in, out := &in.Memory, &out.Memory
|
|
*out = new(MinMaxSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRequirementsSpec.
|
|
func (in *InstanceRequirementsSpec) DeepCopy() *InstanceRequirementsSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceRequirementsSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InstanceRootVolumeSpec) DeepCopyInto(out *InstanceRootVolumeSpec) {
|
|
*out = *in
|
|
if in.Size != nil {
|
|
in, out := &in.Size, &out.Size
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Type != nil {
|
|
in, out := &in.Type, &out.Type
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IOPS != nil {
|
|
in, out := &in.IOPS, &out.IOPS
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Throughput != nil {
|
|
in, out := &in.Throughput, &out.Throughput
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Optimization != nil {
|
|
in, out := &in.Optimization, &out.Optimization
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Encryption != nil {
|
|
in, out := &in.Encryption, &out.Encryption
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EncryptionKey != nil {
|
|
in, out := &in.EncryptionKey, &out.EncryptionKey
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRootVolumeSpec.
|
|
func (in *InstanceRootVolumeSpec) DeepCopy() *InstanceRootVolumeSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InstanceRootVolumeSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KarpenterConfig) DeepCopyInto(out *KarpenterConfig) {
|
|
*out = *in
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KarpenterConfig.
|
|
func (in *KarpenterConfig) DeepCopy() *KarpenterConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KarpenterConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Keyset) DeepCopyInto(out *Keyset) {
|
|
*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 Keyset.
|
|
func (in *Keyset) DeepCopy() *Keyset {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Keyset)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Keyset) 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 *KeysetItem) DeepCopyInto(out *KeysetItem) {
|
|
*out = *in
|
|
if in.DistrustTimestamp != nil {
|
|
in, out := &in.DistrustTimestamp, &out.DistrustTimestamp
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.PublicMaterial != nil {
|
|
in, out := &in.PublicMaterial, &out.PublicMaterial
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.PrivateMaterial != nil {
|
|
in, out := &in.PrivateMaterial, &out.PrivateMaterial
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeysetItem.
|
|
func (in *KeysetItem) DeepCopy() *KeysetItem {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeysetItem)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KeysetList) DeepCopyInto(out *KeysetList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Keyset, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeysetList.
|
|
func (in *KeysetList) DeepCopy() *KeysetList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeysetList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KeysetList) 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 *KeysetSpec) DeepCopyInto(out *KeysetSpec) {
|
|
*out = *in
|
|
if in.Keys != nil {
|
|
in, out := &in.Keys, &out.Keys
|
|
*out = make([]KeysetItem, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeysetSpec.
|
|
func (in *KeysetSpec) DeepCopy() *KeysetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KeysetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KindnetMasqueradeSpec) DeepCopyInto(out *KindnetMasqueradeSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NonMasqueradeCIDRs != nil {
|
|
in, out := &in.NonMasqueradeCIDRs, &out.NonMasqueradeCIDRs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KindnetMasqueradeSpec.
|
|
func (in *KindnetMasqueradeSpec) DeepCopy() *KindnetMasqueradeSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KindnetMasqueradeSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KindnetNetworkingSpec) DeepCopyInto(out *KindnetNetworkingSpec) {
|
|
*out = *in
|
|
if in.NetworkPolicies != nil {
|
|
in, out := &in.NetworkPolicies, &out.NetworkPolicies
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AdminNetworkPolicies != nil {
|
|
in, out := &in.AdminNetworkPolicies, &out.AdminNetworkPolicies
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.BaselineAdminNetworkPolicies != nil {
|
|
in, out := &in.BaselineAdminNetworkPolicies, &out.BaselineAdminNetworkPolicies
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DNSCaching != nil {
|
|
in, out := &in.DNSCaching, &out.DNSCaching
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NAT64 != nil {
|
|
in, out := &in.NAT64, &out.NAT64
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.FastPathThreshold != nil {
|
|
in, out := &in.FastPathThreshold, &out.FastPathThreshold
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Masquerade != nil {
|
|
in, out := &in.Masquerade, &out.Masquerade
|
|
*out = new(KindnetMasqueradeSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.LogLevel != nil {
|
|
in, out := &in.LogLevel, &out.LogLevel
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KindnetNetworkingSpec.
|
|
func (in *KindnetNetworkingSpec) DeepCopy() *KindnetNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KindnetNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KopeioAuthenticationSpec) DeepCopyInto(out *KopeioAuthenticationSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopeioAuthenticationSpec.
|
|
func (in *KopeioAuthenticationSpec) DeepCopy() *KopeioAuthenticationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KopeioAuthenticationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KopeioNetworkingSpec) DeepCopyInto(out *KopeioNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopeioNetworkingSpec.
|
|
func (in *KopeioNetworkingSpec) DeepCopy() *KopeioNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KopeioNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KopsVersionSpec) DeepCopyInto(out *KopsVersionSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsVersionSpec.
|
|
func (in *KopsVersionSpec) DeepCopy() *KopsVersionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KopsVersionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeAPIServerConfig) DeepCopyInto(out *KubeAPIServerConfig) {
|
|
*out = *in
|
|
if in.DisableBasicAuth != nil {
|
|
in, out := &in.DisableBasicAuth, &out.DisableBasicAuth
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.InsecurePort != nil {
|
|
in, out := &in.InsecurePort, &out.InsecurePort
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.EnableBootstrapAuthToken != nil {
|
|
in, out := &in.EnableBootstrapAuthToken, &out.EnableBootstrapAuthToken
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableAggregatorRouting != nil {
|
|
in, out := &in.EnableAggregatorRouting, &out.EnableAggregatorRouting
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AdmissionControl != nil {
|
|
in, out := &in.AdmissionControl, &out.AdmissionControl
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AppendAdmissionPlugins != nil {
|
|
in, out := &in.AppendAdmissionPlugins, &out.AppendAdmissionPlugins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EnableAdmissionPlugins != nil {
|
|
in, out := &in.EnableAdmissionPlugins, &out.EnableAdmissionPlugins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DisableAdmissionPlugins != nil {
|
|
in, out := &in.DisableAdmissionPlugins, &out.DisableAdmissionPlugins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EtcdServers != nil {
|
|
in, out := &in.EtcdServers, &out.EtcdServers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EtcdServersOverrides != nil {
|
|
in, out := &in.EtcdServersOverrides, &out.EtcdServersOverrides
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.TLSCipherSuites != nil {
|
|
in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AllowPrivileged != nil {
|
|
in, out := &in.AllowPrivileged, &out.AllowPrivileged
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.APIServerCount != nil {
|
|
in, out := &in.APIServerCount, &out.APIServerCount
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.RuntimeConfig != nil {
|
|
in, out := &in.RuntimeConfig, &out.RuntimeConfig
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.AnonymousAuth != nil {
|
|
in, out := &in.AnonymousAuth, &out.AnonymousAuth
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.KubeletPreferredAddressTypes != nil {
|
|
in, out := &in.KubeletPreferredAddressTypes, &out.KubeletPreferredAddressTypes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.StorageBackend != nil {
|
|
in, out := &in.StorageBackend, &out.StorageBackend
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCUsernameClaim != nil {
|
|
in, out := &in.OIDCUsernameClaim, &out.OIDCUsernameClaim
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCUsernamePrefix != nil {
|
|
in, out := &in.OIDCUsernamePrefix, &out.OIDCUsernamePrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCGroupsClaim != nil {
|
|
in, out := &in.OIDCGroupsClaim, &out.OIDCGroupsClaim
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCGroupsPrefix != nil {
|
|
in, out := &in.OIDCGroupsPrefix, &out.OIDCGroupsPrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCIssuerURL != nil {
|
|
in, out := &in.OIDCIssuerURL, &out.OIDCIssuerURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCClientID != nil {
|
|
in, out := &in.OIDCClientID, &out.OIDCClientID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OIDCRequiredClaim != nil {
|
|
in, out := &in.OIDCRequiredClaim, &out.OIDCRequiredClaim
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.OIDCCAFile != nil {
|
|
in, out := &in.OIDCCAFile, &out.OIDCCAFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ProxyClientCertFile != nil {
|
|
in, out := &in.ProxyClientCertFile, &out.ProxyClientCertFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ProxyClientKeyFile != nil {
|
|
in, out := &in.ProxyClientKeyFile, &out.ProxyClientKeyFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuditLogFormat != nil {
|
|
in, out := &in.AuditLogFormat, &out.AuditLogFormat
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuditLogPath != nil {
|
|
in, out := &in.AuditLogPath, &out.AuditLogPath
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuditLogMaxAge != nil {
|
|
in, out := &in.AuditLogMaxAge, &out.AuditLogMaxAge
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditLogMaxBackups != nil {
|
|
in, out := &in.AuditLogMaxBackups, &out.AuditLogMaxBackups
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditLogMaxSize != nil {
|
|
in, out := &in.AuditLogMaxSize, &out.AuditLogMaxSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchBufferSize != nil {
|
|
in, out := &in.AuditWebhookBatchBufferSize, &out.AuditWebhookBatchBufferSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchMaxSize != nil {
|
|
in, out := &in.AuditWebhookBatchMaxSize, &out.AuditWebhookBatchMaxSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchMaxWait != nil {
|
|
in, out := &in.AuditWebhookBatchMaxWait, &out.AuditWebhookBatchMaxWait
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchThrottleBurst != nil {
|
|
in, out := &in.AuditWebhookBatchThrottleBurst, &out.AuditWebhookBatchThrottleBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchThrottleEnable != nil {
|
|
in, out := &in.AuditWebhookBatchThrottleEnable, &out.AuditWebhookBatchThrottleEnable
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AuditWebhookBatchThrottleQps != nil {
|
|
in, out := &in.AuditWebhookBatchThrottleQps, &out.AuditWebhookBatchThrottleQps
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.AuditWebhookInitialBackoff != nil {
|
|
in, out := &in.AuditWebhookInitialBackoff, &out.AuditWebhookInitialBackoff
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuthenticationTokenWebhookConfigFile != nil {
|
|
in, out := &in.AuthenticationTokenWebhookConfigFile, &out.AuthenticationTokenWebhookConfigFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuthenticationTokenWebhookCacheTTL != nil {
|
|
in, out := &in.AuthenticationTokenWebhookCacheTTL, &out.AuthenticationTokenWebhookCacheTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationMode != nil {
|
|
in, out := &in.AuthorizationMode, &out.AuthorizationMode
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationWebhookConfigFile != nil {
|
|
in, out := &in.AuthorizationWebhookConfigFile, &out.AuthorizationWebhookConfigFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationWebhookCacheAuthorizedTTL != nil {
|
|
in, out := &in.AuthorizationWebhookCacheAuthorizedTTL, &out.AuthorizationWebhookCacheAuthorizedTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationWebhookCacheUnauthorizedTTL != nil {
|
|
in, out := &in.AuthorizationWebhookCacheUnauthorizedTTL, &out.AuthorizationWebhookCacheUnauthorizedTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationRBACSuperUser != nil {
|
|
in, out := &in.AuthorizationRBACSuperUser, &out.AuthorizationRBACSuperUser
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.EncryptionProviderConfig != nil {
|
|
in, out := &in.EncryptionProviderConfig, &out.EncryptionProviderConfig
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ExperimentalEncryptionProviderConfig != nil {
|
|
in, out := &in.ExperimentalEncryptionProviderConfig, &out.ExperimentalEncryptionProviderConfig
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RequestheaderUsernameHeaders != nil {
|
|
in, out := &in.RequestheaderUsernameHeaders, &out.RequestheaderUsernameHeaders
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RequestheaderGroupHeaders != nil {
|
|
in, out := &in.RequestheaderGroupHeaders, &out.RequestheaderGroupHeaders
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RequestheaderExtraHeaderPrefixes != nil {
|
|
in, out := &in.RequestheaderExtraHeaderPrefixes, &out.RequestheaderExtraHeaderPrefixes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RequestheaderAllowedNames != nil {
|
|
in, out := &in.RequestheaderAllowedNames, &out.RequestheaderAllowedNames
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.HTTP2MaxStreamsPerConnection != nil {
|
|
in, out := &in.HTTP2MaxStreamsPerConnection, &out.HTTP2MaxStreamsPerConnection
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.EtcdQuorumRead != nil {
|
|
in, out := &in.EtcdQuorumRead, &out.EtcdQuorumRead
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RequestTimeout != nil {
|
|
in, out := &in.RequestTimeout, &out.RequestTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.MinRequestTimeout != nil {
|
|
in, out := &in.MinRequestTimeout, &out.MinRequestTimeout
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.WatchCache != nil {
|
|
in, out := &in.WatchCache, &out.WatchCache
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.WatchCacheSizes != nil {
|
|
in, out := &in.WatchCacheSizes, &out.WatchCacheSizes
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ServiceAccountKeyFile != nil {
|
|
in, out := &in.ServiceAccountKeyFile, &out.ServiceAccountKeyFile
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ServiceAccountSigningKeyFile != nil {
|
|
in, out := &in.ServiceAccountSigningKeyFile, &out.ServiceAccountSigningKeyFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ServiceAccountIssuer != nil {
|
|
in, out := &in.ServiceAccountIssuer, &out.ServiceAccountIssuer
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AdditionalServiceAccountIssuers != nil {
|
|
in, out := &in.AdditionalServiceAccountIssuers, &out.AdditionalServiceAccountIssuers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.ServiceAccountJWKSURI != nil {
|
|
in, out := &in.ServiceAccountJWKSURI, &out.ServiceAccountJWKSURI
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.APIAudiences != nil {
|
|
in, out := &in.APIAudiences, &out.APIAudiences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.EventTTL != nil {
|
|
in, out := &in.EventTTL, &out.EventTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.AuditDynamicConfiguration != nil {
|
|
in, out := &in.AuditDynamicConfiguration, &out.AuditDynamicConfiguration
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableProfiling != nil {
|
|
in, out := &in.EnableProfiling, &out.EnableProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableContentionProfiling != nil {
|
|
in, out := &in.EnableContentionProfiling, &out.EnableContentionProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CorsAllowedOrigins != nil {
|
|
in, out := &in.CorsAllowedOrigins, &out.CorsAllowedOrigins
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.DefaultNotReadyTolerationSeconds != nil {
|
|
in, out := &in.DefaultNotReadyTolerationSeconds, &out.DefaultNotReadyTolerationSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.DefaultUnreachableTolerationSeconds != nil {
|
|
in, out := &in.DefaultUnreachableTolerationSeconds, &out.DefaultUnreachableTolerationSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.Env != nil {
|
|
in, out := &in.Env, &out.Env
|
|
*out = make([]corev1.EnvVar, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeAPIServerConfig.
|
|
func (in *KubeAPIServerConfig) DeepCopy() *KubeAPIServerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeAPIServerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeControllerManagerConfig) DeepCopyInto(out *KubeControllerManagerConfig) {
|
|
*out = *in
|
|
if in.AllocateNodeCIDRs != nil {
|
|
in, out := &in.AllocateNodeCIDRs, &out.AllocateNodeCIDRs
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NodeCIDRMaskSize != nil {
|
|
in, out := &in.NodeCIDRMaskSize, &out.NodeCIDRMaskSize
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConfigureCloudRoutes != nil {
|
|
in, out := &in.ConfigureCloudRoutes, &out.ConfigureCloudRoutes
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Controllers != nil {
|
|
in, out := &in.Controllers, &out.Controllers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CIDRAllocatorType != nil {
|
|
in, out := &in.CIDRAllocatorType, &out.CIDRAllocatorType
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElection != nil {
|
|
in, out := &in.LeaderElection, &out.LeaderElection
|
|
*out = new(LeaderElectionConfiguration)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.AttachDetachReconcileSyncPeriod != nil {
|
|
in, out := &in.AttachDetachReconcileSyncPeriod, &out.AttachDetachReconcileSyncPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.DisableAttachDetachReconcileSync != nil {
|
|
in, out := &in.DisableAttachDetachReconcileSync, &out.DisableAttachDetachReconcileSync
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.TerminatedPodGCThreshold != nil {
|
|
in, out := &in.TerminatedPodGCThreshold, &out.TerminatedPodGCThreshold
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.NodeMonitorPeriod != nil {
|
|
in, out := &in.NodeMonitorPeriod, &out.NodeMonitorPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.NodeMonitorGracePeriod != nil {
|
|
in, out := &in.NodeMonitorGracePeriod, &out.NodeMonitorGracePeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.PodEvictionTimeout != nil {
|
|
in, out := &in.PodEvictionTimeout, &out.PodEvictionTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.UseServiceAccountCredentials != nil {
|
|
in, out := &in.UseServiceAccountCredentials, &out.UseServiceAccountCredentials
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerSyncPeriod != nil {
|
|
in, out := &in.HorizontalPodAutoscalerSyncPeriod, &out.HorizontalPodAutoscalerSyncPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerDownscaleDelay != nil {
|
|
in, out := &in.HorizontalPodAutoscalerDownscaleDelay, &out.HorizontalPodAutoscalerDownscaleDelay
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerDownscaleStabilization != nil {
|
|
in, out := &in.HorizontalPodAutoscalerDownscaleStabilization, &out.HorizontalPodAutoscalerDownscaleStabilization
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerUpscaleDelay != nil {
|
|
in, out := &in.HorizontalPodAutoscalerUpscaleDelay, &out.HorizontalPodAutoscalerUpscaleDelay
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerInitialReadinessDelay != nil {
|
|
in, out := &in.HorizontalPodAutoscalerInitialReadinessDelay, &out.HorizontalPodAutoscalerInitialReadinessDelay
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerCPUInitializationPeriod != nil {
|
|
in, out := &in.HorizontalPodAutoscalerCPUInitializationPeriod, &out.HorizontalPodAutoscalerCPUInitializationPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.HorizontalPodAutoscalerTolerance != nil {
|
|
in, out := &in.HorizontalPodAutoscalerTolerance, &out.HorizontalPodAutoscalerTolerance
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.HorizontalPodAutoscalerUseRestClients != nil {
|
|
in, out := &in.HorizontalPodAutoscalerUseRestClients, &out.HorizontalPodAutoscalerUseRestClients
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ExperimentalClusterSigningDuration != nil {
|
|
in, out := &in.ExperimentalClusterSigningDuration, &out.ExperimentalClusterSigningDuration
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ClusterSigningDuration != nil {
|
|
in, out := &in.ClusterSigningDuration, &out.ClusterSigningDuration
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.TLSCertFile != nil {
|
|
in, out := &in.TLSCertFile, &out.TLSCertFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.TLSCipherSuites != nil {
|
|
in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.KubeAPIQPS != nil {
|
|
in, out := &in.KubeAPIQPS, &out.KubeAPIQPS
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.KubeAPIBurst != nil {
|
|
in, out := &in.KubeAPIBurst, &out.KubeAPIBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentDeploymentSyncs != nil {
|
|
in, out := &in.ConcurrentDeploymentSyncs, &out.ConcurrentDeploymentSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentEndpointSyncs != nil {
|
|
in, out := &in.ConcurrentEndpointSyncs, &out.ConcurrentEndpointSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentNamespaceSyncs != nil {
|
|
in, out := &in.ConcurrentNamespaceSyncs, &out.ConcurrentNamespaceSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentReplicasetSyncs != nil {
|
|
in, out := &in.ConcurrentReplicasetSyncs, &out.ConcurrentReplicasetSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentServiceSyncs != nil {
|
|
in, out := &in.ConcurrentServiceSyncs, &out.ConcurrentServiceSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentResourceQuotaSyncs != nil {
|
|
in, out := &in.ConcurrentResourceQuotaSyncs, &out.ConcurrentResourceQuotaSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentServiceaccountTokenSyncs != nil {
|
|
in, out := &in.ConcurrentServiceaccountTokenSyncs, &out.ConcurrentServiceaccountTokenSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentRCSyncs != nil {
|
|
in, out := &in.ConcurrentRCSyncs, &out.ConcurrentRCSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentHorizontalPodAustoscalerSyncs != nil {
|
|
in, out := &in.ConcurrentHorizontalPodAustoscalerSyncs, &out.ConcurrentHorizontalPodAustoscalerSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConcurrentJobSyncs != nil {
|
|
in, out := &in.ConcurrentJobSyncs, &out.ConcurrentJobSyncs
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationAlwaysAllowPaths != nil {
|
|
in, out := &in.AuthorizationAlwaysAllowPaths, &out.AuthorizationAlwaysAllowPaths
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EndpointUpdatesBatchPeriod != nil {
|
|
in, out := &in.EndpointUpdatesBatchPeriod, &out.EndpointUpdatesBatchPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.EndpointSliceUpdatesBatchPeriod != nil {
|
|
in, out := &in.EndpointSliceUpdatesBatchPeriod, &out.EndpointSliceUpdatesBatchPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.EnableProfiling != nil {
|
|
in, out := &in.EnableProfiling, &out.EnableProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableContentionProfiling != nil {
|
|
in, out := &in.EnableContentionProfiling, &out.EnableContentionProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableLeaderMigration != nil {
|
|
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfig.
|
|
func (in *KubeControllerManagerConfig) DeepCopy() *KubeControllerManagerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeControllerManagerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeDNSConfig) DeepCopyInto(out *KubeDNSConfig) {
|
|
*out = *in
|
|
if in.Tolerations != nil {
|
|
in, out := &in.Tolerations, &out.Tolerations
|
|
*out = make([]corev1.Toleration, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Affinity != nil {
|
|
in, out := &in.Affinity, &out.Affinity
|
|
*out = new(corev1.Affinity)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.StubDomains != nil {
|
|
in, out := &in.StubDomains, &out.StubDomains
|
|
*out = make(map[string][]string, len(*in))
|
|
for key, val := range *in {
|
|
var outVal []string
|
|
if val == nil {
|
|
(*out)[key] = nil
|
|
} else {
|
|
in, out := &val, &outVal
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
(*out)[key] = outVal
|
|
}
|
|
}
|
|
if in.UpstreamNameservers != nil {
|
|
in, out := &in.UpstreamNameservers, &out.UpstreamNameservers
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NodeLocalDNS != nil {
|
|
in, out := &in.NodeLocalDNS, &out.NodeLocalDNS
|
|
*out = new(NodeLocalDNSConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.PodAnnotations != nil {
|
|
in, out := &in.PodAnnotations, &out.PodAnnotations
|
|
*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 KubeDNSConfig.
|
|
func (in *KubeDNSConfig) DeepCopy() *KubeDNSConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeDNSConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeProxyConfig) DeepCopyInto(out *KubeProxyConfig) {
|
|
*out = *in
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.ClusterCIDR != nil {
|
|
in, out := &in.ClusterCIDR, &out.ClusterCIDR
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.MetricsBindAddress != nil {
|
|
in, out := &in.MetricsBindAddress, &out.MetricsBindAddress
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IPVSExcludeCIDRs != nil {
|
|
in, out := &in.IPVSExcludeCIDRs, &out.IPVSExcludeCIDRs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.IPVSMinSyncPeriod != nil {
|
|
in, out := &in.IPVSMinSyncPeriod, &out.IPVSMinSyncPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.IPVSScheduler != nil {
|
|
in, out := &in.IPVSScheduler, &out.IPVSScheduler
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IPVSSyncPeriod != nil {
|
|
in, out := &in.IPVSSyncPeriod, &out.IPVSSyncPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.ConntrackMaxPerCore != nil {
|
|
in, out := &in.ConntrackMaxPerCore, &out.ConntrackMaxPerCore
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConntrackMin != nil {
|
|
in, out := &in.ConntrackMin, &out.ConntrackMin
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfig.
|
|
func (in *KubeProxyConfig) DeepCopy() *KubeProxyConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeProxyConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeSchedulerConfig) DeepCopyInto(out *KubeSchedulerConfig) {
|
|
*out = *in
|
|
if in.LeaderElection != nil {
|
|
in, out := &in.LeaderElection, &out.LeaderElection
|
|
*out = new(LeaderElectionConfiguration)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UsePolicyConfigMap != nil {
|
|
in, out := &in.UsePolicyConfigMap, &out.UsePolicyConfigMap
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.MaxPersistentVolumes != nil {
|
|
in, out := &in.MaxPersistentVolumes, &out.MaxPersistentVolumes
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.Qps != nil {
|
|
in, out := &in.Qps, &out.Qps
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.KubeAPIQPS != nil {
|
|
in, out := &in.KubeAPIQPS, &out.KubeAPIQPS
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.KubeAPIBurst != nil {
|
|
in, out := &in.KubeAPIBurst, &out.KubeAPIBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.AuthorizationAlwaysAllowPaths != nil {
|
|
in, out := &in.AuthorizationAlwaysAllowPaths, &out.AuthorizationAlwaysAllowPaths
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.EnableProfiling != nil {
|
|
in, out := &in.EnableProfiling, &out.EnableProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableContentionProfiling != nil {
|
|
in, out := &in.EnableContentionProfiling, &out.EnableContentionProfiling
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.TLSCertFile != nil {
|
|
in, out := &in.TLSCertFile, &out.TLSCertFile
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfig.
|
|
func (in *KubeSchedulerConfig) DeepCopy() *KubeSchedulerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeSchedulerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeletConfigSpec) DeepCopyInto(out *KubeletConfigSpec) {
|
|
*out = *in
|
|
if in.AnonymousAuth != nil {
|
|
in, out := &in.AnonymousAuth, &out.AnonymousAuth
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.TLSCipherSuites != nil {
|
|
in, out := &in.TLSCipherSuites, &out.TLSCipherSuites
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.RequireKubeconfig != nil {
|
|
in, out := &in.RequireKubeconfig, &out.RequireKubeconfig
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.LogLevel != nil {
|
|
in, out := &in.LogLevel, &out.LogLevel
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.SeccompDefault != nil {
|
|
in, out := &in.SeccompDefault, &out.SeccompDefault
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SeccompProfileRoot != nil {
|
|
in, out := &in.SeccompProfileRoot, &out.SeccompProfileRoot
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AllowPrivileged != nil {
|
|
in, out := &in.AllowPrivileged, &out.AllowPrivileged
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableDebuggingHandlers != nil {
|
|
in, out := &in.EnableDebuggingHandlers, &out.EnableDebuggingHandlers
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RegisterNode != nil {
|
|
in, out := &in.RegisterNode, &out.RegisterNode
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NodeStatusUpdateFrequency != nil {
|
|
in, out := &in.NodeStatusUpdateFrequency, &out.NodeStatusUpdateFrequency
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.NetworkPluginName != nil {
|
|
in, out := &in.NetworkPluginName, &out.NetworkPluginName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ReadOnlyPort != nil {
|
|
in, out := &in.ReadOnlyPort, &out.ReadOnlyPort
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConfigureCBR0 != nil {
|
|
in, out := &in.ConfigureCBR0, &out.ConfigureCBR0
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.BabysitDaemons != nil {
|
|
in, out := &in.BabysitDaemons, &out.BabysitDaemons
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MaxPods != nil {
|
|
in, out := &in.MaxPods, &out.MaxPods
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ResolverConfig != nil {
|
|
in, out := &in.ResolverConfig, &out.ResolverConfig
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ReconcileCIDR != nil {
|
|
in, out := &in.ReconcileCIDR, &out.ReconcileCIDR
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.RegisterSchedulable != nil {
|
|
in, out := &in.RegisterSchedulable, &out.RegisterSchedulable
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.SerializeImagePulls != nil {
|
|
in, out := &in.SerializeImagePulls, &out.SerializeImagePulls
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NodeLabels != nil {
|
|
in, out := &in.NodeLabels, &out.NodeLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.NonMasqueradeCIDR != nil {
|
|
in, out := &in.NonMasqueradeCIDR, &out.NonMasqueradeCIDR
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.EnableCustomMetrics != nil {
|
|
in, out := &in.EnableCustomMetrics, &out.EnableCustomMetrics
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.NetworkPluginMTU != nil {
|
|
in, out := &in.NetworkPluginMTU, &out.NetworkPluginMTU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ImageMinimumGCAge != nil {
|
|
in, out := &in.ImageMinimumGCAge, &out.ImageMinimumGCAge
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ImageMaximumGCAge != nil {
|
|
in, out := &in.ImageMaximumGCAge, &out.ImageMaximumGCAge
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ImageGCHighThresholdPercent != nil {
|
|
in, out := &in.ImageGCHighThresholdPercent, &out.ImageGCHighThresholdPercent
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ImageGCLowThresholdPercent != nil {
|
|
in, out := &in.ImageGCLowThresholdPercent, &out.ImageGCLowThresholdPercent
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ImagePullProgressDeadline != nil {
|
|
in, out := &in.ImagePullProgressDeadline, &out.ImagePullProgressDeadline
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.EvictionHard != nil {
|
|
in, out := &in.EvictionHard, &out.EvictionHard
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.EvictionPressureTransitionPeriod != nil {
|
|
in, out := &in.EvictionPressureTransitionPeriod, &out.EvictionPressureTransitionPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Taints != nil {
|
|
in, out := &in.Taints, &out.Taints
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.FeatureGates != nil {
|
|
in, out := &in.FeatureGates, &out.FeatureGates
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.KernelMemcgNotification != nil {
|
|
in, out := &in.KernelMemcgNotification, &out.KernelMemcgNotification
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.KubeReserved != nil {
|
|
in, out := &in.KubeReserved, &out.KubeReserved
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.SystemReserved != nil {
|
|
in, out := &in.SystemReserved, &out.SystemReserved
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.RuntimeRequestTimeout != nil {
|
|
in, out := &in.RuntimeRequestTimeout, &out.RuntimeRequestTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.VolumeStatsAggPeriod != nil {
|
|
in, out := &in.VolumeStatsAggPeriod, &out.VolumeStatsAggPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.FailSwapOn != nil {
|
|
in, out := &in.FailSwapOn, &out.FailSwapOn
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ExperimentalAllowedUnsafeSysctls != nil {
|
|
in, out := &in.ExperimentalAllowedUnsafeSysctls, &out.ExperimentalAllowedUnsafeSysctls
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.AllowedUnsafeSysctls != nil {
|
|
in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.StreamingConnectionIdleTimeout != nil {
|
|
in, out := &in.StreamingConnectionIdleTimeout, &out.StreamingConnectionIdleTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.DockerDisableSharedPID != nil {
|
|
in, out := &in.DockerDisableSharedPID, &out.DockerDisableSharedPID
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AuthenticationTokenWebhook != nil {
|
|
in, out := &in.AuthenticationTokenWebhook, &out.AuthenticationTokenWebhook
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.AuthenticationTokenWebhookCacheTTL != nil {
|
|
in, out := &in.AuthenticationTokenWebhookCacheTTL, &out.AuthenticationTokenWebhookCacheTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.CPUCFSQuota != nil {
|
|
in, out := &in.CPUCFSQuota, &out.CPUCFSQuota
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CPUCFSQuotaPeriod != nil {
|
|
in, out := &in.CPUCFSQuotaPeriod, &out.CPUCFSQuotaPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.RegistryPullQPS != nil {
|
|
in, out := &in.RegistryPullQPS, &out.RegistryPullQPS
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.RegistryBurst != nil {
|
|
in, out := &in.RegistryBurst, &out.RegistryBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.RotateCertificates != nil {
|
|
in, out := &in.RotateCertificates, &out.RotateCertificates
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ProtectKernelDefaults != nil {
|
|
in, out := &in.ProtectKernelDefaults, &out.ProtectKernelDefaults
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.HousekeepingInterval != nil {
|
|
in, out := &in.HousekeepingInterval, &out.HousekeepingInterval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.EventQPS != nil {
|
|
in, out := &in.EventQPS, &out.EventQPS
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.EventBurst != nil {
|
|
in, out := &in.EventBurst, &out.EventBurst
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ContainerLogMaxFiles != nil {
|
|
in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.EnableCadvisorJsonEndpoints != nil {
|
|
in, out := &in.EnableCadvisorJsonEndpoints, &out.EnableCadvisorJsonEndpoints
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.PodPidsLimit != nil {
|
|
in, out := &in.PodPidsLimit, &out.PodPidsLimit
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.ExperimentalAllocatableIgnoreEviction != nil {
|
|
in, out := &in.ExperimentalAllocatableIgnoreEviction, &out.ExperimentalAllocatableIgnoreEviction
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ShutdownGracePeriod != nil {
|
|
in, out := &in.ShutdownGracePeriod, &out.ShutdownGracePeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.ShutdownGracePeriodCriticalPods != nil {
|
|
in, out := &in.ShutdownGracePeriodCriticalPods, &out.ShutdownGracePeriodCriticalPods
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfigSpec.
|
|
func (in *KubeletConfigSpec) DeepCopy() *KubeletConfigSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeletConfigSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubenetNetworkingSpec) DeepCopyInto(out *KubenetNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubenetNetworkingSpec.
|
|
func (in *KubenetNetworkingSpec) DeepCopy() *KubenetNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubenetNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesVersionSpec) DeepCopyInto(out *KubernetesVersionSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesVersionSpec.
|
|
func (in *KubernetesVersionSpec) DeepCopy() *KubernetesVersionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesVersionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KuberouterNetworkingSpec) DeepCopyInto(out *KuberouterNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuberouterNetworkingSpec.
|
|
func (in *KuberouterNetworkingSpec) DeepCopy() *KuberouterNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KuberouterNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfiguration) {
|
|
*out = *in
|
|
if in.LeaderElect != nil {
|
|
in, out := &in.LeaderElect, &out.LeaderElect
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectLeaseDuration != nil {
|
|
in, out := &in.LeaderElectLeaseDuration, &out.LeaderElectLeaseDuration
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectRenewDeadlineDuration != nil {
|
|
in, out := &in.LeaderElectRenewDeadlineDuration, &out.LeaderElectRenewDeadlineDuration
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectResourceLock != nil {
|
|
in, out := &in.LeaderElectResourceLock, &out.LeaderElectResourceLock
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectResourceName != nil {
|
|
in, out := &in.LeaderElectResourceName, &out.LeaderElectResourceName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectResourceNamespace != nil {
|
|
in, out := &in.LeaderElectResourceNamespace, &out.LeaderElectResourceNamespace
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.LeaderElectRetryPeriod != nil {
|
|
in, out := &in.LeaderElectRetryPeriod, &out.LeaderElectRetryPeriod
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration.
|
|
func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LeaderElectionConfiguration)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoadBalancerAccessSpec) DeepCopyInto(out *LoadBalancerAccessSpec) {
|
|
*out = *in
|
|
if in.IdleTimeoutSeconds != nil {
|
|
in, out := &in.IdleTimeoutSeconds, &out.IdleTimeoutSeconds
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.SecurityGroupOverride != nil {
|
|
in, out := &in.SecurityGroupOverride, &out.SecurityGroupOverride
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AdditionalSecurityGroups != nil {
|
|
in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.SSLPolicy != nil {
|
|
in, out := &in.SSLPolicy, &out.SSLPolicy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.CrossZoneLoadBalancing != nil {
|
|
in, out := &in.CrossZoneLoadBalancing, &out.CrossZoneLoadBalancing
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Subnets != nil {
|
|
in, out := &in.Subnets, &out.Subnets
|
|
*out = make([]LoadBalancerSubnetSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.AccessLog != nil {
|
|
in, out := &in.AccessLog, &out.AccessLog
|
|
*out = new(AccessLogSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerAccessSpec.
|
|
func (in *LoadBalancerAccessSpec) DeepCopy() *LoadBalancerAccessSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoadBalancerAccessSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoadBalancerControllerSpec) DeepCopyInto(out *LoadBalancerControllerSpec) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerControllerSpec.
|
|
func (in *LoadBalancerControllerSpec) DeepCopy() *LoadBalancerControllerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoadBalancerControllerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec) {
|
|
*out = *in
|
|
if in.LoadBalancerName != nil {
|
|
in, out := &in.LoadBalancerName, &out.LoadBalancerName
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.TargetGroupARN != nil {
|
|
in, out := &in.TargetGroupARN, &out.TargetGroupARN
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.
|
|
func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoadBalancerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LoadBalancerSubnetSpec) DeepCopyInto(out *LoadBalancerSubnetSpec) {
|
|
*out = *in
|
|
if in.PrivateIPv4Address != nil {
|
|
in, out := &in.PrivateIPv4Address, &out.PrivateIPv4Address
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AllocationID != nil {
|
|
in, out := &in.AllocationID, &out.AllocationID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSubnetSpec.
|
|
func (in *LoadBalancerSubnetSpec) DeepCopy() *LoadBalancerSubnetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LoadBalancerSubnetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *LyftVPCNetworkingSpec) DeepCopyInto(out *LyftVPCNetworkingSpec) {
|
|
*out = *in
|
|
if in.SubnetTags != nil {
|
|
in, out := &in.SubnetTags, &out.SubnetTags
|
|
*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 LyftVPCNetworkingSpec.
|
|
func (in *LyftVPCNetworkingSpec) DeepCopy() *LyftVPCNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LyftVPCNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetricsServerConfig) DeepCopyInto(out *MetricsServerConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Image != nil {
|
|
in, out := &in.Image, &out.Image
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Insecure != nil {
|
|
in, out := &in.Insecure, &out.Insecure
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsServerConfig.
|
|
func (in *MetricsServerConfig) DeepCopy() *MetricsServerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetricsServerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MinMaxSpec) DeepCopyInto(out *MinMaxSpec) {
|
|
*out = *in
|
|
if in.Max != nil {
|
|
in, out := &in.Max, &out.Max
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.Min != nil {
|
|
in, out := &in.Min, &out.Min
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinMaxSpec.
|
|
func (in *MinMaxSpec) DeepCopy() *MinMaxSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MinMaxSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MixedInstancesPolicySpec) DeepCopyInto(out *MixedInstancesPolicySpec) {
|
|
*out = *in
|
|
if in.Instances != nil {
|
|
in, out := &in.Instances, &out.Instances
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.InstanceRequirements != nil {
|
|
in, out := &in.InstanceRequirements, &out.InstanceRequirements
|
|
*out = new(InstanceRequirementsSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.OnDemandAllocationStrategy != nil {
|
|
in, out := &in.OnDemandAllocationStrategy, &out.OnDemandAllocationStrategy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.OnDemandBase != nil {
|
|
in, out := &in.OnDemandBase, &out.OnDemandBase
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.OnDemandAboveBase != nil {
|
|
in, out := &in.OnDemandAboveBase, &out.OnDemandAboveBase
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.SpotAllocationStrategy != nil {
|
|
in, out := &in.SpotAllocationStrategy, &out.SpotAllocationStrategy
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SpotInstancePools != nil {
|
|
in, out := &in.SpotInstancePools, &out.SpotInstancePools
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MixedInstancesPolicySpec.
|
|
func (in *MixedInstancesPolicySpec) DeepCopy() *MixedInstancesPolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MixedInstancesPolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NRIConfig) DeepCopyInto(out *NRIConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.PluginRegistrationTimeout != nil {
|
|
in, out := &in.PluginRegistrationTimeout, &out.PluginRegistrationTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.PluginRequestTimeout != nil {
|
|
in, out := &in.PluginRequestTimeout, &out.PluginRequestTimeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NRIConfig.
|
|
func (in *NRIConfig) DeepCopy() *NRIConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NRIConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NTPConfig) DeepCopyInto(out *NTPConfig) {
|
|
*out = *in
|
|
if in.Managed != nil {
|
|
in, out := &in.Managed, &out.Managed
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTPConfig.
|
|
func (in *NTPConfig) DeepCopy() *NTPConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NTPConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NetworkingSpec) DeepCopyInto(out *NetworkingSpec) {
|
|
*out = *in
|
|
if in.AdditionalNetworkCIDRs != nil {
|
|
in, out := &in.AdditionalNetworkCIDRs, &out.AdditionalNetworkCIDRs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Subnets != nil {
|
|
in, out := &in.Subnets, &out.Subnets
|
|
*out = make([]ClusterSubnetSpec, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.TagSubnets != nil {
|
|
in, out := &in.TagSubnets, &out.TagSubnets
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Topology != nil {
|
|
in, out := &in.Topology, &out.Topology
|
|
*out = new(TopologySpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.EgressProxy != nil {
|
|
in, out := &in.EgressProxy, &out.EgressProxy
|
|
*out = new(EgressProxySpec)
|
|
**out = **in
|
|
}
|
|
if in.IsolateControlPlane != nil {
|
|
in, out := &in.IsolateControlPlane, &out.IsolateControlPlane
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Classic != nil {
|
|
in, out := &in.Classic, &out.Classic
|
|
*out = new(ClassicNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.Kubenet != nil {
|
|
in, out := &in.Kubenet, &out.Kubenet
|
|
*out = new(KubenetNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.External != nil {
|
|
in, out := &in.External, &out.External
|
|
*out = new(ExternalNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.CNI != nil {
|
|
in, out := &in.CNI, &out.CNI
|
|
*out = new(CNINetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.Kopeio != nil {
|
|
in, out := &in.Kopeio, &out.Kopeio
|
|
*out = new(KopeioNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.Weave != nil {
|
|
in, out := &in.Weave, &out.Weave
|
|
*out = new(WeaveNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Flannel != nil {
|
|
in, out := &in.Flannel, &out.Flannel
|
|
*out = new(FlannelNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Calico != nil {
|
|
in, out := &in.Calico, &out.Calico
|
|
*out = new(CalicoNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Canal != nil {
|
|
in, out := &in.Canal, &out.Canal
|
|
*out = new(CanalNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.KubeRouter != nil {
|
|
in, out := &in.KubeRouter, &out.KubeRouter
|
|
*out = new(KuberouterNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.Romana != nil {
|
|
in, out := &in.Romana, &out.Romana
|
|
*out = new(RomanaNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.AmazonVPC != nil {
|
|
in, out := &in.AmazonVPC, &out.AmazonVPC
|
|
*out = new(AmazonVPCNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Cilium != nil {
|
|
in, out := &in.Cilium, &out.Cilium
|
|
*out = new(CiliumNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.LyftVPC != nil {
|
|
in, out := &in.LyftVPC, &out.LyftVPC
|
|
*out = new(LyftVPCNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.GCP != nil {
|
|
in, out := &in.GCP, &out.GCP
|
|
*out = new(GCPNetworkingSpec)
|
|
**out = **in
|
|
}
|
|
if in.Kindnet != nil {
|
|
in, out := &in.Kindnet, &out.Kindnet
|
|
*out = new(KindnetNetworkingSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingSpec.
|
|
func (in *NetworkingSpec) DeepCopy() *NetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeAuthorizationSpec) DeepCopyInto(out *NodeAuthorizationSpec) {
|
|
*out = *in
|
|
if in.NodeAuthorizer != nil {
|
|
in, out := &in.NodeAuthorizer, &out.NodeAuthorizer
|
|
*out = new(NodeAuthorizerSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAuthorizationSpec.
|
|
func (in *NodeAuthorizationSpec) DeepCopy() *NodeAuthorizationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeAuthorizationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeAuthorizerSpec) DeepCopyInto(out *NodeAuthorizerSpec) {
|
|
*out = *in
|
|
if in.Features != nil {
|
|
in, out := &in.Features, &out.Features
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Interval != nil {
|
|
in, out := &in.Interval, &out.Interval
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
if in.TokenTTL != nil {
|
|
in, out := &in.TokenTTL, &out.TokenTTL
|
|
*out = new(v1.Duration)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAuthorizerSpec.
|
|
func (in *NodeAuthorizerSpec) DeepCopy() *NodeAuthorizerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeAuthorizerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeLocalDNSConfig) DeepCopyInto(out *NodeLocalDNSConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Image != nil {
|
|
in, out := &in.Image, &out.Image
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ForwardToKubeDNS != nil {
|
|
in, out := &in.ForwardToKubeDNS, &out.ForwardToKubeDNS
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.PodAnnotations != nil {
|
|
in, out := &in.PodAnnotations, &out.PodAnnotations
|
|
*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 NodeLocalDNSConfig.
|
|
func (in *NodeLocalDNSConfig) DeepCopy() *NodeLocalDNSConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeLocalDNSConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeProblemDetectorConfig) DeepCopyInto(out *NodeProblemDetectorConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Image != nil {
|
|
in, out := &in.Image, &out.Image
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProblemDetectorConfig.
|
|
func (in *NodeProblemDetectorConfig) DeepCopy() *NodeProblemDetectorConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeProblemDetectorConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NodeTerminationHandlerSpec) DeepCopyInto(out *NodeTerminationHandlerSpec) {
|
|
*out = *in
|
|
if in.DeleteSQSMsgIfNodeNotFound != nil {
|
|
in, out := &in.DeleteSQSMsgIfNodeNotFound, &out.DeleteSQSMsgIfNodeNotFound
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableSpotInterruptionDraining != nil {
|
|
in, out := &in.EnableSpotInterruptionDraining, &out.EnableSpotInterruptionDraining
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableScheduledEventDraining != nil {
|
|
in, out := &in.EnableScheduledEventDraining, &out.EnableScheduledEventDraining
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableRebalanceMonitoring != nil {
|
|
in, out := &in.EnableRebalanceMonitoring, &out.EnableRebalanceMonitoring
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableRebalanceDraining != nil {
|
|
in, out := &in.EnableRebalanceDraining, &out.EnableRebalanceDraining
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnablePrometheusMetrics != nil {
|
|
in, out := &in.EnablePrometheusMetrics, &out.EnablePrometheusMetrics
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableSQSTerminationDraining != nil {
|
|
in, out := &in.EnableSQSTerminationDraining, &out.EnableSQSTerminationDraining
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ExcludeFromLoadBalancers != nil {
|
|
in, out := &in.ExcludeFromLoadBalancers, &out.ExcludeFromLoadBalancers
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.ManagedASGTag != nil {
|
|
in, out := &in.ManagedASGTag, &out.ManagedASGTag
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.PodTerminationGracePeriod != nil {
|
|
in, out := &in.PodTerminationGracePeriod, &out.PodTerminationGracePeriod
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.TaintNode != nil {
|
|
in, out := &in.TaintNode, &out.TaintNode
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.WebhookTemplate != nil {
|
|
in, out := &in.WebhookTemplate, &out.WebhookTemplate
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.WebhookURL != nil {
|
|
in, out := &in.WebhookURL, &out.WebhookURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTerminationHandlerSpec.
|
|
func (in *NodeTerminationHandlerSpec) DeepCopy() *NodeTerminationHandlerSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NodeTerminationHandlerSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *NvidiaGPUConfig) DeepCopyInto(out *NvidiaGPUConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.DCGMExporter != nil {
|
|
in, out := &in.DCGMExporter, &out.DCGMExporter
|
|
*out = new(DCGMExporterConfig)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NvidiaGPUConfig.
|
|
func (in *NvidiaGPUConfig) DeepCopy() *NvidiaGPUConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(NvidiaGPUConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OIDCAuthenticationSpec) DeepCopyInto(out *OIDCAuthenticationSpec) {
|
|
*out = *in
|
|
if in.UsernameClaim != nil {
|
|
in, out := &in.UsernameClaim, &out.UsernameClaim
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UsernamePrefix != nil {
|
|
in, out := &in.UsernamePrefix, &out.UsernamePrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.GroupsClaims != nil {
|
|
in, out := &in.GroupsClaims, &out.GroupsClaims
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.GroupsPrefix != nil {
|
|
in, out := &in.GroupsPrefix, &out.GroupsPrefix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IssuerURL != nil {
|
|
in, out := &in.IssuerURL, &out.IssuerURL
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ClientID != nil {
|
|
in, out := &in.ClientID, &out.ClientID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.RequiredClaims != nil {
|
|
in, out := &in.RequiredClaims, &out.RequiredClaims
|
|
*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 OIDCAuthenticationSpec.
|
|
func (in *OIDCAuthenticationSpec) DeepCopy() *OIDCAuthenticationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OIDCAuthenticationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackBlockStorageConfig) DeepCopyInto(out *OpenstackBlockStorageConfig) {
|
|
*out = *in
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IgnoreAZ != nil {
|
|
in, out := &in.IgnoreAZ, &out.IgnoreAZ
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.OverrideAZ != nil {
|
|
in, out := &in.OverrideAZ, &out.OverrideAZ
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.IgnoreVolumeMicroVersion != nil {
|
|
in, out := &in.IgnoreVolumeMicroVersion, &out.IgnoreVolumeMicroVersion
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MetricsEnabled != nil {
|
|
in, out := &in.MetricsEnabled, &out.MetricsEnabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CreateStorageClass != nil {
|
|
in, out := &in.CreateStorageClass, &out.CreateStorageClass
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.CSITopologySupport != nil {
|
|
in, out := &in.CSITopologySupport, &out.CSITopologySupport
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackBlockStorageConfig.
|
|
func (in *OpenstackBlockStorageConfig) DeepCopy() *OpenstackBlockStorageConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackBlockStorageConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackLoadbalancerConfig) DeepCopyInto(out *OpenstackLoadbalancerConfig) {
|
|
*out = *in
|
|
if in.Method != nil {
|
|
in, out := &in.Method, &out.Method
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Provider != nil {
|
|
in, out := &in.Provider, &out.Provider
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UseOctavia != nil {
|
|
in, out := &in.UseOctavia, &out.UseOctavia
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.FloatingNetwork != nil {
|
|
in, out := &in.FloatingNetwork, &out.FloatingNetwork
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.FloatingNetworkID != nil {
|
|
in, out := &in.FloatingNetworkID, &out.FloatingNetworkID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.FloatingSubnet != nil {
|
|
in, out := &in.FloatingSubnet, &out.FloatingSubnet
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.SubnetID != nil {
|
|
in, out := &in.SubnetID, &out.SubnetID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ManageSecGroups != nil {
|
|
in, out := &in.ManageSecGroups, &out.ManageSecGroups
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.EnableIngressHostname != nil {
|
|
in, out := &in.EnableIngressHostname, &out.EnableIngressHostname
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IngressHostnameSuffix != nil {
|
|
in, out := &in.IngressHostnameSuffix, &out.IngressHostnameSuffix
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.FlavorID != nil {
|
|
in, out := &in.FlavorID, &out.FlavorID
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackLoadbalancerConfig.
|
|
func (in *OpenstackLoadbalancerConfig) DeepCopy() *OpenstackLoadbalancerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackLoadbalancerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackMetadata) DeepCopyInto(out *OpenstackMetadata) {
|
|
*out = *in
|
|
if in.ConfigDrive != nil {
|
|
in, out := &in.ConfigDrive, &out.ConfigDrive
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackMetadata.
|
|
func (in *OpenstackMetadata) DeepCopy() *OpenstackMetadata {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackMetadata)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackMonitor) DeepCopyInto(out *OpenstackMonitor) {
|
|
*out = *in
|
|
if in.Delay != nil {
|
|
in, out := &in.Delay, &out.Delay
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Timeout != nil {
|
|
in, out := &in.Timeout, &out.Timeout
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.MaxRetries != nil {
|
|
in, out := &in.MaxRetries, &out.MaxRetries
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackMonitor.
|
|
func (in *OpenstackMonitor) DeepCopy() *OpenstackMonitor {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackMonitor)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackNetwork) DeepCopyInto(out *OpenstackNetwork) {
|
|
*out = *in
|
|
if in.AvailabilityZoneHints != nil {
|
|
in, out := &in.AvailabilityZoneHints, &out.AvailabilityZoneHints
|
|
*out = make([]*string, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
if in.IPv6SupportDisabled != nil {
|
|
in, out := &in.IPv6SupportDisabled, &out.IPv6SupportDisabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.PublicNetworkNames != nil {
|
|
in, out := &in.PublicNetworkNames, &out.PublicNetworkNames
|
|
*out = make([]*string, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
if in.InternalNetworkNames != nil {
|
|
in, out := &in.InternalNetworkNames, &out.InternalNetworkNames
|
|
*out = make([]*string, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
if in.AddressSortOrder != nil {
|
|
in, out := &in.AddressSortOrder, &out.AddressSortOrder
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackNetwork.
|
|
func (in *OpenstackNetwork) DeepCopy() *OpenstackNetwork {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackNetwork)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackRouter) DeepCopyInto(out *OpenstackRouter) {
|
|
*out = *in
|
|
if in.ExternalNetwork != nil {
|
|
in, out := &in.ExternalNetwork, &out.ExternalNetwork
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.DNSServers != nil {
|
|
in, out := &in.DNSServers, &out.DNSServers
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.ExternalSubnet != nil {
|
|
in, out := &in.ExternalSubnet, &out.ExternalSubnet
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.AvailabilityZoneHints != nil {
|
|
in, out := &in.AvailabilityZoneHints, &out.AvailabilityZoneHints
|
|
*out = make([]*string, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackRouter.
|
|
func (in *OpenstackRouter) DeepCopy() *OpenstackRouter {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackRouter)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *OpenstackSpec) DeepCopyInto(out *OpenstackSpec) {
|
|
*out = *in
|
|
if in.Loadbalancer != nil {
|
|
in, out := &in.Loadbalancer, &out.Loadbalancer
|
|
*out = new(OpenstackLoadbalancerConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Monitor != nil {
|
|
in, out := &in.Monitor, &out.Monitor
|
|
*out = new(OpenstackMonitor)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Router != nil {
|
|
in, out := &in.Router, &out.Router
|
|
*out = new(OpenstackRouter)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.BlockStorage != nil {
|
|
in, out := &in.BlockStorage, &out.BlockStorage
|
|
*out = new(OpenstackBlockStorageConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.InsecureSkipVerify != nil {
|
|
in, out := &in.InsecureSkipVerify, &out.InsecureSkipVerify
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Network != nil {
|
|
in, out := &in.Network, &out.Network
|
|
*out = new(OpenstackNetwork)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Metadata != nil {
|
|
in, out := &in.Metadata, &out.Metadata
|
|
*out = new(OpenstackMetadata)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackSpec.
|
|
func (in *OpenstackSpec) DeepCopy() *OpenstackSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(OpenstackSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PDCSIDriver) DeepCopyInto(out *PDCSIDriver) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PDCSIDriver.
|
|
func (in *PDCSIDriver) DeepCopy() *PDCSIDriver {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PDCSIDriver)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackageVersionSpec) DeepCopyInto(out *PackageVersionSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVersionSpec.
|
|
func (in *PackageVersionSpec) DeepCopy() *PackageVersionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackageVersionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PackagesConfig) DeepCopyInto(out *PackagesConfig) {
|
|
*out = *in
|
|
if in.HashAmd64 != nil {
|
|
in, out := &in.HashAmd64, &out.HashAmd64
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.HashArm64 != nil {
|
|
in, out := &in.HashArm64, &out.HashArm64
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UrlAmd64 != nil {
|
|
in, out := &in.UrlAmd64, &out.UrlAmd64
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.UrlArm64 != nil {
|
|
in, out := &in.UrlArm64, &out.UrlArm64
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackagesConfig.
|
|
func (in *PackagesConfig) DeepCopy() *PackagesConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PackagesConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *PodIdentityWebhookSpec) DeepCopyInto(out *PodIdentityWebhookSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIdentityWebhookSpec.
|
|
func (in *PodIdentityWebhookSpec) DeepCopy() *PodIdentityWebhookSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PodIdentityWebhookSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RBACAuthorizationSpec) DeepCopyInto(out *RBACAuthorizationSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBACAuthorizationSpec.
|
|
func (in *RBACAuthorizationSpec) DeepCopy() *RBACAuthorizationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RBACAuthorizationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RollingUpdate) DeepCopyInto(out *RollingUpdate) {
|
|
*out = *in
|
|
if in.DrainAndTerminate != nil {
|
|
in, out := &in.DrainAndTerminate, &out.DrainAndTerminate
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.MaxUnavailable != nil {
|
|
in, out := &in.MaxUnavailable, &out.MaxUnavailable
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
if in.MaxSurge != nil {
|
|
in, out := &in.MaxSurge, &out.MaxSurge
|
|
*out = new(intstr.IntOrString)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdate.
|
|
func (in *RollingUpdate) DeepCopy() *RollingUpdate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RollingUpdate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RomanaNetworkingSpec) DeepCopyInto(out *RomanaNetworkingSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RomanaNetworkingSpec.
|
|
func (in *RomanaNetworkingSpec) DeepCopy() *RomanaNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RomanaNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RouteSpec) DeepCopyInto(out *RouteSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
|
|
func (in *RouteSpec) DeepCopy() *RouteSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RouteSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Runc) DeepCopyInto(out *Runc) {
|
|
*out = *in
|
|
if in.Version != nil {
|
|
in, out := &in.Version, &out.Version
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
if in.Packages != nil {
|
|
in, out := &in.Packages, &out.Packages
|
|
*out = new(PackagesConfig)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Runc.
|
|
func (in *Runc) DeepCopy() *Runc {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Runc)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SSHCredential) DeepCopyInto(out *SSHCredential) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHCredential.
|
|
func (in *SSHCredential) DeepCopy() *SSHCredential {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSHCredential)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SSHCredential) 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 *SSHCredentialList) DeepCopyInto(out *SSHCredentialList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]SSHCredential, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHCredentialList.
|
|
func (in *SSHCredentialList) DeepCopy() *SSHCredentialList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSHCredentialList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SSHCredentialList) 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 *SSHCredentialSpec) DeepCopyInto(out *SSHCredentialSpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHCredentialSpec.
|
|
func (in *SSHCredentialSpec) DeepCopy() *SSHCredentialSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSHCredentialSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ScalewaySpec) DeepCopyInto(out *ScalewaySpec) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScalewaySpec.
|
|
func (in *ScalewaySpec) DeepCopy() *ScalewaySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ScalewaySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceAccountExternalPermission) DeepCopyInto(out *ServiceAccountExternalPermission) {
|
|
*out = *in
|
|
if in.AWS != nil {
|
|
in, out := &in.AWS, &out.AWS
|
|
*out = new(AWSPermission)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountExternalPermission.
|
|
func (in *ServiceAccountExternalPermission) DeepCopy() *ServiceAccountExternalPermission {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountExternalPermission)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceAccountIssuerDiscoveryConfig) DeepCopyInto(out *ServiceAccountIssuerDiscoveryConfig) {
|
|
*out = *in
|
|
if in.AdditionalAudiences != nil {
|
|
in, out := &in.AdditionalAudiences, &out.AdditionalAudiences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountIssuerDiscoveryConfig.
|
|
func (in *ServiceAccountIssuerDiscoveryConfig) DeepCopy() *ServiceAccountIssuerDiscoveryConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountIssuerDiscoveryConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SnapshotControllerConfig) DeepCopyInto(out *SnapshotControllerConfig) {
|
|
*out = *in
|
|
if in.Enabled != nil {
|
|
in, out := &in.Enabled, &out.Enabled
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotControllerConfig.
|
|
func (in *SnapshotControllerConfig) DeepCopy() *SnapshotControllerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SnapshotControllerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TargetSpec) DeepCopyInto(out *TargetSpec) {
|
|
*out = *in
|
|
if in.Terraform != nil {
|
|
in, out := &in.Terraform, &out.Terraform
|
|
*out = new(TerraformSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetSpec.
|
|
func (in *TargetSpec) DeepCopy() *TargetSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TargetSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TerraformSpec) DeepCopyInto(out *TerraformSpec) {
|
|
*out = *in
|
|
if in.ProviderExtraConfig != nil {
|
|
in, out := &in.ProviderExtraConfig, &out.ProviderExtraConfig
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.FilesProviderExtraConfig != nil {
|
|
in, out := &in.FilesProviderExtraConfig, &out.FilesProviderExtraConfig
|
|
*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 TerraformSpec.
|
|
func (in *TerraformSpec) DeepCopy() *TerraformSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TerraformSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TopologySpec) DeepCopyInto(out *TopologySpec) {
|
|
*out = *in
|
|
if in.Bastion != nil {
|
|
in, out := &in.Bastion, &out.Bastion
|
|
*out = new(BastionSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpec.
|
|
func (in *TopologySpec) DeepCopy() *TopologySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TopologySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UserData) DeepCopyInto(out *UserData) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserData.
|
|
func (in *UserData) DeepCopy() *UserData {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UserData)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeMountSpec) DeepCopyInto(out *VolumeMountSpec) {
|
|
*out = *in
|
|
if in.FormatOptions != nil {
|
|
in, out := &in.FormatOptions, &out.FormatOptions
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.MountOptions != nil {
|
|
in, out := &in.MountOptions, &out.MountOptions
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountSpec.
|
|
func (in *VolumeMountSpec) DeepCopy() *VolumeMountSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeMountSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec) {
|
|
*out = *in
|
|
if in.DeleteOnTermination != nil {
|
|
in, out := &in.DeleteOnTermination, &out.DeleteOnTermination
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.Encrypted != nil {
|
|
in, out := &in.Encrypted, &out.Encrypted
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.IOPS != nil {
|
|
in, out := &in.IOPS, &out.IOPS
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.Throughput != nil {
|
|
in, out := &in.Throughput, &out.Throughput
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
if in.Key != nil {
|
|
in, out := &in.Key, &out.Key
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.
|
|
func (in *VolumeSpec) DeepCopy() *VolumeSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(VolumeSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WarmPoolSpec) DeepCopyInto(out *WarmPoolSpec) {
|
|
*out = *in
|
|
if in.MaxSize != nil {
|
|
in, out := &in.MaxSize, &out.MaxSize
|
|
*out = new(int64)
|
|
**out = **in
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WarmPoolSpec.
|
|
func (in *WarmPoolSpec) DeepCopy() *WarmPoolSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WarmPoolSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *WeaveNetworkingSpec) DeepCopyInto(out *WeaveNetworkingSpec) {
|
|
*out = *in
|
|
if in.MTU != nil {
|
|
in, out := &in.MTU, &out.MTU
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.ConnLimit != nil {
|
|
in, out := &in.ConnLimit, &out.ConnLimit
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.NoMasqLocal != nil {
|
|
in, out := &in.NoMasqLocal, &out.NoMasqLocal
|
|
*out = new(int32)
|
|
**out = **in
|
|
}
|
|
if in.MemoryRequest != nil {
|
|
in, out := &in.MemoryRequest, &out.MemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPURequest != nil {
|
|
in, out := &in.CPURequest, &out.CPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.MemoryLimit != nil {
|
|
in, out := &in.MemoryLimit, &out.MemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.CPULimit != nil {
|
|
in, out := &in.CPULimit, &out.CPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NPCMemoryRequest != nil {
|
|
in, out := &in.NPCMemoryRequest, &out.NPCMemoryRequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NPCCPURequest != nil {
|
|
in, out := &in.NPCCPURequest, &out.NPCCPURequest
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NPCMemoryLimit != nil {
|
|
in, out := &in.NPCMemoryLimit, &out.NPCMemoryLimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
if in.NPCCPULimit != nil {
|
|
in, out := &in.NPCCPULimit, &out.NPCCPULimit
|
|
x := (*in).DeepCopy()
|
|
*out = &x
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaveNetworkingSpec.
|
|
func (in *WeaveNetworkingSpec) DeepCopy() *WeaveNetworkingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WeaveNetworkingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|