v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

+groupName=db.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: db.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 AccountPrivilege

type AccountPrivilege struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountPrivilegeSpec   `json:"spec,omitempty"`
	Status            AccountPrivilegeStatus `json:"status,omitempty"`
}

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) SetupWebhookWithManager

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

func (*AccountPrivilege) ValidateCreate

func (r *AccountPrivilege) ValidateCreate() error

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

func (*AccountPrivilege) ValidateDelete

func (r *AccountPrivilege) ValidateDelete() error

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

func (*AccountPrivilege) ValidateUpdate

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

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

type AccountPrivilegeList

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

AccountPrivilegeList is a list of AccountPrivileges

func (*AccountPrivilegeList) DeepCopy

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.

type AccountPrivilegeSpec

type AccountPrivilegeSpec struct {
	State *AccountPrivilegeSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccountPrivilegeSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*AccountPrivilegeSpec) DeepCopy

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 AccountPrivilegeSpecResource

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

	AccountName *string `json:"accountName" tf:"account_name"`
	// +kubebuilder:validation:MinItems=1
	DbNames    []string `json:"dbNames" tf:"db_names"`
	InstanceID *string  `json:"instanceID" tf:"instance_id"`
	// +optional
	Privilege *string `json:"privilege,omitempty" tf:"privilege"`
}

func (*AccountPrivilegeSpecResource) DeepCopy

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

func (*AccountPrivilegeSpecResource) DeepCopyInto

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

type AccountPrivilegeStatus

type AccountPrivilegeStatus 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 (*AccountPrivilegeStatus) DeepCopy

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 {
	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:"-"`
}

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 BackupPolicy

type BackupPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BackupPolicySpec   `json:"spec,omitempty"`
	Status            BackupPolicyStatus `json:"status,omitempty"`
}

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) SetupWebhookWithManager

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

func (*BackupPolicy) ValidateCreate

func (r *BackupPolicy) ValidateCreate() error

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

func (*BackupPolicy) ValidateDelete

func (r *BackupPolicy) ValidateDelete() error

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

func (*BackupPolicy) ValidateUpdate

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

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

type BackupPolicyList

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

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

type BackupPolicySpec

type BackupPolicySpec struct {
	State *BackupPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource BackupPolicySpecResource `json:"resource" tf:"resource"`

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

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

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

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 BackupPolicySpecResource

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

	// +optional
	ArchiveBackupKeepCount *int64 `json:"archiveBackupKeepCount,omitempty" tf:"archive_backup_keep_count"`
	// +optional
	ArchiveBackupKeepPolicy *string `json:"archiveBackupKeepPolicy,omitempty" tf:"archive_backup_keep_policy"`
	// +optional
	ArchiveBackupRetentionPeriod *int64 `json:"archiveBackupRetentionPeriod,omitempty" tf:"archive_backup_retention_period"`
	// +optional
	// Deprecated
	BackupPeriod []string `json:"backupPeriod,omitempty" tf:"backup_period"`
	// +optional
	BackupRetentionPeriod *int64 `json:"backupRetentionPeriod,omitempty" tf:"backup_retention_period"`
	// +optional
	// Deprecated
	BackupTime *string `json:"backupTime,omitempty" tf:"backup_time"`
	// +optional
	CompressType *string `json:"compressType,omitempty" tf:"compress_type"`
	// +optional
	EnableBackupLog *bool `json:"enableBackupLog,omitempty" tf:"enable_backup_log"`
	// +optional
	HighSpaceUsageProtection *string `json:"highSpaceUsageProtection,omitempty" tf:"high_space_usage_protection"`
	InstanceID               *string `json:"instanceID" tf:"instance_id"`
	// +optional
	LocalLogRetentionHours *int64 `json:"localLogRetentionHours,omitempty" tf:"local_log_retention_hours"`
	// +optional
	LocalLogRetentionSpace *int64 `json:"localLogRetentionSpace,omitempty" tf:"local_log_retention_space"`
	// +optional
	// Deprecated
	LogBackup *bool `json:"logBackup,omitempty" tf:"log_backup"`
	// +optional
	LogBackupFrequency *string `json:"logBackupFrequency,omitempty" tf:"log_backup_frequency"`
	// +optional
	LogBackupRetentionPeriod *int64 `json:"logBackupRetentionPeriod,omitempty" tf:"log_backup_retention_period"`
	// +optional
	// Deprecated
	LogRetentionPeriod *int64 `json:"logRetentionPeriod,omitempty" tf:"log_retention_period"`
	// +optional
	PreferredBackupPeriod []string `json:"preferredBackupPeriod,omitempty" tf:"preferred_backup_period"`
	// +optional
	PreferredBackupTime *string `json:"preferredBackupTime,omitempty" tf:"preferred_backup_time"`
	// +optional
	// Deprecated
	RetentionPeriod *int64 `json:"retentionPeriod,omitempty" tf:"retention_period"`
}

func (*BackupPolicySpecResource) DeepCopy

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

func (*BackupPolicySpecResource) DeepCopyInto

func (in *BackupPolicySpecResource) DeepCopyInto(out *BackupPolicySpecResource)

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

type BackupPolicyStatus

type BackupPolicyStatus 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 (*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 Connection

type Connection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConnectionSpec   `json:"spec,omitempty"`
	Status            ConnectionStatus `json:"status,omitempty"`
}

func (*Connection) DeepCopy

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto

func (in *Connection) DeepCopyInto(out *Connection)

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

func (*Connection) DeepCopyObject

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

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

func (*Connection) SetupWebhookWithManager

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

func (*Connection) ValidateCreate

func (r *Connection) ValidateCreate() error

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

func (*Connection) ValidateDelete

func (r *Connection) ValidateDelete() error

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

func (*Connection) ValidateUpdate

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

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

type ConnectionList

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

ConnectionList is a list of Connections

func (*ConnectionList) DeepCopy

func (in *ConnectionList) DeepCopy() *ConnectionList

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

func (*ConnectionList) DeepCopyInto

func (in *ConnectionList) DeepCopyInto(out *ConnectionList)

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

func (*ConnectionList) DeepCopyObject

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

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

type ConnectionSpec

type ConnectionSpec struct {
	State *ConnectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConnectionSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ConnectionSpec) DeepCopy

func (in *ConnectionSpec) DeepCopy() *ConnectionSpec

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

func (*ConnectionSpec) DeepCopyInto

func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)

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

type ConnectionSpecResource

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

	// +optional
	ConnectionPrefix *string `json:"connectionPrefix,omitempty" tf:"connection_prefix"`
	// +optional
	ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string"`
	InstanceID       *string `json:"instanceID" tf:"instance_id"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
}

func (*ConnectionSpecResource) DeepCopy

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

func (*ConnectionSpecResource) DeepCopyInto

func (in *ConnectionSpecResource) DeepCopyInto(out *ConnectionSpecResource)

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

type ConnectionStatus

type ConnectionStatus 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 (*ConnectionStatus) DeepCopy

func (in *ConnectionStatus) DeepCopy() *ConnectionStatus

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

func (*ConnectionStatus) DeepCopyInto

func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)

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

type Database

type Database struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DatabaseSpec   `json:"spec,omitempty"`
	Status            DatabaseStatus `json:"status,omitempty"`
}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

func (*Database) DeepCopyObject

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

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

func (*Database) SetupWebhookWithManager

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

func (*Database) ValidateCreate

func (r *Database) ValidateCreate() error

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

func (*Database) ValidateDelete

func (r *Database) ValidateDelete() error

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

func (*Database) ValidateUpdate

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

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

type DatabaseList

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

DatabaseList is a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

func (in *DatabaseList) DeepCopyInto(out *DatabaseList)

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

func (*DatabaseList) DeepCopyObject

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

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

type DatabaseSpec

type DatabaseSpec struct {
	State *DatabaseSpecResource `json:"state,omitempty" tf:"-"`

	Resource DatabaseSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)

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

type DatabaseSpecResource

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

	// +optional
	CharacterSet *string `json:"characterSet,omitempty" tf:"character_set"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	InstanceID  *string `json:"instanceID" tf:"instance_id"`
	Name        *string `json:"name" tf:"name"`
}

func (*DatabaseSpecResource) DeepCopy

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

func (*DatabaseSpecResource) DeepCopyInto

func (in *DatabaseSpecResource) DeepCopyInto(out *DatabaseSpecResource)

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

type DatabaseStatus

type DatabaseStatus 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 (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)

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,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceSpec   `json:"spec,omitempty"`
	Status            InstanceStatus `json:"status,omitempty"`
}

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject

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

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

func (*Instance) SetupWebhookWithManager

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

func (*Instance) ValidateCreate

func (r *Instance) ValidateCreate() error

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

func (*Instance) ValidateDelete

func (r *Instance) ValidateDelete() error

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

func (*Instance) ValidateUpdate

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

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

type InstanceList

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

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

type InstanceSpec

type InstanceSpec struct {
	State *InstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstanceSpecResource `json:"resource" tf:"resource"`

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

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

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

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 InstanceSpecParameters

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

func (*InstanceSpecParameters) DeepCopy

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

func (*InstanceSpecParameters) DeepCopyInto

func (in *InstanceSpecParameters) DeepCopyInto(out *InstanceSpecParameters)

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

type InstanceSpecResource

type InstanceSpecResource 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
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"`
	// +optional
	AutoRenewPeriod *int64 `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"`
	// +optional
	AutoUpgradeMinorVersion *string `json:"autoUpgradeMinorVersion,omitempty" tf:"auto_upgrade_minor_version"`
	// +optional
	CaType *string `json:"caType,omitempty" tf:"ca_type"`
	// +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
	DbInstanceIPArrayAttribute *string `json:"dbInstanceIPArrayAttribute,omitempty" tf:"db_instance_ip_array_attribute"`
	// +optional
	DbInstanceIPArrayName *string `json:"dbInstanceIPArrayName,omitempty" tf:"db_instance_ip_array_name"`
	// +optional
	DbInstanceStorageType *string `json:"dbInstanceStorageType,omitempty" tf:"db_instance_storage_type"`
	// +optional
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key"`
	Engine        *string `json:"engine" tf:"engine"`
	EngineVersion *string `json:"engineVersion" tf:"engine_version"`
	// +optional
	ForceRestart *bool `json:"forceRestart,omitempty" tf:"force_restart"`
	// +optional
	HaConfig *string `json:"haConfig,omitempty" tf:"ha_config"`
	// +optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"`
	// +optional
	InstanceName    *string `json:"instanceName,omitempty" tf:"instance_name"`
	InstanceStorage *int64  `json:"instanceStorage" tf:"instance_storage"`
	InstanceType    *string `json:"instanceType" tf:"instance_type"`
	// +optional
	MaintainTime *string `json:"maintainTime,omitempty" tf:"maintain_time"`
	// +optional
	ManualHaTime *string `json:"manualHaTime,omitempty" tf:"manual_ha_time"`
	// +optional
	ModifyMode *string `json:"modifyMode,omitempty" tf:"modify_mode"`
	// +optional
	MonitoringPeriod *int64 `json:"monitoringPeriod,omitempty" tf:"monitoring_period"`
	// +optional
	Parameters []InstanceSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
	// +optional
	PrivateIPAddress *string `json:"privateIPAddress,omitempty" tf:"private_ip_address"`
	// +optional
	ReplicationACL *string `json:"replicationACL,omitempty" tf:"replication_acl"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	// Deprecated
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	SecurityGroupIDS []string `json:"securityGroupIDS,omitempty" tf:"security_group_ids"`
	// +optional
	SecurityIPMode *string `json:"securityIPMode,omitempty" tf:"security_ip_mode"`
	// +optional
	SecurityIPType *string `json:"securityIPType,omitempty" tf:"security_ip_type"`
	// +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
	SqlCollectorConfigValue *int64 `json:"sqlCollectorConfigValue,omitempty" tf:"sql_collector_config_value"`
	// +optional
	SqlCollectorStatus *string `json:"sqlCollectorStatus,omitempty" tf:"sql_collector_status"`
	// +optional
	SslAction *string `json:"sslAction,omitempty" tf:"ssl_action"`
	// +optional
	SslStatus *string `json:"sslStatus,omitempty" tf:"ssl_status"`
	// +optional
	SwitchTime *string `json:"switchTime,omitempty" tf:"switch_time"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TargetMinorVersion *string `json:"targetMinorVersion,omitempty" tf:"target_minor_version"`
	// +optional
	TdeStatus *string `json:"tdeStatus,omitempty" tf:"tde_status"`
	// +optional
	UpgradeDbInstanceKernelVersion *bool `json:"upgradeDbInstanceKernelVersion,omitempty" tf:"upgrade_db_instance_kernel_version"`
	// +optional
	UpgradeTime *string `json:"upgradeTime,omitempty" tf:"upgrade_time"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	WhitelistNetworkType *string `json:"whitelistNetworkType,omitempty" tf:"whitelist_network_type"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
	// +optional
	ZoneIDSlaveA *string `json:"zoneIDSlaveA,omitempty" tf:"zone_id_slave_a"`
	// +optional
	ZoneIDSlaveB *string `json:"zoneIDSlaveB,omitempty" tf:"zone_id_slave_b"`
}

func (*InstanceSpecResource) DeepCopy

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

func (*InstanceSpecResource) DeepCopyInto

func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)

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

type InstanceStatus

type InstanceStatus 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 (*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 ReadWriteSplittingConnection

type ReadWriteSplittingConnection struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReadWriteSplittingConnectionSpec   `json:"spec,omitempty"`
	Status            ReadWriteSplittingConnectionStatus `json:"status,omitempty"`
}

func (*ReadWriteSplittingConnection) DeepCopy

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

func (*ReadWriteSplittingConnection) DeepCopyInto

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

func (*ReadWriteSplittingConnection) DeepCopyObject

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

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

func (*ReadWriteSplittingConnection) SetupWebhookWithManager

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

func (*ReadWriteSplittingConnection) ValidateCreate

func (r *ReadWriteSplittingConnection) ValidateCreate() error

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

func (*ReadWriteSplittingConnection) ValidateDelete

func (r *ReadWriteSplittingConnection) ValidateDelete() error

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

func (*ReadWriteSplittingConnection) ValidateUpdate

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

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

type ReadWriteSplittingConnectionList

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

ReadWriteSplittingConnectionList is a list of ReadWriteSplittingConnections

func (*ReadWriteSplittingConnectionList) DeepCopy

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

func (*ReadWriteSplittingConnectionList) DeepCopyInto

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

func (*ReadWriteSplittingConnectionList) DeepCopyObject

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

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

type ReadWriteSplittingConnectionSpec

type ReadWriteSplittingConnectionSpec struct {
	State *ReadWriteSplittingConnectionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ReadWriteSplittingConnectionSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ReadWriteSplittingConnectionSpec) DeepCopy

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

func (*ReadWriteSplittingConnectionSpec) DeepCopyInto

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

type ReadWriteSplittingConnectionSpecResource

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

	// +optional
	ConnectionPrefix *string `json:"connectionPrefix,omitempty" tf:"connection_prefix"`
	// +optional
	ConnectionString *string `json:"connectionString,omitempty" tf:"connection_string"`
	DistributionType *string `json:"distributionType" tf:"distribution_type"`
	InstanceID       *string `json:"instanceID" tf:"instance_id"`
	// +optional
	MaxDelayTime *int64 `json:"maxDelayTime,omitempty" tf:"max_delay_time"`
	// +optional
	Port *int64 `json:"port,omitempty" tf:"port"`
	// +optional
	Weight map[string]string `json:"weight,omitempty" tf:"weight"`
}

func (*ReadWriteSplittingConnectionSpecResource) DeepCopy

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

func (*ReadWriteSplittingConnectionSpecResource) DeepCopyInto

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

type ReadWriteSplittingConnectionStatus

type ReadWriteSplittingConnectionStatus 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 (*ReadWriteSplittingConnectionStatus) DeepCopy

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

func (*ReadWriteSplittingConnectionStatus) DeepCopyInto

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,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReadonlyInstanceSpec   `json:"spec,omitempty"`
	Status            ReadonlyInstanceStatus `json:"status,omitempty"`
}

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) SetupWebhookWithManager

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

func (*ReadonlyInstance) ValidateCreate

func (r *ReadonlyInstance) ValidateCreate() error

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

func (*ReadonlyInstance) ValidateDelete

func (r *ReadonlyInstance) ValidateDelete() error

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

func (*ReadonlyInstance) ValidateUpdate

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

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

type ReadonlyInstanceList

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

ReadonlyInstanceList is a list of ReadonlyInstances

func (*ReadonlyInstanceList) DeepCopy

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.

type ReadonlyInstanceSpec

type ReadonlyInstanceSpec struct {
	State *ReadonlyInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource ReadonlyInstanceSpecResource `json:"resource" tf:"resource"`

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

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

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

func (*ReadonlyInstanceSpec) DeepCopy

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 ReadonlyInstanceSpecParameters

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

func (*ReadonlyInstanceSpecParameters) DeepCopy

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

func (*ReadonlyInstanceSpecParameters) DeepCopyInto

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

type ReadonlyInstanceSpecResource

type ReadonlyInstanceSpecResource 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
	CaType *string `json:"caType,omitempty" tf:"ca_type"`
	// +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
	Engine        *string `json:"engine,omitempty" tf:"engine"`
	EngineVersion *string `json:"engineVersion" tf:"engine_version"`
	// +optional
	ForceRestart *bool `json:"forceRestart,omitempty" tf:"force_restart"`
	// +optional
	InstanceName       *string `json:"instanceName,omitempty" tf:"instance_name"`
	InstanceStorage    *int64  `json:"instanceStorage" tf:"instance_storage"`
	InstanceType       *string `json:"instanceType" tf:"instance_type"`
	MasterDbInstanceID *string `json:"masterDbInstanceID" tf:"master_db_instance_id"`
	// +optional
	Parameters []ReadonlyInstanceSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	Port *string `json:"port,omitempty" tf:"port"`
	// +optional
	ReplicationACL *string `json:"replicationACL,omitempty" tf:"replication_acl"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	ServerCert *string `json:"serverCert,omitempty" tf:"server_cert"`
	// +optional
	ServerKey *string `json:"serverKey,omitempty" tf:"server_key"`
	// +optional
	SslEnabled *int64 `json:"sslEnabled,omitempty" tf:"ssl_enabled"`
	// +optional
	SwitchTime *string `json:"switchTime,omitempty" tf:"switch_time"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TargetMinorVersion *string `json:"targetMinorVersion,omitempty" tf:"target_minor_version"`
	// +optional
	UpgradeDbInstanceKernelVersion *bool `json:"upgradeDbInstanceKernelVersion,omitempty" tf:"upgrade_db_instance_kernel_version"`
	// +optional
	UpgradeTime *string `json:"upgradeTime,omitempty" tf:"upgrade_time"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*ReadonlyInstanceSpecResource) DeepCopy

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

func (*ReadonlyInstanceSpecResource) DeepCopyInto

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

type ReadonlyInstanceStatus

type ReadonlyInstanceStatus 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 (*ReadonlyInstanceStatus) DeepCopy

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.

Jump to

Keyboard shortcuts

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