apis/alloydb/v1beta1/zz_generated.deepcopy.go (1,427 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 v1beta1
import (
refsv1beta1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1/secret"
"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 *AlloyDBCluster) DeepCopyInto(out *AlloyDBCluster) {
*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 AlloyDBCluster.
func (in *AlloyDBCluster) DeepCopy() *AlloyDBCluster {
if in == nil {
return nil
}
out := new(AlloyDBCluster)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *AlloyDBCluster) 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 *AlloyDBClusterList) DeepCopyInto(out *AlloyDBClusterList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]AlloyDBCluster, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterList.
func (in *AlloyDBClusterList) DeepCopy() *AlloyDBClusterList {
if in == nil {
return nil
}
out := new(AlloyDBClusterList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *AlloyDBClusterList) 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 *AlloyDBClusterObservedState) DeepCopyInto(out *AlloyDBClusterObservedState) {
*out = *in
if in.ClusterType != nil {
in, out := &in.ClusterType, &out.ClusterType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterObservedState.
func (in *AlloyDBClusterObservedState) DeepCopy() *AlloyDBClusterObservedState {
if in == nil {
return nil
}
out := new(AlloyDBClusterObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlloyDBClusterSpec) DeepCopyInto(out *AlloyDBClusterSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.ClusterType != nil {
in, out := &in.ClusterType, &out.ClusterType
*out = new(string)
**out = **in
}
if in.DeletionPolicy != nil {
in, out := &in.DeletionPolicy, &out.DeletionPolicy
*out = new(string)
**out = **in
}
if in.Location != nil {
in, out := &in.Location, &out.Location
*out = new(string)
**out = **in
}
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(refsv1beta1.ProjectRef)
**out = **in
}
if in.RestoreBackupSource != nil {
in, out := &in.RestoreBackupSource, &out.RestoreBackupSource
*out = new(BackupSource)
(*in).DeepCopyInto(*out)
}
if in.RestoreContinuousBackupSource != nil {
in, out := &in.RestoreContinuousBackupSource, &out.RestoreContinuousBackupSource
*out = new(RestoreContinuousBackupSource)
(*in).DeepCopyInto(*out)
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.NetworkConfig != nil {
in, out := &in.NetworkConfig, &out.NetworkConfig
*out = new(Cluster_NetworkConfig)
(*in).DeepCopyInto(*out)
}
if in.NetworkRef != nil {
in, out := &in.NetworkRef, &out.NetworkRef
*out = new(refsv1beta1.ComputeNetworkRef)
**out = **in
}
if in.InitialUser != nil {
in, out := &in.InitialUser, &out.InitialUser
*out = new(UserPassword)
(*in).DeepCopyInto(*out)
}
if in.AutomatedBackupPolicy != nil {
in, out := &in.AutomatedBackupPolicy, &out.AutomatedBackupPolicy
*out = new(AutomatedBackupPolicy)
(*in).DeepCopyInto(*out)
}
if in.EncryptionConfig != nil {
in, out := &in.EncryptionConfig, &out.EncryptionConfig
*out = new(EncryptionConfig)
(*in).DeepCopyInto(*out)
}
if in.ContinuousBackupConfig != nil {
in, out := &in.ContinuousBackupConfig, &out.ContinuousBackupConfig
*out = new(ContinuousBackupConfig)
(*in).DeepCopyInto(*out)
}
if in.SecondaryConfig != nil {
in, out := &in.SecondaryConfig, &out.SecondaryConfig
*out = new(Cluster_SecondaryConfig)
(*in).DeepCopyInto(*out)
}
if in.MaintenanceUpdatePolicy != nil {
in, out := &in.MaintenanceUpdatePolicy, &out.MaintenanceUpdatePolicy
*out = new(MaintenanceUpdatePolicy)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterSpec.
func (in *AlloyDBClusterSpec) DeepCopy() *AlloyDBClusterSpec {
if in == nil {
return nil
}
out := new(AlloyDBClusterSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlloyDBClusterStatus) DeepCopyInto(out *AlloyDBClusterStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1alpha1.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.BackupSource != nil {
in, out := &in.BackupSource, &out.BackupSource
*out = make([]*BackupSourceObservedState, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(BackupSourceObservedState)
(*in).DeepCopyInto(*out)
}
}
}
if in.ContinuousBackupInfo != nil {
in, out := &in.ContinuousBackupInfo, &out.ContinuousBackupInfo
*out = make([]*ContinuousBackupInfoObservedState, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(ContinuousBackupInfoObservedState)
(*in).DeepCopyInto(*out)
}
}
}
if in.DatabaseVersion != nil {
in, out := &in.DatabaseVersion, &out.DatabaseVersion
*out = new(string)
**out = **in
}
if in.EncryptionInfo != nil {
in, out := &in.EncryptionInfo, &out.EncryptionInfo
*out = make([]*EncryptionInfoObservedState, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(EncryptionInfoObservedState)
(*in).DeepCopyInto(*out)
}
}
}
if in.MigrationSource != nil {
in, out := &in.MigrationSource, &out.MigrationSource
*out = make([]*MigrationSourceObservedState, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(MigrationSourceObservedState)
(*in).DeepCopyInto(*out)
}
}
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.Uid != nil {
in, out := &in.Uid, &out.Uid
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(AlloyDBClusterObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterStatus.
func (in *AlloyDBClusterStatus) DeepCopy() *AlloyDBClusterStatus {
if in == nil {
return nil
}
out := new(AlloyDBClusterStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlloyDBInstance) DeepCopyInto(out *AlloyDBInstance) {
*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 AlloyDBInstance.
func (in *AlloyDBInstance) DeepCopy() *AlloyDBInstance {
if in == nil {
return nil
}
out := new(AlloyDBInstance)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *AlloyDBInstance) 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 *AlloyDBInstanceList) DeepCopyInto(out *AlloyDBInstanceList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]AlloyDBInstance, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstanceList.
func (in *AlloyDBInstanceList) DeepCopy() *AlloyDBInstanceList {
if in == nil {
return nil
}
out := new(AlloyDBInstanceList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *AlloyDBInstanceList) 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 *AlloyDBInstanceSpec) DeepCopyInto(out *AlloyDBInstanceSpec) {
*out = *in
if in.ClusterRef != nil {
in, out := &in.ClusterRef, &out.ClusterRef
*out = new(refsv1beta1.AlloyDBClusterRef)
**out = **in
}
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.Annotations != nil {
in, out := &in.Annotations, &out.Annotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.AvailabilityType != nil {
in, out := &in.AvailabilityType, &out.AvailabilityType
*out = new(string)
**out = **in
}
if in.DatabaseFlags != nil {
in, out := &in.DatabaseFlags, &out.DatabaseFlags
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.GCEZone != nil {
in, out := &in.GCEZone, &out.GCEZone
*out = new(string)
**out = **in
}
if in.InstanceType != nil {
in, out := &in.InstanceType, &out.InstanceType
*out = new(string)
**out = **in
}
if in.InstanceTypeRef != nil {
in, out := &in.InstanceTypeRef, &out.InstanceTypeRef
*out = new(refsv1beta1.AlloyDBClusterTypeRef)
**out = **in
}
if in.MachineConfig != nil {
in, out := &in.MachineConfig, &out.MachineConfig
*out = new(Instance_MachineConfig)
(*in).DeepCopyInto(*out)
}
if in.NetworkConfig != nil {
in, out := &in.NetworkConfig, &out.NetworkConfig
*out = new(Instance_InstanceNetworkConfig)
(*in).DeepCopyInto(*out)
}
if in.ReadPoolConfig != nil {
in, out := &in.ReadPoolConfig, &out.ReadPoolConfig
*out = new(Instance_ReadPoolConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstanceSpec.
func (in *AlloyDBInstanceSpec) DeepCopy() *AlloyDBInstanceSpec {
if in == nil {
return nil
}
out := new(AlloyDBInstanceSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlloyDBInstanceStatus) DeepCopyInto(out *AlloyDBInstanceStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1alpha1.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.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.IPAddress != nil {
in, out := &in.IPAddress, &out.IPAddress
*out = new(string)
**out = **in
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.OutboundPublicIPAddresses != nil {
in, out := &in.OutboundPublicIPAddresses, &out.OutboundPublicIPAddresses
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.PublicIPAddress != nil {
in, out := &in.PublicIPAddress, &out.PublicIPAddress
*out = new(string)
**out = **in
}
if in.Reconciling != nil {
in, out := &in.Reconciling, &out.Reconciling
*out = new(bool)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.Uid != nil {
in, out := &in.Uid, &out.Uid
*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 AlloyDBInstanceStatus.
func (in *AlloyDBInstanceStatus) DeepCopy() *AlloyDBInstanceStatus {
if in == nil {
return nil
}
out := new(AlloyDBInstanceStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AutomatedBackupPolicy) DeepCopyInto(out *AutomatedBackupPolicy) {
*out = *in
if in.WeeklySchedule != nil {
in, out := &in.WeeklySchedule, &out.WeeklySchedule
*out = new(AutomatedBackupPolicy_WeeklySchedule)
(*in).DeepCopyInto(*out)
}
if in.TimeBasedRetention != nil {
in, out := &in.TimeBasedRetention, &out.TimeBasedRetention
*out = new(AutomatedBackupPolicy_TimeBasedRetention)
(*in).DeepCopyInto(*out)
}
if in.QuantityBasedRetention != nil {
in, out := &in.QuantityBasedRetention, &out.QuantityBasedRetention
*out = new(AutomatedBackupPolicy_QuantityBasedRetention)
(*in).DeepCopyInto(*out)
}
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.BackupWindow != nil {
in, out := &in.BackupWindow, &out.BackupWindow
*out = new(string)
**out = **in
}
if in.EncryptionConfig != nil {
in, out := &in.EncryptionConfig, &out.EncryptionConfig
*out = new(EncryptionConfig)
(*in).DeepCopyInto(*out)
}
if in.Location != nil {
in, out := &in.Location, &out.Location
*out = new(string)
**out = **in
}
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
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicy.
func (in *AutomatedBackupPolicy) DeepCopy() *AutomatedBackupPolicy {
if in == nil {
return nil
}
out := new(AutomatedBackupPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AutomatedBackupPolicy_QuantityBasedRetention) DeepCopyInto(out *AutomatedBackupPolicy_QuantityBasedRetention) {
*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 AutomatedBackupPolicy_QuantityBasedRetention.
func (in *AutomatedBackupPolicy_QuantityBasedRetention) DeepCopy() *AutomatedBackupPolicy_QuantityBasedRetention {
if in == nil {
return nil
}
out := new(AutomatedBackupPolicy_QuantityBasedRetention)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AutomatedBackupPolicy_TimeBasedRetention) DeepCopyInto(out *AutomatedBackupPolicy_TimeBasedRetention) {
*out = *in
if in.RetentionPeriod != nil {
in, out := &in.RetentionPeriod, &out.RetentionPeriod
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicy_TimeBasedRetention.
func (in *AutomatedBackupPolicy_TimeBasedRetention) DeepCopy() *AutomatedBackupPolicy_TimeBasedRetention {
if in == nil {
return nil
}
out := new(AutomatedBackupPolicy_TimeBasedRetention)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AutomatedBackupPolicy_WeeklySchedule) DeepCopyInto(out *AutomatedBackupPolicy_WeeklySchedule) {
*out = *in
if in.StartTimes != nil {
in, out := &in.StartTimes, &out.StartTimes
*out = make([]TimeOfDay, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.DaysOfWeek != nil {
in, out := &in.DaysOfWeek, &out.DaysOfWeek
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomatedBackupPolicy_WeeklySchedule.
func (in *AutomatedBackupPolicy_WeeklySchedule) DeepCopy() *AutomatedBackupPolicy_WeeklySchedule {
if in == nil {
return nil
}
out := new(AutomatedBackupPolicy_WeeklySchedule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupSource) DeepCopyInto(out *BackupSource) {
*out = *in
if in.BackupNameRef != nil {
in, out := &in.BackupNameRef, &out.BackupNameRef
*out = new(refsv1beta1.AlloyDBBackupRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSource.
func (in *BackupSource) DeepCopy() *BackupSource {
if in == nil {
return nil
}
out := new(BackupSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupSourceObservedState) DeepCopyInto(out *BackupSourceObservedState) {
*out = *in
if in.BackupName != nil {
in, out := &in.BackupName, &out.BackupName
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSourceObservedState.
func (in *BackupSourceObservedState) DeepCopy() *BackupSourceObservedState {
if in == nil {
return nil
}
out := new(BackupSourceObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CloudSQLBackupRunSource) DeepCopyInto(out *CloudSQLBackupRunSource) {
*out = *in
if in.Project != nil {
in, out := &in.Project, &out.Project
*out = new(string)
**out = **in
}
if in.InstanceID != nil {
in, out := &in.InstanceID, &out.InstanceID
*out = new(string)
**out = **in
}
if in.BackupRunID != nil {
in, out := &in.BackupRunID, &out.BackupRunID
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudSQLBackupRunSource.
func (in *CloudSQLBackupRunSource) DeepCopy() *CloudSQLBackupRunSource {
if in == nil {
return nil
}
out := new(CloudSQLBackupRunSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterIdentity) DeepCopyInto(out *ClusterIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(ClusterParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIdentity.
func (in *ClusterIdentity) DeepCopy() *ClusterIdentity {
if in == nil {
return nil
}
out := new(ClusterIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterParent) DeepCopyInto(out *ClusterParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterParent.
func (in *ClusterParent) DeepCopy() *ClusterParent {
if in == nil {
return nil
}
out := new(ClusterParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterRef) DeepCopyInto(out *ClusterRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRef.
func (in *ClusterRef) DeepCopy() *ClusterRef {
if in == nil {
return nil
}
out := new(ClusterRef)
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_NetworkConfig) DeepCopyInto(out *Cluster_NetworkConfig) {
*out = *in
if in.NetworkRef != nil {
in, out := &in.NetworkRef, &out.NetworkRef
*out = new(refsv1beta1.ComputeNetworkRef)
**out = **in
}
if in.AllocatedIPRange != nil {
in, out := &in.AllocatedIPRange, &out.AllocatedIPRange
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_NetworkConfig.
func (in *Cluster_NetworkConfig) DeepCopy() *Cluster_NetworkConfig {
if in == nil {
return nil
}
out := new(Cluster_NetworkConfig)
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_PSCConfig) DeepCopyInto(out *Cluster_PSCConfig) {
*out = *in
if in.PSCEnabled != nil {
in, out := &in.PSCEnabled, &out.PSCEnabled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_PSCConfig.
func (in *Cluster_PSCConfig) DeepCopy() *Cluster_PSCConfig {
if in == nil {
return nil
}
out := new(Cluster_PSCConfig)
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_PrimaryConfig) DeepCopyInto(out *Cluster_PrimaryConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_PrimaryConfig.
func (in *Cluster_PrimaryConfig) DeepCopy() *Cluster_PrimaryConfig {
if in == nil {
return nil
}
out := new(Cluster_PrimaryConfig)
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_PrimaryConfigObservedState) DeepCopyInto(out *Cluster_PrimaryConfigObservedState) {
*out = *in
if in.SecondaryClusterNames != nil {
in, out := &in.SecondaryClusterNames, &out.SecondaryClusterNames
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_PrimaryConfigObservedState.
func (in *Cluster_PrimaryConfigObservedState) DeepCopy() *Cluster_PrimaryConfigObservedState {
if in == nil {
return nil
}
out := new(Cluster_PrimaryConfigObservedState)
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_SecondaryConfig) DeepCopyInto(out *Cluster_SecondaryConfig) {
*out = *in
if in.PrimaryClusterNameRef != nil {
in, out := &in.PrimaryClusterNameRef, &out.PrimaryClusterNameRef
*out = new(ClusterRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_SecondaryConfig.
func (in *Cluster_SecondaryConfig) DeepCopy() *Cluster_SecondaryConfig {
if in == nil {
return nil
}
out := new(Cluster_SecondaryConfig)
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_TrialMetadata) DeepCopyInto(out *Cluster_TrialMetadata) {
*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.UpgradeTime != nil {
in, out := &in.UpgradeTime, &out.UpgradeTime
*out = new(string)
**out = **in
}
if in.GraceEndTime != nil {
in, out := &in.GraceEndTime, &out.GraceEndTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_TrialMetadata.
func (in *Cluster_TrialMetadata) DeepCopy() *Cluster_TrialMetadata {
if in == nil {
return nil
}
out := new(Cluster_TrialMetadata)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ContinuousBackupConfig) DeepCopyInto(out *ContinuousBackupConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.RecoveryWindowDays != nil {
in, out := &in.RecoveryWindowDays, &out.RecoveryWindowDays
*out = new(int32)
**out = **in
}
if in.EncryptionConfig != nil {
in, out := &in.EncryptionConfig, &out.EncryptionConfig
*out = new(EncryptionConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupConfig.
func (in *ContinuousBackupConfig) DeepCopy() *ContinuousBackupConfig {
if in == nil {
return nil
}
out := new(ContinuousBackupConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ContinuousBackupInfoObservedState) DeepCopyInto(out *ContinuousBackupInfoObservedState) {
*out = *in
if in.EncryptionInfo != nil {
in, out := &in.EncryptionInfo, &out.EncryptionInfo
*out = make([]*EncryptionInfoObservedState, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(EncryptionInfoObservedState)
(*in).DeepCopyInto(*out)
}
}
}
if in.EnabledTime != nil {
in, out := &in.EnabledTime, &out.EnabledTime
*out = new(string)
**out = **in
}
if in.Schedule != nil {
in, out := &in.Schedule, &out.Schedule
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.EarliestRestorableTime != nil {
in, out := &in.EarliestRestorableTime, &out.EarliestRestorableTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContinuousBackupInfoObservedState.
func (in *ContinuousBackupInfoObservedState) DeepCopy() *ContinuousBackupInfoObservedState {
if in == nil {
return nil
}
out := new(ContinuousBackupInfoObservedState)
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.KMSKeyNameRef != nil {
in, out := &in.KMSKeyNameRef, &out.KMSKeyNameRef
*out = new(refsv1beta1.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 *EncryptionInfo) DeepCopyInto(out *EncryptionInfo) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionInfo.
func (in *EncryptionInfo) DeepCopy() *EncryptionInfo {
if in == nil {
return nil
}
out := new(EncryptionInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EncryptionInfoObservedState) DeepCopyInto(out *EncryptionInfoObservedState) {
*out = *in
if in.EncryptionType != nil {
in, out := &in.EncryptionType, &out.EncryptionType
*out = new(string)
**out = **in
}
if in.KMSKeyVersions != nil {
in, out := &in.KMSKeyVersions, &out.KMSKeyVersions
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionInfoObservedState.
func (in *EncryptionInfoObservedState) DeepCopy() *EncryptionInfoObservedState {
if in == nil {
return nil
}
out := new(EncryptionInfoObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GeminiClusterConfig) DeepCopyInto(out *GeminiClusterConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiClusterConfig.
func (in *GeminiClusterConfig) DeepCopy() *GeminiClusterConfig {
if in == nil {
return nil
}
out := new(GeminiClusterConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GeminiClusterConfigObservedState) DeepCopyInto(out *GeminiClusterConfigObservedState) {
*out = *in
if in.Entitled != nil {
in, out := &in.Entitled, &out.Entitled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiClusterConfigObservedState.
func (in *GeminiClusterConfigObservedState) DeepCopy() *GeminiClusterConfigObservedState {
if in == nil {
return nil
}
out := new(GeminiClusterConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GeminiInstanceConfig) DeepCopyInto(out *GeminiInstanceConfig) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiInstanceConfig.
func (in *GeminiInstanceConfig) DeepCopy() *GeminiInstanceConfig {
if in == nil {
return nil
}
out := new(GeminiInstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GeminiInstanceConfigObservedState) DeepCopyInto(out *GeminiInstanceConfigObservedState) {
*out = *in
if in.Entitled != nil {
in, out := &in.Entitled, &out.Entitled
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeminiInstanceConfigObservedState.
func (in *GeminiInstanceConfigObservedState) DeepCopy() *GeminiInstanceConfigObservedState {
if in == nil {
return nil
}
out := new(GeminiInstanceConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceIdentity) DeepCopyInto(out *InstanceIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(InstanceParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceIdentity.
func (in *InstanceIdentity) DeepCopy() *InstanceIdentity {
if in == nil {
return nil
}
out := new(InstanceIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceParent) DeepCopyInto(out *InstanceParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParent.
func (in *InstanceParent) DeepCopy() *InstanceParent {
if in == nil {
return nil
}
out := new(InstanceParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceRef) DeepCopyInto(out *InstanceRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRef.
func (in *InstanceRef) DeepCopy() *InstanceRef {
if in == nil {
return nil
}
out := new(InstanceRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_ClientConnectionConfig) DeepCopyInto(out *Instance_ClientConnectionConfig) {
*out = *in
if in.RequireConnectors != nil {
in, out := &in.RequireConnectors, &out.RequireConnectors
*out = new(bool)
**out = **in
}
if in.SSLConfig != nil {
in, out := &in.SSLConfig, &out.SSLConfig
*out = new(SSLConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_ClientConnectionConfig.
func (in *Instance_ClientConnectionConfig) DeepCopy() *Instance_ClientConnectionConfig {
if in == nil {
return nil
}
out := new(Instance_ClientConnectionConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_InstanceNetworkConfig) DeepCopyInto(out *Instance_InstanceNetworkConfig) {
*out = *in
if in.AuthorizedExternalNetworks != nil {
in, out := &in.AuthorizedExternalNetworks, &out.AuthorizedExternalNetworks
*out = make([]Instance_InstanceNetworkConfig_AuthorizedNetwork, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.EnablePublicIP != nil {
in, out := &in.EnablePublicIP, &out.EnablePublicIP
*out = new(bool)
**out = **in
}
if in.EnableOutboundPublicIP != nil {
in, out := &in.EnableOutboundPublicIP, &out.EnableOutboundPublicIP
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_InstanceNetworkConfig.
func (in *Instance_InstanceNetworkConfig) DeepCopy() *Instance_InstanceNetworkConfig {
if in == nil {
return nil
}
out := new(Instance_InstanceNetworkConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_InstanceNetworkConfig_AuthorizedNetwork) DeepCopyInto(out *Instance_InstanceNetworkConfig_AuthorizedNetwork) {
*out = *in
if in.CIDRRange != nil {
in, out := &in.CIDRRange, &out.CIDRRange
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_InstanceNetworkConfig_AuthorizedNetwork.
func (in *Instance_InstanceNetworkConfig_AuthorizedNetwork) DeepCopy() *Instance_InstanceNetworkConfig_AuthorizedNetwork {
if in == nil {
return nil
}
out := new(Instance_InstanceNetworkConfig_AuthorizedNetwork)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_MachineConfig) DeepCopyInto(out *Instance_MachineConfig) {
*out = *in
if in.CPUCount != nil {
in, out := &in.CPUCount, &out.CPUCount
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_MachineConfig.
func (in *Instance_MachineConfig) DeepCopy() *Instance_MachineConfig {
if in == nil {
return nil
}
out := new(Instance_MachineConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_Node) DeepCopyInto(out *Instance_Node) {
*out = *in
if in.ZoneID != nil {
in, out := &in.ZoneID, &out.ZoneID
*out = new(string)
**out = **in
}
if in.ID != nil {
in, out := &in.ID, &out.ID
*out = new(string)
**out = **in
}
if in.IP != nil {
in, out := &in.IP, &out.IP
*out = new(string)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_Node.
func (in *Instance_Node) DeepCopy() *Instance_Node {
if in == nil {
return nil
}
out := new(Instance_Node)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_ObservabilityInstanceConfig) DeepCopyInto(out *Instance_ObservabilityInstanceConfig) {
*out = *in
if in.Enabled != nil {
in, out := &in.Enabled, &out.Enabled
*out = new(bool)
**out = **in
}
if in.PreserveComments != nil {
in, out := &in.PreserveComments, &out.PreserveComments
*out = new(bool)
**out = **in
}
if in.TrackWaitEvents != nil {
in, out := &in.TrackWaitEvents, &out.TrackWaitEvents
*out = new(bool)
**out = **in
}
if in.MaxQueryStringLength != nil {
in, out := &in.MaxQueryStringLength, &out.MaxQueryStringLength
*out = new(int32)
**out = **in
}
if in.RecordApplicationTags != nil {
in, out := &in.RecordApplicationTags, &out.RecordApplicationTags
*out = new(bool)
**out = **in
}
if in.QueryPlansPerMinute != nil {
in, out := &in.QueryPlansPerMinute, &out.QueryPlansPerMinute
*out = new(int32)
**out = **in
}
if in.TrackActiveQueries != nil {
in, out := &in.TrackActiveQueries, &out.TrackActiveQueries
*out = new(bool)
**out = **in
}
if in.TrackClientAddress != nil {
in, out := &in.TrackClientAddress, &out.TrackClientAddress
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_ObservabilityInstanceConfig.
func (in *Instance_ObservabilityInstanceConfig) DeepCopy() *Instance_ObservabilityInstanceConfig {
if in == nil {
return nil
}
out := new(Instance_ObservabilityInstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_ObservabilityInstanceConfigObservedState) DeepCopyInto(out *Instance_ObservabilityInstanceConfigObservedState) {
*out = *in
if in.TrackWaitEventTypes != nil {
in, out := &in.TrackWaitEventTypes, &out.TrackWaitEventTypes
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_ObservabilityInstanceConfigObservedState.
func (in *Instance_ObservabilityInstanceConfigObservedState) DeepCopy() *Instance_ObservabilityInstanceConfigObservedState {
if in == nil {
return nil
}
out := new(Instance_ObservabilityInstanceConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_PSCInstanceConfig) DeepCopyInto(out *Instance_PSCInstanceConfig) {
*out = *in
if in.AllowedConsumerProjects != nil {
in, out := &in.AllowedConsumerProjects, &out.AllowedConsumerProjects
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_PSCInstanceConfig.
func (in *Instance_PSCInstanceConfig) DeepCopy() *Instance_PSCInstanceConfig {
if in == nil {
return nil
}
out := new(Instance_PSCInstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_PSCInstanceConfigObservedState) DeepCopyInto(out *Instance_PSCInstanceConfigObservedState) {
*out = *in
if in.ServiceAttachmentLink != nil {
in, out := &in.ServiceAttachmentLink, &out.ServiceAttachmentLink
*out = new(string)
**out = **in
}
if in.PSCDNSName != nil {
in, out := &in.PSCDNSName, &out.PSCDNSName
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_PSCInstanceConfigObservedState.
func (in *Instance_PSCInstanceConfigObservedState) DeepCopy() *Instance_PSCInstanceConfigObservedState {
if in == nil {
return nil
}
out := new(Instance_PSCInstanceConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_QueryInsightsInstanceConfig) DeepCopyInto(out *Instance_QueryInsightsInstanceConfig) {
*out = *in
if in.RecordApplicationTags != nil {
in, out := &in.RecordApplicationTags, &out.RecordApplicationTags
*out = new(bool)
**out = **in
}
if in.RecordClientAddress != nil {
in, out := &in.RecordClientAddress, &out.RecordClientAddress
*out = new(bool)
**out = **in
}
if in.QueryStringLength != nil {
in, out := &in.QueryStringLength, &out.QueryStringLength
*out = new(uint32)
**out = **in
}
if in.QueryPlansPerMinute != nil {
in, out := &in.QueryPlansPerMinute, &out.QueryPlansPerMinute
*out = new(uint32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_QueryInsightsInstanceConfig.
func (in *Instance_QueryInsightsInstanceConfig) DeepCopy() *Instance_QueryInsightsInstanceConfig {
if in == nil {
return nil
}
out := new(Instance_QueryInsightsInstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_ReadPoolConfig) DeepCopyInto(out *Instance_ReadPoolConfig) {
*out = *in
if in.NodeCount != nil {
in, out := &in.NodeCount, &out.NodeCount
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_ReadPoolConfig.
func (in *Instance_ReadPoolConfig) DeepCopy() *Instance_ReadPoolConfig {
if in == nil {
return nil
}
out := new(Instance_ReadPoolConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Instance_UpdatePolicy) DeepCopyInto(out *Instance_UpdatePolicy) {
*out = *in
if in.Mode != nil {
in, out := &in.Mode, &out.Mode
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_UpdatePolicy.
func (in *Instance_UpdatePolicy) DeepCopy() *Instance_UpdatePolicy {
if in == nil {
return nil
}
out := new(Instance_UpdatePolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MaintenanceSchedule) DeepCopyInto(out *MaintenanceSchedule) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceSchedule.
func (in *MaintenanceSchedule) DeepCopy() *MaintenanceSchedule {
if in == nil {
return nil
}
out := new(MaintenanceSchedule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MaintenanceScheduleObservedState) DeepCopyInto(out *MaintenanceScheduleObservedState) {
*out = *in
if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceScheduleObservedState.
func (in *MaintenanceScheduleObservedState) DeepCopy() *MaintenanceScheduleObservedState {
if in == nil {
return nil
}
out := new(MaintenanceScheduleObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MaintenanceUpdatePolicy) DeepCopyInto(out *MaintenanceUpdatePolicy) {
*out = *in
if in.MaintenanceWindows != nil {
in, out := &in.MaintenanceWindows, &out.MaintenanceWindows
*out = make([]MaintenanceUpdatePolicy_MaintenanceWindow, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceUpdatePolicy.
func (in *MaintenanceUpdatePolicy) DeepCopy() *MaintenanceUpdatePolicy {
if in == nil {
return nil
}
out := new(MaintenanceUpdatePolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MaintenanceUpdatePolicy_MaintenanceWindow) DeepCopyInto(out *MaintenanceUpdatePolicy_MaintenanceWindow) {
*out = *in
if in.Day != nil {
in, out := &in.Day, &out.Day
*out = new(string)
**out = **in
}
if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime
*out = new(TimeOfDay)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceUpdatePolicy_MaintenanceWindow.
func (in *MaintenanceUpdatePolicy_MaintenanceWindow) DeepCopy() *MaintenanceUpdatePolicy_MaintenanceWindow {
if in == nil {
return nil
}
out := new(MaintenanceUpdatePolicy_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 *MigrationSourceObservedState) DeepCopyInto(out *MigrationSourceObservedState) {
*out = *in
if in.HostPort != nil {
in, out := &in.HostPort, &out.HostPort
*out = new(string)
**out = **in
}
if in.ReferenceID != nil {
in, out := &in.ReferenceID, &out.ReferenceID
*out = new(string)
**out = **in
}
if in.SourceType != nil {
in, out := &in.SourceType, &out.SourceType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationSourceObservedState.
func (in *MigrationSourceObservedState) DeepCopy() *MigrationSourceObservedState {
if in == nil {
return nil
}
out := new(MigrationSourceObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreContinuousBackupSource) DeepCopyInto(out *RestoreContinuousBackupSource) {
*out = *in
if in.ClusterRef != nil {
in, out := &in.ClusterRef, &out.ClusterRef
*out = new(ClusterRef)
**out = **in
}
if in.PointInTime != nil {
in, out := &in.PointInTime, &out.PointInTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreContinuousBackupSource.
func (in *RestoreContinuousBackupSource) DeepCopy() *RestoreContinuousBackupSource {
if in == nil {
return nil
}
out := new(RestoreContinuousBackupSource)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SSLConfig) DeepCopyInto(out *SSLConfig) {
*out = *in
if in.SSLMode != nil {
in, out := &in.SSLMode, &out.SSLMode
*out = new(string)
**out = **in
}
if in.CASource != nil {
in, out := &in.CASource, &out.CASource
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSLConfig.
func (in *SSLConfig) DeepCopy() *SSLConfig {
if in == nil {
return nil
}
out := new(SSLConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TimeOfDay) DeepCopyInto(out *TimeOfDay) {
*out = *in
if in.Hours != nil {
in, out := &in.Hours, &out.Hours
*out = new(int32)
**out = **in
}
if in.Minutes != nil {
in, out := &in.Minutes, &out.Minutes
*out = new(int32)
**out = **in
}
if in.Seconds != nil {
in, out := &in.Seconds, &out.Seconds
*out = new(int32)
**out = **in
}
if in.Nanos != nil {
in, out := &in.Nanos, &out.Nanos
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeOfDay.
func (in *TimeOfDay) DeepCopy() *TimeOfDay {
if in == nil {
return nil
}
out := new(TimeOfDay)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UserPassword) DeepCopyInto(out *UserPassword) {
*out = *in
if in.User != nil {
in, out := &in.User, &out.User
*out = new(string)
**out = **in
}
if in.Password != nil {
in, out := &in.Password, &out.Password
*out = new(secret.Legacy)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPassword.
func (in *UserPassword) DeepCopy() *UserPassword {
if in == nil {
return nil
}
out := new(UserPassword)
in.DeepCopyInto(out)
return out
}