v1beta1

package
v1.49.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for kms/v1beta1 API group

Package v1beta1 contains API Schema definitions for the kms v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/kms +k8s:defaulter-gen=TypeMeta +groupName=kms.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: "kms.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

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

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

Functions

This section is empty.

Types

type CryptokeyVersionTemplate added in v1.45.0

type CryptokeyVersionTemplate struct {
	/* The algorithm to use when creating a version based on this template.
	See the [algorithm reference](https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm) for possible inputs. */
	Algorithm string `json:"algorithm"`

	/* Immutable. The protection level to use when creating a version based on this template. Default value: "SOFTWARE" Possible values: ["SOFTWARE", "HSM"] */
	// +optional
	ProtectionLevel *string `json:"protectionLevel,omitempty"`
}

func (*CryptokeyVersionTemplate) DeepCopy added in v1.45.0

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

func (*CryptokeyVersionTemplate) DeepCopyInto added in v1.45.0

func (in *CryptokeyVersionTemplate) DeepCopyInto(out *CryptokeyVersionTemplate)

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

type KMSCryptoKey

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

	Spec   KMSCryptoKeySpec   `json:"spec,omitempty"`
	Status KMSCryptoKeyStatus `json:"status,omitempty"`
}

KMSCryptoKey is the Schema for the kms API +k8s:openapi-gen=true

func (*KMSCryptoKey) DeepCopy

func (in *KMSCryptoKey) DeepCopy() *KMSCryptoKey

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

func (*KMSCryptoKey) DeepCopyInto

func (in *KMSCryptoKey) DeepCopyInto(out *KMSCryptoKey)

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

func (*KMSCryptoKey) DeepCopyObject

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

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

type KMSCryptoKeyList

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

KMSCryptoKeyList contains a list of KMSCryptoKey

func (*KMSCryptoKeyList) DeepCopy

func (in *KMSCryptoKeyList) DeepCopy() *KMSCryptoKeyList

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

func (*KMSCryptoKeyList) DeepCopyInto

func (in *KMSCryptoKeyList) DeepCopyInto(out *KMSCryptoKeyList)

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

func (*KMSCryptoKeyList) DeepCopyObject

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

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

type KMSCryptoKeySpec

type KMSCryptoKeySpec struct {
	/* The KMSKeyRing that this key belongs to. */
	KeyRingRef v1alpha1.ResourceRef `json:"keyRingRef"`

	/* Immutable. The immutable purpose of this CryptoKey. See the
	[purpose reference](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKeyPurpose)
	for possible inputs. Default value: "ENCRYPT_DECRYPT" Possible values: ["ENCRYPT_DECRYPT", "ASYMMETRIC_SIGN", "ASYMMETRIC_DECRYPT"] */
	// +optional
	Purpose *string `json:"purpose,omitempty"`

	/* Immutable. Optional. The name 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"`

	/* Every time this period passes, generate a new CryptoKeyVersion and set it as the primary.
	The first rotation will take place after the specified period. The rotation period has
	the format of a decimal number with up to 9 fractional digits, followed by the
	letter 's' (seconds). It must be greater than a day (ie, 86400). */
	// +optional
	RotationPeriod *string `json:"rotationPeriod,omitempty"`

	/* Immutable. If set to true, the request will create a CryptoKey without any CryptoKeyVersions. */
	// +optional
	SkipInitialVersionCreation *bool `json:"skipInitialVersionCreation,omitempty"`

	/* A template describing settings for new crypto key versions. */
	// +optional
	VersionTemplate *CryptokeyVersionTemplate `json:"versionTemplate,omitempty"`
}

func (*KMSCryptoKeySpec) DeepCopy

func (in *KMSCryptoKeySpec) DeepCopy() *KMSCryptoKeySpec

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

func (*KMSCryptoKeySpec) DeepCopyInto

func (in *KMSCryptoKeySpec) DeepCopyInto(out *KMSCryptoKeySpec)

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

type KMSCryptoKeyStatus

type KMSCryptoKeyStatus struct {
	/* Conditions represent the latest available observations of the
	   KMSCryptoKey's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
	/* DEPRECATED — Deprecated in favor of id, which contains an identical value. This field will be removed in the next major release of the provider. The self link of the created KeyRing in the format projects/{project}/locations/{location}/keyRings/{name}. */
	SelfLink string `json:"selfLink,omitempty"`
}

func (*KMSCryptoKeyStatus) DeepCopy

func (in *KMSCryptoKeyStatus) DeepCopy() *KMSCryptoKeyStatus

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

func (*KMSCryptoKeyStatus) DeepCopyInto

func (in *KMSCryptoKeyStatus) DeepCopyInto(out *KMSCryptoKeyStatus)

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

type KMSKeyRing

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

	Spec   KMSKeyRingSpec   `json:"spec,omitempty"`
	Status KMSKeyRingStatus `json:"status,omitempty"`
}

KMSKeyRing is the Schema for the kms API +k8s:openapi-gen=true

func (*KMSKeyRing) DeepCopy

func (in *KMSKeyRing) DeepCopy() *KMSKeyRing

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

func (*KMSKeyRing) DeepCopyInto

func (in *KMSKeyRing) DeepCopyInto(out *KMSKeyRing)

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

func (*KMSKeyRing) DeepCopyObject

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

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

type KMSKeyRingList

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

KMSKeyRingList contains a list of KMSKeyRing

func (*KMSKeyRingList) DeepCopy

func (in *KMSKeyRingList) DeepCopy() *KMSKeyRingList

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

func (*KMSKeyRingList) DeepCopyInto

func (in *KMSKeyRingList) DeepCopyInto(out *KMSKeyRingList)

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

func (*KMSKeyRingList) DeepCopyObject

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

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

type KMSKeyRingSpec

type KMSKeyRingSpec struct {
	/* Immutable. The location for the KeyRing.
	A full list of valid locations can be found by running 'gcloud kms locations list'. */
	Location string `json:"location"`

	/* Immutable. Optional. The name 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 (*KMSKeyRingSpec) DeepCopy

func (in *KMSKeyRingSpec) DeepCopy() *KMSKeyRingSpec

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

func (*KMSKeyRingSpec) DeepCopyInto

func (in *KMSKeyRingSpec) DeepCopyInto(out *KMSKeyRingSpec)

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

type KMSKeyRingStatus

type KMSKeyRingStatus struct {
	/* Conditions represent the latest available observations of the
	   KMSKeyRing's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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"`
	/* DEPRECATED — Deprecated in favor of id, which contains an identical value. This field will be removed in the next major release of the provider. The self link of the created KeyRing in the format projects/{project}/locations/{location}/keyRings/{name}. */
	SelfLink string `json:"selfLink,omitempty"`
}

func (*KMSKeyRingStatus) DeepCopy

func (in *KMSKeyRingStatus) DeepCopy() *KMSKeyRingStatus

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

func (*KMSKeyRingStatus) DeepCopyInto

func (in *KMSKeyRingStatus) DeepCopyInto(out *KMSKeyRingStatus)

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