Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=ssm.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Secret
- func (in *Secret) DeepCopy() *Secret
- func (in *Secret) DeepCopyInto(out *Secret)
- func (in *Secret) DeepCopyObject() runtime.Object
- func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Secret) GetConnectionDetailsMapping() map[string]string
- func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Secret) GetID() string
- func (tr *Secret) GetInitParameters() (map[string]any, error)
- func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Secret) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Secret) GetObservation() (map[string]any, error)
- func (tr *Secret) GetParameters() (map[string]any, error)
- func (mg *Secret) GetProviderConfigReference() *xpv1.Reference
- func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Secret) GetTerraformResourceType() string
- func (tr *Secret) GetTerraformSchemaVersion() int
- func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Secret) Hub()
- func (tr *Secret) LateInitialize(attrs []byte) (bool, error)
- func (mg *Secret) SetConditions(c ...xpv1.Condition)
- func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Secret) SetObservation(obs map[string]any) error
- func (tr *Secret) SetParameters(params map[string]any) error
- func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretInitParameters
- type SecretList
- type SecretObservation
- type SecretParameters
- type SecretSpec
- type SecretStatus
- type SecretVersion
- func (in *SecretVersion) DeepCopy() *SecretVersion
- func (in *SecretVersion) DeepCopyInto(out *SecretVersion)
- func (in *SecretVersion) DeepCopyObject() runtime.Object
- func (mg *SecretVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecretVersion) GetConnectionDetailsMapping() map[string]string
- func (mg *SecretVersion) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecretVersion) GetID() string
- func (tr *SecretVersion) GetInitParameters() (map[string]any, error)
- func (mg *SecretVersion) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SecretVersion) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SecretVersion) GetObservation() (map[string]any, error)
- func (tr *SecretVersion) GetParameters() (map[string]any, error)
- func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SecretVersion) GetTerraformResourceType() string
- func (tr *SecretVersion) GetTerraformSchemaVersion() int
- func (mg *SecretVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecretVersion) Hub()
- func (tr *SecretVersion) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretVersion) SetConditions(c ...xpv1.Condition)
- func (mg *SecretVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SecretVersion) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SecretVersion) SetObservation(obs map[string]any) error
- func (tr *SecretVersion) SetParameters(params map[string]any) error
- func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretVersionInitParameters
- type SecretVersionList
- type SecretVersionObservation
- type SecretVersionParameters
- type SecretVersionSpec
- type SecretVersionStatus
Constants ¶
const ( CRDGroup = "ssm.tencentcloud.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 ( Secret_Kind = "Secret" Secret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Secret_Kind}.String() Secret_KindAPIVersion = Secret_Kind + "." + CRDGroupVersion.String() Secret_GroupVersionKind = CRDGroupVersion.WithKind(Secret_Kind) )
Repository type metadata.
var ( SecretVersion_Kind = "SecretVersion" SecretVersion_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecretVersion_Kind}.String() SecretVersion_KindAPIVersion = SecretVersion_Kind + "." + CRDGroupVersion.String() SecretVersion_GroupVersionKind = CRDGroupVersion.WithKind(SecretVersion_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secretName) || (has(self.initProvider) && has(self.initProvider.secretName))",message="spec.forProvider.secretName is a required parameter" Spec SecretSpec `json:"spec"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the Secrets API. Provide a resource to create a SSM secret. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Secret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Secret) GetCondition ¶
func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Secret.
func (*Secret) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Secret
func (*Secret) GetDeletionPolicy ¶
func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Secret.
func (*Secret) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Secret
func (*Secret) GetManagementPolicies ¶ added in v0.8.0
func (mg *Secret) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Secret.
func (*Secret) GetMergedParameters ¶ added in v0.8.1
GetInitParameters of this Secret
func (*Secret) GetObservation ¶
GetObservation of this Secret
func (*Secret) GetParameters ¶
GetParameters of this Secret
func (*Secret) GetProviderConfigReference ¶
GetProviderConfigReference of this Secret.
func (*Secret) GetPublishConnectionDetailsTo ¶
func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Secret.
func (*Secret) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Secret
func (*Secret) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Secret) GetWriteConnectionSecretToReference ¶
func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Secret.
func (*Secret) Hub ¶ added in v0.8.1
func (tr *Secret) Hub()
Hub marks this type as a conversion hub.
func (*Secret) LateInitialize ¶
LateInitialize this Secret using its observed tfState. returns True if there are any spec changes for the resource.
func (*Secret) SetConditions ¶
SetConditions of this Secret.
func (*Secret) SetDeletionPolicy ¶
func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Secret.
func (*Secret) SetManagementPolicies ¶ added in v0.8.0
func (mg *Secret) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Secret.
func (*Secret) SetObservation ¶
SetObservation for this Secret
func (*Secret) SetParameters ¶
SetParameters for this Secret
func (*Secret) SetProviderConfigReference ¶
SetProviderConfigReference of this Secret.
func (*Secret) SetPublishConnectionDetailsTo ¶
func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Secret.
func (*Secret) SetWriteConnectionSecretToReference ¶
func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Secret.
type SecretInitParameters ¶ added in v0.8.0
type SecretInitParameters struct { // Additional config for specific secret types in JSON string format. // Additional config for specific secret types in JSON string format. AdditionalConfig *string `json:"additionalConfig,omitempty" tf:"additional_config,omitempty"` // Description of secret. The maximum is 2048 bytes. // Description of secret. The maximum is 2048 bytes. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specify whether to enable secret. Default value is true. // Specify whether to enable secret. Default value is `true`. IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Specify the scheduled deletion date. Default value is 0 that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. // Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. RecoveryWindowInDays *float64 `json:"recoveryWindowInDays,omitempty" tf:"recovery_window_in_days,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // Type of secret. 0: user-defined secret. 4: redis secret. Default is 0. // Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`. SecretType *float64 `json:"secretType,omitempty" tf:"secret_type,omitempty"` // Tags of secret. // Tags of secret. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*SecretInitParameters) DeepCopy ¶ added in v0.8.0
func (in *SecretInitParameters) DeepCopy() *SecretInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretInitParameters.
func (*SecretInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` }
SecretList contains a list of Secrets
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretList) GetItems ¶
func (l *SecretList) GetItems() []resource.Managed
GetItems of this SecretList.
type SecretObservation ¶
type SecretObservation struct { // Additional config for specific secret types in JSON string format. // Additional config for specific secret types in JSON string format. AdditionalConfig *string `json:"additionalConfig,omitempty" tf:"additional_config,omitempty"` // Description of secret. The maximum is 2048 bytes. // Description of secret. The maximum is 2048 bytes. Description *string `json:"description,omitempty" tf:"description,omitempty"` // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Specify whether to enable secret. Default value is true. // Specify whether to enable secret. Default value is `true`. IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Specify the scheduled deletion date. Default value is 0 that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. // Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. RecoveryWindowInDays *float64 `json:"recoveryWindowInDays,omitempty" tf:"recovery_window_in_days,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // Type of secret. 0: user-defined secret. 4: redis secret. Default is 0. // Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`. SecretType *float64 `json:"secretType,omitempty" tf:"secret_type,omitempty"` // Status of secret. // Status of secret. Status *string `json:"status,omitempty" tf:"status,omitempty"` // Tags of secret. // Tags of secret. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*SecretObservation) DeepCopy ¶
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶
type SecretParameters struct { // Additional config for specific secret types in JSON string format. // Additional config for specific secret types in JSON string format. // +kubebuilder:validation:Optional AdditionalConfig *string `json:"additionalConfig,omitempty" tf:"additional_config,omitempty"` // Description of secret. The maximum is 2048 bytes. // Description of secret. The maximum is 2048 bytes. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Specify whether to enable secret. Default value is true. // Specify whether to enable secret. Default value is `true`. // +kubebuilder:validation:Optional IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. // KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. // +kubebuilder:validation:Optional KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Specify the scheduled deletion date. Default value is 0 that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. // Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. // +kubebuilder:validation:Optional RecoveryWindowInDays *float64 `json:"recoveryWindowInDays,omitempty" tf:"recovery_window_in_days,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // +kubebuilder:validation:Optional SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // Type of secret. 0: user-defined secret. 4: redis secret. Default is 0. // Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`. // +kubebuilder:validation:Optional SecretType *float64 `json:"secretType,omitempty" tf:"secret_type,omitempty"` // Tags of secret. // Tags of secret. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*SecretParameters) DeepCopy ¶
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretParameters `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 SecretInitParameters `json:"initProvider,omitempty"` }
SecretSpec defines the desired state of Secret
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStatus ¶
type SecretStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretObservation `json:"atProvider,omitempty"` }
SecretStatus defines the observed state of Secret.
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersion ¶
type SecretVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secretName) || (has(self.initProvider) && has(self.initProvider.secretName))",message="spec.forProvider.secretName is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.versionId) || (has(self.initProvider) && has(self.initProvider.versionId))",message="spec.forProvider.versionId is a required parameter" Spec SecretVersionSpec `json:"spec"` Status SecretVersionStatus `json:"status,omitempty"` }
SecretVersion is the Schema for the SecretVersions API. Provide a resource to create a SSM secret version. +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:resource:scope=Cluster,categories={crossplane,managed,tencentcloud}
func (*SecretVersion) DeepCopy ¶
func (in *SecretVersion) DeepCopy() *SecretVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersion.
func (*SecretVersion) DeepCopyInto ¶
func (in *SecretVersion) DeepCopyInto(out *SecretVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersion) DeepCopyObject ¶
func (in *SecretVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretVersion) GetCondition ¶
func (mg *SecretVersion) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecretVersion.
func (*SecretVersion) GetConnectionDetailsMapping ¶
func (tr *SecretVersion) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecretVersion
func (*SecretVersion) GetDeletionPolicy ¶
func (mg *SecretVersion) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecretVersion.
func (*SecretVersion) GetID ¶
func (tr *SecretVersion) GetID() string
GetID returns ID of underlying Terraform resource of this SecretVersion
func (*SecretVersion) GetInitParameters ¶ added in v0.8.0
func (tr *SecretVersion) GetInitParameters() (map[string]any, error)
GetInitParameters of this SecretVersion
func (*SecretVersion) GetManagementPolicies ¶ added in v0.8.0
func (mg *SecretVersion) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SecretVersion.
func (*SecretVersion) GetMergedParameters ¶ added in v0.8.1
func (tr *SecretVersion) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SecretVersion
func (*SecretVersion) GetObservation ¶
func (tr *SecretVersion) GetObservation() (map[string]any, error)
GetObservation of this SecretVersion
func (*SecretVersion) GetParameters ¶
func (tr *SecretVersion) GetParameters() (map[string]any, error)
GetParameters of this SecretVersion
func (*SecretVersion) GetProviderConfigReference ¶
func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecretVersion.
func (*SecretVersion) GetPublishConnectionDetailsTo ¶
func (mg *SecretVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SecretVersion.
func (*SecretVersion) GetTerraformResourceType ¶
func (mg *SecretVersion) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecretVersion
func (*SecretVersion) GetTerraformSchemaVersion ¶
func (tr *SecretVersion) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecretVersion) GetWriteConnectionSecretToReference ¶
func (mg *SecretVersion) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecretVersion.
func (*SecretVersion) Hub ¶ added in v0.8.1
func (tr *SecretVersion) Hub()
Hub marks this type as a conversion hub.
func (*SecretVersion) LateInitialize ¶
func (tr *SecretVersion) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecretVersion using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecretVersion) SetConditions ¶
func (mg *SecretVersion) SetConditions(c ...xpv1.Condition)
SetConditions of this SecretVersion.
func (*SecretVersion) SetDeletionPolicy ¶
func (mg *SecretVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecretVersion.
func (*SecretVersion) SetManagementPolicies ¶ added in v0.8.0
func (mg *SecretVersion) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SecretVersion.
func (*SecretVersion) SetObservation ¶
func (tr *SecretVersion) SetObservation(obs map[string]any) error
SetObservation for this SecretVersion
func (*SecretVersion) SetParameters ¶
func (tr *SecretVersion) SetParameters(params map[string]any) error
SetParameters for this SecretVersion
func (*SecretVersion) SetProviderConfigReference ¶
func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecretVersion.
func (*SecretVersion) SetPublishConnectionDetailsTo ¶
func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SecretVersion.
func (*SecretVersion) SetWriteConnectionSecretToReference ¶
func (mg *SecretVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecretVersion.
type SecretVersionInitParameters ¶ added in v0.8.0
type SecretVersionInitParameters struct { // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. SecretBinary *string `json:"secretBinary,omitempty" tf:"secret_binary,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. SecretString *string `json:"secretString,omitempty" tf:"secret_string,omitempty"` // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"` }
func (*SecretVersionInitParameters) DeepCopy ¶ added in v0.8.0
func (in *SecretVersionInitParameters) DeepCopy() *SecretVersionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionInitParameters.
func (*SecretVersionInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *SecretVersionInitParameters) DeepCopyInto(out *SecretVersionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionList ¶
type SecretVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretVersion `json:"items"` }
SecretVersionList contains a list of SecretVersions
func (*SecretVersionList) DeepCopy ¶
func (in *SecretVersionList) DeepCopy() *SecretVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionList.
func (*SecretVersionList) DeepCopyInto ¶
func (in *SecretVersionList) DeepCopyInto(out *SecretVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretVersionList) DeepCopyObject ¶
func (in *SecretVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretVersionList) GetItems ¶
func (l *SecretVersionList) GetItems() []resource.Managed
GetItems of this SecretVersionList.
type SecretVersionObservation ¶
type SecretVersionObservation struct { // ID of the resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. SecretBinary *string `json:"secretBinary,omitempty" tf:"secret_binary,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. SecretString *string `json:"secretString,omitempty" tf:"secret_string,omitempty"` // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"` }
func (*SecretVersionObservation) DeepCopy ¶
func (in *SecretVersionObservation) DeepCopy() *SecretVersionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionObservation.
func (*SecretVersionObservation) DeepCopyInto ¶
func (in *SecretVersionObservation) DeepCopyInto(out *SecretVersionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionParameters ¶
type SecretVersionParameters struct { // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. // +kubebuilder:validation:Optional SecretBinary *string `json:"secretBinary,omitempty" tf:"secret_binary,omitempty"` // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // +kubebuilder:validation:Optional SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"` // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is Disabled, this field will not update anymore. // The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore. // +kubebuilder:validation:Optional SecretString *string `json:"secretString,omitempty" tf:"secret_string,omitempty"` // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. // +kubebuilder:validation:Optional VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"` }
func (*SecretVersionParameters) DeepCopy ¶
func (in *SecretVersionParameters) DeepCopy() *SecretVersionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionParameters.
func (*SecretVersionParameters) DeepCopyInto ¶
func (in *SecretVersionParameters) DeepCopyInto(out *SecretVersionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionSpec ¶
type SecretVersionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretVersionParameters `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 SecretVersionInitParameters `json:"initProvider,omitempty"` }
SecretVersionSpec defines the desired state of SecretVersion
func (*SecretVersionSpec) DeepCopy ¶
func (in *SecretVersionSpec) DeepCopy() *SecretVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionSpec.
func (*SecretVersionSpec) DeepCopyInto ¶
func (in *SecretVersionSpec) DeepCopyInto(out *SecretVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretVersionStatus ¶
type SecretVersionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretVersionObservation `json:"atProvider,omitempty"` }
SecretVersionStatus defines the observed state of SecretVersion.
func (*SecretVersionStatus) DeepCopy ¶
func (in *SecretVersionStatus) DeepCopy() *SecretVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVersionStatus.
func (*SecretVersionStatus) DeepCopyInto ¶
func (in *SecretVersionStatus) DeepCopyInto(out *SecretVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.