v1beta1

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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 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.ObjectMeta `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,omitempty"`
	/* 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"] */
	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. */
	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). */
	RotationPeriod string `json:"rotationPeriod,omitempty"`
	/* Immutable. If set to true, the request will create a CryptoKey without any CryptoKeyVersions. */
	SkipInitialVersionCreation bool `json:"skipInitialVersionCreation,omitempty"`
	/* A template describing settings for new crypto key versions. */
	VersionTemplate VersionTemplate `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 represents the latest available observations of the
	   KMSCryptoKey's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/*  */
	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.ObjectMeta `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,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. */
	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 represents the latest available observations of the
	   KMSKeyRing's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/*  */
	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.

type VersionTemplate

type VersionTemplate 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,omitempty"`
	/* Immutable. The protection level to use when creating a version based on this template. Default value: "SOFTWARE" Possible values: ["SOFTWARE", "HSM"] */
	ProtectionLevel string `json:"protectionLevel,omitempty"`
}

func (*VersionTemplate) DeepCopy

func (in *VersionTemplate) DeepCopy() *VersionTemplate

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

func (*VersionTemplate) DeepCopyInto

func (in *VersionTemplate) DeepCopyInto(out *VersionTemplate)

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