Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=database.vultr.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConnectionPool
- func (in *ConnectionPool) DeepCopy() *ConnectionPool
- func (in *ConnectionPool) DeepCopyInto(out *ConnectionPool)
- func (in *ConnectionPool) DeepCopyObject() runtime.Object
- func (mg *ConnectionPool) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ConnectionPool) GetConnectionDetailsMapping() map[string]string
- func (mg *ConnectionPool) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ConnectionPool) GetID() string
- func (mg *ConnectionPool) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *ConnectionPool) GetObservation() (map[string]any, error)
- func (tr *ConnectionPool) GetParameters() (map[string]any, error)
- func (mg *ConnectionPool) GetProviderConfigReference() *xpv1.Reference
- func (mg *ConnectionPool) GetProviderReference() *xpv1.Reference
- func (mg *ConnectionPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ConnectionPool) GetTerraformResourceType() string
- func (tr *ConnectionPool) GetTerraformSchemaVersion() int
- func (mg *ConnectionPool) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ConnectionPool) LateInitialize(attrs []byte) (bool, error)
- func (mg *ConnectionPool) SetConditions(c ...xpv1.Condition)
- func (mg *ConnectionPool) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ConnectionPool) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *ConnectionPool) SetObservation(obs map[string]any) error
- func (tr *ConnectionPool) SetParameters(params map[string]any) error
- func (mg *ConnectionPool) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ConnectionPool) SetProviderReference(r *xpv1.Reference)
- func (mg *ConnectionPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ConnectionPool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConnectionPoolList
- type ConnectionPoolObservation
- type ConnectionPoolParameters
- type ConnectionPoolSpec
- type ConnectionPoolStatus
- type DB
- func (in *DB) DeepCopy() *DB
- func (in *DB) DeepCopyInto(out *DB)
- func (in *DB) DeepCopyObject() runtime.Object
- func (mg *DB) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DB) GetConnectionDetailsMapping() map[string]string
- func (mg *DB) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DB) GetID() string
- func (mg *DB) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *DB) GetObservation() (map[string]any, error)
- func (tr *DB) GetParameters() (map[string]any, error)
- func (mg *DB) GetProviderConfigReference() *xpv1.Reference
- func (mg *DB) GetProviderReference() *xpv1.Reference
- func (mg *DB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DB) GetTerraformResourceType() string
- func (tr *DB) GetTerraformSchemaVersion() int
- func (mg *DB) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DB) LateInitialize(attrs []byte) (bool, error)
- func (mg *DB) SetConditions(c ...xpv1.Condition)
- func (mg *DB) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DB) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *DB) SetObservation(obs map[string]any) error
- func (tr *DB) SetParameters(params map[string]any) error
- func (mg *DB) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DB) SetProviderReference(r *xpv1.Reference)
- func (mg *DB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DB) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DBList
- type DBObservation
- type DBParameters
- type DBSpec
- type DBStatus
- type Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (mg *Database) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Database) GetConnectionDetailsMapping() map[string]string
- func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Database) GetID() string
- func (mg *Database) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Database) GetObservation() (map[string]any, error)
- func (tr *Database) GetParameters() (map[string]any, error)
- func (mg *Database) GetProviderConfigReference() *xpv1.Reference
- func (mg *Database) GetProviderReference() *xpv1.Reference
- func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Database) GetTerraformResourceType() string
- func (tr *Database) GetTerraformSchemaVersion() int
- func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Database) LateInitialize(attrs []byte) (bool, error)
- func (mg *Database) SetConditions(c ...xpv1.Condition)
- func (mg *Database) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Database) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Database) SetObservation(obs map[string]any) error
- func (tr *Database) SetParameters(params map[string]any) error
- func (mg *Database) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Database) SetProviderReference(r *xpv1.Reference)
- func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Database) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DatabaseList
- type DatabaseObservation
- type DatabaseParameters
- type DatabaseSpec
- type DatabaseStatus
- type ReadReplicasObservation
- type ReadReplicasParameters
- type Replica
- func (in *Replica) DeepCopy() *Replica
- func (in *Replica) DeepCopyInto(out *Replica)
- func (in *Replica) DeepCopyObject() runtime.Object
- func (mg *Replica) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Replica) GetConnectionDetailsMapping() map[string]string
- func (mg *Replica) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Replica) GetID() string
- func (mg *Replica) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Replica) GetObservation() (map[string]any, error)
- func (tr *Replica) GetParameters() (map[string]any, error)
- func (mg *Replica) GetProviderConfigReference() *xpv1.Reference
- func (mg *Replica) GetProviderReference() *xpv1.Reference
- func (mg *Replica) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Replica) GetTerraformResourceType() string
- func (tr *Replica) GetTerraformSchemaVersion() int
- func (mg *Replica) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Replica) LateInitialize(attrs []byte) (bool, error)
- func (mg *Replica) SetConditions(c ...xpv1.Condition)
- func (mg *Replica) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Replica) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Replica) SetObservation(obs map[string]any) error
- func (tr *Replica) SetParameters(params map[string]any) error
- func (mg *Replica) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Replica) SetProviderReference(r *xpv1.Reference)
- func (mg *Replica) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Replica) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ReplicaList
- type ReplicaObservation
- type ReplicaParameters
- type ReplicaSpec
- type ReplicaStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (mg *User) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetProviderReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetProviderReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "database.vultr.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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.
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.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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.
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 ¶
func (in *ConnectionPoolObservation) DeepCopy() *ConnectionPoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionPoolObservation.
func (*ConnectionPoolObservation) DeepCopyInto ¶
func (in *ConnectionPoolObservation) DeepCopyInto(out *ConnectionPoolObservation)
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 ¶
func (in *ConnectionPoolParameters) DeepCopy() *ConnectionPoolParameters
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 ¶
func (in *ConnectionPoolStatus) DeepCopy() *ConnectionPoolStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DB.
func (*DB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DB) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this DB
func (*DB) GetDeletionPolicy ¶
func (mg *DB) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DB.
func (*DB) GetManagementPolicy ¶
func (mg *DB) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this DB.
func (*DB) GetObservation ¶
GetObservation of this DB
func (*DB) GetParameters ¶
GetParameters of this DB
func (*DB) GetProviderConfigReference ¶
GetProviderConfigReference of this DB.
func (*DB) GetProviderReference ¶
GetProviderReference of this DB. Deprecated: Use GetProviderConfigReference.
func (*DB) GetPublishConnectionDetailsTo ¶
func (mg *DB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DB.
func (*DB) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this DB
func (*DB) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DB) GetWriteConnectionSecretToReference ¶
func (mg *DB) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DB.
func (*DB) LateInitialize ¶
LateInitialize this DB using its observed tfState. returns True if there are any spec changes for the resource.
func (*DB) SetConditions ¶
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 ¶
SetObservation for this DB
func (*DB) SetParameters ¶
SetParameters for this DB
func (*DB) SetProviderConfigReference ¶
SetProviderConfigReference of this DB.
func (*DB) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBList.
func (*DBList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DBList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBSpec.
func (*DBSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DBStatus.
func (*DBStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Database
func (*Database) GetDeletionPolicy ¶
func (mg *Database) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Database.
func (*Database) GetManagementPolicy ¶
func (mg *Database) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Database.
func (*Database) GetObservation ¶
GetObservation of this Database
func (*Database) GetParameters ¶
GetParameters of this Database
func (*Database) GetProviderConfigReference ¶
GetProviderConfigReference of this Database.
func (*Database) GetProviderReference ¶
GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.
func (*Database) GetPublishConnectionDetailsTo ¶
func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Database.
func (*Database) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Database
func (*Database) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Database) GetWriteConnectionSecretToReference ¶
func (mg *Database) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Database.
func (*Database) LateInitialize ¶
LateInitialize this Database using its observed tfState. returns True if there are any spec changes for the resource.
func (*Database) SetConditions ¶
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 ¶
SetObservation for this Database
func (*Database) SetParameters ¶
SetParameters for this Database
func (*Database) SetProviderConfigReference ¶
SetProviderConfigReference of this Database.
func (*Database) SetProviderReference ¶
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 ¶
func (in *ReadReplicasObservation) DeepCopy() *ReadReplicasObservation
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 ¶
func (in *ReadReplicasParameters) DeepCopy() *ReadReplicasParameters
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replica.
func (*Replica) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Replica) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Replica
func (*Replica) GetDeletionPolicy ¶
func (mg *Replica) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Replica.
func (*Replica) GetManagementPolicy ¶
func (mg *Replica) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Replica.
func (*Replica) GetObservation ¶
GetObservation of this Replica
func (*Replica) GetParameters ¶
GetParameters of this Replica
func (*Replica) GetProviderConfigReference ¶
GetProviderConfigReference of this Replica.
func (*Replica) GetProviderReference ¶
GetProviderReference of this Replica. Deprecated: Use GetProviderConfigReference.
func (*Replica) GetPublishConnectionDetailsTo ¶
func (mg *Replica) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Replica.
func (*Replica) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Replica
func (*Replica) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Replica) GetWriteConnectionSecretToReference ¶
func (mg *Replica) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Replica.
func (*Replica) LateInitialize ¶
LateInitialize this Replica using its observed tfState. returns True if there are any spec changes for the resource.
func (*Replica) SetConditions ¶
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 ¶
SetObservation for this Replica
func (*Replica) SetParameters ¶
SetParameters for this Replica
func (*Replica) SetProviderConfigReference ¶
SetProviderConfigReference of this Replica.
func (*Replica) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetManagementPolicy ¶
func (mg *User) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this User.
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetProviderReference ¶
GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) SetConditions ¶
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 ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
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.