v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+groupName=rds.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: rds.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Account

type Account struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSpec   `json:"spec,omitempty"`
	Status            AccountStatus `json:"status,omitempty"`
}

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Account) DeepCopyObject

func (in *Account) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Account) SetupWebhookWithManager

func (r *Account) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Account) ValidateCreate

func (r *Account) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Account) ValidateDelete

func (r *Account) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Account) ValidateUpdate

func (r *Account) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AccountList

type AccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Account CRD objects
	Items []Account `json:"items,omitempty"`
}

AccountList is 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.

type AccountSpec

type AccountSpec struct {
	State *AccountSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccountSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 AccountSpecResource

type AccountSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AccountDescription *string `json:"accountDescription,omitempty" tf:"account_description"`
	// +optional
	AccountName *string `json:"accountName,omitempty" tf:"account_name"`
	// +optional
	AccountPassword *string `json:"-" sensitive:"true" tf:"account_password"`
	// +optional
	AccountType *string `json:"accountType,omitempty" tf:"account_type"`
	// +optional
	DbInstanceID *string `json:"dbInstanceID,omitempty" tf:"db_instance_id"`
	// +optional
	// Deprecated
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	// Deprecated
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	// +optional
	KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"`
	// +optional
	KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	// Deprecated
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*AccountSpecResource) DeepCopy

func (in *AccountSpecResource) DeepCopy() *AccountSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpecResource.

func (*AccountSpecResource) DeepCopyInto

func (in *AccountSpecResource) DeepCopyInto(out *AccountSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AccountStatus

type AccountStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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 Backup added in v0.5.0

type Backup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackupSpec   `json:"spec,omitempty"`
	Status            BackupStatus `json:"status,omitempty"`
}

func (*Backup) DeepCopy added in v0.5.0

func (in *Backup) DeepCopy() *Backup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.

func (*Backup) DeepCopyInto added in v0.5.0

func (in *Backup) DeepCopyInto(out *Backup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Backup) DeepCopyObject added in v0.5.0

func (in *Backup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Backup) SetupWebhookWithManager added in v0.5.0

func (r *Backup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Backup) ValidateCreate added in v0.5.0

func (r *Backup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Backup) ValidateDelete added in v0.5.0

func (r *Backup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Backup) ValidateUpdate added in v0.5.0

func (r *Backup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BackupList added in v0.5.0

type BackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Backup CRD objects
	Items []Backup `json:"items,omitempty"`
}

BackupList is a list of Backups

func (*BackupList) DeepCopy added in v0.5.0

func (in *BackupList) DeepCopy() *BackupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.

func (*BackupList) DeepCopyInto added in v0.5.0

func (in *BackupList) DeepCopyInto(out *BackupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BackupList) DeepCopyObject added in v0.5.0

func (in *BackupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BackupSpec added in v0.5.0

type BackupSpec struct {
	State *BackupSpecResource `json:"state,omitempty" tf:"-"`

	Resource BackupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*BackupSpec) DeepCopy added in v0.5.0

func (in *BackupSpec) DeepCopy() *BackupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.

func (*BackupSpec) DeepCopyInto added in v0.5.0

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupSpecResource added in v0.5.0

type BackupSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	BackupID *string `json:"backupID,omitempty" tf:"backup_id"`
	// +optional
	BackupMethod *string `json:"backupMethod,omitempty" tf:"backup_method"`
	// +optional
	BackupStrategy *string `json:"backupStrategy,omitempty" tf:"backup_strategy"`
	// +optional
	BackupType   *string `json:"backupType,omitempty" tf:"backup_type"`
	DbInstanceID *string `json:"dbInstanceID" tf:"db_instance_id"`
	// +optional
	DbName *string `json:"dbName,omitempty" tf:"db_name"`
	// +optional
	RemoveFromState *bool `json:"removeFromState,omitempty" tf:"remove_from_state"`
	// +optional
	StoreStatus *string `json:"storeStatus,omitempty" tf:"store_status"`
}

func (*BackupSpecResource) DeepCopy added in v0.5.0

func (in *BackupSpecResource) DeepCopy() *BackupSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpecResource.

func (*BackupSpecResource) DeepCopyInto added in v0.5.0

func (in *BackupSpecResource) DeepCopyInto(out *BackupSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BackupStatus added in v0.5.0

type BackupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*BackupStatus) DeepCopy added in v0.5.0

func (in *BackupStatus) DeepCopy() *BackupStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.

func (*BackupStatus) DeepCopyInto added in v0.5.0

func (in *BackupStatus) DeepCopyInto(out *BackupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneDbInstance added in v0.5.0

type CloneDbInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CloneDbInstanceSpec   `json:"spec,omitempty"`
	Status            CloneDbInstanceStatus `json:"status,omitempty"`
}

func (*CloneDbInstance) DeepCopy added in v0.5.0

func (in *CloneDbInstance) DeepCopy() *CloneDbInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstance.

func (*CloneDbInstance) DeepCopyInto added in v0.5.0

func (in *CloneDbInstance) DeepCopyInto(out *CloneDbInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloneDbInstance) DeepCopyObject added in v0.5.0

func (in *CloneDbInstance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CloneDbInstance) SetupWebhookWithManager added in v0.5.0

func (r *CloneDbInstance) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CloneDbInstance) ValidateCreate added in v0.5.0

func (r *CloneDbInstance) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CloneDbInstance) ValidateDelete added in v0.5.0

func (r *CloneDbInstance) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CloneDbInstance) ValidateUpdate added in v0.5.0

func (r *CloneDbInstance) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CloneDbInstanceList added in v0.5.0

type CloneDbInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CloneDbInstance CRD objects
	Items []CloneDbInstance `json:"items,omitempty"`
}

CloneDbInstanceList is a list of CloneDbInstances

func (*CloneDbInstanceList) DeepCopy added in v0.5.0

func (in *CloneDbInstanceList) DeepCopy() *CloneDbInstanceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceList.

func (*CloneDbInstanceList) DeepCopyInto added in v0.5.0

func (in *CloneDbInstanceList) DeepCopyInto(out *CloneDbInstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CloneDbInstanceList) DeepCopyObject added in v0.5.0

func (in *CloneDbInstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CloneDbInstanceSpec added in v0.5.0

type CloneDbInstanceSpec struct {
	State *CloneDbInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource CloneDbInstanceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CloneDbInstanceSpec) DeepCopy added in v0.5.0

func (in *CloneDbInstanceSpec) DeepCopy() *CloneDbInstanceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceSpec.

func (*CloneDbInstanceSpec) DeepCopyInto added in v0.5.0

func (in *CloneDbInstanceSpec) DeepCopyInto(out *CloneDbInstanceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneDbInstanceSpecParameters added in v0.5.0

type CloneDbInstanceSpecParameters struct {
	Name  *string `json:"name" tf:"name"`
	Value *string `json:"value" tf:"value"`
}

func (*CloneDbInstanceSpecParameters) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceSpecParameters.

func (*CloneDbInstanceSpecParameters) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneDbInstanceSpecPgHbaConf added in v0.5.0

type CloneDbInstanceSpecPgHbaConf struct {
	Address  *string `json:"address" tf:"address"`
	Database *string `json:"database" tf:"database"`
	// +optional
	Mask   *string `json:"mask,omitempty" tf:"mask"`
	Method *string `json:"method" tf:"method"`
	// +optional
	Option     *string `json:"option,omitempty" tf:"option"`
	PriorityID *int64  `json:"priorityID" tf:"priority_id"`
	Type       *string `json:"type" tf:"type"`
	User       *string `json:"user" tf:"user"`
}

func (*CloneDbInstanceSpecPgHbaConf) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceSpecPgHbaConf.

func (*CloneDbInstanceSpecPgHbaConf) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneDbInstanceSpecResource added in v0.5.0

type CloneDbInstanceSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Acl *string `json:"acl,omitempty" tf:"acl"`
	// +optional
	AutoUpgradeMinorVersion *string `json:"autoUpgradeMinorVersion,omitempty" tf:"auto_upgrade_minor_version"`
	// +optional
	BackupID *string `json:"backupID,omitempty" tf:"backup_id"`
	// +optional
	BackupType *string `json:"backupType,omitempty" tf:"backup_type"`
	// +optional
	CaType *string `json:"caType,omitempty" tf:"ca_type"`
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Certificate *string `json:"certificate,omitempty" tf:"certificate"`
	// +optional
	ClientCaCert *string `json:"clientCaCert,omitempty" tf:"client_ca_cert"`
	// +optional
	ClientCaEnabled *int64 `json:"clientCaEnabled,omitempty" tf:"client_ca_enabled"`
	// +optional
	ClientCertRevocationList *string `json:"clientCertRevocationList,omitempty" tf:"client_cert_revocation_list"`
	// +optional
	ClientCrlEnabled *int64 `json:"clientCrlEnabled,omitempty" tf:"client_crl_enabled"`
	// +optional
	ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string"`
	// +optional
	ConnectionStringPrefix *string `json:"connectionStringPrefix,omitempty" tf:"connection_string_prefix"`
	// +optional
	DbInstanceClass *string `json:"dbInstanceClass,omitempty" tf:"db_instance_class"`
	// +optional
	DbInstanceDescription *string `json:"dbInstanceDescription,omitempty" tf:"db_instance_description"`
	// +optional
	DbInstanceStorage     *int64  `json:"dbInstanceStorage,omitempty" tf:"db_instance_storage"`
	DbInstanceStorageType *string `json:"dbInstanceStorageType" tf:"db_instance_storage_type"`
	// +optional
	DbName *string `json:"dbName,omitempty" tf:"db_name"`
	// +optional
	DbNames *string `json:"dbNames,omitempty" tf:"db_names"`
	// +optional
	DedicatedHostGroupID *string `json:"dedicatedHostGroupID,omitempty" tf:"dedicated_host_group_id"`
	// +optional
	Direction *string `json:"direction,omitempty" tf:"direction"`
	// +optional
	EffectiveTime *string `json:"effectiveTime,omitempty" tf:"effective_time"`
	// +optional
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key"`
	// +optional
	Engine *string `json:"engine,omitempty" tf:"engine"`
	// +optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version"`
	// +optional
	ForceRestart *bool `json:"forceRestart,omitempty" tf:"force_restart"`
	// +optional
	HaMode *string `json:"haMode,omitempty" tf:"ha_mode"`
	// +optional
	InstanceNetworkType *string `json:"instanceNetworkType,omitempty" tf:"instance_network_type"`
	// +optional
	MaintainTime *string `json:"maintainTime,omitempty" tf:"maintain_time"`
	// +optional
	Parameters []CloneDbInstanceSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	Password    *string `json:"password,omitempty" tf:"password"`
	PaymentType *string `json:"paymentType" tf:"payment_type"`
	// +optional
	Period *string `json:"period,omitempty" tf:"period"`
	// +optional
	PgHbaConf []CloneDbInstanceSpecPgHbaConf `json:"pgHbaConf,omitempty" tf:"pg_hba_conf"`
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
	// +optional
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"`
	// +optional
	PrivateKey *string `json:"privateKey,omitempty" tf:"private_key"`
	// +optional
	ReleasedKeepPolicy *string `json:"releasedKeepPolicy,omitempty" tf:"released_keep_policy"`
	// +optional
	ReplicationACL *string `json:"replicationACL,omitempty" tf:"replication_acl"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RestoreTable *string `json:"restoreTable,omitempty" tf:"restore_table"`
	// +optional
	RestoreTime *string `json:"restoreTime,omitempty" tf:"restore_time"`
	// +optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn"`
	// +optional
	SecurityIPS []string `json:"securityIPS,omitempty" tf:"security_ips"`
	// +optional
	ServerCert *string `json:"serverCert,omitempty" tf:"server_cert"`
	// +optional
	ServerKey *string `json:"serverKey,omitempty" tf:"server_key"`
	// +optional
	SourceBiz          *string `json:"sourceBiz,omitempty" tf:"source_biz"`
	SourceDbInstanceID *string `json:"sourceDbInstanceID" tf:"source_db_instance_id"`
	// +optional
	SslEnabled *int64 `json:"sslEnabled,omitempty" tf:"ssl_enabled"`
	// +optional
	SwitchTime *string `json:"switchTime,omitempty" tf:"switch_time"`
	// +optional
	SyncMode *string `json:"syncMode,omitempty" tf:"sync_mode"`
	// +optional
	TableMeta *string `json:"tableMeta,omitempty" tf:"table_meta"`
	// +optional
	TdeStatus *string `json:"tdeStatus,omitempty" tf:"tde_status"`
	// +optional
	UsedTime *int64 `json:"usedTime,omitempty" tf:"used_time"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*CloneDbInstanceSpecResource) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceSpecResource.

func (*CloneDbInstanceSpecResource) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloneDbInstanceStatus added in v0.5.0

type CloneDbInstanceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CloneDbInstanceStatus) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloneDbInstanceStatus.

func (*CloneDbInstanceStatus) DeepCopyInto added in v0.5.0

func (in *CloneDbInstanceStatus) DeepCopyInto(out *CloneDbInstanceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ParameterGroup

type ParameterGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ParameterGroupSpec   `json:"spec,omitempty"`
	Status            ParameterGroupStatus `json:"status,omitempty"`
}

func (*ParameterGroup) DeepCopy

func (in *ParameterGroup) DeepCopy() *ParameterGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroup.

func (*ParameterGroup) DeepCopyInto

func (in *ParameterGroup) DeepCopyInto(out *ParameterGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ParameterGroup) DeepCopyObject

func (in *ParameterGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ParameterGroup) SetupWebhookWithManager

func (r *ParameterGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ParameterGroup) ValidateCreate

func (r *ParameterGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ParameterGroup) ValidateDelete

func (r *ParameterGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ParameterGroup) ValidateUpdate

func (r *ParameterGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ParameterGroupList

type ParameterGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ParameterGroup CRD objects
	Items []ParameterGroup `json:"items,omitempty"`
}

ParameterGroupList is a list of ParameterGroups

func (*ParameterGroupList) DeepCopy

func (in *ParameterGroupList) DeepCopy() *ParameterGroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroupList.

func (*ParameterGroupList) DeepCopyInto

func (in *ParameterGroupList) DeepCopyInto(out *ParameterGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ParameterGroupList) DeepCopyObject

func (in *ParameterGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ParameterGroupSpec

type ParameterGroupSpec struct {
	State *ParameterGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ParameterGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ParameterGroupSpec) DeepCopy

func (in *ParameterGroupSpec) DeepCopy() *ParameterGroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroupSpec.

func (*ParameterGroupSpec) DeepCopyInto

func (in *ParameterGroupSpec) DeepCopyInto(out *ParameterGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ParameterGroupSpecParamDetail

type ParameterGroupSpecParamDetail struct {
	ParamName  *string `json:"paramName" tf:"param_name"`
	ParamValue *string `json:"paramValue" tf:"param_value"`
}

func (*ParameterGroupSpecParamDetail) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroupSpecParamDetail.

func (*ParameterGroupSpecParamDetail) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ParameterGroupSpecResource

type ParameterGroupSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Engine        *string                         `json:"engine" tf:"engine"`
	EngineVersion *string                         `json:"engineVersion" tf:"engine_version"`
	ParamDetail   []ParameterGroupSpecParamDetail `json:"paramDetail" tf:"param_detail"`
	// +optional
	ParameterGroupDesc *string `json:"parameterGroupDesc,omitempty" tf:"parameter_group_desc"`
	ParameterGroupName *string `json:"parameterGroupName" tf:"parameter_group_name"`
}

func (*ParameterGroupSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroupSpecResource.

func (*ParameterGroupSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ParameterGroupStatus

type ParameterGroupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ParameterGroupStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterGroupStatus.

func (*ParameterGroupStatus) DeepCopyInto

func (in *ParameterGroupStatus) DeepCopyInto(out *ParameterGroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeDbInstance added in v0.5.0

type UpgradeDbInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UpgradeDbInstanceSpec   `json:"spec,omitempty"`
	Status            UpgradeDbInstanceStatus `json:"status,omitempty"`
}

func (*UpgradeDbInstance) DeepCopy added in v0.5.0

func (in *UpgradeDbInstance) DeepCopy() *UpgradeDbInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstance.

func (*UpgradeDbInstance) DeepCopyInto added in v0.5.0

func (in *UpgradeDbInstance) DeepCopyInto(out *UpgradeDbInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UpgradeDbInstance) DeepCopyObject added in v0.5.0

func (in *UpgradeDbInstance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*UpgradeDbInstance) SetupWebhookWithManager added in v0.5.0

func (r *UpgradeDbInstance) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*UpgradeDbInstance) ValidateCreate added in v0.5.0

func (r *UpgradeDbInstance) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*UpgradeDbInstance) ValidateDelete added in v0.5.0

func (r *UpgradeDbInstance) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*UpgradeDbInstance) ValidateUpdate added in v0.5.0

func (r *UpgradeDbInstance) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type UpgradeDbInstanceList added in v0.5.0

type UpgradeDbInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of UpgradeDbInstance CRD objects
	Items []UpgradeDbInstance `json:"items,omitempty"`
}

UpgradeDbInstanceList is a list of UpgradeDbInstances

func (*UpgradeDbInstanceList) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceList.

func (*UpgradeDbInstanceList) DeepCopyInto added in v0.5.0

func (in *UpgradeDbInstanceList) DeepCopyInto(out *UpgradeDbInstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UpgradeDbInstanceList) DeepCopyObject added in v0.5.0

func (in *UpgradeDbInstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UpgradeDbInstanceSpec added in v0.5.0

type UpgradeDbInstanceSpec struct {
	State *UpgradeDbInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource UpgradeDbInstanceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*UpgradeDbInstanceSpec) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceSpec.

func (*UpgradeDbInstanceSpec) DeepCopyInto added in v0.5.0

func (in *UpgradeDbInstanceSpec) DeepCopyInto(out *UpgradeDbInstanceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeDbInstanceSpecParameters added in v0.5.0

type UpgradeDbInstanceSpecParameters struct {
	Name  *string `json:"name" tf:"name"`
	Value *string `json:"value" tf:"value"`
}

func (*UpgradeDbInstanceSpecParameters) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceSpecParameters.

func (*UpgradeDbInstanceSpecParameters) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeDbInstanceSpecPgHbaConf added in v0.5.0

type UpgradeDbInstanceSpecPgHbaConf struct {
	Address  *string `json:"address" tf:"address"`
	Database *string `json:"database" tf:"database"`
	// +optional
	Mask   *string `json:"mask,omitempty" tf:"mask"`
	Method *string `json:"method" tf:"method"`
	// +optional
	Option     *string `json:"option,omitempty" tf:"option"`
	PriorityID *int64  `json:"priorityID" tf:"priority_id"`
	Type       *string `json:"type" tf:"type"`
	User       *string `json:"user" tf:"user"`
}

func (*UpgradeDbInstanceSpecPgHbaConf) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceSpecPgHbaConf.

func (*UpgradeDbInstanceSpecPgHbaConf) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeDbInstanceSpecResource added in v0.5.0

type UpgradeDbInstanceSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Acl *string `json:"acl,omitempty" tf:"acl"`
	// +optional
	AutoUpgradeMinorVersion *string `json:"autoUpgradeMinorVersion,omitempty" tf:"auto_upgrade_minor_version"`
	// +optional
	CaType *string `json:"caType,omitempty" tf:"ca_type"`
	// +optional
	Certificate *string `json:"certificate,omitempty" tf:"certificate"`
	// +optional
	ClientCaCert *string `json:"clientCaCert,omitempty" tf:"client_ca_cert"`
	// +optional
	ClientCaEnabled *int64 `json:"clientCaEnabled,omitempty" tf:"client_ca_enabled"`
	// +optional
	ClientCertRevocationList *string `json:"clientCertRevocationList,omitempty" tf:"client_cert_revocation_list"`
	// +optional
	ClientCrlEnabled *int64  `json:"clientCrlEnabled,omitempty" tf:"client_crl_enabled"`
	CollectStatMode  *string `json:"collectStatMode" tf:"collect_stat_mode"`
	// +optional
	ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string"`
	// +optional
	ConnectionStringPrefix *string `json:"connectionStringPrefix,omitempty" tf:"connection_string_prefix"`
	DbInstanceClass        *string `json:"dbInstanceClass" tf:"db_instance_class"`
	// +optional
	DbInstanceDescription *string `json:"dbInstanceDescription,omitempty" tf:"db_instance_description"`
	DbInstanceStorage     *int64  `json:"dbInstanceStorage" tf:"db_instance_storage"`
	DbInstanceStorageType *string `json:"dbInstanceStorageType" tf:"db_instance_storage_type"`
	// +optional
	DbName *string `json:"dbName,omitempty" tf:"db_name"`
	// +optional
	DedicatedHostGroupID *string `json:"dedicatedHostGroupID,omitempty" tf:"dedicated_host_group_id"`
	// +optional
	Direction *string `json:"direction,omitempty" tf:"direction"`
	// +optional
	EffectiveTime *string `json:"effectiveTime,omitempty" tf:"effective_time"`
	// +optional
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key"`
	// +optional
	Engine *string `json:"engine,omitempty" tf:"engine"`
	// +optional
	EngineVersion *string `json:"engineVersion,omitempty" tf:"engine_version"`
	// +optional
	ForceRestart *bool `json:"forceRestart,omitempty" tf:"force_restart"`
	// +optional
	HaMode              *string `json:"haMode,omitempty" tf:"ha_mode"`
	InstanceNetworkType *string `json:"instanceNetworkType" tf:"instance_network_type"`
	// +optional
	MaintainTime *string `json:"maintainTime,omitempty" tf:"maintain_time"`
	// +optional
	Parameters []UpgradeDbInstanceSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	Password    *string `json:"password,omitempty" tf:"password"`
	PaymentType *string `json:"paymentType" tf:"payment_type"`
	// +optional
	PgHbaConf []UpgradeDbInstanceSpecPgHbaConf `json:"pgHbaConf,omitempty" tf:"pg_hba_conf"`
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
	// +optional
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"`
	// +optional
	PrivateKey *string `json:"privateKey,omitempty" tf:"private_key"`
	// +optional
	ReleasedKeepPolicy *string `json:"releasedKeepPolicy,omitempty" tf:"released_keep_policy"`
	// +optional
	ReplicationACL *string `json:"replicationACL,omitempty" tf:"replication_acl"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn"`
	// +optional
	SecurityIPS []string `json:"securityIPS,omitempty" tf:"security_ips"`
	// +optional
	ServerCert *string `json:"serverCert,omitempty" tf:"server_cert"`
	// +optional
	ServerKey *string `json:"serverKey,omitempty" tf:"server_key"`
	// +optional
	SourceBiz          *string `json:"sourceBiz,omitempty" tf:"source_biz"`
	SourceDbInstanceID *string `json:"sourceDbInstanceID" tf:"source_db_instance_id"`
	// +optional
	SslEnabled *int64  `json:"sslEnabled,omitempty" tf:"ssl_enabled"`
	SwitchOver *string `json:"switchOver" tf:"switch_over"`
	// +optional
	SwitchTime *string `json:"switchTime,omitempty" tf:"switch_time"`
	// +optional
	SwitchTimeMode *string `json:"switchTimeMode,omitempty" tf:"switch_time_mode"`
	// +optional
	SyncMode           *string `json:"syncMode,omitempty" tf:"sync_mode"`
	TargetMajorVersion *string `json:"targetMajorVersion" tf:"target_major_version"`
	// +optional
	TdeStatus *string `json:"tdeStatus,omitempty" tf:"tde_status"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
	// +optional
	ZoneIDSlave1 *string `json:"zoneIDSlave1,omitempty" tf:"zone_id_slave_1"`
}

func (*UpgradeDbInstanceSpecResource) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceSpecResource.

func (*UpgradeDbInstanceSpecResource) DeepCopyInto added in v0.5.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UpgradeDbInstanceStatus added in v0.5.0

type UpgradeDbInstanceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*UpgradeDbInstanceStatus) DeepCopy added in v0.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeDbInstanceStatus.

func (*UpgradeDbInstanceStatus) DeepCopyInto added in v0.5.0

func (in *UpgradeDbInstanceStatus) DeepCopyInto(out *UpgradeDbInstanceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL