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) GetObservation() (map[string]interface{}, error)
- func (tr *Secret) GetParameters() (map[string]interface{}, error)
- func (mg *Secret) GetProviderConfigReference() *xpv1.Reference
- func (mg *Secret) GetProviderReference() *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) LateInitialize(attrs []byte) (bool, error)
- func (mg *Secret) SetConditions(c ...xpv1.Condition)
- func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Secret) SetObservation(obs map[string]interface{}) error
- func (tr *Secret) SetParameters(params map[string]interface{}) error
- func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Secret) SetProviderReference(r *xpv1.Reference)
- func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- 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) GetObservation() (map[string]interface{}, error)
- func (tr *SecretVersion) GetParameters() (map[string]interface{}, error)
- func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecretVersion) GetProviderReference() *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) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecretVersion) SetConditions(c ...xpv1.Condition)
- func (mg *SecretVersion) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *SecretVersion) SetObservation(obs map[string]interface{}) error
- func (tr *SecretVersion) SetParameters(params map[string]interface{}) error
- func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecretVersion) SetProviderReference(r *xpv1.Reference)
- func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SecretVersion) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- 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"` Spec SecretSpec `json:"spec"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the Secrets 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,tencentcloudjet}
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) GetObservation ¶
GetObservation of this Secret
func (*Secret) GetParameters ¶
GetParameters of this Secret
func (*Secret) GetProviderConfigReference ¶
GetProviderConfigReference of this Secret.
func (*Secret) GetProviderReference ¶
GetProviderReference of this Secret. Deprecated: Use GetProviderConfigReference.
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) 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) SetObservation ¶
SetObservation for this Secret
func (*Secret) SetParameters ¶
SetParameters for this Secret
func (*Secret) SetProviderConfigReference ¶
SetProviderConfigReference of this Secret.
func (*Secret) SetProviderReference ¶
SetProviderReference of this Secret. Deprecated: Use SetProviderConfigReference.
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 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 { ID *string `json:"id,omitempty" tf:"id,omitempty"` Status *string `json:"status,omitempty" tf:"status,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 { // 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`. // +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. // +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. // +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. // +kubebuilder:validation:Required SecretName *string `json:"secretName" tf:"secret_name,omitempty"` // Tags of secret. // +kubebuilder:validation:Optional 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"` }
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"` Spec SecretVersionSpec `json:"spec"` Status SecretVersionStatus `json:"status,omitempty"` }
SecretVersion is the Schema for the SecretVersions 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,tencentcloudjet}
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) GetObservation ¶
func (tr *SecretVersion) GetObservation() (map[string]interface{}, error)
GetObservation of this SecretVersion
func (*SecretVersion) GetParameters ¶
func (tr *SecretVersion) GetParameters() (map[string]interface{}, error)
GetParameters of this SecretVersion
func (*SecretVersion) GetProviderConfigReference ¶
func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecretVersion.
func (*SecretVersion) GetProviderReference ¶
func (mg *SecretVersion) GetProviderReference() *xpv1.Reference
GetProviderReference of this SecretVersion. Deprecated: Use GetProviderConfigReference.
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) 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) SetObservation ¶
func (tr *SecretVersion) SetObservation(obs map[string]interface{}) error
SetObservation for this SecretVersion
func (*SecretVersion) SetParameters ¶
func (tr *SecretVersion) SetParameters(params map[string]interface{}) error
SetParameters for this SecretVersion
func (*SecretVersion) SetProviderConfigReference ¶
func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecretVersion.
func (*SecretVersion) SetProviderReference ¶
func (mg *SecretVersion) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this SecretVersion. Deprecated: Use SetProviderConfigReference.
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 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 *string `json:"id,omitempty" tf:"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. // +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. // +kubebuilder:validation:Required SecretName *string `json:"secretName" 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. // +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. // +kubebuilder:validation:Required VersionID *string `json:"versionId" 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"` }
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.