v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=encryption.mongodbatlas.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: encryption.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AtRest

type AtRest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AtRestSpec   `json:"spec,omitempty"`
	Status            AtRestStatus `json:"status,omitempty"`
}

func (*AtRest) DeepCopy

func (in *AtRest) DeepCopy() *AtRest

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

func (*AtRest) DeepCopyInto

func (in *AtRest) DeepCopyInto(out *AtRest)

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

func (*AtRest) DeepCopyObject

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

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

func (*AtRest) SetupWebhookWithManager

func (r *AtRest) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AtRest) ValidateCreate

func (r *AtRest) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AtRest) ValidateDelete

func (r *AtRest) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AtRest) ValidateUpdate

func (r *AtRest) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AtRestList

type AtRestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AtRest CRD objects
	Items []AtRest `json:"items,omitempty"`
}

AtRestList is a list of AtRests

func (*AtRestList) DeepCopy

func (in *AtRestList) DeepCopy() *AtRestList

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

func (*AtRestList) DeepCopyInto

func (in *AtRestList) DeepCopyInto(out *AtRestList)

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

func (*AtRestList) DeepCopyObject

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

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

type AtRestSpec

type AtRestSpec struct {
	State *AtRestSpecResource `json:"state,omitempty" tf:"-"`

	Resource AtRestSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AtRestSpec) DeepCopy

func (in *AtRestSpec) DeepCopy() *AtRestSpec

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

func (*AtRestSpec) DeepCopyInto

func (in *AtRestSpec) DeepCopyInto(out *AtRestSpec)

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

type AtRestSpecAwsKmsConfig added in v0.5.0

type AtRestSpecAwsKmsConfig struct {
	// +optional
	AccessKeyID *string `json:"-" sensitive:"true" tf:"access_key_id"`
	// +optional
	CustomerMasterKeyID *string `json:"-" sensitive:"true" tf:"customer_master_key_id"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// +optional
	RoleID *string `json:"roleID,omitempty" tf:"role_id"`
	// +optional
	SecretAccessKey *string `json:"-" sensitive:"true" tf:"secret_access_key"`
}

func (*AtRestSpecAwsKmsConfig) DeepCopy added in v0.5.0

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

func (*AtRestSpecAwsKmsConfig) DeepCopyInto added in v0.5.0

func (in *AtRestSpecAwsKmsConfig) DeepCopyInto(out *AtRestSpecAwsKmsConfig)

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

type AtRestSpecAwsKmsConfigCodec added in v0.5.0

type AtRestSpecAwsKmsConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (AtRestSpecAwsKmsConfigCodec) Decode added in v0.5.0

func (AtRestSpecAwsKmsConfigCodec) Encode added in v0.5.0

func (AtRestSpecAwsKmsConfigCodec) IsEmpty added in v0.5.0

type AtRestSpecAzureKeyVaultConfig added in v0.5.0

type AtRestSpecAzureKeyVaultConfig struct {
	// +optional
	AzureEnvironment *string `json:"azureEnvironment,omitempty" tf:"azure_environment"`
	// +optional
	ClientID *string `json:"-" sensitive:"true" tf:"client_id"`
	Enabled  *bool   `json:"enabled" tf:"enabled"`
	// +optional
	KeyIdentifier *string `json:"-" sensitive:"true" tf:"key_identifier"`
	// +optional
	KeyVaultName *string `json:"keyVaultName,omitempty" tf:"key_vault_name"`
	// +optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"`
	// +optional
	Secret *string `json:"-" sensitive:"true" tf:"secret"`
	// +optional
	SubscriptionID *string `json:"-" sensitive:"true" tf:"subscription_id"`
	// +optional
	TenantID *string `json:"-" sensitive:"true" tf:"tenant_id"`
}

func (*AtRestSpecAzureKeyVaultConfig) DeepCopy added in v0.5.0

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

func (*AtRestSpecAzureKeyVaultConfig) DeepCopyInto added in v0.5.0

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

type AtRestSpecAzureKeyVaultConfigCodec added in v0.5.0

type AtRestSpecAzureKeyVaultConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (AtRestSpecAzureKeyVaultConfigCodec) Decode added in v0.5.0

func (AtRestSpecAzureKeyVaultConfigCodec) Encode added in v0.5.0

func (AtRestSpecAzureKeyVaultConfigCodec) IsEmpty added in v0.5.0

type AtRestSpecGoogleCloudKmsConfig added in v0.5.0

type AtRestSpecGoogleCloudKmsConfig struct {
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	KeyVersionResourceID *string `json:"-" sensitive:"true" tf:"key_version_resource_id"`
	// +optional
	ServiceAccountKey *string `json:"-" sensitive:"true" tf:"service_account_key"`
}

func (*AtRestSpecGoogleCloudKmsConfig) DeepCopy added in v0.5.0

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

func (*AtRestSpecGoogleCloudKmsConfig) DeepCopyInto added in v0.5.0

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

type AtRestSpecGoogleCloudKmsConfigCodec added in v0.5.0

type AtRestSpecGoogleCloudKmsConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (AtRestSpecGoogleCloudKmsConfigCodec) Decode added in v0.5.0

func (AtRestSpecGoogleCloudKmsConfigCodec) Encode added in v0.5.0

func (AtRestSpecGoogleCloudKmsConfigCodec) IsEmpty added in v0.5.0

type AtRestSpecResource

type AtRestSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AwsKms *map[string]string `json:"-" sensitive:"true" tf:"aws_kms"`
	// +optional
	AwsKmsConfig *AtRestSpecAwsKmsConfig `json:"-" sensitive:"true" tf:"aws_kms_config"`
	// +optional
	AzureKeyVault *map[string]string `json:"-" sensitive:"true" tf:"azure_key_vault"`
	// +optional
	AzureKeyVaultConfig *AtRestSpecAzureKeyVaultConfig `json:"-" sensitive:"true" tf:"azure_key_vault_config"`
	// +optional
	GoogleCloudKms *map[string]string `json:"-" sensitive:"true" tf:"google_cloud_kms"`
	// +optional
	GoogleCloudKmsConfig *AtRestSpecGoogleCloudKmsConfig `json:"-" sensitive:"true" tf:"google_cloud_kms_config"`
	ProjectID            *string                         `json:"projectID" tf:"project_id"`
}

func (*AtRestSpecResource) DeepCopy

func (in *AtRestSpecResource) DeepCopy() *AtRestSpecResource

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

func (*AtRestSpecResource) DeepCopyInto

func (in *AtRestSpecResource) DeepCopyInto(out *AtRestSpecResource)

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

type AtRestStatus

type AtRestStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AtRestStatus) DeepCopy

func (in *AtRestStatus) DeepCopy() *AtRestStatus

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

func (*AtRestStatus) DeepCopyInto

func (in *AtRestStatus) DeepCopyInto(out *AtRestStatus)

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