v1beta1

package
v1.49.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 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 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 {
	/* 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"`
}

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 {
	/* 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 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