Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=sms.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Sign
- func (in *Sign) DeepCopy() *Sign
- func (in *Sign) DeepCopyInto(out *Sign)
- func (in *Sign) DeepCopyObject() runtime.Object
- func (mg *Sign) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Sign) GetConnectionDetailsMapping() map[string]string
- func (mg *Sign) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Sign) GetID() string
- func (tr *Sign) GetObservation() (map[string]interface{}, error)
- func (tr *Sign) GetParameters() (map[string]interface{}, error)
- func (mg *Sign) GetProviderConfigReference() *xpv1.Reference
- func (mg *Sign) GetProviderReference() *xpv1.Reference
- func (mg *Sign) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Sign) GetTerraformResourceType() string
- func (tr *Sign) GetTerraformSchemaVersion() int
- func (mg *Sign) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Sign) LateInitialize(attrs []byte) (bool, error)
- func (mg *Sign) SetConditions(c ...xpv1.Condition)
- func (mg *Sign) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Sign) SetObservation(obs map[string]interface{}) error
- func (tr *Sign) SetParameters(params map[string]interface{}) error
- func (mg *Sign) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Sign) SetProviderReference(r *xpv1.Reference)
- func (mg *Sign) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Sign) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SignList
- type SignObservation
- type SignParameters
- type SignSpec
- type SignStatus
- type Template
- func (in *Template) DeepCopy() *Template
- func (in *Template) DeepCopyInto(out *Template)
- func (in *Template) DeepCopyObject() runtime.Object
- func (mg *Template) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Template) GetConnectionDetailsMapping() map[string]string
- func (mg *Template) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Template) GetID() string
- func (tr *Template) GetObservation() (map[string]interface{}, error)
- func (tr *Template) GetParameters() (map[string]interface{}, error)
- func (mg *Template) GetProviderConfigReference() *xpv1.Reference
- func (mg *Template) GetProviderReference() *xpv1.Reference
- func (mg *Template) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Template) GetTerraformResourceType() string
- func (tr *Template) GetTerraformSchemaVersion() int
- func (mg *Template) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Template) LateInitialize(attrs []byte) (bool, error)
- func (mg *Template) SetConditions(c ...xpv1.Condition)
- func (mg *Template) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Template) SetObservation(obs map[string]interface{}) error
- func (tr *Template) SetParameters(params map[string]interface{}) error
- func (mg *Template) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Template) SetProviderReference(r *xpv1.Reference)
- func (mg *Template) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Template) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TemplateList
- type TemplateObservation
- type TemplateParameters
- type TemplateSpec
- type TemplateStatus
Constants ¶
const ( CRDGroup = "sms.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 ( Sign_Kind = "Sign" Sign_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Sign_Kind}.String() Sign_KindAPIVersion = Sign_Kind + "." + CRDGroupVersion.String() Sign_GroupVersionKind = CRDGroupVersion.WithKind(Sign_Kind) )
Repository type metadata.
var ( Template_Kind = "Template" Template_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Template_Kind}.String() Template_KindAPIVersion = Template_Kind + "." + CRDGroupVersion.String() Template_GroupVersionKind = CRDGroupVersion.WithKind(Template_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Sign ¶
type Sign struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SignSpec `json:"spec"` Status SignStatus `json:"status,omitempty"` }
Sign is the Schema for the Signs 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 (*Sign) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sign.
func (*Sign) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sign) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Sign) GetCondition ¶
func (mg *Sign) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Sign.
func (*Sign) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Sign
func (*Sign) GetDeletionPolicy ¶
func (mg *Sign) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Sign.
func (*Sign) GetObservation ¶
GetObservation of this Sign
func (*Sign) GetParameters ¶
GetParameters of this Sign
func (*Sign) GetProviderConfigReference ¶
GetProviderConfigReference of this Sign.
func (*Sign) GetProviderReference ¶
GetProviderReference of this Sign. Deprecated: Use GetProviderConfigReference.
func (*Sign) GetPublishConnectionDetailsTo ¶
func (mg *Sign) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Sign.
func (*Sign) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Sign
func (*Sign) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Sign) GetWriteConnectionSecretToReference ¶
func (mg *Sign) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Sign.
func (*Sign) LateInitialize ¶
LateInitialize this Sign using its observed tfState. returns True if there are any spec changes for the resource.
func (*Sign) SetConditions ¶
SetConditions of this Sign.
func (*Sign) SetDeletionPolicy ¶
func (mg *Sign) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Sign.
func (*Sign) SetObservation ¶
SetObservation for this Sign
func (*Sign) SetParameters ¶
SetParameters for this Sign
func (*Sign) SetProviderConfigReference ¶
SetProviderConfigReference of this Sign.
func (*Sign) SetProviderReference ¶
SetProviderReference of this Sign. Deprecated: Use SetProviderConfigReference.
func (*Sign) SetPublishConnectionDetailsTo ¶
func (mg *Sign) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Sign.
func (*Sign) SetWriteConnectionSecretToReference ¶
func (mg *Sign) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Sign.
type SignList ¶
type SignList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Sign `json:"items"` }
SignList contains a list of Signs
func (*SignList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignList.
func (*SignList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SignList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SignObservation ¶
type SignObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*SignObservation) DeepCopy ¶
func (in *SignObservation) DeepCopy() *SignObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignObservation.
func (*SignObservation) DeepCopyInto ¶
func (in *SignObservation) DeepCopyInto(out *SignObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SignParameters ¶
type SignParameters struct { // Power of attorney, which should be submitted if SignPurpose is for use by others. You should Base64-encode the image first, remove the prefix data:image/jpeg;base64, from the resulted string, and then use it as the value of this parameter. Note: this field will take effect only when SignPurpose is 1 (for user by others). // +kubebuilder:validation:Optional CommissionImage *string `json:"commissionImage,omitempty" tf:"commission_image,omitempty"` // DocumentType is used for enterprise authentication, or website, app authentication, etc. DocumentType: 0, 1, 2, 3, 4, 5, 6, 7, 8. // +kubebuilder:validation:Required DocumentType *float64 `json:"documentType" tf:"document_type,omitempty"` // Whether it is Global SMS: 0: Mainland China SMS; 1: Global SMS. // +kubebuilder:validation:Required International *float64 `json:"international" tf:"international,omitempty"` // You should Base64-encode the image of the identity certificate corresponding to the signature first, remove the prefix data:image/jpeg;base64, from the resulted string, and then use it as the value of this parameter. // +kubebuilder:validation:Required ProofImage *string `json:"proofImage" tf:"proof_image,omitempty"` // Signature application remarks. // +kubebuilder:validation:Optional Remark *string `json:"remark,omitempty" tf:"remark,omitempty"` // Sms sign name, unique. // +kubebuilder:validation:Required SignName *string `json:"signName" tf:"sign_name,omitempty"` // Signature purpose: 0: for personal use; 1: for others. // +kubebuilder:validation:Required SignPurpose *float64 `json:"signPurpose" tf:"sign_purpose,omitempty"` // Sms sign type: 0, 1, 2, 3, 4, 5, 6. // +kubebuilder:validation:Required SignType *float64 `json:"signType" tf:"sign_type,omitempty"` }
func (*SignParameters) DeepCopy ¶
func (in *SignParameters) DeepCopy() *SignParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignParameters.
func (*SignParameters) DeepCopyInto ¶
func (in *SignParameters) DeepCopyInto(out *SignParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SignSpec ¶
type SignSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SignParameters `json:"forProvider"` }
SignSpec defines the desired state of Sign
func (*SignSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignSpec.
func (*SignSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SignStatus ¶
type SignStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SignObservation `json:"atProvider,omitempty"` }
SignStatus defines the observed state of Sign.
func (*SignStatus) DeepCopy ¶
func (in *SignStatus) DeepCopy() *SignStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignStatus.
func (*SignStatus) DeepCopyInto ¶
func (in *SignStatus) DeepCopyInto(out *SignStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Template ¶
type Template struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateSpec `json:"spec"` Status TemplateStatus `json:"status,omitempty"` }
Template is the Schema for the Templates 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 (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Template) GetCondition ¶
func (mg *Template) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Template.
func (*Template) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Template
func (*Template) GetDeletionPolicy ¶
func (mg *Template) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Template.
func (*Template) GetObservation ¶
GetObservation of this Template
func (*Template) GetParameters ¶
GetParameters of this Template
func (*Template) GetProviderConfigReference ¶
GetProviderConfigReference of this Template.
func (*Template) GetProviderReference ¶
GetProviderReference of this Template. Deprecated: Use GetProviderConfigReference.
func (*Template) GetPublishConnectionDetailsTo ¶
func (mg *Template) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Template.
func (*Template) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Template
func (*Template) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Template) GetWriteConnectionSecretToReference ¶
func (mg *Template) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Template.
func (*Template) LateInitialize ¶
LateInitialize this Template using its observed tfState. returns True if there are any spec changes for the resource.
func (*Template) SetConditions ¶
SetConditions of this Template.
func (*Template) SetDeletionPolicy ¶
func (mg *Template) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Template.
func (*Template) SetObservation ¶
SetObservation for this Template
func (*Template) SetParameters ¶
SetParameters for this Template
func (*Template) SetProviderConfigReference ¶
SetProviderConfigReference of this Template.
func (*Template) SetProviderReference ¶
SetProviderReference of this Template. Deprecated: Use SetProviderConfigReference.
func (*Template) SetPublishConnectionDetailsTo ¶
func (mg *Template) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Template.
func (*Template) SetWriteConnectionSecretToReference ¶
func (mg *Template) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Template.
type TemplateList ¶
type TemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Template `json:"items"` }
TemplateList contains a list of Templates
func (*TemplateList) DeepCopy ¶
func (in *TemplateList) DeepCopy() *TemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.
func (*TemplateList) DeepCopyInto ¶
func (in *TemplateList) DeepCopyInto(out *TemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateList) DeepCopyObject ¶
func (in *TemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TemplateList) GetItems ¶
func (l *TemplateList) GetItems() []resource.Managed
GetItems of this TemplateList.
type TemplateObservation ¶
type TemplateObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*TemplateObservation) DeepCopy ¶
func (in *TemplateObservation) DeepCopy() *TemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateObservation.
func (*TemplateObservation) DeepCopyInto ¶
func (in *TemplateObservation) DeepCopyInto(out *TemplateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateParameters ¶
type TemplateParameters struct { // Whether it is Global SMS: 0: Mainland China SMS; 1: Global SMS. // +kubebuilder:validation:Required International *float64 `json:"international" tf:"international,omitempty"` // Template remarks, such as reason for application and use case. // +kubebuilder:validation:Required Remark *string `json:"remark" tf:"remark,omitempty"` // SMS type. 0: regular SMS, 1: marketing SMS. // +kubebuilder:validation:Required SMSType *float64 `json:"smsType" tf:"sms_type,omitempty"` // Message Template Content. // +kubebuilder:validation:Required TemplateContent *string `json:"templateContent" tf:"template_content,omitempty"` // Message Template name, which must be unique. // +kubebuilder:validation:Required TemplateName *string `json:"templateName" tf:"template_name,omitempty"` }
func (*TemplateParameters) DeepCopy ¶
func (in *TemplateParameters) DeepCopy() *TemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateParameters.
func (*TemplateParameters) DeepCopyInto ¶
func (in *TemplateParameters) DeepCopyInto(out *TemplateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpec ¶
type TemplateSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TemplateParameters `json:"forProvider"` }
TemplateSpec defines the desired state of Template
func (*TemplateSpec) DeepCopy ¶
func (in *TemplateSpec) DeepCopy() *TemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
func (*TemplateSpec) DeepCopyInto ¶
func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateStatus ¶
type TemplateStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TemplateObservation `json:"atProvider,omitempty"` }
TemplateStatus defines the observed state of Template.
func (*TemplateStatus) DeepCopy ¶
func (in *TemplateStatus) DeepCopy() *TemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateStatus.
func (*TemplateStatus) DeepCopyInto ¶
func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.