v1alpha1

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=secret.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: secret.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ManagerSecret

type ManagerSecret struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerSecretSpec   `json:"spec,omitempty"`
	Status            ManagerSecretStatus `json:"status,omitempty"`
}

func (*ManagerSecret) DeepCopy

func (in *ManagerSecret) DeepCopy() *ManagerSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecret.

func (*ManagerSecret) DeepCopyInto

func (in *ManagerSecret) DeepCopyInto(out *ManagerSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecret) DeepCopyObject

func (in *ManagerSecret) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagerSecret) SetupWebhookWithManager

func (r *ManagerSecret) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagerSecret) ValidateCreate

func (r *ManagerSecret) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecret) ValidateDelete

func (r *ManagerSecret) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecret) ValidateUpdate

func (r *ManagerSecret) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagerSecretIamBinding

type ManagerSecretIamBinding struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerSecretIamBindingSpec   `json:"spec,omitempty"`
	Status            ManagerSecretIamBindingStatus `json:"status,omitempty"`
}

func (*ManagerSecretIamBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBinding.

func (*ManagerSecretIamBinding) DeepCopyInto

func (in *ManagerSecretIamBinding) DeepCopyInto(out *ManagerSecretIamBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamBinding) DeepCopyObject

func (in *ManagerSecretIamBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagerSecretIamBinding) SetupWebhookWithManager

func (r *ManagerSecretIamBinding) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagerSecretIamBinding) ValidateCreate

func (r *ManagerSecretIamBinding) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamBinding) ValidateDelete

func (r *ManagerSecretIamBinding) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamBinding) ValidateUpdate

func (r *ManagerSecretIamBinding) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagerSecretIamBindingList

type ManagerSecretIamBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagerSecretIamBinding CRD objects
	Items []ManagerSecretIamBinding `json:"items,omitempty"`
}

ManagerSecretIamBindingList is a list of ManagerSecretIamBindings

func (*ManagerSecretIamBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBindingList.

func (*ManagerSecretIamBindingList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamBindingList) DeepCopyObject

func (in *ManagerSecretIamBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagerSecretIamBindingSpec

type ManagerSecretIamBindingSpec struct {
	State *ManagerSecretIamBindingSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerSecretIamBindingSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ManagerSecretIamBindingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBindingSpec.

func (*ManagerSecretIamBindingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamBindingSpecCondition

type ManagerSecretIamBindingSpecCondition struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Expression  *string `json:"expression" tf:"expression"`
	Title       *string `json:"title" tf:"title"`
}

func (*ManagerSecretIamBindingSpecCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBindingSpecCondition.

func (*ManagerSecretIamBindingSpecCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamBindingSpecConditionCodec

type ManagerSecretIamBindingSpecConditionCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretIamBindingSpecConditionCodec) Decode

func (ManagerSecretIamBindingSpecConditionCodec) Encode

func (ManagerSecretIamBindingSpecConditionCodec) IsEmpty

type ManagerSecretIamBindingSpecResource

type ManagerSecretIamBindingSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Condition *ManagerSecretIamBindingSpecCondition `json:"condition,omitempty" tf:"condition"`
	// +optional
	Etag    *string  `json:"etag,omitempty" tf:"etag"`
	Members []string `json:"members" tf:"members"`
	// +optional
	Project  *string `json:"project,omitempty" tf:"project"`
	Role     *string `json:"role" tf:"role"`
	SecretID *string `json:"secretID" tf:"secret_id"`
}

func (*ManagerSecretIamBindingSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBindingSpecResource.

func (*ManagerSecretIamBindingSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamBindingStatus

type ManagerSecretIamBindingStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagerSecretIamBindingStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamBindingStatus.

func (*ManagerSecretIamBindingStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamMember

type ManagerSecretIamMember struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerSecretIamMemberSpec   `json:"spec,omitempty"`
	Status            ManagerSecretIamMemberStatus `json:"status,omitempty"`
}

func (*ManagerSecretIamMember) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMember.

func (*ManagerSecretIamMember) DeepCopyInto

func (in *ManagerSecretIamMember) DeepCopyInto(out *ManagerSecretIamMember)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamMember) DeepCopyObject

func (in *ManagerSecretIamMember) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagerSecretIamMember) SetupWebhookWithManager

func (r *ManagerSecretIamMember) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagerSecretIamMember) ValidateCreate

func (r *ManagerSecretIamMember) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamMember) ValidateDelete

func (r *ManagerSecretIamMember) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamMember) ValidateUpdate

func (r *ManagerSecretIamMember) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagerSecretIamMemberList

type ManagerSecretIamMemberList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagerSecretIamMember CRD objects
	Items []ManagerSecretIamMember `json:"items,omitempty"`
}

ManagerSecretIamMemberList is a list of ManagerSecretIamMembers

func (*ManagerSecretIamMemberList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMemberList.

func (*ManagerSecretIamMemberList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamMemberList) DeepCopyObject

func (in *ManagerSecretIamMemberList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagerSecretIamMemberSpec

type ManagerSecretIamMemberSpec struct {
	State *ManagerSecretIamMemberSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerSecretIamMemberSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ManagerSecretIamMemberSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMemberSpec.

func (*ManagerSecretIamMemberSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamMemberSpecCondition

type ManagerSecretIamMemberSpecCondition struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Expression  *string `json:"expression" tf:"expression"`
	Title       *string `json:"title" tf:"title"`
}

func (*ManagerSecretIamMemberSpecCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMemberSpecCondition.

func (*ManagerSecretIamMemberSpecCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamMemberSpecConditionCodec

type ManagerSecretIamMemberSpecConditionCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretIamMemberSpecConditionCodec) Decode

func (ManagerSecretIamMemberSpecConditionCodec) Encode

func (ManagerSecretIamMemberSpecConditionCodec) IsEmpty

type ManagerSecretIamMemberSpecResource

type ManagerSecretIamMemberSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Condition *ManagerSecretIamMemberSpecCondition `json:"condition,omitempty" tf:"condition"`
	// +optional
	Etag   *string `json:"etag,omitempty" tf:"etag"`
	Member *string `json:"member" tf:"member"`
	// +optional
	Project  *string `json:"project,omitempty" tf:"project"`
	Role     *string `json:"role" tf:"role"`
	SecretID *string `json:"secretID" tf:"secret_id"`
}

func (*ManagerSecretIamMemberSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMemberSpecResource.

func (*ManagerSecretIamMemberSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamMemberStatus

type ManagerSecretIamMemberStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagerSecretIamMemberStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamMemberStatus.

func (*ManagerSecretIamMemberStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamPolicy

type ManagerSecretIamPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerSecretIamPolicySpec   `json:"spec,omitempty"`
	Status            ManagerSecretIamPolicyStatus `json:"status,omitempty"`
}

func (*ManagerSecretIamPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamPolicy.

func (*ManagerSecretIamPolicy) DeepCopyInto

func (in *ManagerSecretIamPolicy) DeepCopyInto(out *ManagerSecretIamPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamPolicy) DeepCopyObject

func (in *ManagerSecretIamPolicy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagerSecretIamPolicy) SetupWebhookWithManager

func (r *ManagerSecretIamPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagerSecretIamPolicy) ValidateCreate

func (r *ManagerSecretIamPolicy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamPolicy) ValidateDelete

func (r *ManagerSecretIamPolicy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretIamPolicy) ValidateUpdate

func (r *ManagerSecretIamPolicy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagerSecretIamPolicyList

type ManagerSecretIamPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagerSecretIamPolicy CRD objects
	Items []ManagerSecretIamPolicy `json:"items,omitempty"`
}

ManagerSecretIamPolicyList is a list of ManagerSecretIamPolicys

func (*ManagerSecretIamPolicyList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamPolicyList.

func (*ManagerSecretIamPolicyList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretIamPolicyList) DeepCopyObject

func (in *ManagerSecretIamPolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagerSecretIamPolicySpec

type ManagerSecretIamPolicySpec struct {
	State *ManagerSecretIamPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerSecretIamPolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ManagerSecretIamPolicySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamPolicySpec.

func (*ManagerSecretIamPolicySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamPolicySpecResource

type ManagerSecretIamPolicySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Etag       *string `json:"etag,omitempty" tf:"etag"`
	PolicyData *string `json:"policyData" tf:"policy_data"`
	// +optional
	Project  *string `json:"project,omitempty" tf:"project"`
	SecretID *string `json:"secretID" tf:"secret_id"`
}

func (*ManagerSecretIamPolicySpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamPolicySpecResource.

func (*ManagerSecretIamPolicySpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretIamPolicyStatus

type ManagerSecretIamPolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagerSecretIamPolicyStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretIamPolicyStatus.

func (*ManagerSecretIamPolicyStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretList

type ManagerSecretList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagerSecret CRD objects
	Items []ManagerSecret `json:"items,omitempty"`
}

ManagerSecretList is a list of ManagerSecrets

func (*ManagerSecretList) DeepCopy

func (in *ManagerSecretList) DeepCopy() *ManagerSecretList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretList.

func (*ManagerSecretList) DeepCopyInto

func (in *ManagerSecretList) DeepCopyInto(out *ManagerSecretList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretList) DeepCopyObject

func (in *ManagerSecretList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagerSecretSpec

type ManagerSecretSpec struct {
	State *ManagerSecretSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerSecretSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ManagerSecretSpec) DeepCopy

func (in *ManagerSecretSpec) DeepCopy() *ManagerSecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpec.

func (*ManagerSecretSpec) DeepCopyInto

func (in *ManagerSecretSpec) DeepCopyInto(out *ManagerSecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecReplication

type ManagerSecretSpecReplication struct {
	// The Secret will automatically be replicated without any restrictions.
	// +optional
	Automatic *bool `json:"automatic,omitempty" tf:"automatic"`
	// The Secret will automatically be replicated without any restrictions.
	// +optional
	UserManaged *ManagerSecretSpecReplicationUserManaged `json:"userManaged,omitempty" tf:"user_managed"`
}

func (*ManagerSecretSpecReplication) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecReplication.

func (*ManagerSecretSpecReplication) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecReplicationCodec

type ManagerSecretSpecReplicationCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretSpecReplicationCodec) Decode

func (ManagerSecretSpecReplicationCodec) Encode

func (ManagerSecretSpecReplicationCodec) IsEmpty

type ManagerSecretSpecReplicationUserManaged

type ManagerSecretSpecReplicationUserManaged struct {
	// The list of Replicas for this Secret. Cannot be empty.
	// +kubebuilder:validation:MinItems=1
	Replicas []ManagerSecretSpecReplicationUserManagedReplicas `json:"replicas" tf:"replicas"`
}

func (*ManagerSecretSpecReplicationUserManaged) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecReplicationUserManaged.

func (*ManagerSecretSpecReplicationUserManaged) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecReplicationUserManagedCodec

type ManagerSecretSpecReplicationUserManagedCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretSpecReplicationUserManagedCodec) Decode

func (ManagerSecretSpecReplicationUserManagedCodec) Encode

func (ManagerSecretSpecReplicationUserManagedCodec) IsEmpty

type ManagerSecretSpecReplicationUserManagedReplicas

type ManagerSecretSpecReplicationUserManagedReplicas struct {
	// Customer Managed Encryption for the secret.
	// +optional
	CustomerManagedEncryption *ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption `json:"customerManagedEncryption,omitempty" tf:"customer_managed_encryption"`
	// The canonical IDs of the location to replicate data. For example: "us-east1".
	Location *string `json:"location" tf:"location"`
}

func (*ManagerSecretSpecReplicationUserManagedReplicas) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecReplicationUserManagedReplicas.

func (*ManagerSecretSpecReplicationUserManagedReplicas) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption

type ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination secret.
	KmsKeyName *string `json:"kmsKeyName" tf:"kms_key_name"`
}

func (*ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption.

func (*ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryption) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryptionCodec

type ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryptionCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryptionCodec) Decode

func (ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryptionCodec) Encode

func (ManagerSecretSpecReplicationUserManagedReplicasCustomerManagedEncryptionCodec) IsEmpty

type ManagerSecretSpecResource

type ManagerSecretSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The time at which the Secret was created.
	// +optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time"`
	// Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// +optional
	ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time"`
	// The labels assigned to this Secret.
	//
	// Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
	//
	// Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
	// and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
	//
	// No more than 64 labels can be assigned to a given resource.
	//
	// An object containing a list of "key": value pairs. Example:
	// { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// The resource name of the Secret. Format:
	// 'projects/{{project}}/secrets/{{secret_id}}'
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// The replication policy of the secret data attached to the Secret. It cannot be changed
	// after the Secret has been created.
	Replication *ManagerSecretSpecReplication `json:"replication" tf:"replication"`
	// The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. 'topics' must be set to configure rotation.
	// +optional
	Rotation *ManagerSecretSpecRotation `json:"rotation,omitempty" tf:"rotation"`
	// This must be unique within the project.
	SecretID *string `json:"secretID" tf:"secret_id"`
	// A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
	// +optional
	Topics []ManagerSecretSpecTopics `json:"topics,omitempty" tf:"topics"`
	// The TTL for the Secret.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	// +optional
	Ttl *string `json:"ttl,omitempty" tf:"ttl"`
}

func (*ManagerSecretSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecResource.

func (*ManagerSecretSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecRotation

type ManagerSecretSpecRotation struct {
	// Timestamp in UTC at which the Secret is scheduled to rotate.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	// +optional
	NextRotationTime *string `json:"nextRotationTime,omitempty" tf:"next_rotation_time"`
	// The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
	// If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications.
	// +optional
	RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period"`
}

func (*ManagerSecretSpecRotation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecRotation.

func (*ManagerSecretSpecRotation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretSpecRotationCodec

type ManagerSecretSpecRotationCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagerSecretSpecRotationCodec) Decode

func (ManagerSecretSpecRotationCodec) Encode

func (ManagerSecretSpecRotationCodec) IsEmpty

type ManagerSecretSpecTopics

type ManagerSecretSpecTopics struct {
	// The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*.
	// For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
	Name *string `json:"name" tf:"name"`
}

func (*ManagerSecretSpecTopics) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretSpecTopics.

func (*ManagerSecretSpecTopics) DeepCopyInto

func (in *ManagerSecretSpecTopics) DeepCopyInto(out *ManagerSecretSpecTopics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretStatus

type ManagerSecretStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagerSecretStatus) DeepCopy

func (in *ManagerSecretStatus) DeepCopy() *ManagerSecretStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretStatus.

func (*ManagerSecretStatus) DeepCopyInto

func (in *ManagerSecretStatus) DeepCopyInto(out *ManagerSecretStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretVersion

type ManagerSecretVersion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerSecretVersionSpec   `json:"spec,omitempty"`
	Status            ManagerSecretVersionStatus `json:"status,omitempty"`
}

func (*ManagerSecretVersion) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretVersion.

func (*ManagerSecretVersion) DeepCopyInto

func (in *ManagerSecretVersion) DeepCopyInto(out *ManagerSecretVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretVersion) DeepCopyObject

func (in *ManagerSecretVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagerSecretVersion) SetupWebhookWithManager

func (r *ManagerSecretVersion) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagerSecretVersion) ValidateCreate

func (r *ManagerSecretVersion) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretVersion) ValidateDelete

func (r *ManagerSecretVersion) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagerSecretVersion) ValidateUpdate

func (r *ManagerSecretVersion) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagerSecretVersionList

type ManagerSecretVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagerSecretVersion CRD objects
	Items []ManagerSecretVersion `json:"items,omitempty"`
}

ManagerSecretVersionList is a list of ManagerSecretVersions

func (*ManagerSecretVersionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretVersionList.

func (*ManagerSecretVersionList) DeepCopyInto

func (in *ManagerSecretVersionList) DeepCopyInto(out *ManagerSecretVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagerSecretVersionList) DeepCopyObject

func (in *ManagerSecretVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagerSecretVersionSpec

type ManagerSecretVersionSpec struct {
	State *ManagerSecretVersionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerSecretVersionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`
}

func (*ManagerSecretVersionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretVersionSpec.

func (*ManagerSecretVersionSpec) DeepCopyInto

func (in *ManagerSecretVersionSpec) DeepCopyInto(out *ManagerSecretVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretVersionSpecResource

type ManagerSecretVersionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The time at which the Secret was created.
	// +optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time"`
	// The time at which the Secret was destroyed. Only present if state is DESTROYED.
	// +optional
	DestroyTime *string `json:"destroyTime,omitempty" tf:"destroy_time"`
	// The current state of the SecretVersion.
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// The resource name of the SecretVersion. Format:
	// 'projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}'
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// Secret Manager secret resource
	Secret *string `json:"secret" tf:"secret"`
	// The secret data. Must be no larger than 64KiB.
	SecretData *string `json:"-" sensitive:"true" tf:"secret_data"`
}

func (*ManagerSecretVersionSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretVersionSpecResource.

func (*ManagerSecretVersionSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagerSecretVersionStatus

type ManagerSecretVersionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagerSecretVersionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSecretVersionStatus.

func (*ManagerSecretVersionStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL