apis/kms/v1alpha1/zz_generated.deepcopy.go (583 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 *ImportJobIdentity) DeepCopyInto(out *ImportJobIdentity) { *out = *in if in.parent != nil { in, out := &in.parent, &out.parent *out = new(ImportJobParent) **out = **in } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJobIdentity. func (in *ImportJobIdentity) DeepCopy() *ImportJobIdentity { if in == nil { return nil } out := new(ImportJobIdentity) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImportJobParent) DeepCopyInto(out *ImportJobParent) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJobParent. func (in *ImportJobParent) DeepCopy() *ImportJobParent { if in == nil { return nil } out := new(ImportJobParent) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ImportJobRef) DeepCopyInto(out *ImportJobRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportJobRef. func (in *ImportJobRef) DeepCopy() *ImportJobRef { if in == nil { return nil } out := new(ImportJobRef) 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_WrappingPublicKeyObservedState) DeepCopyInto(out *ImportJob_WrappingPublicKeyObservedState) { *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_WrappingPublicKeyObservedState. func (in *ImportJob_WrappingPublicKeyObservedState) DeepCopy() *ImportJob_WrappingPublicKeyObservedState { if in == nil { return nil } out := new(ImportJob_WrappingPublicKeyObservedState) 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 *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 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 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(v1beta1.FolderRef) **out = **in } if in.KeyProjectRef != nil { in, out := &in.KeyProjectRef, &out.KeyProjectRef *out = new(v1beta1.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([]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(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 *KMSCryptoKeyVersionRef) DeepCopyInto(out *KMSCryptoKeyVersionRef) { *out = *in } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSCryptoKeyVersionRef. func (in *KMSCryptoKeyVersionRef) DeepCopy() *KMSCryptoKeyVersionRef { if in == nil { return nil } out := new(KMSCryptoKeyVersionRef) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSImportJob) DeepCopyInto(out *KMSImportJob) { *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 KMSImportJob. func (in *KMSImportJob) DeepCopy() *KMSImportJob { if in == nil { return nil } out := new(KMSImportJob) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSImportJob) 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 *KMSImportJobList) DeepCopyInto(out *KMSImportJobList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]KMSImportJob, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSImportJobList. func (in *KMSImportJobList) DeepCopy() *KMSImportJobList { if in == nil { return nil } out := new(KMSImportJobList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *KMSImportJobList) 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 *KMSImportJobObservedState) DeepCopyInto(out *KMSImportJobObservedState) { *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_WrappingPublicKeyObservedState) (*in).DeepCopyInto(*out) } if in.Attestation != nil { in, out := &in.Attestation, &out.Attestation *out = new(KeyOperationAttestationObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSImportJobObservedState. func (in *KMSImportJobObservedState) DeepCopy() *KMSImportJobObservedState { if in == nil { return nil } out := new(KMSImportJobObservedState) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSImportJobSpec) DeepCopyInto(out *KMSImportJobSpec) { *out = *in if in.KMSKeyRingRef != nil { in, out := &in.KMSKeyRingRef, &out.KMSKeyRingRef *out = new(v1beta1.KMSKeyRingRef) **out = **in } if in.ResourceID != nil { in, out := &in.ResourceID, &out.ResourceID *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 } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSImportJobSpec. func (in *KMSImportJobSpec) DeepCopy() *KMSImportJobSpec { if in == nil { return nil } out := new(KMSImportJobSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KMSImportJobStatus) DeepCopyInto(out *KMSImportJobStatus) { *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(KMSImportJobObservedState) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSImportJobStatus. func (in *KMSImportJobStatus) DeepCopy() *KMSImportJobStatus { if in == nil { return nil } out := new(KMSImportJobStatus) 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 *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 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 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(v1beta1.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([]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(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 *KeyOperationAttestation) DeepCopyInto(out *KeyOperationAttestation) { *out = *in } // 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 *KeyOperationAttestationObservedState) DeepCopyInto(out *KeyOperationAttestationObservedState) { *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 = 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 KeyOperationAttestationObservedState. func (in *KeyOperationAttestationObservedState) DeepCopy() *KeyOperationAttestationObservedState { if in == nil { return nil } out := new(KeyOperationAttestationObservedState) 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 }