v1alpha1

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AccessControls_Kind             = "AccessControls"
	AccessControls_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AccessControls_Kind}.String()
	AccessControls_KindAPIVersion   = AccessControls_Kind + "." + CRDGroupVersion.String()
	AccessControls_GroupVersionKind = CRDGroupVersion.WithKind(AccessControls_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 (
	MongoDB_Kind             = "MongoDB"
	MongoDB_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MongoDB_Kind}.String()
	MongoDB_KindAPIVersion   = MongoDB_Kind + "." + CRDGroupVersion.String()
	MongoDB_GroupVersionKind = CRDGroupVersion.WithKind(MongoDB_Kind)
)

Repository type metadata.

View Source
var (
	MySQL_Kind             = "MySQL"
	MySQL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQL_Kind}.String()
	MySQL_KindAPIVersion   = MySQL_Kind + "." + CRDGroupVersion.String()
	MySQL_GroupVersionKind = CRDGroupVersion.WithKind(MySQL_Kind)
)

Repository type metadata.

View Source
var (
	PostgreSQL_Kind             = "PostgreSQL"
	PostgreSQL_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PostgreSQL_Kind}.String()
	PostgreSQL_KindAPIVersion   = PostgreSQL_Kind + "." + CRDGroupVersion.String()
	PostgreSQL_GroupVersionKind = CRDGroupVersion.WithKind(PostgreSQL_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AccessControls

type AccessControls struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessControlsSpec   `json:"spec"`
	Status            AccessControlsStatus `json:"status,omitempty"`
}

AccessControls is the Schema for the AccessControlss API. Manages the access controls for a Linode Database. +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,linode}

func (*AccessControls) DeepCopy

func (in *AccessControls) DeepCopy() *AccessControls

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

func (*AccessControls) DeepCopyInto

func (in *AccessControls) DeepCopyInto(out *AccessControls)

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

func (*AccessControls) DeepCopyObject

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

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

func (*AccessControls) GetCondition

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

GetCondition of this AccessControls.

func (*AccessControls) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AccessControls

func (*AccessControls) GetDeletionPolicy

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

GetDeletionPolicy of this AccessControls.

func (*AccessControls) GetID

func (tr *AccessControls) GetID() string

GetID returns ID of underlying Terraform resource of this AccessControls

func (*AccessControls) GetObservation

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

GetObservation of this AccessControls

func (*AccessControls) GetParameters

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

GetParameters of this AccessControls

func (*AccessControls) GetProviderConfigReference

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

GetProviderConfigReference of this AccessControls.

func (*AccessControls) GetProviderReference

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

GetProviderReference of this AccessControls. Deprecated: Use GetProviderConfigReference.

func (*AccessControls) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AccessControls.

func (*AccessControls) GetTerraformResourceType

func (mg *AccessControls) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AccessControls

func (*AccessControls) GetTerraformSchemaVersion

func (tr *AccessControls) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AccessControls) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AccessControls.

func (*AccessControls) LateInitialize

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

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

func (*AccessControls) SetConditions

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

SetConditions of this AccessControls.

func (*AccessControls) SetDeletionPolicy

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

SetDeletionPolicy of this AccessControls.

func (*AccessControls) SetObservation

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

SetObservation for this AccessControls

func (*AccessControls) SetParameters

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

SetParameters for this AccessControls

func (*AccessControls) SetProviderConfigReference

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

SetProviderConfigReference of this AccessControls.

func (*AccessControls) SetProviderReference

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

SetProviderReference of this AccessControls. Deprecated: Use SetProviderConfigReference.

func (*AccessControls) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AccessControls.

func (*AccessControls) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AccessControls.

type AccessControlsList

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

AccessControlsList contains a list of AccessControlss

func (*AccessControlsList) DeepCopy

func (in *AccessControlsList) DeepCopy() *AccessControlsList

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

func (*AccessControlsList) DeepCopyInto

func (in *AccessControlsList) DeepCopyInto(out *AccessControlsList)

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

func (*AccessControlsList) DeepCopyObject

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

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

func (*AccessControlsList) GetItems

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

GetItems of this AccessControlsList.

type AccessControlsObservation

type AccessControlsObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*AccessControlsObservation) DeepCopy

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

func (*AccessControlsObservation) DeepCopyInto

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

type AccessControlsParameters

type AccessControlsParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Required
	AllowList []*string `json:"allowList" tf:"allow_list,omitempty"`

	// The unique ID of the target database.
	// The ID of the database to manage the allow list for.
	// +kubebuilder:validation:Required
	DatabaseID *float64 `json:"databaseId" tf:"database_id,omitempty"`

	// The unique type of the target database. (mysql, mongodb, postgresql)
	// The type of the  database to manage the allow list for.
	// +kubebuilder:validation:Required
	DatabaseType *string `json:"databaseType" tf:"database_type,omitempty"`
}

func (*AccessControlsParameters) DeepCopy

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

func (*AccessControlsParameters) DeepCopyInto

func (in *AccessControlsParameters) DeepCopyInto(out *AccessControlsParameters)

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

type AccessControlsSpec

type AccessControlsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AccessControlsParameters `json:"forProvider"`
}

AccessControlsSpec defines the desired state of AccessControls

func (*AccessControlsSpec) DeepCopy

func (in *AccessControlsSpec) DeepCopy() *AccessControlsSpec

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

func (*AccessControlsSpec) DeepCopyInto

func (in *AccessControlsSpec) DeepCopyInto(out *AccessControlsSpec)

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

type AccessControlsStatus

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

AccessControlsStatus defines the observed state of AccessControls.

func (*AccessControlsStatus) DeepCopy

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

func (*AccessControlsStatus) DeepCopyInto

func (in *AccessControlsStatus) DeepCopyInto(out *AccessControlsStatus)

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

type MongoDB

type MongoDB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MongoDBSpec   `json:"spec"`
	Status            MongoDBStatus `json:"status,omitempty"`
}

MongoDB is the Schema for the MongoDBs API. Manages a Linode MongoDB Database. +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,linode}

func (*MongoDB) DeepCopy

func (in *MongoDB) DeepCopy() *MongoDB

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

func (*MongoDB) DeepCopyInto

func (in *MongoDB) DeepCopyInto(out *MongoDB)

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

func (*MongoDB) DeepCopyObject

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

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

func (*MongoDB) GetCondition

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

GetCondition of this MongoDB.

func (*MongoDB) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MongoDB

func (*MongoDB) GetDeletionPolicy

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

GetDeletionPolicy of this MongoDB.

func (*MongoDB) GetID

func (tr *MongoDB) GetID() string

GetID returns ID of underlying Terraform resource of this MongoDB

func (*MongoDB) GetObservation

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

GetObservation of this MongoDB

func (*MongoDB) GetParameters

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

GetParameters of this MongoDB

func (*MongoDB) GetProviderConfigReference

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

GetProviderConfigReference of this MongoDB.

func (*MongoDB) GetProviderReference

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

GetProviderReference of this MongoDB. Deprecated: Use GetProviderConfigReference.

func (*MongoDB) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MongoDB.

func (*MongoDB) GetTerraformResourceType

func (mg *MongoDB) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MongoDB

func (*MongoDB) GetTerraformSchemaVersion

func (tr *MongoDB) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MongoDB) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MongoDB.

func (*MongoDB) LateInitialize

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

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

func (*MongoDB) SetConditions

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

SetConditions of this MongoDB.

func (*MongoDB) SetDeletionPolicy

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

SetDeletionPolicy of this MongoDB.

func (*MongoDB) SetObservation

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

SetObservation for this MongoDB

func (*MongoDB) SetParameters

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

SetParameters for this MongoDB

func (*MongoDB) SetProviderConfigReference

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

SetProviderConfigReference of this MongoDB.

func (*MongoDB) SetProviderReference

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

SetProviderReference of this MongoDB. Deprecated: Use SetProviderConfigReference.

func (*MongoDB) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MongoDB.

func (*MongoDB) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MongoDB.

type MongoDBList

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

MongoDBList contains a list of MongoDBs

func (*MongoDBList) DeepCopy

func (in *MongoDBList) DeepCopy() *MongoDBList

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

func (*MongoDBList) DeepCopyInto

func (in *MongoDBList) DeepCopyInto(out *MongoDBList)

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

func (*MongoDBList) DeepCopyObject

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

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

func (*MongoDBList) GetItems

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

GetItems of this MongoDBList.

type MongoDBObservation

type MongoDBObservation struct {

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// The Managed Database engine. (e.g. mongodb)
	// The Managed Database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private network host for the Managed Database.
	// The secondary host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

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

	// A set of peer addresses for this Database.
	// A set of peer addresses for this Database.
	Peers []*string `json:"peers,omitempty" tf:"peers,omitempty"`

	// The access port for this Managed Database.
	// The access port for this Managed Database.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
	// Label for configuring a MongoDB replica set. Choose the same label on multiple Databases to include them in the same replica set.
	ReplicaSet *string `json:"replicaSet,omitempty" tf:"replica_set,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// The Managed Database engine version. (e.g. v8.0.26)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MongoDBObservation) DeepCopy

func (in *MongoDBObservation) DeepCopy() *MongoDBObservation

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

func (*MongoDBObservation) DeepCopyInto

func (in *MongoDBObservation) DeepCopyInto(out *MongoDBObservation)

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

type MongoDBParameters

type MongoDBParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// The type of data compression for this Database. (none, snappy, zlib; default none)
	// The type of data compression for this Database.
	// +kubebuilder:validation:Optional
	CompressionType *string `json:"compressionType,omitempty" tf:"compression_type,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mongo/4.4.10)
	// The Managed Database engine in engine/version format. (e.g. mongodb/4.4.10)
	// +kubebuilder:validation:Required
	EngineID *string `json:"engineId" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// +kubebuilder:validation:Optional
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The type of storage engine for this Database. (mmapv1, wiredtiger; default wiredtiger)
	// The type of storage engine for this Database.
	// +kubebuilder:validation:Optional
	StorageEngine *string `json:"storageEngine,omitempty" tf:"storage_engine,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates []UpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MongoDBParameters) DeepCopy

func (in *MongoDBParameters) DeepCopy() *MongoDBParameters

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

func (*MongoDBParameters) DeepCopyInto

func (in *MongoDBParameters) DeepCopyInto(out *MongoDBParameters)

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

type MongoDBSpec

type MongoDBSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MongoDBParameters `json:"forProvider"`
}

MongoDBSpec defines the desired state of MongoDB

func (*MongoDBSpec) DeepCopy

func (in *MongoDBSpec) DeepCopy() *MongoDBSpec

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

func (*MongoDBSpec) DeepCopyInto

func (in *MongoDBSpec) DeepCopyInto(out *MongoDBSpec)

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

type MongoDBStatus

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

MongoDBStatus defines the observed state of MongoDB.

func (*MongoDBStatus) DeepCopy

func (in *MongoDBStatus) DeepCopy() *MongoDBStatus

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

func (*MongoDBStatus) DeepCopyInto

func (in *MongoDBStatus) DeepCopyInto(out *MongoDBStatus)

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

type MySQL

type MySQL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLSpec   `json:"spec"`
	Status            MySQLStatus `json:"status,omitempty"`
}

MySQL is the Schema for the MySQLs API. Manages a Linode MySQL Database. +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,linode}

func (*MySQL) DeepCopy

func (in *MySQL) DeepCopy() *MySQL

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

func (*MySQL) DeepCopyInto

func (in *MySQL) DeepCopyInto(out *MySQL)

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

func (*MySQL) DeepCopyObject

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

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

func (*MySQL) GetCondition

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

GetCondition of this MySQL.

func (*MySQL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQL

func (*MySQL) GetDeletionPolicy

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

GetDeletionPolicy of this MySQL.

func (*MySQL) GetID

func (tr *MySQL) GetID() string

GetID returns ID of underlying Terraform resource of this MySQL

func (*MySQL) GetObservation

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

GetObservation of this MySQL

func (*MySQL) GetParameters

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

GetParameters of this MySQL

func (*MySQL) GetProviderConfigReference

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

GetProviderConfigReference of this MySQL.

func (*MySQL) GetProviderReference

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

GetProviderReference of this MySQL. Deprecated: Use GetProviderConfigReference.

func (*MySQL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) GetTerraformResourceType

func (mg *MySQL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQL

func (*MySQL) GetTerraformSchemaVersion

func (tr *MySQL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQL.

func (*MySQL) LateInitialize

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

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

func (*MySQL) SetConditions

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

SetConditions of this MySQL.

func (*MySQL) SetDeletionPolicy

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

SetDeletionPolicy of this MySQL.

func (*MySQL) SetObservation

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

SetObservation for this MySQL

func (*MySQL) SetParameters

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

SetParameters for this MySQL

func (*MySQL) SetProviderConfigReference

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

SetProviderConfigReference of this MySQL.

func (*MySQL) SetProviderReference

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

SetProviderReference of this MySQL. Deprecated: Use SetProviderConfigReference.

func (*MySQL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQL.

type MySQLList

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

MySQLList contains a list of MySQLs

func (*MySQLList) DeepCopy

func (in *MySQLList) DeepCopy() *MySQLList

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

func (*MySQLList) DeepCopyInto

func (in *MySQLList) DeepCopyInto(out *MySQLList)

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

func (*MySQLList) DeepCopyObject

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

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

func (*MySQLList) GetItems

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

GetItems of this MySQLList.

type MySQLObservation

type MySQLObservation struct {

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// The Managed Database engine. (e.g. mysql)
	// The Managed Database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private network host for the Managed Database.
	// The secondary host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

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

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// The Managed Database engine version. (e.g. v8.0.26)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MySQLObservation) DeepCopy

func (in *MySQLObservation) DeepCopy() *MySQLObservation

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

func (*MySQLObservation) DeepCopyInto

func (in *MySQLObservation) DeepCopyInto(out *MySQLObservation)

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

type MySQLParameters

type MySQLParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)
	// The Managed Database engine in engine/version format. (e.g. mysql/8.0.26)
	// +kubebuilder:validation:Required
	EngineID *string `json:"engineId" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database.
	// +kubebuilder:validation:Optional
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// +kubebuilder:validation:Optional
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates []MySQLUpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*MySQLParameters) DeepCopy

func (in *MySQLParameters) DeepCopy() *MySQLParameters

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

func (*MySQLParameters) DeepCopyInto

func (in *MySQLParameters) DeepCopyInto(out *MySQLParameters)

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

type MySQLSpec

type MySQLSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MySQLParameters `json:"forProvider"`
}

MySQLSpec defines the desired state of MySQL

func (*MySQLSpec) DeepCopy

func (in *MySQLSpec) DeepCopy() *MySQLSpec

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

func (*MySQLSpec) DeepCopyInto

func (in *MySQLSpec) DeepCopyInto(out *MySQLSpec)

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

type MySQLStatus

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

MySQLStatus defines the observed state of MySQL.

func (*MySQLStatus) DeepCopy

func (in *MySQLStatus) DeepCopy() *MySQLStatus

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

func (*MySQLStatus) DeepCopyInto

func (in *MySQLStatus) DeepCopyInto(out *MySQLStatus)

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

type MySQLUpdatesObservation

type MySQLUpdatesObservation struct {
}

func (*MySQLUpdatesObservation) DeepCopy

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

func (*MySQLUpdatesObservation) DeepCopyInto

func (in *MySQLUpdatesObservation) DeepCopyInto(out *MySQLUpdatesObservation)

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

type MySQLUpdatesParameters

type MySQLUpdatesParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	// +kubebuilder:validation:Required
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	// +kubebuilder:validation:Required
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	// +kubebuilder:validation:Required
	Frequency *string `json:"frequency" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	// +kubebuilder:validation:Required
	HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	// +kubebuilder:validation:Optional
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*MySQLUpdatesParameters) DeepCopy

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

func (*MySQLUpdatesParameters) DeepCopyInto

func (in *MySQLUpdatesParameters) DeepCopyInto(out *MySQLUpdatesParameters)

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

type PostgreSQL

type PostgreSQL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgreSQLSpec   `json:"spec"`
	Status            PostgreSQLStatus `json:"status,omitempty"`
}

PostgreSQL is the Schema for the PostgreSQLs API. Manages a Linode PostgreSQL Database. +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,linode}

func (*PostgreSQL) DeepCopy

func (in *PostgreSQL) DeepCopy() *PostgreSQL

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

func (*PostgreSQL) DeepCopyInto

func (in *PostgreSQL) DeepCopyInto(out *PostgreSQL)

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

func (*PostgreSQL) DeepCopyObject

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

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

func (*PostgreSQL) GetCondition

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

GetCondition of this PostgreSQL.

func (*PostgreSQL) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PostgreSQL

func (*PostgreSQL) GetDeletionPolicy

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

GetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) GetID

func (tr *PostgreSQL) GetID() string

GetID returns ID of underlying Terraform resource of this PostgreSQL

func (*PostgreSQL) GetObservation

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

GetObservation of this PostgreSQL

func (*PostgreSQL) GetParameters

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

GetParameters of this PostgreSQL

func (*PostgreSQL) GetProviderConfigReference

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

GetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) GetProviderReference

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

GetProviderReference of this PostgreSQL. Deprecated: Use GetProviderConfigReference.

func (*PostgreSQL) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) GetTerraformResourceType

func (mg *PostgreSQL) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PostgreSQL

func (*PostgreSQL) GetTerraformSchemaVersion

func (tr *PostgreSQL) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PostgreSQL) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PostgreSQL.

func (*PostgreSQL) LateInitialize

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

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

func (*PostgreSQL) SetConditions

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

SetConditions of this PostgreSQL.

func (*PostgreSQL) SetDeletionPolicy

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

SetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) SetObservation

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

SetObservation for this PostgreSQL

func (*PostgreSQL) SetParameters

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

SetParameters for this PostgreSQL

func (*PostgreSQL) SetProviderConfigReference

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

SetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) SetProviderReference

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

SetProviderReference of this PostgreSQL. Deprecated: Use SetProviderConfigReference.

func (*PostgreSQL) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PostgreSQL.

type PostgreSQLList

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

PostgreSQLList contains a list of PostgreSQLs

func (*PostgreSQLList) DeepCopy

func (in *PostgreSQLList) DeepCopy() *PostgreSQLList

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

func (*PostgreSQLList) DeepCopyInto

func (in *PostgreSQLList) DeepCopyInto(out *PostgreSQLList)

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

func (*PostgreSQLList) DeepCopyObject

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

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

func (*PostgreSQLList) GetItems

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

GetItems of this PostgreSQLList.

type PostgreSQLObservation

type PostgreSQLObservation struct {

	// When this Managed Database was created.
	// When this Managed Database was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// The Managed Database engine. (e.g. postgresql)
	// The Managed Database engine.
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// The primary host for the Managed Database.
	// The primary host for the Managed Database.
	HostPrimary *string `json:"hostPrimary,omitempty" tf:"host_primary,omitempty"`

	// The secondary/private network host for the Managed Database.
	// The secondary host for the Managed Database.
	HostSecondary *string `json:"hostSecondary,omitempty" tf:"host_secondary,omitempty"`

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

	// The access port for this Managed Database.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// The operating status of the Managed Database.
	// The operating status of the Managed Database.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// When this Managed Database was last updated.
	// When this Managed Database was last updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// The Managed Database engine version. (e.g. 13.2)
	// The Managed Database engine version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*PostgreSQLObservation) DeepCopy

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

func (*PostgreSQLObservation) DeepCopyInto

func (in *PostgreSQLObservation) DeepCopyInto(out *PostgreSQLObservation)

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

type PostgreSQLParameters

type PostgreSQLParameters struct {

	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use linode_database_access_controls to manage your allow list separately.
	// A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format.
	// +kubebuilder:validation:Optional
	AllowList []*string `json:"allowList,omitempty" tf:"allow_list,omitempty"`

	// The number of Linode Instance nodes deployed to the Managed Database. (default 1)
	// The number of Linode Instance nodes deployed to the Managed Database. Defaults to 1.
	// +kubebuilder:validation:Optional
	ClusterSize *float64 `json:"clusterSize,omitempty" tf:"cluster_size,omitempty"`

	// Whether the Managed Databases is encrypted. (default false)
	// Whether the Managed Databases is encrypted.
	// +kubebuilder:validation:Optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted,omitempty"`

	// The Managed Database engine in engine/version format. (e.g. postgresql/13.2)
	// The Managed Database engine in engine/version format. (e.g. mongodb/4.4.10)
	// +kubebuilder:validation:Required
	EngineID *string `json:"engineId" tf:"engine_id,omitempty"`

	// A unique, user-defined string referring to the Managed Database.
	// A unique, user-defined string referring to the Managed Database.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The region to use for the Managed Database.
	// The region to use for the Managed Database.
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"region,omitempty"`

	// The synchronization level of the replicating server. (on, local, remote_write, remote_apply, off; default off)
	// The synchronization level of the replicating server.Must be `local` or `off` for the `asynch` replication type. Must be `on`, `remote_write`, or `remote_apply` for the `semi_synch` replication type.
	// +kubebuilder:validation:Optional
	ReplicationCommitType *string `json:"replicationCommitType,omitempty" tf:"replication_commit_type,omitempty"`

	// The replication method used for the Managed Database. (none, asynch, semi_synch; default none)
	// The replication method used for the Managed Database. Must be `none` for a single node cluster. Must be `asynch` or `semi_synch` for a high availability cluster.
	// +kubebuilder:validation:Optional
	ReplicationType *string `json:"replicationType,omitempty" tf:"replication_type,omitempty"`

	// Whether to require SSL credentials to establish a connection to the Managed Database. (default false)
	// Whether to require SSL credentials to establish a connection to the Managed Database.
	// +kubebuilder:validation:Optional
	SSLConnection *bool `json:"sslConnection,omitempty" tf:"ssl_connection,omitempty"`

	// The Linode Instance type used for the nodes of the  Managed Database instance.
	// The Linode Instance type used by the Managed Database for its nodes.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// Configuration settings for automated patch update maintenance for the Managed Database.
	// +kubebuilder:validation:Optional
	Updates []PostgreSQLUpdatesParameters `json:"updates,omitempty" tf:"updates,omitempty"`
}

func (*PostgreSQLParameters) DeepCopy

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

func (*PostgreSQLParameters) DeepCopyInto

func (in *PostgreSQLParameters) DeepCopyInto(out *PostgreSQLParameters)

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

type PostgreSQLSpec

type PostgreSQLSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PostgreSQLParameters `json:"forProvider"`
}

PostgreSQLSpec defines the desired state of PostgreSQL

func (*PostgreSQLSpec) DeepCopy

func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec

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

func (*PostgreSQLSpec) DeepCopyInto

func (in *PostgreSQLSpec) DeepCopyInto(out *PostgreSQLSpec)

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

type PostgreSQLStatus

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

PostgreSQLStatus defines the observed state of PostgreSQL.

func (*PostgreSQLStatus) DeepCopy

func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus

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

func (*PostgreSQLStatus) DeepCopyInto

func (in *PostgreSQLStatus) DeepCopyInto(out *PostgreSQLStatus)

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

type PostgreSQLUpdatesObservation

type PostgreSQLUpdatesObservation struct {
}

func (*PostgreSQLUpdatesObservation) DeepCopy

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

func (*PostgreSQLUpdatesObservation) DeepCopyInto

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

type PostgreSQLUpdatesParameters

type PostgreSQLUpdatesParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	// +kubebuilder:validation:Required
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	// +kubebuilder:validation:Required
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	// +kubebuilder:validation:Required
	Frequency *string `json:"frequency" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	// +kubebuilder:validation:Required
	HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	// +kubebuilder:validation:Optional
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*PostgreSQLUpdatesParameters) DeepCopy

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

func (*PostgreSQLUpdatesParameters) DeepCopyInto

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

type UpdatesObservation

type UpdatesObservation struct {
}

func (*UpdatesObservation) DeepCopy

func (in *UpdatesObservation) DeepCopy() *UpdatesObservation

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

func (*UpdatesObservation) DeepCopyInto

func (in *UpdatesObservation) DeepCopyInto(out *UpdatesObservation)

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

type UpdatesParameters

type UpdatesParameters struct {

	// The day to perform maintenance. (monday, tuesday, ...)
	// The day to perform maintenance.
	// +kubebuilder:validation:Required
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week,omitempty"`

	// The maximum maintenance window time in hours. (1..3)
	// The maximum maintenance window time in hours.
	// +kubebuilder:validation:Required
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// Whether maintenance occurs on a weekly or monthly basis. (weekly, monthly)
	// Whether maintenance occurs on a weekly or monthly basis.
	// +kubebuilder:validation:Required
	Frequency *string `json:"frequency" tf:"frequency,omitempty"`

	// The hour to begin maintenance based in UTC time. (0..23)
	// The hour to begin maintenance based in UTC time.
	// +kubebuilder:validation:Required
	HourOfDay *float64 `json:"hourOfDay" tf:"hour_of_day,omitempty"`

	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates. (1..4)
	// The week of the month to perform monthly frequency updates. Required for monthly frequency updates.
	// +kubebuilder:validation:Optional
	WeekOfMonth *float64 `json:"weekOfMonth,omitempty" tf:"week_of_month,omitempty"`
}

func (*UpdatesParameters) DeepCopy

func (in *UpdatesParameters) DeepCopy() *UpdatesParameters

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

func (*UpdatesParameters) DeepCopyInto

func (in *UpdatesParameters) DeepCopyInto(out *UpdatesParameters)

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