v1beta1

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for secretmanager/v1beta1 API group

Package v1beta1 contains API Schema definitions for the secretmanager v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/secretmanager +k8s:defaulter-gen=TypeMeta +groupName=secretmanager.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "secretmanager.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	SecretManagerSecretGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(SecretManagerSecret{}).Name(),
	}

	SecretManagerSecretVersionGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(SecretManagerSecretVersion{}).Name(),
	}
)

Functions

This section is empty.

Types

type SecretCustomerManagedEncryption added in v1.51.0

type SecretCustomerManagedEncryption struct {
	/* Customer Managed Encryption for the secret. */
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef"`
}

func (*SecretCustomerManagedEncryption) DeepCopy added in v1.51.0

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

func (*SecretCustomerManagedEncryption) DeepCopyInto added in v1.51.0

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

type SecretManagerSecret

type SecretManagerSecret struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SecretManagerSecretSpec   `json:"spec,omitempty"`
	Status SecretManagerSecretStatus `json:"status,omitempty"`
}

SecretManagerSecret is the Schema for the secretmanager API +k8s:openapi-gen=true

func (*SecretManagerSecret) DeepCopy

func (in *SecretManagerSecret) DeepCopy() *SecretManagerSecret

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

func (*SecretManagerSecret) DeepCopyInto

func (in *SecretManagerSecret) DeepCopyInto(out *SecretManagerSecret)

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

func (*SecretManagerSecret) DeepCopyObject

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

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

type SecretManagerSecretList

type SecretManagerSecretList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecretManagerSecret `json:"items"`
}

SecretManagerSecretList contains a list of SecretManagerSecret

func (*SecretManagerSecretList) DeepCopy

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

func (*SecretManagerSecretList) DeepCopyInto

func (in *SecretManagerSecretList) DeepCopyInto(out *SecretManagerSecretList)

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

func (*SecretManagerSecretList) DeepCopyObject

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

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

type SecretManagerSecretSpec

type SecretManagerSecretSpec struct {
	/* 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"`

	/* Immutable. The replication policy of the secret data attached to the Secret. It cannot be changed
	after the Secret has been created. */
	Replication SecretReplication `json:"replication"`

	/* Immutable. Optional. The secretId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* 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 *SecretRotation `json:"rotation,omitempty"`

	/*  */
	// +optional
	Topics []v1alpha1.ResourceRef `json:"topics,omitempty"`

	/* Immutable. 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"`
}

func (*SecretManagerSecretSpec) DeepCopy

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

func (*SecretManagerSecretSpec) DeepCopyInto

func (in *SecretManagerSecretSpec) DeepCopyInto(out *SecretManagerSecretSpec)

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

type SecretManagerSecretStatus

type SecretManagerSecretStatus struct {
	/* Conditions represent the latest available observations of the
	   SecretManagerSecret's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time at which the Secret was created. */
	CreateTime string `json:"createTime,omitempty"`
	/* The resource name of the Secret. Format:
	'projects/{{project}}/secrets/{{secret_id}}' */
	Name string `json:"name,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
}

func (*SecretManagerSecretStatus) DeepCopy

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

func (*SecretManagerSecretStatus) DeepCopyInto

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

type SecretManagerSecretVersion

type SecretManagerSecretVersion struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SecretManagerSecretVersionSpec   `json:"spec,omitempty"`
	Status SecretManagerSecretVersionStatus `json:"status,omitempty"`
}

SecretManagerSecretVersion is the Schema for the secretmanager API +k8s:openapi-gen=true

func (*SecretManagerSecretVersion) DeepCopy

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

func (*SecretManagerSecretVersion) DeepCopyInto

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

func (*SecretManagerSecretVersion) DeepCopyObject

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

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

type SecretManagerSecretVersionList

type SecretManagerSecretVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SecretManagerSecretVersion `json:"items"`
}

SecretManagerSecretVersionList contains a list of SecretManagerSecretVersion

func (*SecretManagerSecretVersionList) DeepCopy

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

func (*SecretManagerSecretVersionList) DeepCopyInto

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

func (*SecretManagerSecretVersionList) DeepCopyObject

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

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

type SecretManagerSecretVersionSpec

type SecretManagerSecretVersionSpec struct {
	/* The current state of the SecretVersion. */
	// +optional
	Enabled *bool `json:"enabled,omitempty"`

	/* Immutable. The secret data. Must be no larger than 64KiB. */
	SecretData SecretversionSecretData `json:"secretData"`

	/* Secret Manager secret resource */
	SecretRef v1alpha1.ResourceRef `json:"secretRef"`
}

func (*SecretManagerSecretVersionSpec) DeepCopy

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

func (*SecretManagerSecretVersionSpec) DeepCopyInto

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

type SecretManagerSecretVersionStatus

type SecretManagerSecretVersionStatus struct {
	/* Conditions represent the latest available observations of the
	   SecretManagerSecretVersion's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time at which the Secret was created. */
	CreateTime string `json:"createTime,omitempty"`
	/* The time at which the Secret was destroyed. Only present if state is DESTROYED. */
	DestroyTime string `json:"destroyTime,omitempty"`
	/* The resource name of the SecretVersion. Format:
	'projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}' */
	Name string `json:"name,omitempty"`
	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
}

func (*SecretManagerSecretVersionStatus) DeepCopy

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

func (*SecretManagerSecretVersionStatus) DeepCopyInto

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

type SecretReplicas added in v1.45.0

type SecretReplicas struct {
	/* Customer Managed Encryption for the secret. */
	// +optional
	CustomerManagedEncryption *SecretCustomerManagedEncryption `json:"customerManagedEncryption,omitempty"`

	/* The canonical IDs of the location to replicate data. For example: "us-east1". */
	Location string `json:"location"`
}

func (*SecretReplicas) DeepCopy added in v1.45.0

func (in *SecretReplicas) DeepCopy() *SecretReplicas

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

func (*SecretReplicas) DeepCopyInto added in v1.45.0

func (in *SecretReplicas) DeepCopyInto(out *SecretReplicas)

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

type SecretReplication added in v1.45.0

type SecretReplication struct {
	/* The Secret will automatically be replicated without any restrictions. */
	// +optional
	Automatic *bool `json:"automatic,omitempty"`

	/* The Secret will automatically be replicated without any restrictions. */
	// +optional
	UserManaged *SecretUserManaged `json:"userManaged,omitempty"`
}

func (*SecretReplication) DeepCopy added in v1.45.0

func (in *SecretReplication) DeepCopy() *SecretReplication

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

func (*SecretReplication) DeepCopyInto added in v1.45.0

func (in *SecretReplication) DeepCopyInto(out *SecretReplication)

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

type SecretRotation added in v1.56.0

type SecretRotation 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"`

	/* Immutable. 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"`
}

func (*SecretRotation) DeepCopy added in v1.56.0

func (in *SecretRotation) DeepCopy() *SecretRotation

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

func (*SecretRotation) DeepCopyInto added in v1.56.0

func (in *SecretRotation) DeepCopyInto(out *SecretRotation)

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

type SecretUserManaged added in v1.45.0

type SecretUserManaged struct {
	/* The list of Replicas for this Secret. Cannot be empty. */
	Replicas []SecretReplicas `json:"replicas"`
}

func (*SecretUserManaged) DeepCopy added in v1.45.0

func (in *SecretUserManaged) DeepCopy() *SecretUserManaged

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

func (*SecretUserManaged) DeepCopyInto added in v1.45.0

func (in *SecretUserManaged) DeepCopyInto(out *SecretUserManaged)

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

type SecretversionSecretData added in v1.45.0

type SecretversionSecretData struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	// +optional
	Value *string `json:"value,omitempty"`

	/* Source for the field's value. Cannot be used if 'value' is specified. */
	// +optional
	ValueFrom *SecretversionValueFrom `json:"valueFrom,omitempty"`
}

func (*SecretversionSecretData) DeepCopy added in v1.45.0

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

func (*SecretversionSecretData) DeepCopyInto added in v1.45.0

func (in *SecretversionSecretData) DeepCopyInto(out *SecretversionSecretData)

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

type SecretversionValueFrom added in v1.45.0

type SecretversionValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	// +optional
	SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*SecretversionValueFrom) DeepCopy added in v1.45.0

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

func (*SecretversionValueFrom) DeepCopyInto added in v1.45.0

func (in *SecretversionValueFrom) DeepCopyInto(out *SecretversionValueFrom)

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