v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=database.vultr.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "database.vultr.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ConnectionPool_Kind             = "ConnectionPool"
	ConnectionPool_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ConnectionPool_Kind}.String()
	ConnectionPool_KindAPIVersion   = ConnectionPool_Kind + "." + CRDGroupVersion.String()
	ConnectionPool_GroupVersionKind = CRDGroupVersion.WithKind(ConnectionPool_Kind)
)

Repository type metadata.

View Source
var (
	Database_Kind             = "Database"
	Database_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Database_Kind}.String()
	Database_KindAPIVersion   = Database_Kind + "." + CRDGroupVersion.String()
	Database_GroupVersionKind = CRDGroupVersion.WithKind(Database_Kind)
)

Repository type metadata.

View Source
var (
	DB_Kind             = "DB"
	DB_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DB_Kind}.String()
	DB_KindAPIVersion   = DB_Kind + "." + CRDGroupVersion.String()
	DB_GroupVersionKind = CRDGroupVersion.WithKind(DB_Kind)
)

Repository type metadata.

View Source
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
)
View Source
var (
	Replica_Kind             = "Replica"
	Replica_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Replica_Kind}.String()
	Replica_KindAPIVersion   = Replica_Kind + "." + CRDGroupVersion.String()
	Replica_GroupVersionKind = CRDGroupVersion.WithKind(Replica_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConnectionPool

type ConnectionPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.database)",message="database is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseId)",message="databaseId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.mode)",message="mode is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.size)",message="size is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.username)",message="username is a required parameter"
	Spec   ConnectionPoolSpec   `json:"spec"`
	Status ConnectionPoolStatus `json:"status,omitempty"`
}

ConnectionPool is the Schema for the ConnectionPools API. Provides a Vultr database connection pool resource. This can be used to create, read, modify, and delete connection pools for a PostgreSQL managed database on your Vultr account. +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,vultr}

func (*ConnectionPool) DeepCopy

func (in *ConnectionPool) DeepCopy() *ConnectionPool

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

func (*ConnectionPool) DeepCopyInto

func (in *ConnectionPool) DeepCopyInto(out *ConnectionPool)

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

func (*ConnectionPool) DeepCopyObject

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

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

func (*ConnectionPool) GetCondition

func (mg *ConnectionPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ConnectionPool.

func (*ConnectionPool) GetConnectionDetailsMapping

func (tr *ConnectionPool) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ConnectionPool

func (*ConnectionPool) GetDeletionPolicy

func (mg *ConnectionPool) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ConnectionPool.

func (*ConnectionPool) GetID

func (tr *ConnectionPool) GetID() string

GetID returns ID of underlying Terraform resource of this ConnectionPool

func (*ConnectionPool) GetManagementPolicy

func (mg *ConnectionPool) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this ConnectionPool.

func (*ConnectionPool) GetObservation

func (tr *ConnectionPool) GetObservation() (map[string]any, error)

GetObservation of this ConnectionPool

func (*ConnectionPool) GetParameters

func (tr *ConnectionPool) GetParameters() (map[string]any, error)

GetParameters of this ConnectionPool

func (*ConnectionPool) GetProviderConfigReference

func (mg *ConnectionPool) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ConnectionPool.

func (*ConnectionPool) GetProviderReference

func (mg *ConnectionPool) GetProviderReference() *xpv1.Reference

GetProviderReference of this ConnectionPool. Deprecated: Use GetProviderConfigReference.

func (*ConnectionPool) GetPublishConnectionDetailsTo

func (mg *ConnectionPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ConnectionPool.

func (*ConnectionPool) GetTerraformResourceType

func (mg *ConnectionPool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ConnectionPool

func (*ConnectionPool) GetTerraformSchemaVersion

func (tr *ConnectionPool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ConnectionPool) GetWriteConnectionSecretToReference

func (mg *ConnectionPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ConnectionPool.

func (*ConnectionPool) LateInitialize

func (tr *ConnectionPool) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ConnectionPool using its observed tfState. returns True if there are any spec changes for the resource.

func (*ConnectionPool) SetConditions

func (mg *ConnectionPool) SetConditions(c ...xpv1.Condition)

SetConditions of this ConnectionPool.

func (*ConnectionPool) SetDeletionPolicy

func (mg *ConnectionPool) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ConnectionPool.

func (*ConnectionPool) SetManagementPolicy

func (mg *ConnectionPool) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this ConnectionPool.

func (*ConnectionPool) SetObservation

func (tr *ConnectionPool) SetObservation(obs map[string]any) error

SetObservation for this ConnectionPool

func (*ConnectionPool) SetParameters

func (tr *ConnectionPool) SetParameters(params map[string]any) error

SetParameters for this ConnectionPool

func (*ConnectionPool) SetProviderConfigReference

func (mg *ConnectionPool) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ConnectionPool.

func (*ConnectionPool) SetProviderReference

func (mg *ConnectionPool) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ConnectionPool. Deprecated: Use SetProviderConfigReference.

func (*ConnectionPool) SetPublishConnectionDetailsTo

func (mg *ConnectionPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ConnectionPool.

func (*ConnectionPool) SetWriteConnectionSecretToReference

func (mg *ConnectionPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ConnectionPool.

type ConnectionPoolList

type ConnectionPoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ConnectionPool `json:"items"`
}

ConnectionPoolList contains a list of ConnectionPools

func (*ConnectionPoolList) DeepCopy

func (in *ConnectionPoolList) DeepCopy() *ConnectionPoolList

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

func (*ConnectionPoolList) DeepCopyInto

func (in *ConnectionPoolList) DeepCopyInto(out *ConnectionPoolList)

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

func (*ConnectionPoolList) DeepCopyObject

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

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

func (*ConnectionPoolList) GetItems

func (l *ConnectionPoolList) GetItems() []resource.Managed

GetItems of this ConnectionPoolList.

type ConnectionPoolObservation

type ConnectionPoolObservation struct {

	// The logical database to use for the new managed database connection pool.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// The managed database ID you want to attach this connection pool to.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

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

	// The mode to configure for the new managed database connection pool (session, transaction, statement).
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// The name of the new managed database connection pool.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The size of the new managed database connection pool.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The database user to use for the new managed database connection pool.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ConnectionPoolObservation) DeepCopy

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

func (*ConnectionPoolObservation) DeepCopyInto

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

type ConnectionPoolParameters

type ConnectionPoolParameters struct {

	// The logical database to use for the new managed database connection pool.
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// The managed database ID you want to attach this connection pool to.
	// +kubebuilder:validation:Optional
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The mode to configure for the new managed database connection pool (session, transaction, statement).
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

	// The name of the new managed database connection pool.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The size of the new managed database connection pool.
	// +kubebuilder:validation:Optional
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The database user to use for the new managed database connection pool.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*ConnectionPoolParameters) DeepCopy

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

func (*ConnectionPoolParameters) DeepCopyInto

func (in *ConnectionPoolParameters) DeepCopyInto(out *ConnectionPoolParameters)

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

type ConnectionPoolSpec

type ConnectionPoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConnectionPoolParameters `json:"forProvider"`
}

ConnectionPoolSpec defines the desired state of ConnectionPool

func (*ConnectionPoolSpec) DeepCopy

func (in *ConnectionPoolSpec) DeepCopy() *ConnectionPoolSpec

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

func (*ConnectionPoolSpec) DeepCopyInto

func (in *ConnectionPoolSpec) DeepCopyInto(out *ConnectionPoolSpec)

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

type ConnectionPoolStatus

type ConnectionPoolStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ConnectionPoolObservation `json:"atProvider,omitempty"`
}

ConnectionPoolStatus defines the observed state of ConnectionPool.

func (*ConnectionPoolStatus) DeepCopy

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

func (*ConnectionPoolStatus) DeepCopyInto

func (in *ConnectionPoolStatus) DeepCopyInto(out *ConnectionPoolStatus)

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

type DB

type DB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseId)",message="databaseId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   DBSpec   `json:"spec"`
	Status DBStatus `json:"status,omitempty"`
}

DB is the Schema for the DBs API. Provides a Vultr database DB resource. This can be used to create, read, and delete logical DBs for a managed database on your Vultr account. +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,vultr}

func (*DB) DeepCopy

func (in *DB) DeepCopy() *DB

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

func (*DB) DeepCopyInto

func (in *DB) DeepCopyInto(out *DB)

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

func (*DB) DeepCopyObject

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

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

func (*DB) GetCondition

func (mg *DB) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DB.

func (*DB) GetConnectionDetailsMapping

func (tr *DB) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DB

func (*DB) GetDeletionPolicy

func (mg *DB) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DB.

func (*DB) GetID

func (tr *DB) GetID() string

GetID returns ID of underlying Terraform resource of this DB

func (*DB) GetManagementPolicy

func (mg *DB) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this DB.

func (*DB) GetObservation

func (tr *DB) GetObservation() (map[string]any, error)

GetObservation of this DB

func (*DB) GetParameters

func (tr *DB) GetParameters() (map[string]any, error)

GetParameters of this DB

func (*DB) GetProviderConfigReference

func (mg *DB) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DB.

func (*DB) GetProviderReference

func (mg *DB) GetProviderReference() *xpv1.Reference

GetProviderReference of this DB. Deprecated: Use GetProviderConfigReference.

func (*DB) GetPublishConnectionDetailsTo

func (mg *DB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DB.

func (*DB) GetTerraformResourceType

func (mg *DB) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DB

func (*DB) GetTerraformSchemaVersion

func (tr *DB) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DB) GetWriteConnectionSecretToReference

func (mg *DB) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DB.

func (*DB) LateInitialize

func (tr *DB) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DB using its observed tfState. returns True if there are any spec changes for the resource.

func (*DB) SetConditions

func (mg *DB) SetConditions(c ...xpv1.Condition)

SetConditions of this DB.

func (*DB) SetDeletionPolicy

func (mg *DB) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DB.

func (*DB) SetManagementPolicy

func (mg *DB) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this DB.

func (*DB) SetObservation

func (tr *DB) SetObservation(obs map[string]any) error

SetObservation for this DB

func (*DB) SetParameters

func (tr *DB) SetParameters(params map[string]any) error

SetParameters for this DB

func (*DB) SetProviderConfigReference

func (mg *DB) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DB.

func (*DB) SetProviderReference

func (mg *DB) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DB. Deprecated: Use SetProviderConfigReference.

func (*DB) SetPublishConnectionDetailsTo

func (mg *DB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DB.

func (*DB) SetWriteConnectionSecretToReference

func (mg *DB) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DB.

type DBList

type DBList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DB `json:"items"`
}

DBList contains a list of DBs

func (*DBList) DeepCopy

func (in *DBList) DeepCopy() *DBList

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

func (*DBList) DeepCopyInto

func (in *DBList) DeepCopyInto(out *DBList)

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

func (*DBList) DeepCopyObject

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

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

func (*DBList) GetItems

func (l *DBList) GetItems() []resource.Managed

GetItems of this DBList.

type DBObservation

type DBObservation struct {

	// The managed database ID you want to attach this logical DB to.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

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

	// The name of the new managed database logical DB.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*DBObservation) DeepCopy

func (in *DBObservation) DeepCopy() *DBObservation

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

func (*DBObservation) DeepCopyInto

func (in *DBObservation) DeepCopyInto(out *DBObservation)

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

type DBParameters

type DBParameters struct {

	// The managed database ID you want to attach this logical DB to.
	// +kubebuilder:validation:Optional
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The name of the new managed database logical DB.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*DBParameters) DeepCopy

func (in *DBParameters) DeepCopy() *DBParameters

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

func (*DBParameters) DeepCopyInto

func (in *DBParameters) DeepCopyInto(out *DBParameters)

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

type DBSpec

type DBSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DBParameters `json:"forProvider"`
}

DBSpec defines the desired state of DB

func (*DBSpec) DeepCopy

func (in *DBSpec) DeepCopy() *DBSpec

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

func (*DBSpec) DeepCopyInto

func (in *DBSpec) DeepCopyInto(out *DBSpec)

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

type DBStatus

type DBStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DBObservation `json:"atProvider,omitempty"`
}

DBStatus defines the observed state of DB.

func (*DBStatus) DeepCopy

func (in *DBStatus) DeepCopy() *DBStatus

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

func (*DBStatus) DeepCopyInto

func (in *DBStatus) DeepCopyInto(out *DBStatus)

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"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseEngine)",message="databaseEngine is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseEngineVersion)",message="databaseEngineVersion is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.label)",message="label is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.plan)",message="plan is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   DatabaseSpec   `json:"spec"`
	Status DatabaseStatus `json:"status,omitempty"`
}

Database is the Schema for the Databases API. Provides a Vultr database resource. This can be used to create, read, modify, and delete managed databases on your Vultr account. +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,vultr}

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

func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping

func (tr *Database) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy

func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Database.

func (*Database) GetID

func (tr *Database) GetID() string

GetID returns ID of underlying Terraform resource of this Database

func (*Database) GetManagementPolicy

func (mg *Database) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Database.

func (*Database) GetObservation

func (tr *Database) GetObservation() (map[string]any, error)

GetObservation of this Database

func (*Database) GetParameters

func (tr *Database) GetParameters() (map[string]any, error)

GetParameters of this Database

func (*Database) GetProviderConfigReference

func (mg *Database) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Database.

func (*Database) GetProviderReference

func (mg *Database) GetProviderReference() *xpv1.Reference

GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.

func (*Database) GetPublishConnectionDetailsTo

func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Database.

func (*Database) GetTerraformResourceType

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference

func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Database.

func (*Database) LateInitialize

func (tr *Database) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.

func (*Database) SetConditions

func (mg *Database) SetConditions(c ...xpv1.Condition)

SetConditions of this Database.

func (*Database) SetDeletionPolicy

func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Database.

func (*Database) SetManagementPolicy

func (mg *Database) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Database.

func (*Database) SetObservation

func (tr *Database) SetObservation(obs map[string]any) error

SetObservation for this Database

func (*Database) SetParameters

func (tr *Database) SetParameters(params map[string]any) error

SetParameters for this Database

func (*Database) SetProviderConfigReference

func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Database.

func (*Database) SetProviderReference

func (mg *Database) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Database. Deprecated: Use SetProviderConfigReference.

func (*Database) SetPublishConnectionDetailsTo

func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Database.

func (*Database) SetWriteConnectionSecretToReference

func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Database.

type DatabaseList

type DatabaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Database `json:"items"`
}

DatabaseList contains 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.

func (*DatabaseList) GetItems

func (l *DatabaseList) GetItems() []resource.Managed

GetItems of this DatabaseList.

type DatabaseObservation

type DatabaseObservation struct {

	// The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
	ClusterTimeZone *string `json:"clusterTimeZone,omitempty" tf:"cluster_time_zone,omitempty"`

	// The database engine of the new managed database.
	DatabaseEngine *string `json:"databaseEngine,omitempty" tf:"database_engine,omitempty"`

	// The database engine version of the new managed database.
	DatabaseEngineVersion *string `json:"databaseEngineVersion,omitempty" tf:"database_engine_version,omitempty"`

	// The date the managed database was added to your Vultr account.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The managed database's default logical database.
	Dbname *string `json:"dbname,omitempty" tf:"dbname,omitempty"`

	// The hostname assigned to the managed database.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The ID of the managed database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A label for the managed database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The date of the latest backup available on the managed database.
	LatestBackup *string `json:"latestBackup,omitempty" tf:"latest_backup,omitempty"`

	// The preferred maintenance day of week for the managed database.
	MaintenanceDow *string `json:"maintenanceDow,omitempty" tf:"maintenance_dow,omitempty"`

	// The preferred maintenance time for the managed database.
	MaintenanceTime *string `json:"maintenanceTime,omitempty" tf:"maintenance_time,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The password for the managed database's primary admin user.
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The description of the disk(s) on the managed database.
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// The amount of memory available on the managed database in MB.
	PlanRAM *float64 `json:"planRam,omitempty" tf:"plan_ram,omitempty"`

	// The number of standby nodes available on the managed database.
	PlanReplicas *float64 `json:"planReplicas,omitempty" tf:"plan_replicas,omitempty"`

	// The number of virtual CPUs available on the managed database.
	PlanVcpus *float64 `json:"planVcpus,omitempty" tf:"plan_vcpus,omitempty"`

	// The connection port for the managed database.
	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	// A list of read replicas attached to the managed database.
	ReadReplicas []ReadReplicasObservation `json:"readReplicas,omitempty" tf:"read_replicas,omitempty"`

	// The configuration value for the data eviction policy on the managed database (Redis engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database is to be created in. See List Regions
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The current status of the managed database (poweroff, rebuilding, rebalancing, running).
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The tag to assign to the managed database.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database.
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`

	// The primary admin user for the managed database.
	User *string `json:"user,omitempty" tf:"user,omitempty"`

	// The ID of the managed database.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

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 {

	// The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
	// +kubebuilder:validation:Optional
	ClusterTimeZone *string `json:"clusterTimeZone,omitempty" tf:"cluster_time_zone,omitempty"`

	// The database engine of the new managed database.
	// +kubebuilder:validation:Optional
	DatabaseEngine *string `json:"databaseEngine,omitempty" tf:"database_engine,omitempty"`

	// The database engine version of the new managed database.
	// +kubebuilder:validation:Optional
	DatabaseEngineVersion *string `json:"databaseEngineVersion,omitempty" tf:"database_engine_version,omitempty"`

	// A label for the managed database.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The preferred maintenance day of week for the managed database.
	// +kubebuilder:validation:Optional
	MaintenanceDow *string `json:"maintenanceDow,omitempty" tf:"maintenance_dow,omitempty"`

	// The preferred maintenance time for the managed database.
	// +kubebuilder:validation:Optional
	MaintenanceTime *string `json:"maintenanceTime,omitempty" tf:"maintenance_time,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
	// +kubebuilder:validation:Optional
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The password for the managed database's primary admin user.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
	// +kubebuilder:validation:Optional
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The description of the disk(s) on the managed database.
	// +kubebuilder:validation:Optional
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// A list of read replicas attached to the managed database.
	// +kubebuilder:validation:Optional
	ReadReplicas []ReadReplicasParameters `json:"readReplicas,omitempty" tf:"read_replicas,omitempty"`

	// The configuration value for the data eviction policy on the managed database (Redis engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
	// +kubebuilder:validation:Optional
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database is to be created in. See List Regions
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The tag to assign to the managed database.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database.
	// +kubebuilder:validation:Optional
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`

	// The ID of the managed database.
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,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 DatabaseSpec

type DatabaseSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DatabaseParameters `json:"forProvider"`
}

DatabaseSpec defines the desired state of Database

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 DatabaseStatus

type DatabaseStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DatabaseObservation `json:"atProvider,omitempty"`
}

DatabaseStatus defines the observed state of Database.

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 ReadReplicasObservation

type ReadReplicasObservation struct {

	// The configured time zone for the Managed Database in TZ database format (e.g. UTC, America/New_York, Europe/London).
	ClusterTimeZone *string `json:"clusterTimeZone,omitempty" tf:"cluster_time_zone,omitempty"`

	// The database engine of the new managed database.
	DatabaseEngine *string `json:"databaseEngine,omitempty" tf:"database_engine,omitempty"`

	// The database engine version of the new managed database.
	DatabaseEngineVersion *string `json:"databaseEngineVersion,omitempty" tf:"database_engine_version,omitempty"`

	// The date the managed database was added to your Vultr account.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The managed database's default logical database.
	Dbname *string `json:"dbname,omitempty" tf:"dbname,omitempty"`

	// The hostname assigned to the managed database.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The ID of the managed database.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A label for the managed database.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The date of the latest backup available on the managed database.
	LatestBackup *string `json:"latestBackup,omitempty" tf:"latest_backup,omitempty"`

	// The preferred maintenance day of week for the managed database.
	MaintenanceDow *string `json:"maintenanceDow,omitempty" tf:"maintenance_dow,omitempty"`

	// The preferred maintenance time for the managed database.
	MaintenanceTime *string `json:"maintenanceTime,omitempty" tf:"maintenance_time,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The password for the managed database's primary admin user.
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The ID of the plan that you want the managed database to subscribe to. See List Managed Database Plans
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The description of the disk(s) on the managed database.
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// The amount of memory available on the managed database in MB.
	PlanRAM *float64 `json:"planRam,omitempty" tf:"plan_ram,omitempty"`

	// The number of standby nodes available on the managed database.
	PlanReplicas *float64 `json:"planReplicas,omitempty" tf:"plan_replicas,omitempty"`

	// The number of virtual CPUs available on the managed database.
	PlanVcpus *float64 `json:"planVcpus,omitempty" tf:"plan_vcpus,omitempty"`

	// The connection port for the managed database.
	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	// The configuration value for the data eviction policy on the managed database (Redis engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database is to be created in. See List Regions
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The current status of the managed database (poweroff, rebuilding, rebalancing, running).
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The tag to assign to the managed database.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database.
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`

	// The primary admin user for the managed database.
	User *string `json:"user,omitempty" tf:"user,omitempty"`

	// The ID of the managed database.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*ReadReplicasObservation) DeepCopy

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

func (*ReadReplicasObservation) DeepCopyInto

func (in *ReadReplicasObservation) DeepCopyInto(out *ReadReplicasObservation)

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

type ReadReplicasParameters

type ReadReplicasParameters struct {

	// A label for the managed database.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes to configure for the managed database (MySQL engine types only - ALLOW_INVALID_DATES, ANSI, ANSI_QUOTES, ERROR_FOR_DIVISION_BY_ZERO, HIGH_NOT_PRECEDENCE, IGNORE_SPACE, NO_AUTO_VALUE_ON_ZERO, NO_DIR_IN_CREATE, NO_ENGINE_SUBSTITUTION, NO_UNSIGNED_SUBTRACTION, NO_ZERO_DATE, NO_ZERO_IN_DATE, ONLY_FULL_GROUP_BY, PIPES_AS_CONCAT, REAL_AS_FLOAT, STRICT_ALL_TABLES, STRICT_TRANS_TABLES, TIME_TRUNCATE_FRACTIONAL, TRADITIONAL).
	// +kubebuilder:validation:Optional
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The description of the disk(s) on the managed database.
	// +kubebuilder:validation:Optional
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// The configuration value for the data eviction policy on the managed database (Redis engine types only - noeviction, allkeys-lru, volatile-lru, allkeys-random, volatile-random, volatile-ttl, volatile-lfu, allkeys-lfu).
	// +kubebuilder:validation:Optional
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database is to be created in. See List Regions
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The tag to assign to the managed database.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database.
	// +kubebuilder:validation:Optional
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`
}

func (*ReadReplicasParameters) DeepCopy

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

func (*ReadReplicasParameters) DeepCopyInto

func (in *ReadReplicasParameters) DeepCopyInto(out *ReadReplicasParameters)

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

type Replica

type Replica struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseId)",message="databaseId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.label)",message="label is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	Spec   ReplicaSpec   `json:"spec"`
	Status ReplicaStatus `json:"status,omitempty"`
}

Replica is the Schema for the Replicas API. Provides a Vultr database replica resource. This can be used to create, read, modify, and delete managed database read replicas on your Vultr account. +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,vultr}

func (*Replica) DeepCopy

func (in *Replica) DeepCopy() *Replica

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

func (*Replica) DeepCopyInto

func (in *Replica) DeepCopyInto(out *Replica)

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

func (*Replica) DeepCopyObject

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

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

func (*Replica) GetCondition

func (mg *Replica) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Replica.

func (*Replica) GetConnectionDetailsMapping

func (tr *Replica) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Replica

func (*Replica) GetDeletionPolicy

func (mg *Replica) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Replica.

func (*Replica) GetID

func (tr *Replica) GetID() string

GetID returns ID of underlying Terraform resource of this Replica

func (*Replica) GetManagementPolicy

func (mg *Replica) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Replica.

func (*Replica) GetObservation

func (tr *Replica) GetObservation() (map[string]any, error)

GetObservation of this Replica

func (*Replica) GetParameters

func (tr *Replica) GetParameters() (map[string]any, error)

GetParameters of this Replica

func (*Replica) GetProviderConfigReference

func (mg *Replica) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Replica.

func (*Replica) GetProviderReference

func (mg *Replica) GetProviderReference() *xpv1.Reference

GetProviderReference of this Replica. Deprecated: Use GetProviderConfigReference.

func (*Replica) GetPublishConnectionDetailsTo

func (mg *Replica) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Replica.

func (*Replica) GetTerraformResourceType

func (mg *Replica) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Replica

func (*Replica) GetTerraformSchemaVersion

func (tr *Replica) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Replica) GetWriteConnectionSecretToReference

func (mg *Replica) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Replica.

func (*Replica) LateInitialize

func (tr *Replica) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Replica using its observed tfState. returns True if there are any spec changes for the resource.

func (*Replica) SetConditions

func (mg *Replica) SetConditions(c ...xpv1.Condition)

SetConditions of this Replica.

func (*Replica) SetDeletionPolicy

func (mg *Replica) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Replica.

func (*Replica) SetManagementPolicy

func (mg *Replica) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Replica.

func (*Replica) SetObservation

func (tr *Replica) SetObservation(obs map[string]any) error

SetObservation for this Replica

func (*Replica) SetParameters

func (tr *Replica) SetParameters(params map[string]any) error

SetParameters for this Replica

func (*Replica) SetProviderConfigReference

func (mg *Replica) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Replica.

func (*Replica) SetProviderReference

func (mg *Replica) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Replica. Deprecated: Use SetProviderConfigReference.

func (*Replica) SetPublishConnectionDetailsTo

func (mg *Replica) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Replica.

func (*Replica) SetWriteConnectionSecretToReference

func (mg *Replica) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Replica.

type ReplicaList

type ReplicaList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Replica `json:"items"`
}

ReplicaList contains a list of Replicas

func (*ReplicaList) DeepCopy

func (in *ReplicaList) DeepCopy() *ReplicaList

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

func (*ReplicaList) DeepCopyInto

func (in *ReplicaList) DeepCopyInto(out *ReplicaList)

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

func (*ReplicaList) DeepCopyObject

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

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

func (*ReplicaList) GetItems

func (l *ReplicaList) GetItems() []resource.Managed

GetItems of this ReplicaList.

type ReplicaObservation

type ReplicaObservation struct {

	// The configured time zone for the managed database read replica in TZ database format.
	ClusterTimeZone *string `json:"clusterTimeZone,omitempty" tf:"cluster_time_zone,omitempty"`

	// The database engine of the managed database read replica.
	DatabaseEngine *string `json:"databaseEngine,omitempty" tf:"database_engine,omitempty"`

	// The database engine version of the managed database read replica.
	DatabaseEngineVersion *string `json:"databaseEngineVersion,omitempty" tf:"database_engine_version,omitempty"`

	// The managed database ID you want to attach this replica to.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The date the managed database read replica was added to your Vultr account.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The managed database read replica's default logical database.
	Dbname *string `json:"dbname,omitempty" tf:"dbname,omitempty"`

	// The hostname assigned to the managed database read replica.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

	// The ID of the managed database read replica.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A label for the managed database read replica.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The date of the latest backup available on the managed database read replica.
	LatestBackup *string `json:"latestBackup,omitempty" tf:"latest_backup,omitempty"`

	// The preferred maintenance day of week for the managed database read replica.
	MaintenanceDow *string `json:"maintenanceDow,omitempty" tf:"maintenance_dow,omitempty"`

	// The preferred maintenance time for the managed database read replica.
	MaintenanceTime *string `json:"maintenanceTime,omitempty" tf:"maintenance_time,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database read replica (MySQL engine types only).
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The password for the managed database read replica's primary admin user.
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The managed database read replica's plan ID.
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The description of the disk(s) on the managed database read replica.
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// The amount of memory available on the managed database read replica in MB.
	PlanRAM *float64 `json:"planRam,omitempty" tf:"plan_ram,omitempty"`

	// The number of standby nodes available on the managed database read replica.
	PlanReplicas *float64 `json:"planReplicas,omitempty" tf:"plan_replicas,omitempty"`

	// The number of virtual CPUs available on the managed database read replica.
	PlanVcpus *float64 `json:"planVcpus,omitempty" tf:"plan_vcpus,omitempty"`

	// The connection port for the managed database read replica.
	Port *string `json:"port,omitempty" tf:"port,omitempty"`

	// The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database read replica is to be created in. See List Regions
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The current status of the managed database read replica (poweroff, rebuilding, rebalancing, running).
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The tag to assign to the managed database read replica.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database read replica.
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`

	// The primary admin user for the managed database read replica.
	User *string `json:"user,omitempty" tf:"user,omitempty"`

	// The ID of the managed database read replica.
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*ReplicaObservation) DeepCopy

func (in *ReplicaObservation) DeepCopy() *ReplicaObservation

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

func (*ReplicaObservation) DeepCopyInto

func (in *ReplicaObservation) DeepCopyInto(out *ReplicaObservation)

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

type ReplicaParameters

type ReplicaParameters struct {

	// The managed database ID you want to attach this replica to.
	// +kubebuilder:validation:Optional
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// A label for the managed database read replica.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The configuration value for the long query time (in seconds) on the managed database read replica (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLLongQueryTime *float64 `json:"mysqlLongQueryTime,omitempty" tf:"mysql_long_query_time,omitempty"`

	// The configuration value for whether primary keys are required on the managed database read replica (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLRequirePrimaryKey *bool `json:"mysqlRequirePrimaryKey,omitempty" tf:"mysql_require_primary_key,omitempty"`

	// A list of SQL modes currently configured for the managed database read replica (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLSQLModes []*string `json:"mysqlSqlModes,omitempty" tf:"mysql_sql_modes,omitempty"`

	// The configuration value for slow query logging on the managed database read replica (MySQL engine types only).
	// +kubebuilder:validation:Optional
	MySQLSlowQueryLog *bool `json:"mysqlSlowQueryLog,omitempty" tf:"mysql_slow_query_log,omitempty"`

	// The description of the disk(s) on the managed database read replica.
	// +kubebuilder:validation:Optional
	PlanDisk *float64 `json:"planDisk,omitempty" tf:"plan_disk,omitempty"`

	// The configuration value for the data eviction policy on the managed database read replica (Redis engine types only).
	// +kubebuilder:validation:Optional
	RedisEvictionPolicy *string `json:"redisEvictionPolicy,omitempty" tf:"redis_eviction_policy,omitempty"`

	// The ID of the region that the managed database read replica is to be created in. See List Regions
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The tag to assign to the managed database read replica.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`

	// A list of allowed IP addresses for the managed database read replica.
	// +kubebuilder:validation:Optional
	TrustedIps []*string `json:"trustedIps,omitempty" tf:"trusted_ips,omitempty"`
}

func (*ReplicaParameters) DeepCopy

func (in *ReplicaParameters) DeepCopy() *ReplicaParameters

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

func (*ReplicaParameters) DeepCopyInto

func (in *ReplicaParameters) DeepCopyInto(out *ReplicaParameters)

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

type ReplicaSpec

type ReplicaSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReplicaParameters `json:"forProvider"`
}

ReplicaSpec defines the desired state of Replica

func (*ReplicaSpec) DeepCopy

func (in *ReplicaSpec) DeepCopy() *ReplicaSpec

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

func (*ReplicaSpec) DeepCopyInto

func (in *ReplicaSpec) DeepCopyInto(out *ReplicaSpec)

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

type ReplicaStatus

type ReplicaStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ReplicaObservation `json:"atProvider,omitempty"`
}

ReplicaStatus defines the observed state of Replica.

func (*ReplicaStatus) DeepCopy

func (in *ReplicaStatus) DeepCopy() *ReplicaStatus

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

func (*ReplicaStatus) DeepCopyInto

func (in *ReplicaStatus) DeepCopyInto(out *ReplicaStatus)

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

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.databaseId)",message="databaseId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.username)",message="username is a required parameter"
	Spec   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. Provides a Vultr database user resource. This can be used to create, read, modify, and delete users for a managed database on your Vultr account. +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,vultr}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

func (tr *User) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetManagementPolicy

func (mg *User) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this User.

func (*User) GetObservation

func (tr *User) GetObservation() (map[string]any, error)

GetObservation of this User

func (*User) GetParameters

func (tr *User) GetParameters() (map[string]any, error)

GetParameters of this User

func (*User) GetProviderConfigReference

func (mg *User) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this User.

func (*User) GetProviderReference

func (mg *User) GetProviderReference() *xpv1.Reference

GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.

func (*User) GetPublishConnectionDetailsTo

func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this User.

func (*User) LateInitialize

func (tr *User) LateInitialize(attrs []byte) (bool, error)

LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.

func (*User) SetConditions

func (mg *User) SetConditions(c ...xpv1.Condition)

SetConditions of this User.

func (*User) SetDeletionPolicy

func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this User.

func (*User) SetManagementPolicy

func (mg *User) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this User.

func (*User) SetObservation

func (tr *User) SetObservation(obs map[string]any) error

SetObservation for this User

func (*User) SetParameters

func (tr *User) SetParameters(params map[string]any) error

SetParameters for this User

func (*User) SetProviderConfigReference

func (mg *User) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this User.

func (*User) SetProviderReference

func (mg *User) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.

func (*User) SetPublishConnectionDetailsTo

func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this User.

type UserList

type UserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []User `json:"items"`
}

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

func (l *UserList) GetItems() []resource.Managed

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// The managed database ID you want to attach this user to.
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The encryption type of the new managed database user's password (MySQL engine types only - caching_sha2_password, mysql_native_password).
	Encryption *string `json:"encryption,omitempty" tf:"encryption,omitempty"`

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

	// The password of the new managed database user.
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The username of the new managed database user.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// The managed database ID you want to attach this user to.
	// +kubebuilder:validation:Optional
	DatabaseID *string `json:"databaseId,omitempty" tf:"database_id,omitempty"`

	// The encryption type of the new managed database user's password (MySQL engine types only - caching_sha2_password, mysql_native_password).
	// +kubebuilder:validation:Optional
	Encryption *string `json:"encryption,omitempty" tf:"encryption,omitempty"`

	// The password of the new managed database user.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The username of the new managed database user.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

type UserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserParameters `json:"forProvider"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

type UserStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        UserObservation `json:"atProvider,omitempty"`
}

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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