mirror of
https://github.com/hanzoai/kms-operator.git
synced 2026-10-30 18:32:57 +00:00
The six kinds (KMSSecret, KMSDynamicSecret, KMSPushSecret, ClusterGenerator, Password, UUID) move from v1alpha1 to v1. One package of Go types, renamed api/v1alpha1 -> api/v1, so there is one definition of each kind rather than a copy per version. The CRDs declare conversion: None, so the API server relabels apiVersion and returns the same bytes. The operator therefore needs to watch only the version the CRD serves; a second Go package would add drift and buy nothing. The v1 schema is v1alpha1's, unchanged -- controller-gen's output moves by exactly one line per CRD, the version name. Call sites import the package as secretsv1 because packages/controllerhelpers already binds bare v1 to k8s.io/api/apps/v1. RBAC is group- and resource-scoped, so it is unaffected.
1041 lines
31 KiB
Go
1041 lines
31 KiB
Go
//go:build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2022.
|
|
|
|
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 v1
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
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 *AWSIamAuthDetails) DeepCopyInto(out *AWSIamAuthDetails) {
|
|
*out = *in
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIamAuthDetails.
|
|
func (in *AWSIamAuthDetails) DeepCopy() *AWSIamAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AWSIamAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Authentication) DeepCopyInto(out *Authentication) {
|
|
*out = *in
|
|
out.ServiceAccount = in.ServiceAccount
|
|
out.ServiceToken = in.ServiceToken
|
|
in.UniversalAuth.DeepCopyInto(&out.UniversalAuth)
|
|
in.KubernetesAuth.DeepCopyInto(&out.KubernetesAuth)
|
|
in.AwsIamAuth.DeepCopyInto(&out.AwsIamAuth)
|
|
in.AzureAuth.DeepCopyInto(&out.AzureAuth)
|
|
in.GcpIdTokenAuth.DeepCopyInto(&out.GcpIdTokenAuth)
|
|
in.GcpIamAuth.DeepCopyInto(&out.GcpIamAuth)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.
|
|
func (in *Authentication) DeepCopy() *Authentication {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Authentication)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *AzureAuthDetails) DeepCopyInto(out *AzureAuthDetails) {
|
|
*out = *in
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureAuthDetails.
|
|
func (in *AzureAuthDetails) DeepCopy() *AzureAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AzureAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CaReference) DeepCopyInto(out *CaReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaReference.
|
|
func (in *CaReference) DeepCopy() *CaReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CaReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ClusterGenerator) DeepCopyInto(out *ClusterGenerator) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGenerator.
|
|
func (in *ClusterGenerator) DeepCopy() *ClusterGenerator {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterGenerator)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterGenerator) 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 *ClusterGeneratorList) DeepCopyInto(out *ClusterGeneratorList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ClusterGenerator, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGeneratorList.
|
|
func (in *ClusterGeneratorList) DeepCopy() *ClusterGeneratorList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterGeneratorList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ClusterGeneratorList) 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 *ClusterGeneratorSpec) DeepCopyInto(out *ClusterGeneratorSpec) {
|
|
*out = *in
|
|
in.Generator.DeepCopyInto(&out.Generator)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterGeneratorSpec.
|
|
func (in *ClusterGeneratorSpec) DeepCopy() *ClusterGeneratorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ClusterGeneratorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GCPIdTokenAuthDetails) DeepCopyInto(out *GCPIdTokenAuthDetails) {
|
|
*out = *in
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPIdTokenAuthDetails.
|
|
func (in *GCPIdTokenAuthDetails) DeepCopy() *GCPIdTokenAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GCPIdTokenAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GcpIamAuthDetails) DeepCopyInto(out *GcpIamAuthDetails) {
|
|
*out = *in
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcpIamAuthDetails.
|
|
func (in *GcpIamAuthDetails) DeepCopy() *GcpIamAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GcpIamAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GeneratorRef) DeepCopyInto(out *GeneratorRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorRef.
|
|
func (in *GeneratorRef) DeepCopy() *GeneratorRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GeneratorRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GeneratorSpec) DeepCopyInto(out *GeneratorSpec) {
|
|
*out = *in
|
|
if in.PasswordSpec != nil {
|
|
in, out := &in.PasswordSpec, &out.PasswordSpec
|
|
*out = new(PasswordSpec)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.UUIDSpec != nil {
|
|
in, out := &in.UUIDSpec, &out.UUIDSpec
|
|
*out = new(UUIDSpec)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorSpec.
|
|
func (in *GeneratorSpec) DeepCopy() *GeneratorSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GeneratorSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericAwsIamAuth) DeepCopyInto(out *GenericAwsIamAuth) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericAwsIamAuth.
|
|
func (in *GenericAwsIamAuth) DeepCopy() *GenericAwsIamAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericAwsIamAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericAzureAuth) DeepCopyInto(out *GenericAzureAuth) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericAzureAuth.
|
|
func (in *GenericAzureAuth) DeepCopy() *GenericAzureAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericAzureAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericGcpIamAuth) DeepCopyInto(out *GenericGcpIamAuth) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericGcpIamAuth.
|
|
func (in *GenericGcpIamAuth) DeepCopy() *GenericGcpIamAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericGcpIamAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericGcpIdTokenAuth) DeepCopyInto(out *GenericGcpIdTokenAuth) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericGcpIdTokenAuth.
|
|
func (in *GenericGcpIdTokenAuth) DeepCopy() *GenericGcpIdTokenAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericGcpIdTokenAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericKMSAuthentication) DeepCopyInto(out *GenericKMSAuthentication) {
|
|
*out = *in
|
|
out.UniversalAuth = in.UniversalAuth
|
|
in.KubernetesAuth.DeepCopyInto(&out.KubernetesAuth)
|
|
out.AwsIamAuth = in.AwsIamAuth
|
|
out.AzureAuth = in.AzureAuth
|
|
out.GcpIdTokenAuth = in.GcpIdTokenAuth
|
|
out.GcpIamAuth = in.GcpIamAuth
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericKMSAuthentication.
|
|
func (in *GenericKMSAuthentication) DeepCopy() *GenericKMSAuthentication {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericKMSAuthentication)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericKubernetesAuth) DeepCopyInto(out *GenericKubernetesAuth) {
|
|
*out = *in
|
|
out.ServiceAccountRef = in.ServiceAccountRef
|
|
if in.ServiceAccountTokenAudiences != nil {
|
|
in, out := &in.ServiceAccountTokenAudiences, &out.ServiceAccountTokenAudiences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericKubernetesAuth.
|
|
func (in *GenericKubernetesAuth) DeepCopy() *GenericKubernetesAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericKubernetesAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *GenericUniversalAuth) DeepCopyInto(out *GenericUniversalAuth) {
|
|
*out = *in
|
|
out.CredentialsRef = in.CredentialsRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericUniversalAuth.
|
|
func (in *GenericUniversalAuth) DeepCopy() *GenericUniversalAuth {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(GenericUniversalAuth)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSPushSecret) DeepCopyInto(out *KMSPushSecret) {
|
|
*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 KMSPushSecret.
|
|
func (in *KMSPushSecret) DeepCopy() *KMSPushSecret {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecret)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KMSPushSecret) 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 *KMSPushSecretDestination) DeepCopyInto(out *KMSPushSecretDestination) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSPushSecretDestination.
|
|
func (in *KMSPushSecretDestination) DeepCopy() *KMSPushSecretDestination {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecretDestination)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSPushSecretList) DeepCopyInto(out *KMSPushSecretList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KMSPushSecret, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSPushSecretList.
|
|
func (in *KMSPushSecretList) DeepCopy() *KMSPushSecretList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecretList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KMSPushSecretList) 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 *KMSPushSecretSecretSource) DeepCopyInto(out *KMSPushSecretSecretSource) {
|
|
*out = *in
|
|
if in.Template != nil {
|
|
in, out := &in.Template, &out.Template
|
|
*out = new(SecretTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSPushSecretSecretSource.
|
|
func (in *KMSPushSecretSecretSource) DeepCopy() *KMSPushSecretSecretSource {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecretSecretSource)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSPushSecretSpec) DeepCopyInto(out *KMSPushSecretSpec) {
|
|
*out = *in
|
|
out.Destination = in.Destination
|
|
in.Authentication.DeepCopyInto(&out.Authentication)
|
|
in.Push.DeepCopyInto(&out.Push)
|
|
if in.ResyncInterval != nil {
|
|
in, out := &in.ResyncInterval, &out.ResyncInterval
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
out.TLS = in.TLS
|
|
out.MnemonicSecretRef = in.MnemonicSecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSPushSecretSpec.
|
|
func (in *KMSPushSecretSpec) DeepCopy() *KMSPushSecretSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecretSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSPushSecretStatus) DeepCopyInto(out *KMSPushSecretStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ManagedSecrets != nil {
|
|
in, out := &in.ManagedSecrets, &out.ManagedSecrets
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSPushSecretStatus.
|
|
func (in *KMSPushSecretStatus) DeepCopy() *KMSPushSecretStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSPushSecretStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSSecret) DeepCopyInto(out *KMSSecret) {
|
|
*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 KMSSecret.
|
|
func (in *KMSSecret) DeepCopy() *KMSSecret {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSSecret)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KMSSecret) 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 *KMSSecretList) DeepCopyInto(out *KMSSecretList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]KMSSecret, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSSecretList.
|
|
func (in *KMSSecretList) DeepCopy() *KMSSecretList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSSecretList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KMSSecretList) 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 *KMSSecretSpec) DeepCopyInto(out *KMSSecretSpec) {
|
|
*out = *in
|
|
out.TokenSecretReference = in.TokenSecretReference
|
|
in.Authentication.DeepCopyInto(&out.Authentication)
|
|
in.ManagedSecretReference.DeepCopyInto(&out.ManagedSecretReference)
|
|
if in.ManagedKubeSecretReferences != nil {
|
|
in, out := &in.ManagedKubeSecretReferences, &out.ManagedKubeSecretReferences
|
|
*out = make([]ManagedKubeSecretConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.ManagedKubeConfigMapReferences != nil {
|
|
in, out := &in.ManagedKubeConfigMapReferences, &out.ManagedKubeConfigMapReferences
|
|
*out = make([]ManagedKubeConfigMapConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
out.TLS = in.TLS
|
|
out.MnemonicSecretRef = in.MnemonicSecretRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSSecretSpec.
|
|
func (in *KMSSecretSpec) DeepCopy() *KMSSecretSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSSecretSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KMSSecretStatus) DeepCopyInto(out *KMSSecretStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSSecretStatus.
|
|
func (in *KMSSecretStatus) DeepCopy() *KMSSecretStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KMSSecretStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubeSecretReference) DeepCopyInto(out *KubeSecretReference) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSecretReference.
|
|
func (in *KubeSecretReference) DeepCopy() *KubeSecretReference {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubeSecretReference)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesAuthDetails) DeepCopyInto(out *KubernetesAuthDetails) {
|
|
*out = *in
|
|
out.ServiceAccountRef = in.ServiceAccountRef
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
if in.ServiceAccountTokenAudiences != nil {
|
|
in, out := &in.ServiceAccountTokenAudiences, &out.ServiceAccountTokenAudiences
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesAuthDetails.
|
|
func (in *KubernetesAuthDetails) DeepCopy() *KubernetesAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KubernetesServiceAccountRef) DeepCopyInto(out *KubernetesServiceAccountRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServiceAccountRef.
|
|
func (in *KubernetesServiceAccountRef) DeepCopy() *KubernetesServiceAccountRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KubernetesServiceAccountRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MachineIdentityScopeInWorkspace) DeepCopyInto(out *MachineIdentityScopeInWorkspace) {
|
|
*out = *in
|
|
if in.Keys != nil {
|
|
in, out := &in.Keys, &out.Keys
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineIdentityScopeInWorkspace.
|
|
func (in *MachineIdentityScopeInWorkspace) DeepCopy() *MachineIdentityScopeInWorkspace {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MachineIdentityScopeInWorkspace)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ManagedKubeConfigMapConfig) DeepCopyInto(out *ManagedKubeConfigMapConfig) {
|
|
*out = *in
|
|
if in.Template != nil {
|
|
in, out := &in.Template, &out.Template
|
|
*out = new(SecretTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKubeConfigMapConfig.
|
|
func (in *ManagedKubeConfigMapConfig) DeepCopy() *ManagedKubeConfigMapConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ManagedKubeConfigMapConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ManagedKubeSecretConfig) DeepCopyInto(out *ManagedKubeSecretConfig) {
|
|
*out = *in
|
|
if in.Template != nil {
|
|
in, out := &in.Template, &out.Template
|
|
*out = new(SecretTemplate)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedKubeSecretConfig.
|
|
func (in *ManagedKubeSecretConfig) DeepCopy() *ManagedKubeSecretConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ManagedKubeSecretConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Password) DeepCopyInto(out *Password) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Password.
|
|
func (in *Password) DeepCopy() *Password {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Password)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *Password) 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 *PasswordList) DeepCopyInto(out *PasswordList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Password, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordList.
|
|
func (in *PasswordList) DeepCopy() *PasswordList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PasswordList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *PasswordList) 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 *PasswordSpec) DeepCopyInto(out *PasswordSpec) {
|
|
*out = *in
|
|
if in.Digits != nil {
|
|
in, out := &in.Digits, &out.Digits
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.Symbols != nil {
|
|
in, out := &in.Symbols, &out.Symbols
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.SymbolCharacters != nil {
|
|
in, out := &in.SymbolCharacters, &out.SymbolCharacters
|
|
*out = new(string)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PasswordSpec.
|
|
func (in *PasswordSpec) DeepCopy() *PasswordSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PasswordSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecretPush) DeepCopyInto(out *SecretPush) {
|
|
*out = *in
|
|
if in.Secret != nil {
|
|
in, out := &in.Secret, &out.Secret
|
|
*out = new(KMSPushSecretSecretSource)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Generators != nil {
|
|
in, out := &in.Generators, &out.Generators
|
|
*out = make([]SecretPushGenerator, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPush.
|
|
func (in *SecretPush) DeepCopy() *SecretPush {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecretPush)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecretPushGenerator) DeepCopyInto(out *SecretPushGenerator) {
|
|
*out = *in
|
|
out.GeneratorRef = in.GeneratorRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretPushGenerator.
|
|
func (in *SecretPushGenerator) DeepCopy() *SecretPushGenerator {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecretPushGenerator)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecretScopeInWorkspace) DeepCopyInto(out *SecretScopeInWorkspace) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScopeInWorkspace.
|
|
func (in *SecretScopeInWorkspace) DeepCopy() *SecretScopeInWorkspace {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecretScopeInWorkspace)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SecretTemplate) DeepCopyInto(out *SecretTemplate) {
|
|
*out = *in
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretTemplate.
|
|
func (in *SecretTemplate) DeepCopy() *SecretTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecretTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceAccountDetails) DeepCopyInto(out *ServiceAccountDetails) {
|
|
*out = *in
|
|
out.ServiceAccountSecretReference = in.ServiceAccountSecretReference
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountDetails.
|
|
func (in *ServiceAccountDetails) DeepCopy() *ServiceAccountDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceTokenDetails) DeepCopyInto(out *ServiceTokenDetails) {
|
|
*out = *in
|
|
out.ServiceTokenSecretReference = in.ServiceTokenSecretReference
|
|
out.SecretsScope = in.SecretsScope
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTokenDetails.
|
|
func (in *ServiceTokenDetails) DeepCopy() *ServiceTokenDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceTokenDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TLSConfig) DeepCopyInto(out *TLSConfig) {
|
|
*out = *in
|
|
out.CaRef = in.CaRef
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
|
|
func (in *TLSConfig) DeepCopy() *TLSConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TLSConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UUID) DeepCopyInto(out *UUID) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UUID.
|
|
func (in *UUID) DeepCopy() *UUID {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UUID)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *UUID) 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 *UUIDList) DeepCopyInto(out *UUIDList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]UUID, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UUIDList.
|
|
func (in *UUIDList) DeepCopy() *UUIDList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UUIDList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *UUIDList) 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 *UUIDSpec) DeepCopyInto(out *UUIDSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UUIDSpec.
|
|
func (in *UUIDSpec) DeepCopy() *UUIDSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UUIDSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UniversalAuthDetails) DeepCopyInto(out *UniversalAuthDetails) {
|
|
*out = *in
|
|
out.CredentialsRef = in.CredentialsRef
|
|
in.SecretsScope.DeepCopyInto(&out.SecretsScope)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UniversalAuthDetails.
|
|
func (in *UniversalAuthDetails) DeepCopy() *UniversalAuthDetails {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UniversalAuthDetails)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|