apis/kms/v1beta1/zz_generated.deepcopy.go (1,087 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/pkg/apis/k8s/v1alpha1" k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/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 *AutokeyConfig) DeepCopyInto(out *AutokeyConfig) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.KeyProject != nil { in, out := &in.KeyProject, &out.KeyProject *out = new(refsv1beta1.ProjectRef) **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 AutokeyConfig. func (in *AutokeyConfig) DeepCopy() *AutokeyConfig { if in == nil { return nil } out := new(AutokeyConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Certificate) DeepCopyInto(out *Certificate) { *out = *in if in.RawDer != nil { in, out := &in.RawDer, &out.RawDer *out = new([]byte) if **in != nil { in, out := *in, *out *out = make([]byte, len(*in)) copy(*out, *in) } } if in.Parsed != nil { in, out := &in.Parsed, &out.Parsed *out = new(bool) **out = **in } if in.Issuer != nil { in, out := &in.Issuer, &out.Issuer *out = new(string) **out = **in } if in.Subject != nil { in, out := &in.Subject, &out.Subject *out = new(string) **out = **in } if in.SubjectAlternativeDnsNames != nil { in, out := &in.SubjectAlternativeDnsNames, &out.SubjectAlternativeDnsNames *out = make([]string, len(*in)) copy(*out, *in) } if in.NotBeforeTime != nil { in, out := &in.NotBeforeTime, &out.NotBeforeTime *out = new(string) **out = **in } if in.NotAfterTime != nil { in, out := &in.NotAfterTime, &out.NotAfterTime *out = new(string) **out = **in } if in.SerialNumber != nil { in, out := &in.SerialNumber, &out.SerialNumber *out = new(string) **out = **in } if in.Sha256Fingerprint != nil { in, out := &in.Sha256Fingerprint, &out.Sha256Fingerprint *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate. func (in *Certificate) DeepCopy() *Certificate { if in == nil { return nil } out := new(Certificate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CreateKeyHandleMetadata) DeepCopyInto(out *CreateKeyHandleMetadata) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateKeyHandleMetadata. func (in *CreateKeyHandleMetadata) DeepCopy() *CreateKeyHandleMetadata { if in == nil { return nil } out := new(CreateKeyHandleMetadata) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CryptoKey) DeepCopyInto(out *CryptoKey) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.Primary != nil { in, out := &in.Primary, &out.Primary *out = new(CryptoKeyVersion) (*in).DeepCopyInto(*out) } if in.Purpose != nil { in, out := &in.Purpose, &out.Purpose *out = new(string) **out = **in } if in.CreateTime != nil { in, out := &in.CreateTime, &out.CreateTime *out = new(string) **out = **in } if in.NextRotationTime != nil { in, out := &in.NextRotationTime, &out.NextRotationTime *out = new(string) **out = **in } if in.RotationPeriod != nil { in, out := &in.RotationPeriod, &out.RotationPeriod *out = new(string) **out = **in } if in.VersionTemplate != nil { in, out := &in.VersionTemplate, &out.VersionTemplate *out = new(CryptoKeyVersionTemplate) (*in).DeepCopyInto(*out) } if in.Labels != nil { in, out := &in.Labels, &out.Labels *out = make(map[string]string, len(*in)) for key, val := range *in { (*out)[key] = val } } if in.ImportOnly != nil { in, out := &in.ImportOnly, &out.ImportOnly *out = new(bool) **out = **in } if in.DestroyScheduledDuration != nil { in, out := &in.DestroyScheduledDuration, &out.DestroyScheduledDuration *out = new(string) **out = **in } if in.CryptoKeyBackend != nil { in, out := &in.CryptoKeyBackend, &out.CryptoKeyBackend *out = new(string) **out = **in } if in.KeyAccessJustificationsPolicy != nil { in, out := &in.KeyAccessJustificationsPolicy, &out.KeyAccessJustificationsPolicy *out = new(KeyAccessJustificationsPolicy) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKey. func (in *CryptoKey) DeepCopy() *CryptoKey { if in == nil { return nil } out := new(CryptoKey) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CryptoKeyVersion) DeepCopyInto(out *CryptoKeyVersion) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.State != nil { in, out := &in.State, &out.State *out = new(string) **out = **in } if in.ProtectionLevel != nil { in, out := &in.ProtectionLevel, &out.ProtectionLevel *out = new(string) **out = **in } if in.Algorithm != nil { in, out := &in.Algorithm, &out.Algorithm *out = new(string) **out = **in } if in.Attestation != nil { in, out := &in.Attestation, &out.Attestation *out = new(KeyOperationAttestation) (*in).DeepCopyInto(*out) } if in.CreateTime != nil { in, out := &in.CreateTime, &out.CreateTime *out = new(string) **out = **in } if in.GenerateTime != nil { in, out := &in.GenerateTime, &out.GenerateTime *out = new(string) **out = **in } if in.DestroyTime != nil { in, out := &in.DestroyTime, &out.DestroyTime *out = new(string) **out = **in } if in.DestroyEventTime != nil { in, out := &in.DestroyEventTime, &out.DestroyEventTime *out = new(string) **out = **in } if in.ImportJob != nil { in, out := &in.ImportJob, &out.ImportJob *out = new(string) **out = **in } if in.ImportTime != nil { in, out := &in.ImportTime, &out.ImportTime *out = new(string) **out = **in } if in.ImportFailureReason != nil { in, out := &in.ImportFailureReason, &out.ImportFailureReason *out = new(string) **out = **in } if in.GenerationFailureReason != nil { in, out := &in.GenerationFailureReason, &out.GenerationFailureReason *out = new(string) **out = **in } if in.ExternalDestructionFailureReason != nil { in, out := &in.ExternalDestructionFailureReason, &out.ExternalDestructionFailureReason *out = new(string) **out = **in } if in.ExternalProtectionLevelOptions != nil { in, out := &in.ExternalProtectionLevelOptions, &out.ExternalProtectionLevelOptions *out = new(ExternalProtectionLevelOptions) (*in).DeepCopyInto(*out) } if in.ReimportEligible != nil { in, out := &in.ReimportEligible, &out.ReimportEligible *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyVersion. func (in *CryptoKeyVersion) DeepCopy() *CryptoKeyVersion { if in == nil { return nil } out := new(CryptoKeyVersion) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *CryptoKeyVersionTemplate) DeepCopyInto(out *CryptoKeyVersionTemplate) { *out = *in if in.ProtectionLevel != nil { in, out := &in.ProtectionLevel, &out.ProtectionLevel *out = new(string) **out = **in } if in.Algorithm != nil { in, out := &in.Algorithm, &out.Algorithm *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CryptoKeyVersionTemplate. func (in *CryptoKeyVersionTemplate) DeepCopy() *CryptoKeyVersionTemplate { if in == nil { return nil } out := new(CryptoKeyVersionTemplate) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Digest) DeepCopyInto(out *Digest) { *out = *in if in.Sha256 != nil { in, out := &in.Sha256, &out.Sha256 *out = new([]byte) if **in != nil { in, out := *in, *out *out = make([]byte, len(*in)) copy(*out, *in) } } if in.Sha384 != nil { in, out := &in.Sha384, &out.Sha384 *out = new([]byte) if **in != nil { in, out := *in, *out *out = make([]byte, len(*in)) copy(*out, *in) } } if in.Sha512 != nil { in, out := &in.Sha512, &out.Sha512 *out = new([]byte) if **in != nil { in, out := *in, *out *out = make([]byte, len(*in)) copy(*out, *in) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Digest. func (in *Digest) DeepCopy() *Digest { if in == nil { return nil } out := new(Digest) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EkmConfig) DeepCopyInto(out *EkmConfig) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.DefaultEkmConnection != nil { in, out := &in.DefaultEkmConnection, &out.DefaultEkmConnection *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConfig. func (in *EkmConfig) DeepCopy() *EkmConfig { if in == nil { return nil } out := new(EkmConfig) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EkmConnection) DeepCopyInto(out *EkmConnection) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.CreateTime != nil { in, out := &in.CreateTime, &out.CreateTime *out = new(string) **out = **in } if in.ServiceResolvers != nil { in, out := &in.ServiceResolvers, &out.ServiceResolvers *out = make([]EkmConnection_ServiceResolver, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.Etag != nil { in, out := &in.Etag, &out.Etag *out = new(string) **out = **in } if in.KeyManagementMode != nil { in, out := &in.KeyManagementMode, &out.KeyManagementMode *out = new(string) **out = **in } if in.CryptoSpacePath != nil { in, out := &in.CryptoSpacePath, &out.CryptoSpacePath *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConnection. func (in *EkmConnection) DeepCopy() *EkmConnection { if in == nil { return nil } out := new(EkmConnection) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *EkmConnection_ServiceResolver) DeepCopyInto(out *EkmConnection_ServiceResolver) { *out = *in if in.ServiceDirectoryService != nil { in, out := &in.ServiceDirectoryService, &out.ServiceDirectoryService *out = new(string) **out = **in } if in.EndpointFilter != nil { in, out := &in.EndpointFilter, &out.EndpointFilter *out = new(string) **out = **in } if in.Hostname != nil { in, out := &in.Hostname, &out.Hostname *out = new(string) **out = **in } if in.ServerCertificates != nil { in, out := &in.ServerCertificates, &out.ServerCertificates *out = make([]Certificate, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EkmConnection_ServiceResolver. func (in *EkmConnection_ServiceResolver) DeepCopy() *EkmConnection_ServiceResolver { if in == nil { return nil } out := new(EkmConnection_ServiceResolver) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ExternalProtectionLevelOptions) DeepCopyInto(out *ExternalProtectionLevelOptions) { *out = *in if in.ExternalKeyUri != nil { in, out := &in.ExternalKeyUri, &out.ExternalKeyUri *out = new(string) **out = **in } if in.EkmConnectionKeyPath != nil { in, out := &in.EkmConnectionKeyPath, &out.EkmConnectionKeyPath *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalProtectionLevelOptions. func (in *ExternalProtectionLevelOptions) DeepCopy() *ExternalProtectionLevelOptions { if in == nil { return nil } out := new(ExternalProtectionLevelOptions) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImportJob) DeepCopyInto(out *ImportJob) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.ImportMethod != nil { in, out := &in.ImportMethod, &out.ImportMethod *out = new(string) **out = **in } if in.ProtectionLevel != nil { in, out := &in.ProtectionLevel, &out.ProtectionLevel *out = new(string) **out = **in } if in.CreateTime != nil { in, out := &in.CreateTime, &out.CreateTime *out = new(string) **out = **in } if in.GenerateTime != nil { in, out := &in.GenerateTime, &out.GenerateTime *out = new(string) **out = **in } if in.ExpireTime != nil { in, out := &in.ExpireTime, &out.ExpireTime *out = new(string) **out = **in } if in.ExpireEventTime != nil { in, out := &in.ExpireEventTime, &out.ExpireEventTime *out = new(string) **out = **in } if in.State != nil { in, out := &in.State, &out.State *out = new(string) **out = **in } if in.PublicKey != nil { in, out := &in.PublicKey, &out.PublicKey *out = new(ImportJob_WrappingPublicKey) (*in).DeepCopyInto(*out) } if in.Attestation != nil { in, out := &in.Attestation, &out.Attestation *out = new(KeyOperationAttestation) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJob. func (in *ImportJob) DeepCopy() *ImportJob { if in == nil { return nil } out := new(ImportJob) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImportJob_WrappingPublicKey) DeepCopyInto(out *ImportJob_WrappingPublicKey) { *out = *in if in.Pem != nil { in, out := &in.Pem, &out.Pem *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJob_WrappingPublicKey. func (in *ImportJob_WrappingPublicKey) DeepCopy() *ImportJob_WrappingPublicKey { if in == nil { return nil } out := new(ImportJob_WrappingPublicKey) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfig) DeepCopyInto(out *KMSAutokeyConfig) { *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 KMSAutokeyConfig. func (in *KMSAutokeyConfig) DeepCopy() *KMSAutokeyConfig { if in == nil { return nil } out := new(KMSAutokeyConfig) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSAutokeyConfig) 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 *KMSAutokeyConfigIdentity) DeepCopyInto(out *KMSAutokeyConfigIdentity) { *out = *in if in.parent != nil { in, out := &in.parent, &out.parent *out = new(KMSAutokeyConfigParent) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigIdentity. func (in *KMSAutokeyConfigIdentity) DeepCopy() *KMSAutokeyConfigIdentity { if in == nil { return nil } out := new(KMSAutokeyConfigIdentity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfigList) DeepCopyInto(out *KMSAutokeyConfigList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KMSAutokeyConfig, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigList. func (in *KMSAutokeyConfigList) DeepCopy() *KMSAutokeyConfigList { if in == nil { return nil } out := new(KMSAutokeyConfigList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSAutokeyConfigList) 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 *KMSAutokeyConfigObservedState) DeepCopyInto(out *KMSAutokeyConfigObservedState) { *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 KMSAutokeyConfigObservedState. func (in *KMSAutokeyConfigObservedState) DeepCopy() *KMSAutokeyConfigObservedState { if in == nil { return nil } out := new(KMSAutokeyConfigObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfigParent) DeepCopyInto(out *KMSAutokeyConfigParent) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigParent. func (in *KMSAutokeyConfigParent) DeepCopy() *KMSAutokeyConfigParent { if in == nil { return nil } out := new(KMSAutokeyConfigParent) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfigRef) DeepCopyInto(out *KMSAutokeyConfigRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigRef. func (in *KMSAutokeyConfigRef) DeepCopy() *KMSAutokeyConfigRef { if in == nil { return nil } out := new(KMSAutokeyConfigRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfigSpec) DeepCopyInto(out *KMSAutokeyConfigSpec) { *out = *in if in.FolderRef != nil { in, out := &in.FolderRef, &out.FolderRef *out = new(refsv1beta1.FolderRef) **out = **in } if in.KeyProjectRef != nil { in, out := &in.KeyProjectRef, &out.KeyProjectRef *out = new(refsv1beta1.ProjectRef) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigSpec. func (in *KMSAutokeyConfigSpec) DeepCopy() *KMSAutokeyConfigSpec { if in == nil { return nil } out := new(KMSAutokeyConfigSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSAutokeyConfigStatus) DeepCopyInto(out *KMSAutokeyConfigStatus) { *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.ObservedState != nil { in, out := &in.ObservedState, &out.ObservedState *out = new(KMSAutokeyConfigObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSAutokeyConfigStatus. func (in *KMSAutokeyConfigStatus) DeepCopy() *KMSAutokeyConfigStatus { if in == nil { return nil } out := new(KMSAutokeyConfigStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandle) DeepCopyInto(out *KMSKeyHandle) { *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 KMSKeyHandle. func (in *KMSKeyHandle) DeepCopy() *KMSKeyHandle { if in == nil { return nil } out := new(KMSKeyHandle) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSKeyHandle) 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 *KMSKeyHandleIdentity) DeepCopyInto(out *KMSKeyHandleIdentity) { *out = *in if in.parent != nil { in, out := &in.parent, &out.parent *out = new(KMSKeyHandleParent) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleIdentity. func (in *KMSKeyHandleIdentity) DeepCopy() *KMSKeyHandleIdentity { if in == nil { return nil } out := new(KMSKeyHandleIdentity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandleList) DeepCopyInto(out *KMSKeyHandleList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KMSKeyHandle, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleList. func (in *KMSKeyHandleList) DeepCopy() *KMSKeyHandleList { if in == nil { return nil } out := new(KMSKeyHandleList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSKeyHandleList) 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 *KMSKeyHandleObservedState) DeepCopyInto(out *KMSKeyHandleObservedState) { *out = *in if in.KMSKey != nil { in, out := &in.KMSKey, &out.KMSKey *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleObservedState. func (in *KMSKeyHandleObservedState) DeepCopy() *KMSKeyHandleObservedState { if in == nil { return nil } out := new(KMSKeyHandleObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandleParent) DeepCopyInto(out *KMSKeyHandleParent) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleParent. func (in *KMSKeyHandleParent) DeepCopy() *KMSKeyHandleParent { if in == nil { return nil } out := new(KMSKeyHandleParent) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandleRef) DeepCopyInto(out *KMSKeyHandleRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleRef. func (in *KMSKeyHandleRef) DeepCopy() *KMSKeyHandleRef { if in == nil { return nil } out := new(KMSKeyHandleRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandleSpec) DeepCopyInto(out *KMSKeyHandleSpec) { *out = *in if in.ResourceID != nil { in, out := &in.ResourceID, &out.ResourceID *out = new(string) **out = **in } if in.ProjectRef != nil { in, out := &in.ProjectRef, &out.ProjectRef *out = new(refsv1beta1.ProjectRef) **out = **in } if in.Location != nil { in, out := &in.Location, &out.Location *out = new(string) **out = **in } if in.ResourceTypeSelector != nil { in, out := &in.ResourceTypeSelector, &out.ResourceTypeSelector *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleSpec. func (in *KMSKeyHandleSpec) DeepCopy() *KMSKeyHandleSpec { if in == nil { return nil } out := new(KMSKeyHandleSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyHandleStatus) DeepCopyInto(out *KMSKeyHandleStatus) { *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.ObservedState != nil { in, out := &in.ObservedState, &out.ObservedState *out = new(KMSKeyHandleObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyHandleStatus. func (in *KMSKeyHandleStatus) DeepCopy() *KMSKeyHandleStatus { if in == nil { return nil } out := new(KMSKeyHandleStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyRing) DeepCopyInto(out *KMSKeyRing) { *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 KMSKeyRing. func (in *KMSKeyRing) DeepCopy() *KMSKeyRing { if in == nil { return nil } out := new(KMSKeyRing) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSKeyRing) 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 *KMSKeyRingList) DeepCopyInto(out *KMSKeyRingList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KMSKeyRing, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingList. func (in *KMSKeyRingList) DeepCopy() *KMSKeyRingList { if in == nil { return nil } out := new(KMSKeyRingList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSKeyRingList) 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 *KMSKeyRingSpec) DeepCopyInto(out *KMSKeyRingSpec) { *out = *in if in.ResourceID != nil { in, out := &in.ResourceID, &out.ResourceID *out = new(string) **out = **in } if in.Location != nil { in, out := &in.Location, &out.Location *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingSpec. func (in *KMSKeyRingSpec) DeepCopy() *KMSKeyRingSpec { if in == nil { return nil } out := new(KMSKeyRingSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSKeyRingStatus) DeepCopyInto(out *KMSKeyRingStatus) { *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.SelfLink != nil { in, out := &in.SelfLink, &out.SelfLink *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSKeyRingStatus. func (in *KMSKeyRingStatus) DeepCopy() *KMSKeyRingStatus { if in == nil { return nil } out := new(KMSKeyRingStatus) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyAccessJustificationsPolicy) DeepCopyInto(out *KeyAccessJustificationsPolicy) { *out = *in if in.AllowedAccessReasons != nil { in, out := &in.AllowedAccessReasons, &out.AllowedAccessReasons *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyAccessJustificationsPolicy. func (in *KeyAccessJustificationsPolicy) DeepCopy() *KeyAccessJustificationsPolicy { if in == nil { return nil } out := new(KeyAccessJustificationsPolicy) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyHandle) DeepCopyInto(out *KeyHandle) { *out = *in if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.KmsKey != nil { in, out := &in.KmsKey, &out.KmsKey *out = new(string) **out = **in } if in.ResourceTypeSelector != nil { in, out := &in.ResourceTypeSelector, &out.ResourceTypeSelector *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyHandle. func (in *KeyHandle) DeepCopy() *KeyHandle { if in == nil { return nil } out := new(KeyHandle) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyOperationAttestation) DeepCopyInto(out *KeyOperationAttestation) { *out = *in if in.Format != nil { in, out := &in.Format, &out.Format *out = new(string) **out = **in } if in.Content != nil { in, out := &in.Content, &out.Content *out = new([]byte) if **in != nil { in, out := *in, *out *out = make([]byte, len(*in)) copy(*out, *in) } } if in.CertChains != nil { in, out := &in.CertChains, &out.CertChains *out = new(KeyOperationAttestation_CertificateChains) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyOperationAttestation. func (in *KeyOperationAttestation) DeepCopy() *KeyOperationAttestation { if in == nil { return nil } out := new(KeyOperationAttestation) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KeyOperationAttestation_CertificateChains) DeepCopyInto(out *KeyOperationAttestation_CertificateChains) { *out = *in if in.CaviumCerts != nil { in, out := &in.CaviumCerts, &out.CaviumCerts *out = make([]string, len(*in)) copy(*out, *in) } if in.GoogleCardCerts != nil { in, out := &in.GoogleCardCerts, &out.GoogleCardCerts *out = make([]string, len(*in)) copy(*out, *in) } if in.GooglePartitionCerts != nil { in, out := &in.GooglePartitionCerts, &out.GooglePartitionCerts *out = make([]string, len(*in)) copy(*out, *in) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyOperationAttestation_CertificateChains. func (in *KeyOperationAttestation_CertificateChains) DeepCopy() *KeyOperationAttestation_CertificateChains { if in == nil { return nil } out := new(KeyOperationAttestation_CertificateChains) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *LocationMetadata) DeepCopyInto(out *LocationMetadata) { *out = *in if in.HsmAvailable != nil { in, out := &in.HsmAvailable, &out.HsmAvailable *out = new(bool) **out = **in } if in.EkmAvailable != nil { in, out := &in.EkmAvailable, &out.EkmAvailable *out = new(bool) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationMetadata. func (in *LocationMetadata) DeepCopy() *LocationMetadata { if in == nil { return nil } out := new(LocationMetadata) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PublicKey) DeepCopyInto(out *PublicKey) { *out = *in if in.Pem != nil { in, out := &in.Pem, &out.Pem *out = new(string) **out = **in } if in.Algorithm != nil { in, out := &in.Algorithm, &out.Algorithm *out = new(string) **out = **in } if in.PemCrc32c != nil { in, out := &in.PemCrc32c, &out.PemCrc32c *out = new(int64) **out = **in } if in.Name != nil { in, out := &in.Name, &out.Name *out = new(string) **out = **in } if in.ProtectionLevel != nil { in, out := &in.ProtectionLevel, &out.ProtectionLevel *out = new(string) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicKey. func (in *PublicKey) DeepCopy() *PublicKey { if in == nil { return nil } out := new(PublicKey) in.DeepCopyInto(out) return out }