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
- Variables
- type SymmetricKey
- func (in *SymmetricKey) DeepCopy() *SymmetricKey
- func (in *SymmetricKey) DeepCopyInto(out *SymmetricKey)
- func (in *SymmetricKey) DeepCopyObject() runtime.Object
- func (mg *SymmetricKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SymmetricKey) GetConnectionDetailsMapping() map[string]string
- func (mg *SymmetricKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SymmetricKey) GetID() string
- func (tr *SymmetricKey) GetInitParameters() (map[string]any, error)
- func (mg *SymmetricKey) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SymmetricKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SymmetricKey) GetObservation() (map[string]any, error)
- func (tr *SymmetricKey) GetParameters() (map[string]any, error)
- func (mg *SymmetricKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *SymmetricKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SymmetricKey) GetTerraformResourceType() string
- func (tr *SymmetricKey) GetTerraformSchemaVersion() int
- func (mg *SymmetricKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SymmetricKey) Hub()
- func (tr *SymmetricKey) LateInitialize(attrs []byte) (bool, error)
- func (mg *SymmetricKey) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SymmetricKey) SetConditions(c ...xpv1.Condition)
- func (mg *SymmetricKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SymmetricKey) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SymmetricKey) SetObservation(obs map[string]any) error
- func (tr *SymmetricKey) SetParameters(params map[string]any) error
- func (mg *SymmetricKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SymmetricKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SymmetricKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SymmetricKeyInitParameters
- type SymmetricKeyList
- type SymmetricKeyObservation
- type SymmetricKeyParameters
- type SymmetricKeySpec
- type SymmetricKeyStatus
Constants ¶
const ( CRDGroup = "kms.yandex-cloud.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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. Creates a Yandex KMS symmetric key that can be used for cryptographic operation. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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: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) GetInitParameters ¶
func (tr *SymmetricKey) GetInitParameters() (map[string]any, error)
GetInitParameters of this SymmetricKey
func (*SymmetricKey) GetManagementPolicies ¶
func (mg *SymmetricKey) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SymmetricKey.
func (*SymmetricKey) GetMergedParameters ¶
func (tr *SymmetricKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SymmetricKey
func (*SymmetricKey) GetObservation ¶
func (tr *SymmetricKey) GetObservation() (map[string]any, error)
GetObservation of this SymmetricKey
func (*SymmetricKey) GetParameters ¶
func (tr *SymmetricKey) GetParameters() (map[string]any, error)
GetParameters of this SymmetricKey
func (*SymmetricKey) GetProviderConfigReference ¶
func (mg *SymmetricKey) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SymmetricKey.
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 ¶
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) SetManagementPolicies ¶
func (mg *SymmetricKey) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SymmetricKey.
func (*SymmetricKey) SetObservation ¶
func (tr *SymmetricKey) SetObservation(obs map[string]any) error
SetObservation for this SymmetricKey
func (*SymmetricKey) SetParameters ¶
func (tr *SymmetricKey) SetParameters(params map[string]any) error
SetParameters for this SymmetricKey
func (*SymmetricKey) SetProviderConfigReference ¶
func (mg *SymmetricKey) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SymmetricKey.
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 SymmetricKeyInitParameters ¶
type SymmetricKeyInitParameters struct { // Encryption algorithm to be used with a new key version, // generated with the next rotation. The default value is AES_128. DefaultAlgorithm *string `json:"defaultAlgorithm,omitempty" tf:"default_algorithm,omitempty"` DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // An optional description of the key. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The ID of the folder that the resource belongs to. If it // is not provided, the default provider folder is used. // +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"` // Selector for a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"` // A set of key/value label pairs to assign to the key. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the key. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Interval between automatic rotations. To disable automatic rotation, omit this parameter. RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` }
func (*SymmetricKeyInitParameters) DeepCopy ¶
func (in *SymmetricKeyInitParameters) DeepCopy() *SymmetricKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SymmetricKeyInitParameters.
func (*SymmetricKeyInitParameters) DeepCopyInto ¶
func (in *SymmetricKeyInitParameters) DeepCopyInto(out *SymmetricKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // Encryption algorithm to be used with a new key version, // generated with the next rotation. The default value is AES_128. DefaultAlgorithm *string `json:"defaultAlgorithm,omitempty" tf:"default_algorithm,omitempty"` DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // An optional description of the key. Description *string `json:"description,omitempty" tf:"description,omitempty"` // The ID of the folder that the resource belongs to. If it // is not provided, the default provider folder is used. FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A set of key/value label pairs to assign to the key. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the key. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Last rotation timestamp of the key. RotatedAt *string `json:"rotatedAt,omitempty" tf:"rotated_at,omitempty"` // Interval between automatic rotations. To disable automatic rotation, omit this parameter. RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` // The status of the key. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SymmetricKeyObservation) DeepCopy ¶
func (in *SymmetricKeyObservation) DeepCopy() *SymmetricKeyObservation
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 { // Encryption algorithm to be used with a new key version, // generated with the next rotation. The default value is AES_128. // +kubebuilder:validation:Optional DefaultAlgorithm *string `json:"defaultAlgorithm,omitempty" tf:"default_algorithm,omitempty"` // +kubebuilder:validation:Optional DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"` // An optional description of the key. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The ID of the folder that the resource belongs to. If it // is not provided, the default provider folder is used. // +crossplane:generate:reference:type=github.com/yandex-cloud/crossplane-provider-yc/apis/resourcemanager/v1alpha1.Folder // +kubebuilder:validation:Optional FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"` // Selector for a Folder in resourcemanager to populate folderId. // +kubebuilder:validation:Optional FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"` // A set of key/value label pairs to assign to the key. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Name of the key. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Interval between automatic rotations. To disable automatic rotation, omit this parameter. // +kubebuilder:validation:Optional RotationPeriod *string `json:"rotationPeriod,omitempty" tf:"rotation_period,omitempty"` }
func (*SymmetricKeyParameters) DeepCopy ¶
func (in *SymmetricKeyParameters) DeepCopy() *SymmetricKeyParameters
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SymmetricKeyInitParameters `json:"initProvider,omitempty"` }
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.