apis/colab/v1alpha1/zz_generated.deepcopy.go (715 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 *ColabRuntime) DeepCopyInto(out *ColabRuntime) { *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 ColabRuntime. func (in *ColabRuntime) DeepCopy() *ColabRuntime { if in == nil { return nil } out := new(ColabRuntime) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ColabRuntime) 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 *ColabRuntimeList) DeepCopyInto(out *ColabRuntimeList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ColabRuntime, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeList. func (in *ColabRuntimeList) DeepCopy() *ColabRuntimeList { if in == nil { return nil } out := new(ColabRuntimeList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ColabRuntimeList) 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 *ColabRuntimeObservedState) DeepCopyInto(out *ColabRuntimeObservedState) { *out = *in if in.ProxyURI != nil { in, out := &in.ProxyURI, &out.ProxyURI *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 } if in.HealthState != nil { in, out := &in.HealthState, &out.HealthState *out = new(string) **out = **in } if in.ServiceAccount != nil { in, out := &in.ServiceAccount, &out.ServiceAccount *out = new(string) **out = **in } if in.RuntimeState != nil { in, out := &in.RuntimeState, &out.RuntimeState *out = new(string) **out = **in } if in.IsUpgradable != nil { in, out := &in.IsUpgradable, &out.IsUpgradable *out = new(bool) **out = **in } if in.ExpirationTime != nil { in, out := &in.ExpirationTime, &out.ExpirationTime *out = new(string) **out = **in } if in.Version != nil { in, out := &in.Version, &out.Version *out = new(string) **out = **in } if in.NotebookRuntimeType != nil { in, out := &in.NotebookRuntimeType, &out.NotebookRuntimeType *out = new(string) **out = **in } if in.IdleShutdownConfig != nil { in, out := &in.IdleShutdownConfig, &out.IdleShutdownConfig *out = new(NotebookIdleShutdownConfig) (*in).DeepCopyInto(*out) } if in.EncryptionSpec != nil { in, out := &in.EncryptionSpec, &out.EncryptionSpec *out = new(EncryptionSpecObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeObservedState. func (in *ColabRuntimeObservedState) DeepCopy() *ColabRuntimeObservedState { if in == nil { return nil } out := new(ColabRuntimeObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ColabRuntimeSpec) DeepCopyInto(out *ColabRuntimeSpec) { *out = *in in.Runtime_Parent.DeepCopyInto(&out.Runtime_Parent) if in.ResourceID != nil { in, out := &in.ResourceID, &out.ResourceID *out = new(string) **out = **in } if in.ColabRuntimeTemplateRef != nil { in, out := &in.ColabRuntimeTemplateRef, &out.ColabRuntimeTemplateRef *out = new(NotebookRuntimeTemplateRef) **out = **in } if in.RuntimeUser != nil { in, out := &in.RuntimeUser, &out.RuntimeUser *out = new(string) **out = **in } if in.DisplayName != nil { in, out := &in.DisplayName, &out.DisplayName *out = new(string) **out = **in } if in.Description != nil { in, out := &in.Description, &out.Description *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.NetworkTags != nil { in, out := &in.NetworkTags, &out.NetworkTags *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeSpec. func (in *ColabRuntimeSpec) DeepCopy() *ColabRuntimeSpec { if in == nil { return nil } out := new(ColabRuntimeSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ColabRuntimeStatus) DeepCopyInto(out *ColabRuntimeStatus) { *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(ColabRuntimeObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeStatus. func (in *ColabRuntimeStatus) DeepCopy() *ColabRuntimeStatus { if in == nil { return nil } out := new(ColabRuntimeStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ColabRuntimeTemplate) DeepCopyInto(out *ColabRuntimeTemplate) { *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 ColabRuntimeTemplate. func (in *ColabRuntimeTemplate) DeepCopy() *ColabRuntimeTemplate { if in == nil { return nil } out := new(ColabRuntimeTemplate) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ColabRuntimeTemplate) 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 *ColabRuntimeTemplateList) DeepCopyInto(out *ColabRuntimeTemplateList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]ColabRuntimeTemplate, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeTemplateList. func (in *ColabRuntimeTemplateList) DeepCopy() *ColabRuntimeTemplateList { if in == nil { return nil } out := new(ColabRuntimeTemplateList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *ColabRuntimeTemplateList) 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 *ColabRuntimeTemplateObservedState) DeepCopyInto(out *ColabRuntimeTemplateObservedState) { *out = *in if in.Etag != nil { in, out := &in.Etag, &out.Etag *out = new(string) **out = **in } if in.EUCConfig != nil { in, out := &in.EUCConfig, &out.EUCConfig *out = new(NotebookEUCConfigObservedState) (*in).DeepCopyInto(*out) } 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 ColabRuntimeTemplateObservedState. func (in *ColabRuntimeTemplateObservedState) DeepCopy() *ColabRuntimeTemplateObservedState { if in == nil { return nil } out := new(ColabRuntimeTemplateObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ColabRuntimeTemplateSpec) DeepCopyInto(out *ColabRuntimeTemplateSpec) { *out = *in in.RuntimeTemplate_Parent.DeepCopyInto(&out.RuntimeTemplate_Parent) if in.DisplayName != nil { in, out := &in.DisplayName, &out.DisplayName *out = new(string) **out = **in } if in.Description != nil { in, out := &in.Description, &out.Description *out = new(string) **out = **in } if in.MachineSpec != nil { in, out := &in.MachineSpec, &out.MachineSpec *out = new(MachineSpec) (*in).DeepCopyInto(*out) } if in.DataPersistentDiskSpec != nil { in, out := &in.DataPersistentDiskSpec, &out.DataPersistentDiskSpec *out = new(PersistentDiskSpec) (*in).DeepCopyInto(*out) } if in.NetworkSpec != nil { in, out := &in.NetworkSpec, &out.NetworkSpec *out = new(NetworkSpec) (*in).DeepCopyInto(*out) } if in.ServiceAccountRef != nil { in, out := &in.ServiceAccountRef, &out.ServiceAccountRef *out = new(v1beta1.IAMServiceAccountRef) **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.IdleShutdownConfig != nil { in, out := &in.IdleShutdownConfig, &out.IdleShutdownConfig *out = new(NotebookIdleShutdownConfig) (*in).DeepCopyInto(*out) } if in.EUCConfig != nil { in, out := &in.EUCConfig, &out.EUCConfig *out = new(NotebookEUCConfig) (*in).DeepCopyInto(*out) } if in.NotebookRuntimeType != nil { in, out := &in.NotebookRuntimeType, &out.NotebookRuntimeType *out = new(string) **out = **in } if in.ShieldedVMConfig != nil { in, out := &in.ShieldedVMConfig, &out.ShieldedVMConfig *out = new(ShieldedVMConfig) (*in).DeepCopyInto(*out) } if in.NetworkTags != nil { in, out := &in.NetworkTags, &out.NetworkTags *out = make([]string, len(*in)) copy(*out, *in) } if in.EncryptionSpec != nil { in, out := &in.EncryptionSpec, &out.EncryptionSpec *out = new(EncryptionSpec) (*in).DeepCopyInto(*out) } 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 ColabRuntimeTemplateSpec. func (in *ColabRuntimeTemplateSpec) DeepCopy() *ColabRuntimeTemplateSpec { if in == nil { return nil } out := new(ColabRuntimeTemplateSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ColabRuntimeTemplateStatus) DeepCopyInto(out *ColabRuntimeTemplateStatus) { *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(ColabRuntimeTemplateObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColabRuntimeTemplateStatus. func (in *ColabRuntimeTemplateStatus) DeepCopy() *ColabRuntimeTemplateStatus { if in == nil { return nil } out := new(ColabRuntimeTemplateStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EncryptionSpec) DeepCopyInto(out *EncryptionSpec) { *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 EncryptionSpec. func (in *EncryptionSpec) DeepCopy() *EncryptionSpec { if in == nil { return nil } out := new(EncryptionSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EncryptionSpecObservedState) DeepCopyInto(out *EncryptionSpecObservedState) { *out = *in if in.KMSKeyName != nil { in, out := &in.KMSKeyName, &out.KMSKeyName *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionSpecObservedState. func (in *EncryptionSpecObservedState) DeepCopy() *EncryptionSpecObservedState { if in == nil { return nil } out := new(EncryptionSpecObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MachineSpec) DeepCopyInto(out *MachineSpec) { *out = *in if in.MachineType != nil { in, out := &in.MachineType, &out.MachineType *out = new(string) **out = **in } if in.AcceleratorType != nil { in, out := &in.AcceleratorType, &out.AcceleratorType *out = new(string) **out = **in } if in.AcceleratorCount != nil { in, out := &in.AcceleratorCount, &out.AcceleratorCount *out = new(int32) **out = **in } if in.TpuTopology != nil { in, out := &in.TpuTopology, &out.TpuTopology *out = new(string) **out = **in } if in.ReservationAffinity != nil { in, out := &in.ReservationAffinity, &out.ReservationAffinity *out = new(ReservationAffinity) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec. func (in *MachineSpec) DeepCopy() *MachineSpec { if in == nil { return nil } out := new(MachineSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) { *out = *in if in.EnableInternetAccess != nil { in, out := &in.EnableInternetAccess, &out.EnableInternetAccess *out = new(bool) **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 } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec. func (in *NetworkSpec) DeepCopy() *NetworkSpec { if in == nil { return nil } out := new(NetworkSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookEUCConfig) DeepCopyInto(out *NotebookEUCConfig) { *out = *in if in.EUCDisabled != nil { in, out := &in.EUCDisabled, &out.EUCDisabled *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookEUCConfig. func (in *NotebookEUCConfig) DeepCopy() *NotebookEUCConfig { if in == nil { return nil } out := new(NotebookEUCConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookEUCConfigObservedState) DeepCopyInto(out *NotebookEUCConfigObservedState) { *out = *in if in.BypassActasCheck != nil { in, out := &in.BypassActasCheck, &out.BypassActasCheck *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookEUCConfigObservedState. func (in *NotebookEUCConfigObservedState) DeepCopy() *NotebookEUCConfigObservedState { if in == nil { return nil } out := new(NotebookEUCConfigObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookIdleShutdownConfig) DeepCopyInto(out *NotebookIdleShutdownConfig) { *out = *in if in.IdleTimeout != nil { in, out := &in.IdleTimeout, &out.IdleTimeout *out = new(string) **out = **in } if in.IdleShutdownDisabled != nil { in, out := &in.IdleShutdownDisabled, &out.IdleShutdownDisabled *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookIdleShutdownConfig. func (in *NotebookIdleShutdownConfig) DeepCopy() *NotebookIdleShutdownConfig { if in == nil { return nil } out := new(NotebookIdleShutdownConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeIdentity) DeepCopyInto(out *NotebookRuntimeIdentity) { *out = *in if in.parent != nil { in, out := &in.parent, &out.parent *out = new(NotebookRuntimeParent) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeIdentity. func (in *NotebookRuntimeIdentity) DeepCopy() *NotebookRuntimeIdentity { if in == nil { return nil } out := new(NotebookRuntimeIdentity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeParent) DeepCopyInto(out *NotebookRuntimeParent) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeParent. func (in *NotebookRuntimeParent) DeepCopy() *NotebookRuntimeParent { if in == nil { return nil } out := new(NotebookRuntimeParent) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeRef) DeepCopyInto(out *NotebookRuntimeRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeRef. func (in *NotebookRuntimeRef) DeepCopy() *NotebookRuntimeRef { if in == nil { return nil } out := new(NotebookRuntimeRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeTemplateIdentity) DeepCopyInto(out *NotebookRuntimeTemplateIdentity) { *out = *in if in.parent != nil { in, out := &in.parent, &out.parent *out = new(NotebookRuntimeTemplateParent) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeTemplateIdentity. func (in *NotebookRuntimeTemplateIdentity) DeepCopy() *NotebookRuntimeTemplateIdentity { if in == nil { return nil } out := new(NotebookRuntimeTemplateIdentity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeTemplateParent) DeepCopyInto(out *NotebookRuntimeTemplateParent) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeTemplateParent. func (in *NotebookRuntimeTemplateParent) DeepCopy() *NotebookRuntimeTemplateParent { if in == nil { return nil } out := new(NotebookRuntimeTemplateParent) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NotebookRuntimeTemplateRef) DeepCopyInto(out *NotebookRuntimeTemplateRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRuntimeTemplateRef. func (in *NotebookRuntimeTemplateRef) DeepCopy() *NotebookRuntimeTemplateRef { if in == nil { return nil } out := new(NotebookRuntimeTemplateRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PersistentDiskSpec) DeepCopyInto(out *PersistentDiskSpec) { *out = *in if in.DiskType != nil { in, out := &in.DiskType, &out.DiskType *out = new(string) **out = **in } if in.DiskSizeGB != nil { in, out := &in.DiskSizeGB, &out.DiskSizeGB *out = new(int64) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentDiskSpec. func (in *PersistentDiskSpec) DeepCopy() *PersistentDiskSpec { if in == nil { return nil } out := new(PersistentDiskSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ReservationAffinity) DeepCopyInto(out *ReservationAffinity) { *out = *in if in.ReservationAffinityType != nil { in, out := &in.ReservationAffinityType, &out.ReservationAffinityType *out = new(string) **out = **in } if in.Key != nil { in, out := &in.Key, &out.Key *out = new(string) **out = **in } if in.Values != nil { in, out := &in.Values, &out.Values *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReservationAffinity. func (in *ReservationAffinity) DeepCopy() *ReservationAffinity { if in == nil { return nil } out := new(ReservationAffinity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RuntimeTemplate_Parent) DeepCopyInto(out *RuntimeTemplate_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 RuntimeTemplate_Parent. func (in *RuntimeTemplate_Parent) DeepCopy() *RuntimeTemplate_Parent { if in == nil { return nil } out := new(RuntimeTemplate_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 *Runtime_Parent) DeepCopyInto(out *Runtime_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 Runtime_Parent. func (in *Runtime_Parent) DeepCopy() *Runtime_Parent { if in == nil { return nil } out := new(Runtime_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 *ShieldedVMConfig) DeepCopyInto(out *ShieldedVMConfig) { *out = *in if in.EnableSecureBoot != nil { in, out := &in.EnableSecureBoot, &out.EnableSecureBoot *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShieldedVMConfig. func (in *ShieldedVMConfig) DeepCopy() *ShieldedVMConfig { if in == nil { return nil } out := new(ShieldedVMConfig) in.DeepCopyInto(out) return out }