apis/composer/v1alpha1/zz_generated.deepcopy.go (1,115 lines of code) (raw):
//go:build !ignore_autogenerated
// Copyright 2020 Google LLC
//
// 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 controller-gen. DO NOT EDIT.
package v1alpha1
import (
computev1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/compute/v1alpha1"
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s/v1alpha1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AirflowMetadataRetentionPolicyConfig) DeepCopyInto(out *AirflowMetadataRetentionPolicyConfig) {
*out = *in
if in.RetentionMode != nil {
in, out := &in.RetentionMode, &out.RetentionMode
*out = new(string)
**out = **in
}
if in.RetentionDays != nil {
in, out := &in.RetentionDays, &out.RetentionDays
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AirflowMetadataRetentionPolicyConfig.
func (in *AirflowMetadataRetentionPolicyConfig) DeepCopy() *AirflowMetadataRetentionPolicyConfig {
if in == nil {
return nil
}
out := new(AirflowMetadataRetentionPolicyConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CloudDataLineageIntegration) DeepCopyInto(out *CloudDataLineageIntegration) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudDataLineageIntegration.
func (in *CloudDataLineageIntegration) DeepCopy() *CloudDataLineageIntegration {
if in == nil {
return nil
}
out := new(CloudDataLineageIntegration)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComposerEnvironment) DeepCopyInto(out *ComposerEnvironment) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComposerEnvironment.
func (in *ComposerEnvironment) DeepCopy() *ComposerEnvironment {
if in == nil {
return nil
}
out := new(ComposerEnvironment)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComposerEnvironment) 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 *ComposerEnvironmentList) DeepCopyInto(out *ComposerEnvironmentList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ComposerEnvironment, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComposerEnvironmentList.
func (in *ComposerEnvironmentList) DeepCopy() *ComposerEnvironmentList {
if in == nil {
return nil
}
out := new(ComposerEnvironmentList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComposerEnvironmentList) 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 *ComposerEnvironmentObservedState) DeepCopyInto(out *ComposerEnvironmentObservedState) {
*out = *in
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(EnvironmentConfigObservedState)
(*in).DeepCopyInto(*out)
}
if in.Uuid != nil {
in, out := &in.Uuid, &out.Uuid
*out = new(string)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComposerEnvironmentObservedState.
func (in *ComposerEnvironmentObservedState) DeepCopy() *ComposerEnvironmentObservedState {
if in == nil {
return nil
}
out := new(ComposerEnvironmentObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComposerEnvironmentSpec) DeepCopyInto(out *ComposerEnvironmentSpec) {
*out = *in
in.Parent.DeepCopyInto(&out.Parent)
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.Config != nil {
in, out := &in.Config, &out.Config
*out = new(EnvironmentConfig)
(*in).DeepCopyInto(*out)
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.StorageConfig != nil {
in, out := &in.StorageConfig, &out.StorageConfig
*out = new(StorageConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComposerEnvironmentSpec.
func (in *ComposerEnvironmentSpec) DeepCopy() *ComposerEnvironmentSpec {
if in == nil {
return nil
}
out := new(ComposerEnvironmentSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComposerEnvironmentStatus) DeepCopyInto(out *ComposerEnvironmentStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(ComposerEnvironmentObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComposerEnvironmentStatus.
func (in *ComposerEnvironmentStatus) DeepCopy() *ComposerEnvironmentStatus {
if in == nil {
return nil
}
out := new(ComposerEnvironmentStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DataRetentionConfig) DeepCopyInto(out *DataRetentionConfig) {
*out = *in
if in.AirflowMetadataRetentionConfig != nil {
in, out := &in.AirflowMetadataRetentionConfig, &out.AirflowMetadataRetentionConfig
*out = new(AirflowMetadataRetentionPolicyConfig)
(*in).DeepCopyInto(*out)
}
if in.TaskLogsRetentionConfig != nil {
in, out := &in.TaskLogsRetentionConfig, &out.TaskLogsRetentionConfig
*out = new(TaskLogsRetentionConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataRetentionConfig.
func (in *DataRetentionConfig) DeepCopy() *DataRetentionConfig {
if in == nil {
return nil
}
out := new(DataRetentionConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DatabaseConfig) DeepCopyInto(out *DatabaseConfig) {
*out = *in
if in.MachineType != nil {
in, out := &in.MachineType, &out.MachineType
*out = new(string)
**out = **in
}
if in.Zone != nil {
in, out := &in.Zone, &out.Zone
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseConfig.
func (in *DatabaseConfig) DeepCopy() *DatabaseConfig {
if in == nil {
return nil
}
out := new(DatabaseConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig) {
*out = *in
if in.KMSKeyRef != nil {
in, out := &in.KMSKeyRef, &out.KMSKeyRef
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfig.
func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {
if in == nil {
return nil
}
out := new(EncryptionConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EnvironmentConfig) DeepCopyInto(out *EnvironmentConfig) {
*out = *in
if in.NodeCount != nil {
in, out := &in.NodeCount, &out.NodeCount
*out = new(int32)
**out = **in
}
if in.SoftwareConfig != nil {
in, out := &in.SoftwareConfig, &out.SoftwareConfig
*out = new(SoftwareConfig)
(*in).DeepCopyInto(*out)
}
if in.NodeConfig != nil {
in, out := &in.NodeConfig, &out.NodeConfig
*out = new(NodeConfig)
(*in).DeepCopyInto(*out)
}
if in.PrivateEnvironmentConfig != nil {
in, out := &in.PrivateEnvironmentConfig, &out.PrivateEnvironmentConfig
*out = new(PrivateEnvironmentConfig)
(*in).DeepCopyInto(*out)
}
if in.WebServerNetworkAccessControl != nil {
in, out := &in.WebServerNetworkAccessControl, &out.WebServerNetworkAccessControl
*out = new(WebServerNetworkAccessControl)
(*in).DeepCopyInto(*out)
}
if in.DatabaseConfig != nil {
in, out := &in.DatabaseConfig, &out.DatabaseConfig
*out = new(DatabaseConfig)
(*in).DeepCopyInto(*out)
}
if in.WebServerConfig != nil {
in, out := &in.WebServerConfig, &out.WebServerConfig
*out = new(WebServerConfig)
(*in).DeepCopyInto(*out)
}
if in.EncryptionConfig != nil {
in, out := &in.EncryptionConfig, &out.EncryptionConfig
*out = new(EncryptionConfig)
(*in).DeepCopyInto(*out)
}
if in.MaintenanceWindow != nil {
in, out := &in.MaintenanceWindow, &out.MaintenanceWindow
*out = new(MaintenanceWindow)
(*in).DeepCopyInto(*out)
}
if in.WorkloadsConfig != nil {
in, out := &in.WorkloadsConfig, &out.WorkloadsConfig
*out = new(WorkloadsConfig)
(*in).DeepCopyInto(*out)
}
if in.EnvironmentSize != nil {
in, out := &in.EnvironmentSize, &out.EnvironmentSize
*out = new(string)
**out = **in
}
if in.MasterAuthorizedNetworksConfig != nil {
in, out := &in.MasterAuthorizedNetworksConfig, &out.MasterAuthorizedNetworksConfig
*out = new(MasterAuthorizedNetworksConfig)
(*in).DeepCopyInto(*out)
}
if in.RecoveryConfig != nil {
in, out := &in.RecoveryConfig, &out.RecoveryConfig
*out = new(RecoveryConfig)
(*in).DeepCopyInto(*out)
}
if in.ResilienceMode != nil {
in, out := &in.ResilienceMode, &out.ResilienceMode
*out = new(string)
**out = **in
}
if in.DataRetentionConfig != nil {
in, out := &in.DataRetentionConfig, &out.DataRetentionConfig
*out = new(DataRetentionConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentConfig.
func (in *EnvironmentConfig) DeepCopy() *EnvironmentConfig {
if in == nil {
return nil
}
out := new(EnvironmentConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EnvironmentConfigObservedState) DeepCopyInto(out *EnvironmentConfigObservedState) {
*out = *in
if in.GkeCluster != nil {
in, out := &in.GkeCluster, &out.GkeCluster
*out = new(string)
**out = **in
}
if in.DagGCSPrefix != nil {
in, out := &in.DagGCSPrefix, &out.DagGCSPrefix
*out = new(string)
**out = **in
}
if in.PrivateEnvironmentConfig != nil {
in, out := &in.PrivateEnvironmentConfig, &out.PrivateEnvironmentConfig
*out = new(PrivateEnvironmentConfigObservedState)
(*in).DeepCopyInto(*out)
}
if in.AirflowBYOIDURI != nil {
in, out := &in.AirflowBYOIDURI, &out.AirflowBYOIDURI
*out = new(string)
**out = **in
}
if in.AirflowURI != nil {
in, out := &in.AirflowURI, &out.AirflowURI
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentConfigObservedState.
func (in *EnvironmentConfigObservedState) DeepCopy() *EnvironmentConfigObservedState {
if in == nil {
return nil
}
out := new(EnvironmentConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EnvironmentIdentity) DeepCopyInto(out *EnvironmentIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(EnvironmentParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentIdentity.
func (in *EnvironmentIdentity) DeepCopy() *EnvironmentIdentity {
if in == nil {
return nil
}
out := new(EnvironmentIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EnvironmentParent) DeepCopyInto(out *EnvironmentParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentParent.
func (in *EnvironmentParent) DeepCopy() *EnvironmentParent {
if in == nil {
return nil
}
out := new(EnvironmentParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EnvironmentRef) DeepCopyInto(out *EnvironmentRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRef.
func (in *EnvironmentRef) DeepCopy() *EnvironmentRef {
if in == nil {
return nil
}
out := new(EnvironmentRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IPAllocationPolicy) DeepCopyInto(out *IPAllocationPolicy) {
*out = *in
if in.UseIPAliases != nil {
in, out := &in.UseIPAliases, &out.UseIPAliases
*out = new(bool)
**out = **in
}
if in.ClusterSecondaryRangeName != nil {
in, out := &in.ClusterSecondaryRangeName, &out.ClusterSecondaryRangeName
*out = new(string)
**out = **in
}
if in.ClusterIPV4CIDRBlock != nil {
in, out := &in.ClusterIPV4CIDRBlock, &out.ClusterIPV4CIDRBlock
*out = new(string)
**out = **in
}
if in.ServicesSecondaryRangeName != nil {
in, out := &in.ServicesSecondaryRangeName, &out.ServicesSecondaryRangeName
*out = new(string)
**out = **in
}
if in.ServicesIPV4CIDRBlock != nil {
in, out := &in.ServicesIPV4CIDRBlock, &out.ServicesIPV4CIDRBlock
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAllocationPolicy.
func (in *IPAllocationPolicy) DeepCopy() *IPAllocationPolicy {
if in == nil {
return nil
}
out := new(IPAllocationPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MaintenanceWindow) DeepCopyInto(out *MaintenanceWindow) {
*out = *in
if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime
*out = new(string)
**out = **in
}
if in.EndTime != nil {
in, out := &in.EndTime, &out.EndTime
*out = new(string)
**out = **in
}
if in.Recurrence != nil {
in, out := &in.Recurrence, &out.Recurrence
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceWindow.
func (in *MaintenanceWindow) DeepCopy() *MaintenanceWindow {
if in == nil {
return nil
}
out := new(MaintenanceWindow)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MasterAuthorizedNetworksConfig) DeepCopyInto(out *MasterAuthorizedNetworksConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.CIDRBlocks != nil {
in, out := &in.CIDRBlocks, &out.CIDRBlocks
*out = make([]MasterAuthorizedNetworksConfig_CIDRBlock, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterAuthorizedNetworksConfig.
func (in *MasterAuthorizedNetworksConfig) DeepCopy() *MasterAuthorizedNetworksConfig {
if in == nil {
return nil
}
out := new(MasterAuthorizedNetworksConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MasterAuthorizedNetworksConfig_CIDRBlock) DeepCopyInto(out *MasterAuthorizedNetworksConfig_CIDRBlock) {
*out = *in
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.CIDRBlock != nil {
in, out := &in.CIDRBlock, &out.CIDRBlock
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterAuthorizedNetworksConfig_CIDRBlock.
func (in *MasterAuthorizedNetworksConfig_CIDRBlock) DeepCopy() *MasterAuthorizedNetworksConfig_CIDRBlock {
if in == nil {
return nil
}
out := new(MasterAuthorizedNetworksConfig_CIDRBlock)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NetworkingConfig) DeepCopyInto(out *NetworkingConfig) {
*out = *in
if in.ConnectionType != nil {
in, out := &in.ConnectionType, &out.ConnectionType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkingConfig.
func (in *NetworkingConfig) DeepCopy() *NetworkingConfig {
if in == nil {
return nil
}
out := new(NetworkingConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NodeConfig) DeepCopyInto(out *NodeConfig) {
*out = *in
if in.Location != nil {
in, out := &in.Location, &out.Location
*out = new(string)
**out = **in
}
if in.MachineType != nil {
in, out := &in.MachineType, &out.MachineType
*out = new(string)
**out = **in
}
if in.NetworkRef != nil {
in, out := &in.NetworkRef, &out.NetworkRef
*out = new(v1beta1.ComputeNetworkRef)
**out = **in
}
if in.SubnetworkRef != nil {
in, out := &in.SubnetworkRef, &out.SubnetworkRef
*out = new(v1beta1.ComputeSubnetworkRef)
**out = **in
}
if in.DiskSizeGB != nil {
in, out := &in.DiskSizeGB, &out.DiskSizeGB
*out = new(int32)
**out = **in
}
if in.OAuthScopes != nil {
in, out := &in.OAuthScopes, &out.OAuthScopes
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ServiceAccountRef != nil {
in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
*out = new(v1beta1.IAMServiceAccountRef)
**out = **in
}
if in.Tags != nil {
in, out := &in.Tags, &out.Tags
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.IPAllocationPolicy != nil {
in, out := &in.IPAllocationPolicy, &out.IPAllocationPolicy
*out = new(IPAllocationPolicy)
(*in).DeepCopyInto(*out)
}
if in.EnableIPMasqAgent != nil {
in, out := &in.EnableIPMasqAgent, &out.EnableIPMasqAgent
*out = new(bool)
**out = **in
}
if in.ComposerNetworkAttachmentRef != nil {
in, out := &in.ComposerNetworkAttachmentRef, &out.ComposerNetworkAttachmentRef
*out = new(computev1alpha1.ComputeNetworkAttachmentRef)
**out = **in
}
if in.ComposerInternalIPv4CIDRBlock != nil {
in, out := &in.ComposerInternalIPv4CIDRBlock, &out.ComposerInternalIPv4CIDRBlock
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfig.
func (in *NodeConfig) DeepCopy() *NodeConfig {
if in == nil {
return nil
}
out := new(NodeConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Parent) DeepCopyInto(out *Parent) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (in *Parent) DeepCopy() *Parent {
if in == nil {
return nil
}
out := new(Parent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateClusterConfig) DeepCopyInto(out *PrivateClusterConfig) {
*out = *in
if in.EnablePrivateEndpoint != nil {
in, out := &in.EnablePrivateEndpoint, &out.EnablePrivateEndpoint
*out = new(bool)
**out = **in
}
if in.MasterIPV4CIDRBlock != nil {
in, out := &in.MasterIPV4CIDRBlock, &out.MasterIPV4CIDRBlock
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateClusterConfig.
func (in *PrivateClusterConfig) DeepCopy() *PrivateClusterConfig {
if in == nil {
return nil
}
out := new(PrivateClusterConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateClusterConfigObservedState) DeepCopyInto(out *PrivateClusterConfigObservedState) {
*out = *in
if in.MasterIPV4ReservedRange != nil {
in, out := &in.MasterIPV4ReservedRange, &out.MasterIPV4ReservedRange
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateClusterConfigObservedState.
func (in *PrivateClusterConfigObservedState) DeepCopy() *PrivateClusterConfigObservedState {
if in == nil {
return nil
}
out := new(PrivateClusterConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateEnvironmentConfig) DeepCopyInto(out *PrivateEnvironmentConfig) {
*out = *in
if in.EnablePrivateEnvironment != nil {
in, out := &in.EnablePrivateEnvironment, &out.EnablePrivateEnvironment
*out = new(bool)
**out = **in
}
if in.EnablePrivateBuildsOnly != nil {
in, out := &in.EnablePrivateBuildsOnly, &out.EnablePrivateBuildsOnly
*out = new(bool)
**out = **in
}
if in.PrivateClusterConfig != nil {
in, out := &in.PrivateClusterConfig, &out.PrivateClusterConfig
*out = new(PrivateClusterConfig)
(*in).DeepCopyInto(*out)
}
if in.WebServerIPv4CIDRBlock != nil {
in, out := &in.WebServerIPv4CIDRBlock, &out.WebServerIPv4CIDRBlock
*out = new(string)
**out = **in
}
if in.CloudSQLIPv4CIDRBlock != nil {
in, out := &in.CloudSQLIPv4CIDRBlock, &out.CloudSQLIPv4CIDRBlock
*out = new(string)
**out = **in
}
if in.CloudComposerNetworkIPv4CIDRBlock != nil {
in, out := &in.CloudComposerNetworkIPv4CIDRBlock, &out.CloudComposerNetworkIPv4CIDRBlock
*out = new(string)
**out = **in
}
if in.EnablePrivatelyUsedPublicIPs != nil {
in, out := &in.EnablePrivatelyUsedPublicIPs, &out.EnablePrivatelyUsedPublicIPs
*out = new(bool)
**out = **in
}
if in.CloudComposerConnectionSubnetworkRef != nil {
in, out := &in.CloudComposerConnectionSubnetworkRef, &out.CloudComposerConnectionSubnetworkRef
*out = new(v1beta1.ComputeSubnetworkRef)
**out = **in
}
if in.NetworkingConfig != nil {
in, out := &in.NetworkingConfig, &out.NetworkingConfig
*out = new(NetworkingConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEnvironmentConfig.
func (in *PrivateEnvironmentConfig) DeepCopy() *PrivateEnvironmentConfig {
if in == nil {
return nil
}
out := new(PrivateEnvironmentConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateEnvironmentConfigObservedState) DeepCopyInto(out *PrivateEnvironmentConfigObservedState) {
*out = *in
if in.PrivateClusterConfig != nil {
in, out := &in.PrivateClusterConfig, &out.PrivateClusterConfig
*out = new(PrivateClusterConfigObservedState)
(*in).DeepCopyInto(*out)
}
if in.WebServerIPv4ReservedRange != nil {
in, out := &in.WebServerIPv4ReservedRange, &out.WebServerIPv4ReservedRange
*out = new(string)
**out = **in
}
if in.CloudComposerNetworkIPv4ReservedRange != nil {
in, out := &in.CloudComposerNetworkIPv4ReservedRange, &out.CloudComposerNetworkIPv4ReservedRange
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEnvironmentConfigObservedState.
func (in *PrivateEnvironmentConfigObservedState) DeepCopy() *PrivateEnvironmentConfigObservedState {
if in == nil {
return nil
}
out := new(PrivateEnvironmentConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecoveryConfig) DeepCopyInto(out *RecoveryConfig) {
*out = *in
if in.ScheduledSnapshotsConfig != nil {
in, out := &in.ScheduledSnapshotsConfig, &out.ScheduledSnapshotsConfig
*out = new(ScheduledSnapshotsConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecoveryConfig.
func (in *RecoveryConfig) DeepCopy() *RecoveryConfig {
if in == nil {
return nil
}
out := new(RecoveryConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ScheduledSnapshotsConfig) DeepCopyInto(out *ScheduledSnapshotsConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.SnapshotLocation != nil {
in, out := &in.SnapshotLocation, &out.SnapshotLocation
*out = new(string)
**out = **in
}
if in.SnapshotCreationSchedule != nil {
in, out := &in.SnapshotCreationSchedule, &out.SnapshotCreationSchedule
*out = new(string)
**out = **in
}
if in.TimeZone != nil {
in, out := &in.TimeZone, &out.TimeZone
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduledSnapshotsConfig.
func (in *ScheduledSnapshotsConfig) DeepCopy() *ScheduledSnapshotsConfig {
if in == nil {
return nil
}
out := new(ScheduledSnapshotsConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SoftwareConfig) DeepCopyInto(out *SoftwareConfig) {
*out = *in
if in.ImageVersion != nil {
in, out := &in.ImageVersion, &out.ImageVersion
*out = new(string)
**out = **in
}
if in.AirflowConfigOverrides != nil {
in, out := &in.AirflowConfigOverrides, &out.AirflowConfigOverrides
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PypiPackages != nil {
in, out := &in.PypiPackages, &out.PypiPackages
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.EnvVariables != nil {
in, out := &in.EnvVariables, &out.EnvVariables
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PythonVersion != nil {
in, out := &in.PythonVersion, &out.PythonVersion
*out = new(string)
**out = **in
}
if in.SchedulerCount != nil {
in, out := &in.SchedulerCount, &out.SchedulerCount
*out = new(int32)
**out = **in
}
if in.CloudDataLineageIntegration != nil {
in, out := &in.CloudDataLineageIntegration, &out.CloudDataLineageIntegration
*out = new(CloudDataLineageIntegration)
(*in).DeepCopyInto(*out)
}
if in.WebServerPluginsMode != nil {
in, out := &in.WebServerPluginsMode, &out.WebServerPluginsMode
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoftwareConfig.
func (in *SoftwareConfig) DeepCopy() *SoftwareConfig {
if in == nil {
return nil
}
out := new(SoftwareConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *StorageConfig) DeepCopyInto(out *StorageConfig) {
*out = *in
if in.BucketRef != nil {
in, out := &in.BucketRef, &out.BucketRef
*out = new(v1beta1.StorageBucketRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfig.
func (in *StorageConfig) DeepCopy() *StorageConfig {
if in == nil {
return nil
}
out := new(StorageConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TaskLogsRetentionConfig) DeepCopyInto(out *TaskLogsRetentionConfig) {
*out = *in
if in.StorageMode != nil {
in, out := &in.StorageMode, &out.StorageMode
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskLogsRetentionConfig.
func (in *TaskLogsRetentionConfig) DeepCopy() *TaskLogsRetentionConfig {
if in == nil {
return nil
}
out := new(TaskLogsRetentionConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WebServerConfig) DeepCopyInto(out *WebServerConfig) {
*out = *in
if in.MachineType != nil {
in, out := &in.MachineType, &out.MachineType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebServerConfig.
func (in *WebServerConfig) DeepCopy() *WebServerConfig {
if in == nil {
return nil
}
out := new(WebServerConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WebServerNetworkAccessControl) DeepCopyInto(out *WebServerNetworkAccessControl) {
*out = *in
if in.AllowedIPRanges != nil {
in, out := &in.AllowedIPRanges, &out.AllowedIPRanges
*out = make([]WebServerNetworkAccessControl_AllowedIPRange, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebServerNetworkAccessControl.
func (in *WebServerNetworkAccessControl) DeepCopy() *WebServerNetworkAccessControl {
if in == nil {
return nil
}
out := new(WebServerNetworkAccessControl)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WebServerNetworkAccessControl_AllowedIPRange) DeepCopyInto(out *WebServerNetworkAccessControl_AllowedIPRange) {
*out = *in
if in.Value != nil {
in, out := &in.Value, &out.Value
*out = new(string)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebServerNetworkAccessControl_AllowedIPRange.
func (in *WebServerNetworkAccessControl_AllowedIPRange) DeepCopy() *WebServerNetworkAccessControl_AllowedIPRange {
if in == nil {
return nil
}
out := new(WebServerNetworkAccessControl_AllowedIPRange)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig) DeepCopyInto(out *WorkloadsConfig) {
*out = *in
if in.Scheduler != nil {
in, out := &in.Scheduler, &out.Scheduler
*out = new(WorkloadsConfig_SchedulerResource)
(*in).DeepCopyInto(*out)
}
if in.WebServer != nil {
in, out := &in.WebServer, &out.WebServer
*out = new(WorkloadsConfig_WebServerResource)
(*in).DeepCopyInto(*out)
}
if in.Worker != nil {
in, out := &in.Worker, &out.Worker
*out = new(WorkloadsConfig_WorkerResource)
(*in).DeepCopyInto(*out)
}
if in.Triggerer != nil {
in, out := &in.Triggerer, &out.Triggerer
*out = new(WorkloadsConfig_TriggererResource)
(*in).DeepCopyInto(*out)
}
if in.DagProcessor != nil {
in, out := &in.DagProcessor, &out.DagProcessor
*out = new(WorkloadsConfig_DagProcessorResource)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig.
func (in *WorkloadsConfig) DeepCopy() *WorkloadsConfig {
if in == nil {
return nil
}
out := new(WorkloadsConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig_DagProcessorResource) DeepCopyInto(out *WorkloadsConfig_DagProcessorResource) {
*out = *in
if in.CPU != nil {
in, out := &in.CPU, &out.CPU
*out = new(string)
**out = **in
}
if in.MemoryGB != nil {
in, out := &in.MemoryGB, &out.MemoryGB
*out = new(string)
**out = **in
}
if in.StorageGB != nil {
in, out := &in.StorageGB, &out.StorageGB
*out = new(string)
**out = **in
}
if in.Count != nil {
in, out := &in.Count, &out.Count
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig_DagProcessorResource.
func (in *WorkloadsConfig_DagProcessorResource) DeepCopy() *WorkloadsConfig_DagProcessorResource {
if in == nil {
return nil
}
out := new(WorkloadsConfig_DagProcessorResource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig_SchedulerResource) DeepCopyInto(out *WorkloadsConfig_SchedulerResource) {
*out = *in
if in.CPU != nil {
in, out := &in.CPU, &out.CPU
*out = new(string)
**out = **in
}
if in.MemoryGB != nil {
in, out := &in.MemoryGB, &out.MemoryGB
*out = new(string)
**out = **in
}
if in.StorageGB != nil {
in, out := &in.StorageGB, &out.StorageGB
*out = new(string)
**out = **in
}
if in.Count != nil {
in, out := &in.Count, &out.Count
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig_SchedulerResource.
func (in *WorkloadsConfig_SchedulerResource) DeepCopy() *WorkloadsConfig_SchedulerResource {
if in == nil {
return nil
}
out := new(WorkloadsConfig_SchedulerResource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig_TriggererResource) DeepCopyInto(out *WorkloadsConfig_TriggererResource) {
*out = *in
if in.Count != nil {
in, out := &in.Count, &out.Count
*out = new(int32)
**out = **in
}
if in.CPU != nil {
in, out := &in.CPU, &out.CPU
*out = new(string)
**out = **in
}
if in.MemoryGB != nil {
in, out := &in.MemoryGB, &out.MemoryGB
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig_TriggererResource.
func (in *WorkloadsConfig_TriggererResource) DeepCopy() *WorkloadsConfig_TriggererResource {
if in == nil {
return nil
}
out := new(WorkloadsConfig_TriggererResource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig_WebServerResource) DeepCopyInto(out *WorkloadsConfig_WebServerResource) {
*out = *in
if in.CPU != nil {
in, out := &in.CPU, &out.CPU
*out = new(string)
**out = **in
}
if in.MemoryGB != nil {
in, out := &in.MemoryGB, &out.MemoryGB
*out = new(string)
**out = **in
}
if in.StorageGB != nil {
in, out := &in.StorageGB, &out.StorageGB
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig_WebServerResource.
func (in *WorkloadsConfig_WebServerResource) DeepCopy() *WorkloadsConfig_WebServerResource {
if in == nil {
return nil
}
out := new(WorkloadsConfig_WebServerResource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WorkloadsConfig_WorkerResource) DeepCopyInto(out *WorkloadsConfig_WorkerResource) {
*out = *in
if in.CPU != nil {
in, out := &in.CPU, &out.CPU
*out = new(string)
**out = **in
}
if in.MemoryGB != nil {
in, out := &in.MemoryGB, &out.MemoryGB
*out = new(string)
**out = **in
}
if in.StorageGB != nil {
in, out := &in.StorageGB, &out.StorageGB
*out = new(string)
**out = **in
}
if in.MinCount != nil {
in, out := &in.MinCount, &out.MinCount
*out = new(int32)
**out = **in
}
if in.MaxCount != nil {
in, out := &in.MaxCount, &out.MaxCount
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadsConfig_WorkerResource.
func (in *WorkloadsConfig_WorkerResource) DeepCopy() *WorkloadsConfig_WorkerResource {
if in == nil {
return nil
}
out := new(WorkloadsConfig_WorkerResource)
in.DeepCopyInto(out)
return out
}