v1alpha1

package
v0.0.0-...-1cb00b6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the kms resources of the yandex-cloud jet provider. +kubebuilder:object:generate=true +groupName=kms.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

+kubebuilder:object:generate=true +groupName=kms.yandex-cloud.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "kms.yandex-cloud.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	SymmetricKey_Kind             = "SymmetricKey"
	SymmetricKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SymmetricKey_Kind}.String()
	SymmetricKey_KindAPIVersion   = SymmetricKey_Kind + "." + CRDGroupVersion.String()
	SymmetricKey_GroupVersionKind = CRDGroupVersion.WithKind(SymmetricKey_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type SymmetricKey

type SymmetricKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SymmetricKeySpec   `json:"spec"`
	Status            SymmetricKeyStatus `json:"status,omitempty"`
}

SymmetricKey is the Schema for the SymmetricKeys API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*SymmetricKey) DeepCopy

func (in *SymmetricKey) DeepCopy() *SymmetricKey

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

func (*SymmetricKey) DeepCopyInto

func (in *SymmetricKey) DeepCopyInto(out *SymmetricKey)

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

func (*SymmetricKey) DeepCopyObject

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

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

func (*SymmetricKey) GetCondition

func (mg *SymmetricKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SymmetricKey.

func (*SymmetricKey) GetConnectionDetailsMapping

func (tr *SymmetricKey) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SymmetricKey

func (*SymmetricKey) GetDeletionPolicy

func (mg *SymmetricKey) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SymmetricKey.

func (*SymmetricKey) GetID

func (tr *SymmetricKey) GetID() string

GetID returns ID of underlying Terraform resource of this SymmetricKey

func (*SymmetricKey) GetObservation

func (tr *SymmetricKey) GetObservation() (map[string]interface{}, error)

GetObservation of this SymmetricKey

func (*SymmetricKey) GetParameters

func (tr *SymmetricKey) GetParameters() (map[string]interface{}, error)

GetParameters of this SymmetricKey

func (*SymmetricKey) GetProviderConfigReference

func (mg *SymmetricKey) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SymmetricKey.

func (*SymmetricKey) GetProviderReference

func (mg *SymmetricKey) GetProviderReference() *xpv1.Reference

GetProviderReference of this SymmetricKey. Deprecated: Use GetProviderConfigReference.

func (*SymmetricKey) GetPublishConnectionDetailsTo

func (mg *SymmetricKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SymmetricKey.

func (*SymmetricKey) GetTerraformResourceType

func (mg *SymmetricKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SymmetricKey

func (*SymmetricKey) GetTerraformSchemaVersion

func (tr *SymmetricKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SymmetricKey) GetWriteConnectionSecretToReference

func (mg *SymmetricKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SymmetricKey.

func (*SymmetricKey) LateInitialize

func (tr *SymmetricKey) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SymmetricKey using its observed tfState. returns True if there are any spec changes for the resource.

func (*SymmetricKey) ResolveReferences

func (mg *SymmetricKey) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SymmetricKey.

func (*SymmetricKey) SetConditions

func (mg *SymmetricKey) SetConditions(c ...xpv1.Condition)

SetConditions of this SymmetricKey.

func (*SymmetricKey) SetDeletionPolicy

func (mg *SymmetricKey) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SymmetricKey.

func (*SymmetricKey) SetObservation

func (tr *SymmetricKey) SetObservation(obs map[string]interface{}) error

SetObservation for this SymmetricKey

func (*SymmetricKey) SetParameters

func (tr *SymmetricKey) SetParameters(params map[string]interface{}) error

SetParameters for this SymmetricKey

func (*SymmetricKey) SetProviderConfigReference

func (mg *SymmetricKey) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SymmetricKey.

func (*SymmetricKey) SetProviderReference

func (mg *SymmetricKey) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SymmetricKey. Deprecated: Use SetProviderConfigReference.

func (*SymmetricKey) SetPublishConnectionDetailsTo

func (mg *SymmetricKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SymmetricKey.

func (*SymmetricKey) SetWriteConnectionSecretToReference

func (mg *SymmetricKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SymmetricKey.

type SymmetricKeyList

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

SymmetricKeyList contains a list of SymmetricKeys

func (*SymmetricKeyList) DeepCopy

func (in *SymmetricKeyList) DeepCopy() *SymmetricKeyList

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

func (*SymmetricKeyList) DeepCopyInto

func (in *SymmetricKeyList) DeepCopyInto(out *SymmetricKeyList)

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

func (*SymmetricKeyList) DeepCopyObject

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

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

func (*SymmetricKeyList) GetItems

func (l *SymmetricKeyList) GetItems() []resource.Managed

GetItems of this SymmetricKeyList.

type SymmetricKeyObservation

type SymmetricKeyObservation struct {
	// Creation timestamp of the key.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Last rotation timestamp of the key.
	RotatedAt *string `json:"rotatedAt,omitempty" tf:"rotated_at,omitempty"`

	// The status of the key.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*SymmetricKeyObservation) DeepCopy

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

func (*SymmetricKeyObservation) DeepCopyInto

func (in *SymmetricKeyObservation) DeepCopyInto(out *SymmetricKeyObservation)

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

type SymmetricKeyParameters

type SymmetricKeyParameters struct {

	// +kubebuilder:validation:Optional
	// (Optional) Encryption algorithm to be used with a new key version,
	DefaultAlgorithm *string `json:"defaultAlgorithm,omitempty" tf:"default_algorithm,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) An optional description of the key.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +crossplane:generate:reference:type=github.com/yandex-cloud/provider-jet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	// (Optional) The ID of the folder that the resource belongs to. If it
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	// (Optional) A set of key/value label pairs to assign to the key.
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Name of the key.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	// (Optional) Interval between automatic rotations. To disable automatic rotation, omit this parameter.
	RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"`
}

func (*SymmetricKeyParameters) DeepCopy

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

func (*SymmetricKeyParameters) DeepCopyInto

func (in *SymmetricKeyParameters) DeepCopyInto(out *SymmetricKeyParameters)

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

type SymmetricKeySpec

type SymmetricKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SymmetricKeyParameters `json:"forProvider"`
}

SymmetricKeySpec defines the desired state of SymmetricKey

func (*SymmetricKeySpec) DeepCopy

func (in *SymmetricKeySpec) DeepCopy() *SymmetricKeySpec

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

func (*SymmetricKeySpec) DeepCopyInto

func (in *SymmetricKeySpec) DeepCopyInto(out *SymmetricKeySpec)

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

type SymmetricKeyStatus

type SymmetricKeyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SymmetricKeyObservation `json:"atProvider,omitempty"`
}

SymmetricKeyStatus defines the observed state of SymmetricKey.

func (*SymmetricKeyStatus) DeepCopy

func (in *SymmetricKeyStatus) DeepCopy() *SymmetricKeyStatus

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

func (*SymmetricKeyStatus) DeepCopyInto

func (in *SymmetricKeyStatus) DeepCopyInto(out *SymmetricKeyStatus)

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