Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=mysql.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Account) GetConnectionDetailsMapping() map[string]string
- func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Account) GetID() string
- func (tr *Account) GetObservation() (map[string]interface{}, error)
- func (tr *Account) GetParameters() (map[string]interface{}, error)
- func (mg *Account) GetProviderConfigReference() *xpv1.Reference
- func (mg *Account) GetProviderReference() *xpv1.Reference
- func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Account) GetTerraformResourceType() string
- func (tr *Account) GetTerraformSchemaVersion() int
- func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Account) LateInitialize(attrs []byte) (bool, error)
- func (mg *Account) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Account) SetConditions(c ...xpv1.Condition)
- func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Account) SetObservation(obs map[string]interface{}) error
- func (tr *Account) SetParameters(params map[string]interface{}) error
- func (mg *Account) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Account) SetProviderReference(r *xpv1.Reference)
- func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccountList
- type AccountObservation
- type AccountParameters
- type AccountPrivilege
- func (in *AccountPrivilege) DeepCopy() *AccountPrivilege
- func (in *AccountPrivilege) DeepCopyInto(out *AccountPrivilege)
- func (in *AccountPrivilege) DeepCopyObject() runtime.Object
- func (mg *AccountPrivilege) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AccountPrivilege) GetConnectionDetailsMapping() map[string]string
- func (mg *AccountPrivilege) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AccountPrivilege) GetID() string
- func (tr *AccountPrivilege) GetObservation() (map[string]interface{}, error)
- func (tr *AccountPrivilege) GetParameters() (map[string]interface{}, error)
- func (mg *AccountPrivilege) GetProviderConfigReference() *xpv1.Reference
- func (mg *AccountPrivilege) GetProviderReference() *xpv1.Reference
- func (mg *AccountPrivilege) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AccountPrivilege) GetTerraformResourceType() string
- func (tr *AccountPrivilege) GetTerraformSchemaVersion() int
- func (mg *AccountPrivilege) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AccountPrivilege) LateInitialize(attrs []byte) (bool, error)
- func (mg *AccountPrivilege) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *AccountPrivilege) SetConditions(c ...xpv1.Condition)
- func (mg *AccountPrivilege) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *AccountPrivilege) SetObservation(obs map[string]interface{}) error
- func (tr *AccountPrivilege) SetParameters(params map[string]interface{}) error
- func (mg *AccountPrivilege) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AccountPrivilege) SetProviderReference(r *xpv1.Reference)
- func (mg *AccountPrivilege) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AccountPrivilege) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccountPrivilegeList
- type AccountPrivilegeObservation
- type AccountPrivilegeParameters
- type AccountPrivilegeSpec
- type AccountPrivilegeStatus
- type AccountSpec
- type AccountStatus
- type BackupPolicy
- func (in *BackupPolicy) DeepCopy() *BackupPolicy
- func (in *BackupPolicy) DeepCopyInto(out *BackupPolicy)
- func (in *BackupPolicy) DeepCopyObject() runtime.Object
- func (mg *BackupPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BackupPolicy) GetConnectionDetailsMapping() map[string]string
- func (mg *BackupPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BackupPolicy) GetID() string
- func (tr *BackupPolicy) GetObservation() (map[string]interface{}, error)
- func (tr *BackupPolicy) GetParameters() (map[string]interface{}, error)
- func (mg *BackupPolicy) GetProviderConfigReference() *xpv1.Reference
- func (mg *BackupPolicy) GetProviderReference() *xpv1.Reference
- func (mg *BackupPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BackupPolicy) GetTerraformResourceType() string
- func (tr *BackupPolicy) GetTerraformSchemaVersion() int
- func (mg *BackupPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BackupPolicy) LateInitialize(attrs []byte) (bool, error)
- func (mg *BackupPolicy) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *BackupPolicy) SetConditions(c ...xpv1.Condition)
- func (mg *BackupPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *BackupPolicy) SetObservation(obs map[string]interface{}) error
- func (tr *BackupPolicy) SetParameters(params map[string]interface{}) error
- func (mg *BackupPolicy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BackupPolicy) SetProviderReference(r *xpv1.Reference)
- func (mg *BackupPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BackupPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BackupPolicyList
- type BackupPolicyObservation
- type BackupPolicyParameters
- type BackupPolicySpec
- type BackupPolicyStatus
- type ColumnObservation
- type ColumnParameters
- type DatabaseObservation
- type DatabaseParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetObservation() (map[string]interface{}, error)
- func (tr *Instance) GetParameters() (map[string]interface{}, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetProviderReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Instance) SetObservation(obs map[string]interface{}) error
- func (tr *Instance) SetParameters(params map[string]interface{}) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetProviderReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type Privilege
- func (in *Privilege) DeepCopy() *Privilege
- func (in *Privilege) DeepCopyInto(out *Privilege)
- func (in *Privilege) DeepCopyObject() runtime.Object
- func (mg *Privilege) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Privilege) GetConnectionDetailsMapping() map[string]string
- func (mg *Privilege) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Privilege) GetID() string
- func (tr *Privilege) GetObservation() (map[string]interface{}, error)
- func (tr *Privilege) GetParameters() (map[string]interface{}, error)
- func (mg *Privilege) GetProviderConfigReference() *xpv1.Reference
- func (mg *Privilege) GetProviderReference() *xpv1.Reference
- func (mg *Privilege) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Privilege) GetTerraformResourceType() string
- func (tr *Privilege) GetTerraformSchemaVersion() int
- func (mg *Privilege) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Privilege) LateInitialize(attrs []byte) (bool, error)
- func (mg *Privilege) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Privilege) SetConditions(c ...xpv1.Condition)
- func (mg *Privilege) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Privilege) SetObservation(obs map[string]interface{}) error
- func (tr *Privilege) SetParameters(params map[string]interface{}) error
- func (mg *Privilege) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Privilege) SetProviderReference(r *xpv1.Reference)
- func (mg *Privilege) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Privilege) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PrivilegeList
- type PrivilegeObservation
- type PrivilegeParameters
- type PrivilegeSpec
- type PrivilegeStatus
- type ReadonlyInstance
- func (in *ReadonlyInstance) DeepCopy() *ReadonlyInstance
- func (in *ReadonlyInstance) DeepCopyInto(out *ReadonlyInstance)
- func (in *ReadonlyInstance) DeepCopyObject() runtime.Object
- func (mg *ReadonlyInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ReadonlyInstance) GetConnectionDetailsMapping() map[string]string
- func (mg *ReadonlyInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ReadonlyInstance) GetID() string
- func (tr *ReadonlyInstance) GetObservation() (map[string]interface{}, error)
- func (tr *ReadonlyInstance) GetParameters() (map[string]interface{}, error)
- func (mg *ReadonlyInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *ReadonlyInstance) GetProviderReference() *xpv1.Reference
- func (mg *ReadonlyInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ReadonlyInstance) GetTerraformResourceType() string
- func (tr *ReadonlyInstance) GetTerraformSchemaVersion() int
- func (mg *ReadonlyInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ReadonlyInstance) LateInitialize(attrs []byte) (bool, error)
- func (mg *ReadonlyInstance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ReadonlyInstance) SetConditions(c ...xpv1.Condition)
- func (mg *ReadonlyInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ReadonlyInstance) SetObservation(obs map[string]interface{}) error
- func (tr *ReadonlyInstance) SetParameters(params map[string]interface{}) error
- func (mg *ReadonlyInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ReadonlyInstance) SetProviderReference(r *xpv1.Reference)
- func (mg *ReadonlyInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ReadonlyInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ReadonlyInstanceList
- type ReadonlyInstanceObservation
- type ReadonlyInstanceParameters
- type ReadonlyInstanceSpec
- type ReadonlyInstanceStatus
- type TableObservation
- type TableParameters
Constants ¶
const ( CRDGroup = "mysql.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Account_Kind = "Account" Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) )
Repository type metadata.
var ( AccountPrivilege_Kind = "AccountPrivilege" AccountPrivilege_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AccountPrivilege_Kind}.String() AccountPrivilege_KindAPIVersion = AccountPrivilege_Kind + "." + CRDGroupVersion.String() AccountPrivilege_GroupVersionKind = CRDGroupVersion.WithKind(AccountPrivilege_Kind) )
Repository type metadata.
var ( BackupPolicy_Kind = "BackupPolicy" BackupPolicy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BackupPolicy_Kind}.String() BackupPolicy_KindAPIVersion = BackupPolicy_Kind + "." + CRDGroupVersion.String() BackupPolicy_GroupVersionKind = CRDGroupVersion.WithKind(BackupPolicy_Kind) )
Repository type metadata.
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 ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
var ( Privilege_Kind = "Privilege" Privilege_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Privilege_Kind}.String() Privilege_KindAPIVersion = Privilege_Kind + "." + CRDGroupVersion.String() Privilege_GroupVersionKind = CRDGroupVersion.WithKind(Privilege_Kind) )
Repository type metadata.
var ( ReadonlyInstance_Kind = "ReadonlyInstance" ReadonlyInstance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ReadonlyInstance_Kind}.String() ReadonlyInstance_KindAPIVersion = ReadonlyInstance_Kind + "." + CRDGroupVersion.String() ReadonlyInstance_GroupVersionKind = CRDGroupVersion.WithKind(ReadonlyInstance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountSpec `json:"spec"` Status AccountStatus `json:"status,omitempty"` }
Account is the Schema for the Accounts 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 (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetCondition ¶
func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Account.
func (*Account) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Account
func (*Account) GetDeletionPolicy ¶
func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Account.
func (*Account) GetObservation ¶
GetObservation of this Account
func (*Account) GetParameters ¶
GetParameters of this Account
func (*Account) GetProviderConfigReference ¶
GetProviderConfigReference of this Account.
func (*Account) GetProviderReference ¶
GetProviderReference of this Account. Deprecated: Use GetProviderConfigReference.
func (*Account) GetPublishConnectionDetailsTo ¶
func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Account.
func (*Account) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Account
func (*Account) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Account) GetWriteConnectionSecretToReference ¶
func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Account.
func (*Account) LateInitialize ¶
LateInitialize this Account using its observed tfState. returns True if there are any spec changes for the resource.
func (*Account) ResolveReferences ¶
ResolveReferences of this Account.
func (*Account) SetConditions ¶
SetConditions of this Account.
func (*Account) SetDeletionPolicy ¶
func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Account.
func (*Account) SetObservation ¶
SetObservation for this Account
func (*Account) SetParameters ¶
SetParameters for this Account
func (*Account) SetProviderConfigReference ¶
SetProviderConfigReference of this Account.
func (*Account) SetProviderReference ¶
SetProviderReference of this Account. Deprecated: Use SetProviderConfigReference.
func (*Account) SetPublishConnectionDetailsTo ¶
func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Account.
func (*Account) SetWriteConnectionSecretToReference ¶
func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Account.
type AccountList ¶
type AccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Account `json:"items"` }
AccountList contains a list of Accounts
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccountList) GetItems ¶
func (l *AccountList) GetItems() []resource.Managed
GetItems of this AccountList.
type AccountObservation ¶
type AccountObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AccountObservation) DeepCopy ¶
func (in *AccountObservation) DeepCopy() *AccountObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation.
func (*AccountObservation) DeepCopyInto ¶
func (in *AccountObservation) DeepCopyInto(out *AccountObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountParameters ¶
type AccountParameters struct { // Database description. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Account host, default is `%`. // +kubebuilder:validation:Optional Host *string `json:"host,omitempty" tf:"host,omitempty"` // The maximum number of available connections for a new account, the default value is 10240, and the maximum value that can be set is 10240. // +kubebuilder:validation:Optional MaxUserConnections *float64 `json:"maxUserConnections,omitempty" tf:"max_user_connections,omitempty"` // Instance ID to which the account belongs. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional MySQLID *string `json:"mysqlId,omitempty" tf:"mysql_id,omitempty"` // +kubebuilder:validation:Optional MySQLIDRef *v1.Reference `json:"mySqlidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional MySQLIDSelector *v1.Selector `json:"mySqlidSelector,omitempty" tf:"-"` // Account name. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Operation password. // +kubebuilder:validation:Required PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` }
func (*AccountParameters) DeepCopy ¶
func (in *AccountParameters) DeepCopy() *AccountParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters.
func (*AccountParameters) DeepCopyInto ¶
func (in *AccountParameters) DeepCopyInto(out *AccountParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountPrivilege ¶
type AccountPrivilege struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountPrivilegeSpec `json:"spec"` Status AccountPrivilegeStatus `json:"status,omitempty"` }
AccountPrivilege is the Schema for the AccountPrivileges 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 (*AccountPrivilege) DeepCopy ¶
func (in *AccountPrivilege) DeepCopy() *AccountPrivilege
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilege.
func (*AccountPrivilege) DeepCopyInto ¶
func (in *AccountPrivilege) DeepCopyInto(out *AccountPrivilege)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountPrivilege) DeepCopyObject ¶
func (in *AccountPrivilege) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccountPrivilege) GetCondition ¶
func (mg *AccountPrivilege) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AccountPrivilege.
func (*AccountPrivilege) GetConnectionDetailsMapping ¶
func (tr *AccountPrivilege) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this AccountPrivilege
func (*AccountPrivilege) GetDeletionPolicy ¶
func (mg *AccountPrivilege) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AccountPrivilege.
func (*AccountPrivilege) GetID ¶
func (tr *AccountPrivilege) GetID() string
GetID returns ID of underlying Terraform resource of this AccountPrivilege
func (*AccountPrivilege) GetObservation ¶
func (tr *AccountPrivilege) GetObservation() (map[string]interface{}, error)
GetObservation of this AccountPrivilege
func (*AccountPrivilege) GetParameters ¶
func (tr *AccountPrivilege) GetParameters() (map[string]interface{}, error)
GetParameters of this AccountPrivilege
func (*AccountPrivilege) GetProviderConfigReference ¶
func (mg *AccountPrivilege) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this AccountPrivilege.
func (*AccountPrivilege) GetProviderReference ¶
func (mg *AccountPrivilege) GetProviderReference() *xpv1.Reference
GetProviderReference of this AccountPrivilege. Deprecated: Use GetProviderConfigReference.
func (*AccountPrivilege) GetPublishConnectionDetailsTo ¶
func (mg *AccountPrivilege) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AccountPrivilege.
func (*AccountPrivilege) GetTerraformResourceType ¶
func (mg *AccountPrivilege) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this AccountPrivilege
func (*AccountPrivilege) GetTerraformSchemaVersion ¶
func (tr *AccountPrivilege) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AccountPrivilege) GetWriteConnectionSecretToReference ¶
func (mg *AccountPrivilege) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AccountPrivilege.
func (*AccountPrivilege) LateInitialize ¶
func (tr *AccountPrivilege) LateInitialize(attrs []byte) (bool, error)
LateInitialize this AccountPrivilege using its observed tfState. returns True if there are any spec changes for the resource.
func (*AccountPrivilege) ResolveReferences ¶
ResolveReferences of this AccountPrivilege.
func (*AccountPrivilege) SetConditions ¶
func (mg *AccountPrivilege) SetConditions(c ...xpv1.Condition)
SetConditions of this AccountPrivilege.
func (*AccountPrivilege) SetDeletionPolicy ¶
func (mg *AccountPrivilege) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AccountPrivilege.
func (*AccountPrivilege) SetObservation ¶
func (tr *AccountPrivilege) SetObservation(obs map[string]interface{}) error
SetObservation for this AccountPrivilege
func (*AccountPrivilege) SetParameters ¶
func (tr *AccountPrivilege) SetParameters(params map[string]interface{}) error
SetParameters for this AccountPrivilege
func (*AccountPrivilege) SetProviderConfigReference ¶
func (mg *AccountPrivilege) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this AccountPrivilege.
func (*AccountPrivilege) SetProviderReference ¶
func (mg *AccountPrivilege) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this AccountPrivilege. Deprecated: Use SetProviderConfigReference.
func (*AccountPrivilege) SetPublishConnectionDetailsTo ¶
func (mg *AccountPrivilege) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AccountPrivilege.
func (*AccountPrivilege) SetWriteConnectionSecretToReference ¶
func (mg *AccountPrivilege) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AccountPrivilege.
type AccountPrivilegeList ¶
type AccountPrivilegeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccountPrivilege `json:"items"` }
AccountPrivilegeList contains a list of AccountPrivileges
func (*AccountPrivilegeList) DeepCopy ¶
func (in *AccountPrivilegeList) DeepCopy() *AccountPrivilegeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilegeList.
func (*AccountPrivilegeList) DeepCopyInto ¶
func (in *AccountPrivilegeList) DeepCopyInto(out *AccountPrivilegeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountPrivilegeList) DeepCopyObject ¶
func (in *AccountPrivilegeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccountPrivilegeList) GetItems ¶
func (l *AccountPrivilegeList) GetItems() []resource.Managed
GetItems of this AccountPrivilegeList.
type AccountPrivilegeObservation ¶
type AccountPrivilegeObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AccountPrivilegeObservation) DeepCopy ¶
func (in *AccountPrivilegeObservation) DeepCopy() *AccountPrivilegeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilegeObservation.
func (*AccountPrivilegeObservation) DeepCopyInto ¶
func (in *AccountPrivilegeObservation) DeepCopyInto(out *AccountPrivilegeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountPrivilegeParameters ¶
type AccountPrivilegeParameters struct { // Account host, default is `%`. // +kubebuilder:validation:Optional AccountHost *string `json:"accountHost,omitempty" tf:"account_host,omitempty"` // Account name. // +kubebuilder:validation:Required AccountName *string `json:"accountName" tf:"account_name,omitempty"` // List of specified database name. // +kubebuilder:validation:Required DatabaseNames []*string `json:"databaseNames" tf:"database_names,omitempty"` // Instance ID. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional MySQLID *string `json:"mysqlId,omitempty" tf:"mysql_id,omitempty"` // +kubebuilder:validation:Optional MySQLIDRef *v1.Reference `json:"mySqlidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional MySQLIDSelector *v1.Selector `json:"mySqlidSelector,omitempty" tf:"-"` // Database permissions. Valid values: `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, `DROP`, `REFERENCES`, `INDEX`, `ALTER`, `CREATE TEMPORARY TABLES`, `LOCK TABLES`, `EXECUTE`, `CREATE VIEW`, `SHOW VIEW`, `CREATE ROUTINE`, `ALTER ROUTINE`, `EVENT` and `TRIGGER“. // +kubebuilder:validation:Optional Privileges []*string `json:"privileges,omitempty" tf:"privileges,omitempty"` }
func (*AccountPrivilegeParameters) DeepCopy ¶
func (in *AccountPrivilegeParameters) DeepCopy() *AccountPrivilegeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilegeParameters.
func (*AccountPrivilegeParameters) DeepCopyInto ¶
func (in *AccountPrivilegeParameters) DeepCopyInto(out *AccountPrivilegeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountPrivilegeSpec ¶
type AccountPrivilegeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AccountPrivilegeParameters `json:"forProvider"` }
AccountPrivilegeSpec defines the desired state of AccountPrivilege
func (*AccountPrivilegeSpec) DeepCopy ¶
func (in *AccountPrivilegeSpec) DeepCopy() *AccountPrivilegeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilegeSpec.
func (*AccountPrivilegeSpec) DeepCopyInto ¶
func (in *AccountPrivilegeSpec) DeepCopyInto(out *AccountPrivilegeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountPrivilegeStatus ¶
type AccountPrivilegeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AccountPrivilegeObservation `json:"atProvider,omitempty"` }
AccountPrivilegeStatus defines the observed state of AccountPrivilege.
func (*AccountPrivilegeStatus) DeepCopy ¶
func (in *AccountPrivilegeStatus) DeepCopy() *AccountPrivilegeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountPrivilegeStatus.
func (*AccountPrivilegeStatus) DeepCopyInto ¶
func (in *AccountPrivilegeStatus) DeepCopyInto(out *AccountPrivilegeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountSpec ¶
type AccountSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AccountParameters `json:"forProvider"` }
AccountSpec defines the desired state of Account
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountStatus ¶
type AccountStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AccountObservation `json:"atProvider,omitempty"` }
AccountStatus defines the observed state of Account.
func (*AccountStatus) DeepCopy ¶
func (in *AccountStatus) DeepCopy() *AccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus.
func (*AccountStatus) DeepCopyInto ¶
func (in *AccountStatus) DeepCopyInto(out *AccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPolicy ¶
type BackupPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupPolicySpec `json:"spec"` Status BackupPolicyStatus `json:"status,omitempty"` }
BackupPolicy is the Schema for the BackupPolicys 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 (*BackupPolicy) DeepCopy ¶
func (in *BackupPolicy) DeepCopy() *BackupPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicy.
func (*BackupPolicy) DeepCopyInto ¶
func (in *BackupPolicy) DeepCopyInto(out *BackupPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPolicy) DeepCopyObject ¶
func (in *BackupPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupPolicy) GetCondition ¶
func (mg *BackupPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BackupPolicy.
func (*BackupPolicy) GetConnectionDetailsMapping ¶
func (tr *BackupPolicy) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BackupPolicy
func (*BackupPolicy) GetDeletionPolicy ¶
func (mg *BackupPolicy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BackupPolicy.
func (*BackupPolicy) GetID ¶
func (tr *BackupPolicy) GetID() string
GetID returns ID of underlying Terraform resource of this BackupPolicy
func (*BackupPolicy) GetObservation ¶
func (tr *BackupPolicy) GetObservation() (map[string]interface{}, error)
GetObservation of this BackupPolicy
func (*BackupPolicy) GetParameters ¶
func (tr *BackupPolicy) GetParameters() (map[string]interface{}, error)
GetParameters of this BackupPolicy
func (*BackupPolicy) GetProviderConfigReference ¶
func (mg *BackupPolicy) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BackupPolicy.
func (*BackupPolicy) GetProviderReference ¶
func (mg *BackupPolicy) GetProviderReference() *xpv1.Reference
GetProviderReference of this BackupPolicy. Deprecated: Use GetProviderConfigReference.
func (*BackupPolicy) GetPublishConnectionDetailsTo ¶
func (mg *BackupPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BackupPolicy.
func (*BackupPolicy) GetTerraformResourceType ¶
func (mg *BackupPolicy) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BackupPolicy
func (*BackupPolicy) GetTerraformSchemaVersion ¶
func (tr *BackupPolicy) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BackupPolicy) GetWriteConnectionSecretToReference ¶
func (mg *BackupPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BackupPolicy.
func (*BackupPolicy) LateInitialize ¶
func (tr *BackupPolicy) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BackupPolicy using its observed tfState. returns True if there are any spec changes for the resource.
func (*BackupPolicy) ResolveReferences ¶
ResolveReferences of this BackupPolicy.
func (*BackupPolicy) SetConditions ¶
func (mg *BackupPolicy) SetConditions(c ...xpv1.Condition)
SetConditions of this BackupPolicy.
func (*BackupPolicy) SetDeletionPolicy ¶
func (mg *BackupPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BackupPolicy.
func (*BackupPolicy) SetObservation ¶
func (tr *BackupPolicy) SetObservation(obs map[string]interface{}) error
SetObservation for this BackupPolicy
func (*BackupPolicy) SetParameters ¶
func (tr *BackupPolicy) SetParameters(params map[string]interface{}) error
SetParameters for this BackupPolicy
func (*BackupPolicy) SetProviderConfigReference ¶
func (mg *BackupPolicy) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BackupPolicy.
func (*BackupPolicy) SetProviderReference ¶
func (mg *BackupPolicy) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this BackupPolicy. Deprecated: Use SetProviderConfigReference.
func (*BackupPolicy) SetPublishConnectionDetailsTo ¶
func (mg *BackupPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BackupPolicy.
func (*BackupPolicy) SetWriteConnectionSecretToReference ¶
func (mg *BackupPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BackupPolicy.
type BackupPolicyList ¶
type BackupPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BackupPolicy `json:"items"` }
BackupPolicyList contains a list of BackupPolicys
func (*BackupPolicyList) DeepCopy ¶
func (in *BackupPolicyList) DeepCopy() *BackupPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyList.
func (*BackupPolicyList) DeepCopyInto ¶
func (in *BackupPolicyList) DeepCopyInto(out *BackupPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupPolicyList) DeepCopyObject ¶
func (in *BackupPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BackupPolicyList) GetItems ¶
func (l *BackupPolicyList) GetItems() []resource.Managed
GetItems of this BackupPolicyList.
type BackupPolicyObservation ¶
type BackupPolicyObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*BackupPolicyObservation) DeepCopy ¶
func (in *BackupPolicyObservation) DeepCopy() *BackupPolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyObservation.
func (*BackupPolicyObservation) DeepCopyInto ¶
func (in *BackupPolicyObservation) DeepCopyInto(out *BackupPolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPolicyParameters ¶
type BackupPolicyParameters struct { // Backup method. Supported values include: `physical` - physical backup. // +kubebuilder:validation:Optional BackupModel *string `json:"backupModel,omitempty" tf:"backup_model,omitempty"` // Instance backup time, in the format of 'HH:mm-HH:mm'. Time setting interval is four hours. Default to `02:00-06:00`. The following value can be supported: `02:00-06:00`, `06:00-10:00`, `10:00-14:00`, `14:00-18:00`, `18:00-22:00`, and `22:00-02:00`. // +kubebuilder:validation:Optional BackupTime *string `json:"backupTime,omitempty" tf:"backup_time,omitempty"` // Binlog retention time, in days. The minimum value is 7 days and the maximum value is 1830 days. This value cannot be set greater than the backup file retention time. // +kubebuilder:validation:Optional BinlogPeriod *float64 `json:"binlogPeriod,omitempty" tf:"binlog_period,omitempty"` // The standard starting number of days for log backup storage. The log backup will be converted when it reaches the standard starting number of days for storage. The minimum is 30 days and must not be greater than the number of days for log backup retention. // +kubebuilder:validation:Optional BinlogStandbyDays *float64 `json:"binlogStandbyDays,omitempty" tf:"binlog_standby_days,omitempty"` // Whether to enable the log backup standard storage policy, `off` - close, `on` - open, the default is off. // +kubebuilder:validation:Optional EnableBinlogStandby *string `json:"enableBinlogStandby,omitempty" tf:"enable_binlog_standby,omitempty"` // Instance ID to which policies will be applied. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional MySQLID *string `json:"mysqlId,omitempty" tf:"mysql_id,omitempty"` // +kubebuilder:validation:Optional MySQLIDRef *v1.Reference `json:"mySqlidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional MySQLIDSelector *v1.Selector `json:"mySqlidSelector,omitempty" tf:"-"` // The retention time of backup files, in days. The minimum value is 7 days and the maximum value is 1830 days. And default value is `7`. // +kubebuilder:validation:Optional RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` }
func (*BackupPolicyParameters) DeepCopy ¶
func (in *BackupPolicyParameters) DeepCopy() *BackupPolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyParameters.
func (*BackupPolicyParameters) DeepCopyInto ¶
func (in *BackupPolicyParameters) DeepCopyInto(out *BackupPolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPolicySpec ¶
type BackupPolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider BackupPolicyParameters `json:"forProvider"` }
BackupPolicySpec defines the desired state of BackupPolicy
func (*BackupPolicySpec) DeepCopy ¶
func (in *BackupPolicySpec) DeepCopy() *BackupPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicySpec.
func (*BackupPolicySpec) DeepCopyInto ¶
func (in *BackupPolicySpec) DeepCopyInto(out *BackupPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupPolicyStatus ¶
type BackupPolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BackupPolicyObservation `json:"atProvider,omitempty"` }
BackupPolicyStatus defines the observed state of BackupPolicy.
func (*BackupPolicyStatus) DeepCopy ¶
func (in *BackupPolicyStatus) DeepCopy() *BackupPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPolicyStatus.
func (*BackupPolicyStatus) DeepCopyInto ¶
func (in *BackupPolicyStatus) DeepCopyInto(out *BackupPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColumnObservation ¶
type ColumnObservation struct { }
func (*ColumnObservation) DeepCopy ¶
func (in *ColumnObservation) DeepCopy() *ColumnObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnObservation.
func (*ColumnObservation) DeepCopyInto ¶
func (in *ColumnObservation) DeepCopyInto(out *ColumnObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColumnParameters ¶
type ColumnParameters struct { // Column name. // +kubebuilder:validation:Required ColumnName *string `json:"columnName" tf:"column_name,omitempty"` // Database name. // +kubebuilder:validation:Required DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` // Column privilege.available values for Privileges:SELECT,INSERT,UPDATE,REFERENCES. // +kubebuilder:validation:Required Privileges []*string `json:"privileges" tf:"privileges,omitempty"` // Table name. // +kubebuilder:validation:Required TableName *string `json:"tableName" tf:"table_name,omitempty"` }
func (*ColumnParameters) DeepCopy ¶
func (in *ColumnParameters) DeepCopy() *ColumnParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnParameters.
func (*ColumnParameters) DeepCopyInto ¶
func (in *ColumnParameters) DeepCopyInto(out *ColumnParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseObservation ¶
type DatabaseObservation struct { }
func (*DatabaseObservation) DeepCopy ¶
func (in *DatabaseObservation) DeepCopy() *DatabaseObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseObservation.
func (*DatabaseObservation) DeepCopyInto ¶
func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseParameters ¶
type DatabaseParameters struct { // Database name. // +kubebuilder:validation:Required DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` // Database privilege.available values for Privileges:SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,TRIGGER. // +kubebuilder:validation:Required Privileges []*string `json:"privileges" tf:"privileges,omitempty"` }
func (*DatabaseParameters) DeepCopy ¶
func (in *DatabaseParameters) DeepCopy() *DatabaseParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseParameters.
func (*DatabaseParameters) DeepCopyInto ¶
func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances 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 (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetProviderReference ¶
GetProviderReference of this Instance. Deprecated: Use GetProviderConfigReference.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
ResolveReferences of this Instance.
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetProviderReference ¶
SetProviderReference of this Instance. Deprecated: Use SetProviderConfigReference.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { Gtid *float64 `json:"gtid,omitempty" tf:"gtid,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` InternetHost *string `json:"internetHost,omitempty" tf:"internet_host,omitempty"` InternetPort *float64 `json:"internetPort,omitempty" tf:"internet_port,omitempty"` IntranetIP *string `json:"intranetIp,omitempty" tf:"intranet_ip,omitempty"` Locked *float64 `json:"locked,omitempty" tf:"locked,omitempty"` Status *float64 `json:"status,omitempty" tf:"status,omitempty"` TaskStatus *float64 `json:"taskStatus,omitempty" tf:"task_status,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // Auto renew flag. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional AutoRenewFlag *float64 `json:"autoRenewFlag,omitempty" tf:"auto_renew_flag,omitempty"` // Indicates which availability zone will be used. // +kubebuilder:validation:Optional AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"` // CPU cores. // +kubebuilder:validation:Optional CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` // Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`. // +kubebuilder:validation:Optional ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"` // Specify device type, available values: `UNIVERSAL` (default), `EXCLUSIVE`, `BASIC`. // +kubebuilder:validation:Optional DeviceType *string `json:"deviceType,omitempty" tf:"device_type,omitempty"` // The version number of the database engine to use. Supported versions include 5.5/5.6/5.7/8.0, and default is 5.7. Upgrade the instance engine version to support 5.6/5.7 and switch immediately. // +kubebuilder:validation:Optional EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"` // Specify whether to enable fast upgrade when upgrade instance spec, available value: `1` - enabled, `0` - disabled. // +kubebuilder:validation:Optional FastUpgrade *float64 `json:"fastUpgrade,omitempty" tf:"fast_upgrade,omitempty"` // Zone information about first slave instance. // +kubebuilder:validation:Optional FirstSlaveZone *string `json:"firstSlaveZone,omitempty" tf:"first_slave_zone,omitempty"` // Indicate whether to delete instance directly or not. Default is `false`. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // The name of a mysql instance. // +kubebuilder:validation:Required InstanceName *string `json:"instanceName" tf:"instance_name,omitempty"` // Indicates whether to enable the access to an instance from public network: 0 - No, 1 - Yes. // +kubebuilder:validation:Optional InternetService *float64 `json:"internetService,omitempty" tf:"internet_service,omitempty"` // Public access port. Valid value ranges: [1024~65535]. The default value is `3306`. // +kubebuilder:validation:Optional IntranetPort *float64 `json:"intranetPort,omitempty" tf:"intranet_port,omitempty"` // Latency threshold. Value range 1~10. Only need to fill in when upgrading kernel subversion and engine version. // +kubebuilder:validation:Optional MaxDeayTime *float64 `json:"maxDeayTime,omitempty" tf:"max_deay_time,omitempty"` // Memory size (in MB). // +kubebuilder:validation:Required MemSize *float64 `json:"memSize" tf:"mem_size,omitempty"` // Specify parameter template id. // +kubebuilder:validation:Optional ParamTemplateID *float64 `json:"paramTemplateId,omitempty" tf:"param_template_id,omitempty"` // List of parameters to use. // +kubebuilder:validation:Optional Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"` // Pay type of instance. Valid values: `0`, `1`. `0`: prepaid, `1`: postpaid. // +kubebuilder:validation:Optional PayType *float64 `json:"payType,omitempty" tf:"pay_type,omitempty"` // Period of instance. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional Period *float64 `json:"period,omitempty" tf:"period,omitempty"` // Period of instance. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional PrepaidPeriod *float64 `json:"prepaidPeriod,omitempty" tf:"prepaid_period,omitempty"` // Project ID, default value is 0. // +kubebuilder:validation:Optional ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"` // Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances. // +kubebuilder:validation:Optional RootPasswordSecretRef *v1.SecretKeySelector `json:"rootPasswordSecretRef,omitempty" tf:"-"` // Zone information about second slave instance. // +kubebuilder:validation:Optional SecondSlaveZone *string `json:"secondSlaveZone,omitempty" tf:"second_slave_zone,omitempty"` // Security groups to use. // +kubebuilder:validation:Optional SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` // Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones. // +kubebuilder:validation:Optional SlaveDeployMode *float64 `json:"slaveDeployMode,omitempty" tf:"slave_deploy_mode,omitempty"` // Data replication mode. 0 - Async replication; 1 - Semisync replication; 2 - Strongsync replication. // +kubebuilder:validation:Optional SlaveSyncMode *float64 `json:"slaveSyncMode,omitempty" tf:"slave_sync_mode,omitempty"` // Private network ID. If `vpc_id` is set, this value is required. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // Instance tags. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Whether it is a kernel subversion upgrade, supported values: 1 - upgrade the kernel subversion; 0 - upgrade the database engine version. Only need to fill in when upgrading kernel subversion and engine version. // +kubebuilder:validation:Optional UpgradeSubversion *float64 `json:"upgradeSubversion,omitempty" tf:"upgrade_subversion,omitempty"` // ID of VPC, which can be modified once every 24 hours and can't be removed. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcidSelector,omitempty" tf:"-"` // Disk size (in GB). // +kubebuilder:validation:Required VolumeSize *float64 `json:"volumeSize" tf:"volume_size,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Privilege ¶
type Privilege struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrivilegeSpec `json:"spec"` Status PrivilegeStatus `json:"status,omitempty"` }
Privilege is the Schema for the Privileges 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 (*Privilege) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Privilege.
func (*Privilege) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Privilege) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Privilege) GetCondition ¶
func (mg *Privilege) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Privilege.
func (*Privilege) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Privilege
func (*Privilege) GetDeletionPolicy ¶
func (mg *Privilege) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Privilege.
func (*Privilege) GetObservation ¶
GetObservation of this Privilege
func (*Privilege) GetParameters ¶
GetParameters of this Privilege
func (*Privilege) GetProviderConfigReference ¶
GetProviderConfigReference of this Privilege.
func (*Privilege) GetProviderReference ¶
GetProviderReference of this Privilege. Deprecated: Use GetProviderConfigReference.
func (*Privilege) GetPublishConnectionDetailsTo ¶
func (mg *Privilege) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Privilege.
func (*Privilege) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Privilege
func (*Privilege) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Privilege) GetWriteConnectionSecretToReference ¶
func (mg *Privilege) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Privilege.
func (*Privilege) LateInitialize ¶
LateInitialize this Privilege using its observed tfState. returns True if there are any spec changes for the resource.
func (*Privilege) ResolveReferences ¶
ResolveReferences of this Privilege.
func (*Privilege) SetConditions ¶
SetConditions of this Privilege.
func (*Privilege) SetDeletionPolicy ¶
func (mg *Privilege) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Privilege.
func (*Privilege) SetObservation ¶
SetObservation for this Privilege
func (*Privilege) SetParameters ¶
SetParameters for this Privilege
func (*Privilege) SetProviderConfigReference ¶
SetProviderConfigReference of this Privilege.
func (*Privilege) SetProviderReference ¶
SetProviderReference of this Privilege. Deprecated: Use SetProviderConfigReference.
func (*Privilege) SetPublishConnectionDetailsTo ¶
func (mg *Privilege) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Privilege.
func (*Privilege) SetWriteConnectionSecretToReference ¶
func (mg *Privilege) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Privilege.
type PrivilegeList ¶
type PrivilegeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Privilege `json:"items"` }
PrivilegeList contains a list of Privileges
func (*PrivilegeList) DeepCopy ¶
func (in *PrivilegeList) DeepCopy() *PrivilegeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeList.
func (*PrivilegeList) DeepCopyInto ¶
func (in *PrivilegeList) DeepCopyInto(out *PrivilegeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivilegeList) DeepCopyObject ¶
func (in *PrivilegeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PrivilegeList) GetItems ¶
func (l *PrivilegeList) GetItems() []resource.Managed
GetItems of this PrivilegeList.
type PrivilegeObservation ¶
type PrivilegeObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*PrivilegeObservation) DeepCopy ¶
func (in *PrivilegeObservation) DeepCopy() *PrivilegeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeObservation.
func (*PrivilegeObservation) DeepCopyInto ¶
func (in *PrivilegeObservation) DeepCopyInto(out *PrivilegeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegeParameters ¶
type PrivilegeParameters struct { // Account host, default is `%`. // +kubebuilder:validation:Optional AccountHost *string `json:"accountHost,omitempty" tf:"account_host,omitempty"` // Account name.the forbidden value is:root,mysql.sys,tencentroot. // +kubebuilder:validation:Required AccountName *string `json:"accountName" tf:"account_name,omitempty"` // Column privileges list. // +kubebuilder:validation:Optional Column []ColumnParameters `json:"column,omitempty" tf:"column,omitempty"` // Database privileges list. // +kubebuilder:validation:Optional Database []DatabaseParameters `json:"database,omitempty" tf:"database,omitempty"` // Global privileges. available values for Privileges:ALTER,ALTER ROUTINE,CREATE,CREATE ROUTINE,CREATE TEMPORARY TABLES,CREATE USER,CREATE VIEW,DELETE,DROP,EVENT,EXECUTE,INDEX,INSERT,LOCK TABLES,PROCESS,REFERENCES,RELOAD,REPLICATION CLIENT,REPLICATION SLAVE,SELECT,SHOW DATABASES,SHOW VIEW,TRIGGER,UPDATE. // +kubebuilder:validation:Required Global []*string `json:"global" tf:"global,omitempty"` // Instance ID. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional MySQLID *string `json:"mysqlId,omitempty" tf:"mysql_id,omitempty"` // +kubebuilder:validation:Optional MySQLIDRef *v1.Reference `json:"mySqlidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional MySQLIDSelector *v1.Selector `json:"mySqlidSelector,omitempty" tf:"-"` // Table privileges list. // +kubebuilder:validation:Optional Table []TableParameters `json:"table,omitempty" tf:"table,omitempty"` }
func (*PrivilegeParameters) DeepCopy ¶
func (in *PrivilegeParameters) DeepCopy() *PrivilegeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeParameters.
func (*PrivilegeParameters) DeepCopyInto ¶
func (in *PrivilegeParameters) DeepCopyInto(out *PrivilegeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegeSpec ¶
type PrivilegeSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PrivilegeParameters `json:"forProvider"` }
PrivilegeSpec defines the desired state of Privilege
func (*PrivilegeSpec) DeepCopy ¶
func (in *PrivilegeSpec) DeepCopy() *PrivilegeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeSpec.
func (*PrivilegeSpec) DeepCopyInto ¶
func (in *PrivilegeSpec) DeepCopyInto(out *PrivilegeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivilegeStatus ¶
type PrivilegeStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PrivilegeObservation `json:"atProvider,omitempty"` }
PrivilegeStatus defines the observed state of Privilege.
func (*PrivilegeStatus) DeepCopy ¶
func (in *PrivilegeStatus) DeepCopy() *PrivilegeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeStatus.
func (*PrivilegeStatus) DeepCopyInto ¶
func (in *PrivilegeStatus) DeepCopyInto(out *PrivilegeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadonlyInstance ¶
type ReadonlyInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReadonlyInstanceSpec `json:"spec"` Status ReadonlyInstanceStatus `json:"status,omitempty"` }
ReadonlyInstance is the Schema for the ReadonlyInstances 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 (*ReadonlyInstance) DeepCopy ¶
func (in *ReadonlyInstance) DeepCopy() *ReadonlyInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstance.
func (*ReadonlyInstance) DeepCopyInto ¶
func (in *ReadonlyInstance) DeepCopyInto(out *ReadonlyInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReadonlyInstance) DeepCopyObject ¶
func (in *ReadonlyInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReadonlyInstance) GetCondition ¶
func (mg *ReadonlyInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ReadonlyInstance.
func (*ReadonlyInstance) GetConnectionDetailsMapping ¶
func (tr *ReadonlyInstance) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ReadonlyInstance
func (*ReadonlyInstance) GetDeletionPolicy ¶
func (mg *ReadonlyInstance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ReadonlyInstance.
func (*ReadonlyInstance) GetID ¶
func (tr *ReadonlyInstance) GetID() string
GetID returns ID of underlying Terraform resource of this ReadonlyInstance
func (*ReadonlyInstance) GetObservation ¶
func (tr *ReadonlyInstance) GetObservation() (map[string]interface{}, error)
GetObservation of this ReadonlyInstance
func (*ReadonlyInstance) GetParameters ¶
func (tr *ReadonlyInstance) GetParameters() (map[string]interface{}, error)
GetParameters of this ReadonlyInstance
func (*ReadonlyInstance) GetProviderConfigReference ¶
func (mg *ReadonlyInstance) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ReadonlyInstance.
func (*ReadonlyInstance) GetProviderReference ¶
func (mg *ReadonlyInstance) GetProviderReference() *xpv1.Reference
GetProviderReference of this ReadonlyInstance. Deprecated: Use GetProviderConfigReference.
func (*ReadonlyInstance) GetPublishConnectionDetailsTo ¶
func (mg *ReadonlyInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ReadonlyInstance.
func (*ReadonlyInstance) GetTerraformResourceType ¶
func (mg *ReadonlyInstance) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ReadonlyInstance
func (*ReadonlyInstance) GetTerraformSchemaVersion ¶
func (tr *ReadonlyInstance) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ReadonlyInstance) GetWriteConnectionSecretToReference ¶
func (mg *ReadonlyInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ReadonlyInstance.
func (*ReadonlyInstance) LateInitialize ¶
func (tr *ReadonlyInstance) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ReadonlyInstance using its observed tfState. returns True if there are any spec changes for the resource.
func (*ReadonlyInstance) ResolveReferences ¶
ResolveReferences of this ReadonlyInstance.
func (*ReadonlyInstance) SetConditions ¶
func (mg *ReadonlyInstance) SetConditions(c ...xpv1.Condition)
SetConditions of this ReadonlyInstance.
func (*ReadonlyInstance) SetDeletionPolicy ¶
func (mg *ReadonlyInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ReadonlyInstance.
func (*ReadonlyInstance) SetObservation ¶
func (tr *ReadonlyInstance) SetObservation(obs map[string]interface{}) error
SetObservation for this ReadonlyInstance
func (*ReadonlyInstance) SetParameters ¶
func (tr *ReadonlyInstance) SetParameters(params map[string]interface{}) error
SetParameters for this ReadonlyInstance
func (*ReadonlyInstance) SetProviderConfigReference ¶
func (mg *ReadonlyInstance) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ReadonlyInstance.
func (*ReadonlyInstance) SetProviderReference ¶
func (mg *ReadonlyInstance) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ReadonlyInstance. Deprecated: Use SetProviderConfigReference.
func (*ReadonlyInstance) SetPublishConnectionDetailsTo ¶
func (mg *ReadonlyInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ReadonlyInstance.
func (*ReadonlyInstance) SetWriteConnectionSecretToReference ¶
func (mg *ReadonlyInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ReadonlyInstance.
type ReadonlyInstanceList ¶
type ReadonlyInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ReadonlyInstance `json:"items"` }
ReadonlyInstanceList contains a list of ReadonlyInstances
func (*ReadonlyInstanceList) DeepCopy ¶
func (in *ReadonlyInstanceList) DeepCopy() *ReadonlyInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstanceList.
func (*ReadonlyInstanceList) DeepCopyInto ¶
func (in *ReadonlyInstanceList) DeepCopyInto(out *ReadonlyInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReadonlyInstanceList) DeepCopyObject ¶
func (in *ReadonlyInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReadonlyInstanceList) GetItems ¶
func (l *ReadonlyInstanceList) GetItems() []resource.Managed
GetItems of this ReadonlyInstanceList.
type ReadonlyInstanceObservation ¶
type ReadonlyInstanceObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` IntranetIP *string `json:"intranetIp,omitempty" tf:"intranet_ip,omitempty"` Locked *float64 `json:"locked,omitempty" tf:"locked,omitempty"` Status *float64 `json:"status,omitempty" tf:"status,omitempty"` TaskStatus *float64 `json:"taskStatus,omitempty" tf:"task_status,omitempty"` }
func (*ReadonlyInstanceObservation) DeepCopy ¶
func (in *ReadonlyInstanceObservation) DeepCopy() *ReadonlyInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstanceObservation.
func (*ReadonlyInstanceObservation) DeepCopyInto ¶
func (in *ReadonlyInstanceObservation) DeepCopyInto(out *ReadonlyInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadonlyInstanceParameters ¶
type ReadonlyInstanceParameters struct { // Auto renew flag. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional AutoRenewFlag *float64 `json:"autoRenewFlag,omitempty" tf:"auto_renew_flag,omitempty"` // CPU cores. // +kubebuilder:validation:Optional CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"` // Pay type of instance. Valid values:`PREPAID`, `POSTPAID`. Default is `POSTPAID`. // +kubebuilder:validation:Optional ChargeType *string `json:"chargeType,omitempty" tf:"charge_type,omitempty"` // Specify device type, available values: `UNIVERSAL` (default), `EXCLUSIVE`, `BASIC`. // +kubebuilder:validation:Optional DeviceType *string `json:"deviceType,omitempty" tf:"device_type,omitempty"` // Specify whether to enable fast upgrade when upgrade instance spec, available value: `1` - enabled, `0` - disabled. // +kubebuilder:validation:Optional FastUpgrade *float64 `json:"fastUpgrade,omitempty" tf:"fast_upgrade,omitempty"` // Indicate whether to delete instance directly or not. Default is `false`. If set true, the instance will be deleted instead of staying recycle bin. Note: only works for `PREPAID` instance. When the main mysql instance set true, this para of the readonly mysql instance will not take effect. // +kubebuilder:validation:Optional ForceDelete *bool `json:"forceDelete,omitempty" tf:"force_delete,omitempty"` // The name of a mysql instance. // +kubebuilder:validation:Required InstanceName *string `json:"instanceName" tf:"instance_name,omitempty"` // Public access port. Valid value ranges: [1024~65535]. The default value is `3306`. // +kubebuilder:validation:Optional IntranetPort *float64 `json:"intranetPort,omitempty" tf:"intranet_port,omitempty"` // Indicates the master instance ID of recovery instances. // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional MasterInstanceID *string `json:"masterInstanceId,omitempty" tf:"master_instance_id,omitempty"` // +kubebuilder:validation:Optional MasterInstanceIDRef *v1.Reference `json:"masterInstanceIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional MasterInstanceIDSelector *v1.Selector `json:"masterInstanceIdSelector,omitempty" tf:"-"` // The zone information of the primary instance is required when you purchase a disaster recovery instance. // +kubebuilder:validation:Optional MasterRegion *string `json:"masterRegion,omitempty" tf:"master_region,omitempty"` // Memory size (in MB). // +kubebuilder:validation:Required MemSize *float64 `json:"memSize" tf:"mem_size,omitempty"` // Specify parameter template id. // +kubebuilder:validation:Optional ParamTemplateID *float64 `json:"paramTemplateId,omitempty" tf:"param_template_id,omitempty"` // Pay type of instance. Valid values: `0`, `1`. `0`: prepaid, `1`: postpaid. // +kubebuilder:validation:Optional PayType *float64 `json:"payType,omitempty" tf:"pay_type,omitempty"` // Period of instance. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional Period *float64 `json:"period,omitempty" tf:"period,omitempty"` // Period of instance. NOTES: Only supported prepaid instance. // +kubebuilder:validation:Optional PrepaidPeriod *float64 `json:"prepaidPeriod,omitempty" tf:"prepaid_period,omitempty"` // Security groups to use. // +kubebuilder:validation:Optional SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` // Private network ID. If `vpc_id` is set, this value is required. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet // +kubebuilder:validation:Optional SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"` // +kubebuilder:validation:Optional SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"` // Instance tags. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // ID of VPC, which can be modified once every 24 hours and can't be removed. // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC // +kubebuilder:validation:Optional VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"` // +kubebuilder:validation:Optional VPCIDRef *v1.Reference `json:"vpcidRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional VPCIDSelector *v1.Selector `json:"vpcidSelector,omitempty" tf:"-"` // Disk size (in GB). // +kubebuilder:validation:Required VolumeSize *float64 `json:"volumeSize" tf:"volume_size,omitempty"` // Zone information, this parameter defaults to, the system automatically selects an Availability Zone. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*ReadonlyInstanceParameters) DeepCopy ¶
func (in *ReadonlyInstanceParameters) DeepCopy() *ReadonlyInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstanceParameters.
func (*ReadonlyInstanceParameters) DeepCopyInto ¶
func (in *ReadonlyInstanceParameters) DeepCopyInto(out *ReadonlyInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadonlyInstanceSpec ¶
type ReadonlyInstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ReadonlyInstanceParameters `json:"forProvider"` }
ReadonlyInstanceSpec defines the desired state of ReadonlyInstance
func (*ReadonlyInstanceSpec) DeepCopy ¶
func (in *ReadonlyInstanceSpec) DeepCopy() *ReadonlyInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstanceSpec.
func (*ReadonlyInstanceSpec) DeepCopyInto ¶
func (in *ReadonlyInstanceSpec) DeepCopyInto(out *ReadonlyInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReadonlyInstanceStatus ¶
type ReadonlyInstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ReadonlyInstanceObservation `json:"atProvider,omitempty"` }
ReadonlyInstanceStatus defines the observed state of ReadonlyInstance.
func (*ReadonlyInstanceStatus) DeepCopy ¶
func (in *ReadonlyInstanceStatus) DeepCopy() *ReadonlyInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadonlyInstanceStatus.
func (*ReadonlyInstanceStatus) DeepCopyInto ¶
func (in *ReadonlyInstanceStatus) DeepCopyInto(out *ReadonlyInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableObservation ¶
type TableObservation struct { }
func (*TableObservation) DeepCopy ¶
func (in *TableObservation) DeepCopy() *TableObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableObservation.
func (*TableObservation) DeepCopyInto ¶
func (in *TableObservation) DeepCopyInto(out *TableObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableParameters ¶
type TableParameters struct { // Database name. // +kubebuilder:validation:Required DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"` // Table privilege.available values for Privileges:SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,INDEX,ALTER,CREATE VIEW,SHOW VIEW,TRIGGER. // +kubebuilder:validation:Required Privileges []*string `json:"privileges" tf:"privileges,omitempty"` // Table name. // +kubebuilder:validation:Required TableName *string `json:"tableName" tf:"table_name,omitempty"` }
func (*TableParameters) DeepCopy ¶
func (in *TableParameters) DeepCopy() *TableParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableParameters.
func (*TableParameters) DeepCopyInto ¶
func (in *TableParameters) DeepCopyInto(out *TableParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- zz_account_types.go
- zz_accountprivilege_types.go
- zz_backuppolicy_types.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_generated_terraformed.go
- zz_groupversion_info.go
- zz_instance_types.go
- zz_privilege_types.go
- zz_readonlyinstance_types.go