apis/spanner/v1alpha1/zz_generated.deepcopy.go (667 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 (
"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 *BackupScheduleIdentity) DeepCopyInto(out *BackupScheduleIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(BackupScheduleParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleIdentity.
func (in *BackupScheduleIdentity) DeepCopy() *BackupScheduleIdentity {
if in == nil {
return nil
}
out := new(BackupScheduleIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupScheduleParent) DeepCopyInto(out *BackupScheduleParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleParent.
func (in *BackupScheduleParent) DeepCopy() *BackupScheduleParent {
if in == nil {
return nil
}
out := new(BackupScheduleParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupScheduleRef) DeepCopyInto(out *BackupScheduleRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleRef.
func (in *BackupScheduleRef) DeepCopy() *BackupScheduleRef {
if in == nil {
return nil
}
out := new(BackupScheduleRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupScheduleSpec) DeepCopyInto(out *BackupScheduleSpec) {
*out = *in
if in.CronSpec != nil {
in, out := &in.CronSpec, &out.CronSpec
*out = new(CrontabSpec)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleSpec.
func (in *BackupScheduleSpec) DeepCopy() *BackupScheduleSpec {
if in == nil {
return nil
}
out := new(BackupScheduleSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupScheduleSpecObservedState) DeepCopyInto(out *BackupScheduleSpecObservedState) {
*out = *in
if in.CronSpec != nil {
in, out := &in.CronSpec, &out.CronSpec
*out = new(CrontabSpecObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupScheduleSpecObservedState.
func (in *BackupScheduleSpecObservedState) DeepCopy() *BackupScheduleSpecObservedState {
if in == nil {
return nil
}
out := new(BackupScheduleSpecObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CreateBackupEncryptionConfig) DeepCopyInto(out *CreateBackupEncryptionConfig) {
*out = *in
if in.EncryptionType != nil {
in, out := &in.EncryptionType, &out.EncryptionType
*out = new(string)
**out = **in
}
if in.KMSKeyRef != nil {
in, out := &in.KMSKeyRef, &out.KMSKeyRef
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
if in.KMSKeyRefs != nil {
in, out := &in.KMSKeyRefs, &out.KMSKeyRefs
*out = make([]*v1beta1.KMSCryptoKeyRef, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateBackupEncryptionConfig.
func (in *CreateBackupEncryptionConfig) DeepCopy() *CreateBackupEncryptionConfig {
if in == nil {
return nil
}
out := new(CreateBackupEncryptionConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CrontabSpec) DeepCopyInto(out *CrontabSpec) {
*out = *in
if in.Text != nil {
in, out := &in.Text, &out.Text
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrontabSpec.
func (in *CrontabSpec) DeepCopy() *CrontabSpec {
if in == nil {
return nil
}
out := new(CrontabSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CrontabSpecObservedState) DeepCopyInto(out *CrontabSpecObservedState) {
*out = *in
if in.TimeZone != nil {
in, out := &in.TimeZone, &out.TimeZone
*out = new(string)
**out = **in
}
if in.CreationWindow != nil {
in, out := &in.CreationWindow, &out.CreationWindow
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrontabSpecObservedState.
func (in *CrontabSpecObservedState) DeepCopy() *CrontabSpecObservedState {
if in == nil {
return nil
}
out := new(CrontabSpecObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FullBackupSpec) DeepCopyInto(out *FullBackupSpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FullBackupSpec.
func (in *FullBackupSpec) DeepCopy() *FullBackupSpec {
if in == nil {
return nil
}
out := new(FullBackupSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *IncrementalBackupSpec) DeepCopyInto(out *IncrementalBackupSpec) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncrementalBackupSpec.
func (in *IncrementalBackupSpec) DeepCopy() *IncrementalBackupSpec {
if in == nil {
return nil
}
out := new(IncrementalBackupSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceConfig) DeepCopyInto(out *InstanceConfig) {
*out = *in
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas
*out = make([]ReplicaInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.BaseConfig != nil {
in, out := &in.BaseConfig, &out.BaseConfig
*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
}
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
if in.LeaderOptions != nil {
in, out := &in.LeaderOptions, &out.LeaderOptions
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfig.
func (in *InstanceConfig) DeepCopy() *InstanceConfig {
if in == nil {
return nil
}
out := new(InstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceConfigIdentity) DeepCopyInto(out *InstanceConfigIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(InstanceConfigParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigIdentity.
func (in *InstanceConfigIdentity) DeepCopy() *InstanceConfigIdentity {
if in == nil {
return nil
}
out := new(InstanceConfigIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceConfigObservedState) DeepCopyInto(out *InstanceConfigObservedState) {
*out = *in
if in.ConfigType != nil {
in, out := &in.ConfigType, &out.ConfigType
*out = new(string)
**out = **in
}
if in.OptionalReplicas != nil {
in, out := &in.OptionalReplicas, &out.OptionalReplicas
*out = make([]ReplicaInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
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.FreeInstanceAvailability != nil {
in, out := &in.FreeInstanceAvailability, &out.FreeInstanceAvailability
*out = new(string)
**out = **in
}
if in.QuorumType != nil {
in, out := &in.QuorumType, &out.QuorumType
*out = new(string)
**out = **in
}
if in.StorageLimitPerProcessingUnit != nil {
in, out := &in.StorageLimitPerProcessingUnit, &out.StorageLimitPerProcessingUnit
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigObservedState.
func (in *InstanceConfigObservedState) DeepCopy() *InstanceConfigObservedState {
if in == nil {
return nil
}
out := new(InstanceConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceConfigParent) DeepCopyInto(out *InstanceConfigParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigParent.
func (in *InstanceConfigParent) DeepCopy() *InstanceConfigParent {
if in == nil {
return nil
}
out := new(InstanceConfigParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceConfigRef) DeepCopyInto(out *InstanceConfigRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfigRef.
func (in *InstanceConfigRef) DeepCopy() *InstanceConfigRef {
if in == nil {
return nil
}
out := new(InstanceConfigRef)
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 *ReplicaInfo) DeepCopyInto(out *ReplicaInfo) {
*out = *in
if in.Location != nil {
in, out := &in.Location, &out.Location
*out = new(string)
**out = **in
}
if in.Type != nil {
in, out := &in.Type, &out.Type
*out = new(string)
**out = **in
}
if in.DefaultLeaderLocation != nil {
in, out := &in.DefaultLeaderLocation, &out.DefaultLeaderLocation
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaInfo.
func (in *ReplicaInfo) DeepCopy() *ReplicaInfo {
if in == nil {
return nil
}
out := new(ReplicaInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerBackupSchedule) DeepCopyInto(out *SpannerBackupSchedule) {
*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 SpannerBackupSchedule.
func (in *SpannerBackupSchedule) DeepCopy() *SpannerBackupSchedule {
if in == nil {
return nil
}
out := new(SpannerBackupSchedule)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *SpannerBackupSchedule) 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 *SpannerBackupScheduleList) DeepCopyInto(out *SpannerBackupScheduleList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]SpannerBackupSchedule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerBackupScheduleList.
func (in *SpannerBackupScheduleList) DeepCopy() *SpannerBackupScheduleList {
if in == nil {
return nil
}
out := new(SpannerBackupScheduleList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *SpannerBackupScheduleList) 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 *SpannerBackupScheduleObservedState) DeepCopyInto(out *SpannerBackupScheduleObservedState) {
*out = *in
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
if in.CronSpec != nil {
in, out := &in.CronSpec, &out.CronSpec
*out = new(CrontabSpecObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerBackupScheduleObservedState.
func (in *SpannerBackupScheduleObservedState) DeepCopy() *SpannerBackupScheduleObservedState {
if in == nil {
return nil
}
out := new(SpannerBackupScheduleObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerBackupScheduleSpec) DeepCopyInto(out *SpannerBackupScheduleSpec) {
*out = *in
if in.Spec != nil {
in, out := &in.Spec, &out.Spec
*out = new(BackupScheduleSpec)
(*in).DeepCopyInto(*out)
}
if in.RetentionDuration != nil {
in, out := &in.RetentionDuration, &out.RetentionDuration
*out = new(string)
**out = **in
}
if in.EncryptionConfig != nil {
in, out := &in.EncryptionConfig, &out.EncryptionConfig
*out = new(CreateBackupEncryptionConfig)
(*in).DeepCopyInto(*out)
}
if in.FullBackupSpec != nil {
in, out := &in.FullBackupSpec, &out.FullBackupSpec
*out = new(FullBackupSpec)
**out = **in
}
if in.IncrementalBackupSpec != nil {
in, out := &in.IncrementalBackupSpec, &out.IncrementalBackupSpec
*out = new(IncrementalBackupSpec)
**out = **in
}
if in.DatabaseRef != nil {
in, out := &in.DatabaseRef, &out.DatabaseRef
*out = new(v1beta1.SpannerDatabaseRef)
**out = **in
}
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerBackupScheduleSpec.
func (in *SpannerBackupScheduleSpec) DeepCopy() *SpannerBackupScheduleSpec {
if in == nil {
return nil
}
out := new(SpannerBackupScheduleSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerBackupScheduleStatus) DeepCopyInto(out *SpannerBackupScheduleStatus) {
*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(SpannerBackupScheduleObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerBackupScheduleStatus.
func (in *SpannerBackupScheduleStatus) DeepCopy() *SpannerBackupScheduleStatus {
if in == nil {
return nil
}
out := new(SpannerBackupScheduleStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerInstanceConfig) DeepCopyInto(out *SpannerInstanceConfig) {
*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 SpannerInstanceConfig.
func (in *SpannerInstanceConfig) DeepCopy() *SpannerInstanceConfig {
if in == nil {
return nil
}
out := new(SpannerInstanceConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *SpannerInstanceConfig) 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 *SpannerInstanceConfigList) DeepCopyInto(out *SpannerInstanceConfigList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]SpannerInstanceConfig, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceConfigList.
func (in *SpannerInstanceConfigList) DeepCopy() *SpannerInstanceConfigList {
if in == nil {
return nil
}
out := new(SpannerInstanceConfigList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *SpannerInstanceConfigList) 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 *SpannerInstanceConfigObservedState) DeepCopyInto(out *SpannerInstanceConfigObservedState) {
*out = *in
if in.ConfigType != nil {
in, out := &in.ConfigType, &out.ConfigType
*out = new(string)
**out = **in
}
if in.OptionalReplicas != nil {
in, out := &in.OptionalReplicas, &out.OptionalReplicas
*out = make([]ReplicaInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
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.FreeInstanceAvailability != nil {
in, out := &in.FreeInstanceAvailability, &out.FreeInstanceAvailability
*out = new(string)
**out = **in
}
if in.QuorumType != nil {
in, out := &in.QuorumType, &out.QuorumType
*out = new(string)
**out = **in
}
if in.StorageLimitPerProcessingUnit != nil {
in, out := &in.StorageLimitPerProcessingUnit, &out.StorageLimitPerProcessingUnit
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceConfigObservedState.
func (in *SpannerInstanceConfigObservedState) DeepCopy() *SpannerInstanceConfigObservedState {
if in == nil {
return nil
}
out := new(SpannerInstanceConfigObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerInstanceConfigSpec) DeepCopyInto(out *SpannerInstanceConfigSpec) {
*out = *in
in.Parent.DeepCopyInto(&out.Parent)
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.DisplayName != nil {
in, out := &in.DisplayName, &out.DisplayName
*out = new(string)
**out = **in
}
if in.Replicas != nil {
in, out := &in.Replicas, &out.Replicas
*out = make([]ReplicaInfo, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.BaseConfigRef != nil {
in, out := &in.BaseConfigRef, &out.BaseConfigRef
*out = new(InstanceConfigRef)
**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
}
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
if in.LeaderOptions != nil {
in, out := &in.LeaderOptions, &out.LeaderOptions
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceConfigSpec.
func (in *SpannerInstanceConfigSpec) DeepCopy() *SpannerInstanceConfigSpec {
if in == nil {
return nil
}
out := new(SpannerInstanceConfigSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SpannerInstanceConfigStatus) DeepCopyInto(out *SpannerInstanceConfigStatus) {
*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(SpannerInstanceConfigObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpannerInstanceConfigStatus.
func (in *SpannerInstanceConfigStatus) DeepCopy() *SpannerInstanceConfigStatus {
if in == nil {
return nil
}
out := new(SpannerInstanceConfigStatus)
in.DeepCopyInto(out)
return out
}