v1beta1

package
v1.127.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

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/clients/generated/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

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

	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 AutokeyconfigKeyProject added in v1.126.0

type AutokeyconfigKeyProject struct {
	/* The `projectID` field of a project, when not managed by Config Connector. */
	// +optional
	External *string `json:"external,omitempty"`

	/* The kind of the Project resource; optional but must be `Project` if provided. */
	// +optional
	Kind *string `json:"kind,omitempty"`

	/* The `name` field of a `Project` resource. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* The `namespace` field of a `Project` resource. */
	// +optional
	Namespace *string `json:"namespace,omitempty"`
}

func (*AutokeyconfigKeyProject) DeepCopy added in v1.126.0

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

func (*AutokeyconfigKeyProject) DeepCopyInto added in v1.126.0

func (in *AutokeyconfigKeyProject) DeepCopyInto(out *AutokeyconfigKeyProject)

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

type AutokeyconfigObservedStateStatus added in v1.126.0

type AutokeyconfigObservedStateStatus struct {
	/* Output only. Current state of this AutokeyConfig. */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*AutokeyconfigObservedStateStatus) DeepCopy added in v1.126.0

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

func (*AutokeyconfigObservedStateStatus) DeepCopyInto added in v1.126.0

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

type CryptokeyVersionTemplate

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. Possible values include "SOFTWARE", "HSM", "EXTERNAL", "EXTERNAL_VPC". Defaults to "SOFTWARE". */
	// +optional
	ProtectionLevel *string `json:"protectionLevel,omitempty"`
}

func (*CryptokeyVersionTemplate) DeepCopy

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

func (*CryptokeyVersionTemplate) DeepCopyInto

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

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

type KMSAutokeyConfig added in v1.126.0

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

	Spec   KMSAutokeyConfigSpec   `json:"spec,omitempty"`
	Status KMSAutokeyConfigStatus `json:"status,omitempty"`
}

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

func (*KMSAutokeyConfig) DeepCopy added in v1.126.0

func (in *KMSAutokeyConfig) DeepCopy() *KMSAutokeyConfig

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

func (*KMSAutokeyConfig) DeepCopyInto added in v1.126.0

func (in *KMSAutokeyConfig) DeepCopyInto(out *KMSAutokeyConfig)

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

func (*KMSAutokeyConfig) DeepCopyObject added in v1.126.0

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

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

type KMSAutokeyConfigList added in v1.126.0

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

KMSAutokeyConfigList contains a list of KMSAutokeyConfig

func (*KMSAutokeyConfigList) DeepCopy added in v1.126.0

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

func (*KMSAutokeyConfigList) DeepCopyInto added in v1.126.0

func (in *KMSAutokeyConfigList) DeepCopyInto(out *KMSAutokeyConfigList)

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

func (*KMSAutokeyConfigList) DeepCopyObject added in v1.126.0

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

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

type KMSAutokeyConfigSpec added in v1.126.0

type KMSAutokeyConfigSpec struct {
	/* Immutable. The folder that this resource belongs to. */
	FolderRef v1alpha1.ResourceRef `json:"folderRef"`

	/* The Project that this resource belongs to. */
	// +optional
	KeyProject *AutokeyconfigKeyProject `json:"keyProject,omitempty"`
}

func (*KMSAutokeyConfigSpec) DeepCopy added in v1.126.0

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

func (*KMSAutokeyConfigSpec) DeepCopyInto added in v1.126.0

func (in *KMSAutokeyConfigSpec) DeepCopyInto(out *KMSAutokeyConfigSpec)

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

type KMSAutokeyConfigStatus added in v1.126.0

type KMSAutokeyConfigStatus struct {
	/* Conditions represent the latest available observations of the
	   KMSAutokeyConfig's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* A unique specifier for the KMSAutokeyConfig resource in GCP. */
	// +optional
	ExternalRef *string `json:"externalRef,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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* ObservedState is the state of the resource as most recently observed in GCP. */
	// +optional
	ObservedState *AutokeyconfigObservedStateStatus `json:"observedState,omitempty"`
}

func (*KMSAutokeyConfigStatus) DeepCopy added in v1.126.0

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

func (*KMSAutokeyConfigStatus) DeepCopyInto added in v1.126.0

func (in *KMSAutokeyConfigStatus) DeepCopyInto(out *KMSAutokeyConfigStatus)

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 {
	/* Immutable. The period of time that versions of this key spend in the DESTROY_SCHEDULED state before transitioning to DESTROYED.
	If not specified at creation time, the default duration is 24 hours. */
	// +optional
	DestroyScheduledDuration *string `json:"destroyScheduledDuration,omitempty"`

	/* Immutable. Whether this key may contain imported versions only. */
	// +optional
	ImportOnly *bool `json:"importOnly,omitempty"`

	/* 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 is "ENCRYPT_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.
	You must use the 'google_kms_key_ring_import_job' resource to import the CryptoKeyVersion. */
	// +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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The self link of the created key in the format projects/{project}/locations/{location}/keyRings/{keyRingName}/cryptoKeys/{name}. */
	// +optional
	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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The self link of the created KeyRing in the format projects/{project}/locations/{location}/keyRings/{name}. */
	// +optional
	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