v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=database.digitalocean.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "database.digitalocean.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Cluster_Kind             = "Cluster"
	Cluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
	Cluster_KindAPIVersion   = Cluster_Kind + "." + CRDGroupVersion.String()
	Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)

Repository type metadata.

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

Repository type metadata.

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

Repository type metadata.

View Source
var (
	Firewall_Kind             = "Firewall"
	Firewall_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Firewall_Kind}.String()
	Firewall_KindAPIVersion   = Firewall_Kind + "." + CRDGroupVersion.String()
	Firewall_GroupVersionKind = CRDGroupVersion.WithKind(Firewall_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 (
	KafkaTopic_Kind             = "KafkaTopic"
	KafkaTopic_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: KafkaTopic_Kind}.String()
	KafkaTopic_KindAPIVersion   = KafkaTopic_Kind + "." + CRDGroupVersion.String()
	KafkaTopic_GroupVersionKind = CRDGroupVersion.WithKind(KafkaTopic_Kind)
)

Repository type metadata.

View Source
var (
	MySQLConfig_Kind             = "MySQLConfig"
	MySQLConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: MySQLConfig_Kind}.String()
	MySQLConfig_KindAPIVersion   = MySQLConfig_Kind + "." + CRDGroupVersion.String()
	MySQLConfig_GroupVersionKind = CRDGroupVersion.WithKind(MySQLConfig_Kind)
)

Repository type metadata.

View Source
var (
	RedisConfig_Kind             = "RedisConfig"
	RedisConfig_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RedisConfig_Kind}.String()
	RedisConfig_KindAPIVersion   = RedisConfig_Kind + "." + CRDGroupVersion.String()
	RedisConfig_GroupVersionKind = CRDGroupVersion.WithKind(RedisConfig_Kind)
)

Repository type metadata.

View Source
var (
	Replica_Kind             = "Replica"
	Replica_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Replica_Kind}.String()
	Replica_KindAPIVersion   = Replica_Kind + "." + CRDGroupVersion.String()
	Replica_GroupVersionKind = CRDGroupVersion.WithKind(Replica_Kind)
)

Repository type metadata.

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

Repository type metadata.

Functions

This section is empty.

Types

type ACLInitParameters

type ACLInitParameters struct {

	// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages.
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`

	// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "", "", or "". "" is a special value indicating a wildcard that matches on all topics. "" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic.
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*ACLInitParameters) DeepCopy

func (in *ACLInitParameters) DeepCopy() *ACLInitParameters

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

func (*ACLInitParameters) DeepCopyInto

func (in *ACLInitParameters) DeepCopyInto(out *ACLInitParameters)

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

type ACLObservation

type ACLObservation struct {

	// An identifier for the ACL, this will be automatically assigned when you create an ACL entry
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages.
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`

	// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "", "", or "". "" is a special value indicating a wildcard that matches on all topics. "" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic.
	Topic *string `json:"topic,omitempty" tf:"topic,omitempty"`
}

func (*ACLObservation) DeepCopy

func (in *ACLObservation) DeepCopy() *ACLObservation

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

func (*ACLObservation) DeepCopyInto

func (in *ACLObservation) DeepCopyInto(out *ACLObservation)

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

type ACLParameters

type ACLParameters struct {

	// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages.
	// +kubebuilder:validation:Optional
	Permission *string `json:"permission" tf:"permission,omitempty"`

	// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "", "", or "". "" is a special value indicating a wildcard that matches on all topics. "" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic.
	// +kubebuilder:validation:Optional
	Topic *string `json:"topic" tf:"topic,omitempty"`
}

func (*ACLParameters) DeepCopy

func (in *ACLParameters) DeepCopy() *ACLParameters

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

func (*ACLParameters) DeepCopyInto

func (in *ACLParameters) DeepCopyInto(out *ACLParameters)

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

type BackupRestoreInitParameters

type BackupRestoreInitParameters struct {

	// The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
	BackupCreatedAt *string `json:"backupCreatedAt,omitempty" tf:"backup_created_at,omitempty"`

	// The name of an existing database cluster from which the backup will be restored.
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
}

func (*BackupRestoreInitParameters) DeepCopy

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

func (*BackupRestoreInitParameters) DeepCopyInto

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

type BackupRestoreObservation

type BackupRestoreObservation struct {

	// The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
	BackupCreatedAt *string `json:"backupCreatedAt,omitempty" tf:"backup_created_at,omitempty"`

	// The name of an existing database cluster from which the backup will be restored.
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`
}

func (*BackupRestoreObservation) DeepCopy

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

func (*BackupRestoreObservation) DeepCopyInto

func (in *BackupRestoreObservation) DeepCopyInto(out *BackupRestoreObservation)

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

type BackupRestoreParameters

type BackupRestoreParameters struct {

	// The timestamp of an existing database cluster backup in ISO8601 combined date and time format. The most recent backup will be used if excluded.
	// +kubebuilder:validation:Optional
	BackupCreatedAt *string `json:"backupCreatedAt,omitempty" tf:"backup_created_at,omitempty"`

	// The name of an existing database cluster from which the backup will be restored.
	// +kubebuilder:validation:Optional
	DatabaseName *string `json:"databaseName" tf:"database_name,omitempty"`
}

func (*BackupRestoreParameters) DeepCopy

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

func (*BackupRestoreParameters) DeepCopyInto

func (in *BackupRestoreParameters) DeepCopyInto(out *BackupRestoreParameters)

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

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || (has(self.initProvider) && has(self.initProvider.engine))",message="spec.forProvider.engine is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeCount) || (has(self.initProvider) && has(self.initProvider.nodeCount))",message="spec.forProvider.nodeCount is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.size) || (has(self.initProvider) && has(self.initProvider.size))",message="spec.forProvider.size is a required parameter"
	Spec   ClusterSpec   `json:"spec"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) GetCondition

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

GetCondition of this Cluster.

func (*Cluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Cluster

func (*Cluster) GetDeletionPolicy

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

GetDeletionPolicy of this Cluster.

func (*Cluster) GetID

func (tr *Cluster) GetID() string

GetID returns ID of underlying Terraform resource of this Cluster

func (*Cluster) GetInitParameters

func (tr *Cluster) GetInitParameters() (map[string]any, error)

GetInitParameters of this Cluster

func (*Cluster) GetManagementPolicies

func (mg *Cluster) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Cluster.

func (*Cluster) GetMergedParameters added in v0.2.0

func (tr *Cluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Cluster

func (*Cluster) GetObservation

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

GetObservation of this Cluster

func (*Cluster) GetParameters

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

GetParameters of this Cluster

func (*Cluster) GetProviderConfigReference

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

GetProviderConfigReference of this Cluster.

func (*Cluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) GetTerraformResourceType

func (mg *Cluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cluster

func (*Cluster) GetTerraformSchemaVersion

func (tr *Cluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cluster.

func (*Cluster) Hub added in v0.2.0

func (tr *Cluster) Hub()

Hub marks this type as a conversion hub.

func (*Cluster) LateInitialize

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

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

func (*Cluster) ResolveReferences

func (mg *Cluster) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Cluster.

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetManagementPolicies

func (mg *Cluster) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Cluster.

func (*Cluster) SetObservation

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

SetObservation for this Cluster

func (*Cluster) SetParameters

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

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Cluster.

type ClusterInitParameters

type ClusterInitParameters struct {

	// Create a new database cluster based on a backup of an existing cluster.
	BackupRestore []BackupRestoreInitParameters `json:"backupRestore,omitempty" tf:"backup_restore,omitempty"`

	// Database engine used by the cluster (ex. pg for PostreSQL, mysql for MySQL, redis for Redis, mongodb for MongoDB, or kafka for Kafka).
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// A string specifying the eviction policy for a Redis cluster. Valid values are: noeviction, allkeys_lru, allkeys_random, volatile_lru, volatile_random, or volatile_ttl.
	EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"`

	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindow []MaintenanceWindowInitParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// The name of the database cluster.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of nodes that will be included in the cluster. For kafka clusters, this must be 3.
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// The ID of the VPC where the database cluster will be located.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/vpc/v1alpha1.VPC
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// Reference to a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDRef *v1.Reference `json:"privateNetworkUuidRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDSelector *v1.Selector `json:"privateNetworkUuidSelector,omitempty" tf:"-"`

	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/project/v1alpha1.Project
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// DigitalOcean region where the cluster will reside.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Database Droplet size associated with the cluster (ex. db-s-1vcpu-1gb). See here for a list of valid size slugs.
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database cluster.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Engine version used by the cluster (ex. 14 for PostgreSQL 14).
	// When this value is changed, a call to the Upgrade major Version for a Database API operation is made with the new version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ClusterInitParameters) DeepCopy

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

func (*ClusterInitParameters) DeepCopyInto

func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters)

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {

	// Create a new database cluster based on a backup of an existing cluster.
	BackupRestore []BackupRestoreObservation `json:"backupRestore,omitempty" tf:"backup_restore,omitempty"`

	// Name of the cluster's default database.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Database engine used by the cluster (ex. pg for PostreSQL, mysql for MySQL, redis for Redis, mongodb for MongoDB, or kafka for Kafka).
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// A string specifying the eviction policy for a Redis cluster. Valid values are: noeviction, allkeys_lru, allkeys_random, volatile_lru, volatile_random, or volatile_ttl.
	EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"`

	// Database cluster's hostname.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

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

	// Defines when the automatic maintenance should be performed for the database cluster.
	MaintenanceWindow []MaintenanceWindowObservation `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

	// The name of the database cluster.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Number of nodes that will be included in the cluster. For kafka clusters, this must be 3.
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// Network port that the database cluster is listening on.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Same as host, but only accessible from resources within the account and in the same region.
	PrivateHost *string `json:"privateHost,omitempty" tf:"private_host,omitempty"`

	// The ID of the VPC where the database cluster will be located.
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// DigitalOcean region where the cluster will reside.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Database Droplet size associated with the cluster (ex. db-s-1vcpu-1gb). See here for a list of valid size slugs.
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database cluster.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The uniform resource name of the database cluster.
	Urn *string `json:"urn,omitempty" tf:"urn,omitempty"`

	// Username for the cluster's default user.
	User *string `json:"user,omitempty" tf:"user,omitempty"`

	// Engine version used by the cluster (ex. 14 for PostgreSQL 14).
	// When this value is changed, a call to the Upgrade major Version for a Database API operation is made with the new version.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ClusterObservation) DeepCopy

func (in *ClusterObservation) DeepCopy() *ClusterObservation

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

func (*ClusterObservation) DeepCopyInto

func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)

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

type ClusterParameters

type ClusterParameters struct {

	// Create a new database cluster based on a backup of an existing cluster.
	// +kubebuilder:validation:Optional
	BackupRestore []BackupRestoreParameters `json:"backupRestore,omitempty" tf:"backup_restore,omitempty"`

	// Database engine used by the cluster (ex. pg for PostreSQL, mysql for MySQL, redis for Redis, mongodb for MongoDB, or kafka for Kafka).
	// +kubebuilder:validation:Optional
	Engine *string `json:"engine,omitempty" tf:"engine,omitempty"`

	// A string specifying the eviction policy for a Redis cluster. Valid values are: noeviction, allkeys_lru, allkeys_random, volatile_lru, volatile_random, or volatile_ttl.
	// +kubebuilder:validation:Optional
	EvictionPolicy *string `json:"evictionPolicy,omitempty" tf:"eviction_policy,omitempty"`

	// Defines when the automatic maintenance should be performed for the database cluster.
	// +kubebuilder:validation:Optional
	MaintenanceWindow []MaintenanceWindowParameters `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`

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

	// Number of nodes that will be included in the cluster. For kafka clusters, this must be 3.
	// +kubebuilder:validation:Optional
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// The ID of the VPC where the database cluster will be located.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/vpc/v1alpha1.VPC
	// +kubebuilder:validation:Optional
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// Reference to a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDRef *v1.Reference `json:"privateNetworkUuidRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDSelector *v1.Selector `json:"privateNetworkUuidSelector,omitempty" tf:"-"`

	// The ID of the project that the database cluster is assigned to. If excluded when creating a new database cluster, it will be assigned to your default project.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// DigitalOcean region where the cluster will reside.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A comma separated string specifying the  SQL modes for a MySQL cluster.
	// +kubebuilder:validation:Optional
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Database Droplet size associated with the cluster (ex. db-s-1vcpu-1gb). See here for a list of valid size slugs.
	// +kubebuilder:validation:Optional
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	// Defines the disk size, in MiB, allocated to the cluster. This can be adjusted on MySQL and PostreSQL clusters based on predefined ranges for each slug/droplet size.
	// +kubebuilder:validation:Optional
	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database cluster.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Engine version used by the cluster (ex. 14 for PostgreSQL 14).
	// When this value is changed, a call to the Upgrade major Version for a Database API operation is made with the new version.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)

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

type ClusterSpec

type ClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterInitParameters `json:"initProvider,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

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

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type ConfigInitParameters

type ConfigInitParameters struct {

	// The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated.
	// This may be one of "delete", "compact", or "compact_delete".
	CleanupPolicy *string `json:"cleanupPolicy,omitempty" tf:"cleanup_policy,omitempty"`

	// The topic compression codecs used for a given topic.
	// This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.
	CompressionType *string `json:"compressionType,omitempty" tf:"compression_type,omitempty"`

	// The amount of time, in ms, that deleted records are retained.
	DeleteRetentionMs *string `json:"deleteRetentionMs,omitempty" tf:"delete_retention_ms,omitempty"`

	// The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.
	FileDeleteDelayMs *string `json:"fileDeleteDelayMs,omitempty" tf:"file_delete_delay_ms,omitempty"`

	// The number of messages accumulated on a topic partition before they are flushed to disk.
	FlushMessages *string `json:"flushMessages,omitempty" tf:"flush_messages,omitempty"`

	// The maximum time, in ms, that a topic is kept in memory before being flushed to disk.
	FlushMs *string `json:"flushMs,omitempty" tf:"flush_ms,omitempty"`

	// The interval, in bytes, in which entries are added to the offset index.
	IndexIntervalBytes *string `json:"indexIntervalBytes,omitempty" tf:"index_interval_bytes,omitempty"`

	// The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the compression_type is set to "uncompressed" or it is set to producer and the producer is not using compression.
	MaxCompactionLagMs *string `json:"maxCompactionLagMs,omitempty" tf:"max_compaction_lag_ms,omitempty"`

	// The maximum size, in bytes, of a message.
	MaxMessageBytes *string `json:"maxMessageBytes,omitempty" tf:"max_message_bytes,omitempty"`

	// Determines whether down-conversion of message formats for consumers is enabled.
	MessageDownConversionEnable *bool `json:"messageDownConversionEnable,omitempty" tf:"message_down_conversion_enable,omitempty"`

	// The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".
	MessageFormatVersion *string `json:"messageFormatVersion,omitempty" tf:"message_format_version,omitempty"`

	// The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.
	MessageTimestampDifferenceMaxMs *string `json:"messageTimestampDifferenceMaxMs,omitempty" tf:"message_timestamp_difference_max_ms,omitempty"`

	// Specifies which timestamp to use for the message. This may be one of "create_time" or "log_append_time".
	MessageTimestampType *string `json:"messageTimestampType,omitempty" tf:"message_timestamp_type,omitempty"`

	// A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with max_compaction_lag_ms to control the compactor frequency.
	MinCleanableDirtyRatio *float64 `json:"minCleanableDirtyRatio,omitempty" tf:"min_cleanable_dirty_ratio,omitempty"`

	MinCompactionLagMs *string `json:"minCompactionLagMs,omitempty" tf:"min_compaction_lag_ms,omitempty"`

	// The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Determines whether to preallocate a file on disk when creating a new log segment within a topic.
	Preallocate *bool `json:"preallocate,omitempty" tf:"preallocate,omitempty"`

	// The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.
	RetentionBytes *string `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.
	RetentionMs *string `json:"retentionMs,omitempty" tf:"retention_ms,omitempty"`

	// The maximum size, in bytes, of a single topic log file.
	SegmentBytes *string `json:"segmentBytes,omitempty" tf:"segment_bytes,omitempty"`

	// The maximum size, in bytes, of the offset index.
	SegmentIndexBytes *string `json:"segmentIndexBytes,omitempty" tf:"segment_index_bytes,omitempty"`

	// The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.
	SegmentJitterMs *string `json:"segmentJitterMs,omitempty" tf:"segment_jitter_ms,omitempty"`

	// The maximum time, in ms, before the topic log will flush to disk.
	SegmentMs *string `json:"segmentMs,omitempty" tf:"segment_ms,omitempty"`
}

func (*ConfigInitParameters) DeepCopy

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

func (*ConfigInitParameters) DeepCopyInto

func (in *ConfigInitParameters) DeepCopyInto(out *ConfigInitParameters)

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

type ConfigObservation

type ConfigObservation struct {

	// The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated.
	// This may be one of "delete", "compact", or "compact_delete".
	CleanupPolicy *string `json:"cleanupPolicy,omitempty" tf:"cleanup_policy,omitempty"`

	// The topic compression codecs used for a given topic.
	// This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.
	CompressionType *string `json:"compressionType,omitempty" tf:"compression_type,omitempty"`

	// The amount of time, in ms, that deleted records are retained.
	DeleteRetentionMs *string `json:"deleteRetentionMs,omitempty" tf:"delete_retention_ms,omitempty"`

	// The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.
	FileDeleteDelayMs *string `json:"fileDeleteDelayMs,omitempty" tf:"file_delete_delay_ms,omitempty"`

	// The number of messages accumulated on a topic partition before they are flushed to disk.
	FlushMessages *string `json:"flushMessages,omitempty" tf:"flush_messages,omitempty"`

	// The maximum time, in ms, that a topic is kept in memory before being flushed to disk.
	FlushMs *string `json:"flushMs,omitempty" tf:"flush_ms,omitempty"`

	// The interval, in bytes, in which entries are added to the offset index.
	IndexIntervalBytes *string `json:"indexIntervalBytes,omitempty" tf:"index_interval_bytes,omitempty"`

	// The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the compression_type is set to "uncompressed" or it is set to producer and the producer is not using compression.
	MaxCompactionLagMs *string `json:"maxCompactionLagMs,omitempty" tf:"max_compaction_lag_ms,omitempty"`

	// The maximum size, in bytes, of a message.
	MaxMessageBytes *string `json:"maxMessageBytes,omitempty" tf:"max_message_bytes,omitempty"`

	// Determines whether down-conversion of message formats for consumers is enabled.
	MessageDownConversionEnable *bool `json:"messageDownConversionEnable,omitempty" tf:"message_down_conversion_enable,omitempty"`

	// The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".
	MessageFormatVersion *string `json:"messageFormatVersion,omitempty" tf:"message_format_version,omitempty"`

	// The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.
	MessageTimestampDifferenceMaxMs *string `json:"messageTimestampDifferenceMaxMs,omitempty" tf:"message_timestamp_difference_max_ms,omitempty"`

	// Specifies which timestamp to use for the message. This may be one of "create_time" or "log_append_time".
	MessageTimestampType *string `json:"messageTimestampType,omitempty" tf:"message_timestamp_type,omitempty"`

	// A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with max_compaction_lag_ms to control the compactor frequency.
	MinCleanableDirtyRatio *float64 `json:"minCleanableDirtyRatio,omitempty" tf:"min_cleanable_dirty_ratio,omitempty"`

	MinCompactionLagMs *string `json:"minCompactionLagMs,omitempty" tf:"min_compaction_lag_ms,omitempty"`

	// The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Determines whether to preallocate a file on disk when creating a new log segment within a topic.
	Preallocate *bool `json:"preallocate,omitempty" tf:"preallocate,omitempty"`

	// The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.
	RetentionBytes *string `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.
	RetentionMs *string `json:"retentionMs,omitempty" tf:"retention_ms,omitempty"`

	// The maximum size, in bytes, of a single topic log file.
	SegmentBytes *string `json:"segmentBytes,omitempty" tf:"segment_bytes,omitempty"`

	// The maximum size, in bytes, of the offset index.
	SegmentIndexBytes *string `json:"segmentIndexBytes,omitempty" tf:"segment_index_bytes,omitempty"`

	// The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.
	SegmentJitterMs *string `json:"segmentJitterMs,omitempty" tf:"segment_jitter_ms,omitempty"`

	// The maximum time, in ms, before the topic log will flush to disk.
	SegmentMs *string `json:"segmentMs,omitempty" tf:"segment_ms,omitempty"`
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// The topic cleanup policy that decribes whether messages should be deleted, compacted, or both when retention policies are violated.
	// This may be one of "delete", "compact", or "compact_delete".
	// +kubebuilder:validation:Optional
	CleanupPolicy *string `json:"cleanupPolicy,omitempty" tf:"cleanup_policy,omitempty"`

	// The topic compression codecs used for a given topic.
	// This may be one of "uncompressed", "gzip", "snappy", "lz4", "producer", "zstd". "uncompressed" indicates that there is no compression and "producer" retains the original compression codec set by the producer.
	// +kubebuilder:validation:Optional
	CompressionType *string `json:"compressionType,omitempty" tf:"compression_type,omitempty"`

	// The amount of time, in ms, that deleted records are retained.
	// +kubebuilder:validation:Optional
	DeleteRetentionMs *string `json:"deleteRetentionMs,omitempty" tf:"delete_retention_ms,omitempty"`

	// The amount of time, in ms, to wait before deleting a topic log segment from the filesystem.
	// +kubebuilder:validation:Optional
	FileDeleteDelayMs *string `json:"fileDeleteDelayMs,omitempty" tf:"file_delete_delay_ms,omitempty"`

	// The number of messages accumulated on a topic partition before they are flushed to disk.
	// +kubebuilder:validation:Optional
	FlushMessages *string `json:"flushMessages,omitempty" tf:"flush_messages,omitempty"`

	// The maximum time, in ms, that a topic is kept in memory before being flushed to disk.
	// +kubebuilder:validation:Optional
	FlushMs *string `json:"flushMs,omitempty" tf:"flush_ms,omitempty"`

	// The interval, in bytes, in which entries are added to the offset index.
	// +kubebuilder:validation:Optional
	IndexIntervalBytes *string `json:"indexIntervalBytes,omitempty" tf:"index_interval_bytes,omitempty"`

	// The maximum time, in ms, that a particular message will remain uncompacted. This will not apply if the compression_type is set to "uncompressed" or it is set to producer and the producer is not using compression.
	// +kubebuilder:validation:Optional
	MaxCompactionLagMs *string `json:"maxCompactionLagMs,omitempty" tf:"max_compaction_lag_ms,omitempty"`

	// The maximum size, in bytes, of a message.
	// +kubebuilder:validation:Optional
	MaxMessageBytes *string `json:"maxMessageBytes,omitempty" tf:"max_message_bytes,omitempty"`

	// Determines whether down-conversion of message formats for consumers is enabled.
	// +kubebuilder:validation:Optional
	MessageDownConversionEnable *bool `json:"messageDownConversionEnable,omitempty" tf:"message_down_conversion_enable,omitempty"`

	// The version of the inter-broker protocol that will be used. This may be one of "0.8.0", "0.8.1", "0.8.2", "0.9.0", "0.10.0", "0.10.0-IV0", "0.10.0-IV1", "0.10.1", "0.10.1-IV0", "0.10.1-IV1", "0.10.1-IV2", "0.10.2", "0.10.2-IV0", "0.11.0", "0.11.0-IV0", "0.11.0-IV1", "0.11.0-IV2", "1.0", "1.0-IV0", "1.1", "1.1-IV0", "2.0", "2.0-IV0", "2.0-IV1", "2.1", "2.1-IV0", "2.1-IV1", "2.1-IV2", "2.2", "2.2-IV0", "2.2-IV1", "2.3", "2.3-IV0", "2.3-IV1", "2.4", "2.4-IV0", "2.4-IV1", "2.5", "2.5-IV0", "2.6", "2.6-IV0", "2.7", "2.7-IV0", "2.7-IV1", "2.7-IV2", "2.8", "2.8-IV0", "2.8-IV1", "3.0", "3.0-IV0", "3.0-IV1", "3.1", "3.1-IV0", "3.2", "3.2-IV0", "3.3", "3.3-IV0", "3.3-IV1", "3.3-IV2", "3.3-IV3", "3.4", "3.4-IV0", "3.5", "3.5-IV0", "3.5-IV1", "3.5-IV2", "3.6", "3.6-IV0", "3.6-IV1", "3.6-IV2".
	// +kubebuilder:validation:Optional
	MessageFormatVersion *string `json:"messageFormatVersion,omitempty" tf:"message_format_version,omitempty"`

	// The maximum difference, in ms, between the timestamp specific in a message and when the broker receives the message.
	// +kubebuilder:validation:Optional
	MessageTimestampDifferenceMaxMs *string `json:"messageTimestampDifferenceMaxMs,omitempty" tf:"message_timestamp_difference_max_ms,omitempty"`

	// Specifies which timestamp to use for the message. This may be one of "create_time" or "log_append_time".
	// +kubebuilder:validation:Optional
	MessageTimestampType *string `json:"messageTimestampType,omitempty" tf:"message_timestamp_type,omitempty"`

	// A scale between 0.0 and 1.0 which controls the frequency of the compactor. Larger values mean more frequent compactions. This is often paired with max_compaction_lag_ms to control the compactor frequency.
	// +kubebuilder:validation:Optional
	MinCleanableDirtyRatio *float64 `json:"minCleanableDirtyRatio,omitempty" tf:"min_cleanable_dirty_ratio,omitempty"`

	// +kubebuilder:validation:Optional
	MinCompactionLagMs *string `json:"minCompactionLagMs,omitempty" tf:"min_compaction_lag_ms,omitempty"`

	// The number of replicas that must acknowledge a write before it is considered successful. -1 is a special setting to indicate that all nodes must ack a message before a write is considered successful. Default is 1, indicating at least 1 replica must acknowledge a write to be considered successful.
	// +kubebuilder:validation:Optional
	MinInsyncReplicas *float64 `json:"minInsyncReplicas,omitempty" tf:"min_insync_replicas,omitempty"`

	// Determines whether to preallocate a file on disk when creating a new log segment within a topic.
	// +kubebuilder:validation:Optional
	Preallocate *bool `json:"preallocate,omitempty" tf:"preallocate,omitempty"`

	// The maximum size, in bytes, of a topic before messages are deleted. -1 is a special setting indicating that this setting has no limit.
	// +kubebuilder:validation:Optional
	RetentionBytes *string `json:"retentionBytes,omitempty" tf:"retention_bytes,omitempty"`

	// The maximum time, in ms, that a topic log file is retained before deleting it. -1 is a special setting indicating that this setting has no limit.
	// +kubebuilder:validation:Optional
	RetentionMs *string `json:"retentionMs,omitempty" tf:"retention_ms,omitempty"`

	// The maximum size, in bytes, of a single topic log file.
	// +kubebuilder:validation:Optional
	SegmentBytes *string `json:"segmentBytes,omitempty" tf:"segment_bytes,omitempty"`

	// The maximum size, in bytes, of the offset index.
	// +kubebuilder:validation:Optional
	SegmentIndexBytes *string `json:"segmentIndexBytes,omitempty" tf:"segment_index_bytes,omitempty"`

	// The maximum time, in ms, subtracted from the scheduled segment disk flush time to avoid the thundering herd problem for segment flushing.
	// +kubebuilder:validation:Optional
	SegmentJitterMs *string `json:"segmentJitterMs,omitempty" tf:"segment_jitter_ms,omitempty"`

	// The maximum time, in ms, before the topic log will flush to disk.
	// +kubebuilder:validation:Optional
	SegmentMs *string `json:"segmentMs,omitempty" tf:"segment_ms,omitempty"`
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type ConnectionPool

type ConnectionPool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbName) || (has(self.initProvider) && has(self.initProvider.dbName))",message="spec.forProvider.dbName is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mode) || (has(self.initProvider) && has(self.initProvider.mode))",message="spec.forProvider.mode is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.size) || (has(self.initProvider) && has(self.initProvider.size))",message="spec.forProvider.size is a required parameter"
	Spec   ConnectionPoolSpec   `json:"spec"`
	Status ConnectionPoolStatus `json:"status,omitempty"`
}

ConnectionPool is the Schema for the ConnectionPools API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

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

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

GetInitParameters of this ConnectionPool

func (*ConnectionPool) GetManagementPolicies

func (mg *ConnectionPool) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ConnectionPool.

func (*ConnectionPool) GetMergedParameters added in v0.2.0

func (tr *ConnectionPool) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) Hub added in v0.2.0

func (tr *ConnectionPool) Hub()

Hub marks this type as a conversion hub.

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

func (mg *ConnectionPool) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ConnectionPool.

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

func (mg *ConnectionPool) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 ConnectionPoolInitParameters

type ConnectionPoolInitParameters struct {

	// The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The database for use with the connection pool.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

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

	// The desired size of the PGBouncer connection pool.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*ConnectionPoolInitParameters) DeepCopy

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

func (*ConnectionPoolInitParameters) DeepCopyInto

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

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 ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// The database for use with the connection pool.
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The hostname used to connect to the database connection pool.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

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

	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

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

	// Network port that the database connection pool is listening on.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Same as host, but only accessible from resources within the account and in the same region.
	PrivateHost *string `json:"privateHost,omitempty" tf:"private_host,omitempty"`

	// The desired size of the PGBouncer connection pool.
	Size *float64 `json:"size,omitempty" tf:"size,omitempty"`

	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*ConnectionPoolObservation) DeepCopy

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

func (*ConnectionPoolObservation) DeepCopyInto

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

type ConnectionPoolParameters

type ConnectionPoolParameters struct {

	// The ID of the source database cluster. Note: This must be a PostgreSQL cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The database for use with the connection pool.
	// +kubebuilder:validation:Optional
	DBName *string `json:"dbName,omitempty" tf:"db_name,omitempty"`

	// The PGBouncer transaction mode for the connection pool. The allowed values are session, transaction, and statement.
	// +kubebuilder:validation:Optional
	Mode *string `json:"mode,omitempty" tf:"mode,omitempty"`

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

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

	// The name of the database user for use with the connection pool. When excluded, all sessions connect to the database as the inbound user.
	// +kubebuilder:validation:Optional
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*ConnectionPoolParameters) DeepCopy

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

func (*ConnectionPoolParameters) DeepCopyInto

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

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

type ConnectionPoolSpec

type ConnectionPoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConnectionPoolParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ConnectionPoolInitParameters `json:"initProvider,omitempty"`
}

ConnectionPoolSpec defines the desired state of ConnectionPool

func (*ConnectionPoolSpec) DeepCopy

func (in *ConnectionPoolSpec) DeepCopy() *ConnectionPoolSpec

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

func (*ConnectionPoolSpec) DeepCopyInto

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

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

type ConnectionPoolStatus

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

ConnectionPoolStatus defines the observed state of ConnectionPool.

func (*ConnectionPoolStatus) DeepCopy

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

func (*ConnectionPoolStatus) DeepCopyInto

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

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

type DB

type DB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   DBSpec   `json:"spec"`
	Status DBStatus `json:"status,omitempty"`
}

DB is the Schema for the DBs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*DB) DeepCopy

func (in *DB) DeepCopy() *DB

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

func (*DB) DeepCopyInto

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

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

func (*DB) DeepCopyObject

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

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

func (*DB) GetCondition

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

GetCondition of this DB.

func (*DB) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DB

func (*DB) GetDeletionPolicy

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

GetDeletionPolicy of this DB.

func (*DB) GetID

func (tr *DB) GetID() string

GetID returns ID of underlying Terraform resource of this DB

func (*DB) GetInitParameters

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

GetInitParameters of this DB

func (*DB) GetManagementPolicies

func (mg *DB) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this DB.

func (*DB) GetMergedParameters added in v0.2.0

func (tr *DB) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this DB

func (*DB) GetObservation

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

GetObservation of this DB

func (*DB) GetParameters

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

GetParameters of this DB

func (*DB) GetProviderConfigReference

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

GetProviderConfigReference of this DB.

func (*DB) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DB.

func (*DB) GetTerraformResourceType

func (mg *DB) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DB

func (*DB) GetTerraformSchemaVersion

func (tr *DB) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DB) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DB.

func (*DB) Hub added in v0.2.0

func (tr *DB) Hub()

Hub marks this type as a conversion hub.

func (*DB) LateInitialize

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

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

func (*DB) ResolveReferences

func (mg *DB) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DB.

func (*DB) SetConditions

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

SetConditions of this DB.

func (*DB) SetDeletionPolicy

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

SetDeletionPolicy of this DB.

func (*DB) SetManagementPolicies

func (mg *DB) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this DB.

func (*DB) SetObservation

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

SetObservation for this DB

func (*DB) SetParameters

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

SetParameters for this DB

func (*DB) SetProviderConfigReference

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

SetProviderConfigReference of this DB.

func (*DB) 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 DBInitParameters

type DBInitParameters struct {

	// The ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The name for the database.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*DBInitParameters) DeepCopy

func (in *DBInitParameters) DeepCopy() *DBInitParameters

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

func (*DBInitParameters) DeepCopyInto

func (in *DBInitParameters) DeepCopyInto(out *DBInitParameters)

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

type DBList

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

DBList contains a list of DBs

func (*DBList) DeepCopy

func (in *DBList) DeepCopy() *DBList

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

func (*DBList) DeepCopyInto

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

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

func (*DBList) DeepCopyObject

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

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

func (*DBList) GetItems

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

GetItems of this DBList.

type DBObservation

type DBObservation struct {

	// The ID of the original source database cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

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

	// The name for the database.
	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 ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The name for the database.
	// +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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DBInitParameters `json:"initProvider,omitempty"`
}

DBSpec defines the desired state of DB

func (*DBSpec) DeepCopy

func (in *DBSpec) DeepCopy() *DBSpec

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

func (*DBSpec) DeepCopyInto

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

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

type DBStatus

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

DBStatus defines the observed state of DB.

func (*DBStatus) DeepCopy

func (in *DBStatus) DeepCopy() *DBStatus

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

func (*DBStatus) DeepCopyInto

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

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

type Firewall

type Firewall struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter"
	Spec   FirewallSpec   `json:"spec"`
	Status FirewallStatus `json:"status,omitempty"`
}

Firewall is the Schema for the Firewalls API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*Firewall) DeepCopy

func (in *Firewall) DeepCopy() *Firewall

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

func (*Firewall) DeepCopyInto

func (in *Firewall) DeepCopyInto(out *Firewall)

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

func (*Firewall) DeepCopyObject

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

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

func (*Firewall) GetCondition

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

GetCondition of this Firewall.

func (*Firewall) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Firewall

func (*Firewall) GetDeletionPolicy

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

GetDeletionPolicy of this Firewall.

func (*Firewall) GetID

func (tr *Firewall) GetID() string

GetID returns ID of underlying Terraform resource of this Firewall

func (*Firewall) GetInitParameters

func (tr *Firewall) GetInitParameters() (map[string]any, error)

GetInitParameters of this Firewall

func (*Firewall) GetManagementPolicies

func (mg *Firewall) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Firewall.

func (*Firewall) GetMergedParameters added in v0.2.0

func (tr *Firewall) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Firewall

func (*Firewall) GetObservation

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

GetObservation of this Firewall

func (*Firewall) GetParameters

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

GetParameters of this Firewall

func (*Firewall) GetProviderConfigReference

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

GetProviderConfigReference of this Firewall.

func (*Firewall) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Firewall.

func (*Firewall) GetTerraformResourceType

func (mg *Firewall) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Firewall

func (*Firewall) GetTerraformSchemaVersion

func (tr *Firewall) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Firewall) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Firewall.

func (*Firewall) Hub added in v0.2.0

func (tr *Firewall) Hub()

Hub marks this type as a conversion hub.

func (*Firewall) LateInitialize

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

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

func (*Firewall) ResolveReferences

func (mg *Firewall) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Firewall.

func (*Firewall) SetConditions

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

SetConditions of this Firewall.

func (*Firewall) SetDeletionPolicy

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

SetDeletionPolicy of this Firewall.

func (*Firewall) SetManagementPolicies

func (mg *Firewall) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Firewall.

func (*Firewall) SetObservation

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

SetObservation for this Firewall

func (*Firewall) SetParameters

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

SetParameters for this Firewall

func (*Firewall) SetProviderConfigReference

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

SetProviderConfigReference of this Firewall.

func (*Firewall) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Firewall.

func (*Firewall) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Firewall.

type FirewallInitParameters

type FirewallInitParameters struct {

	// The ID of the target database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	Rule []RuleInitParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*FirewallInitParameters) DeepCopy

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

func (*FirewallInitParameters) DeepCopyInto

func (in *FirewallInitParameters) DeepCopyInto(out *FirewallInitParameters)

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

type FirewallList

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

FirewallList contains a list of Firewalls

func (*FirewallList) DeepCopy

func (in *FirewallList) DeepCopy() *FirewallList

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

func (*FirewallList) DeepCopyInto

func (in *FirewallList) DeepCopyInto(out *FirewallList)

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

func (*FirewallList) DeepCopyObject

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

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

func (*FirewallList) GetItems

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

GetItems of this FirewallList.

type FirewallObservation

type FirewallObservation struct {

	// The ID of the target database cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

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

	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	Rule []RuleObservation `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*FirewallObservation) DeepCopy

func (in *FirewallObservation) DeepCopy() *FirewallObservation

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

func (*FirewallObservation) DeepCopyInto

func (in *FirewallObservation) DeepCopyInto(out *FirewallObservation)

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

type FirewallParameters

type FirewallParameters struct {

	// The ID of the target database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// A rule specifying a resource allowed to access the database cluster. The following arguments must be specified:
	// +kubebuilder:validation:Optional
	Rule []RuleParameters `json:"rule,omitempty" tf:"rule,omitempty"`
}

func (*FirewallParameters) DeepCopy

func (in *FirewallParameters) DeepCopy() *FirewallParameters

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

func (*FirewallParameters) DeepCopyInto

func (in *FirewallParameters) DeepCopyInto(out *FirewallParameters)

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

type FirewallSpec

type FirewallSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FirewallParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider FirewallInitParameters `json:"initProvider,omitempty"`
}

FirewallSpec defines the desired state of Firewall

func (*FirewallSpec) DeepCopy

func (in *FirewallSpec) DeepCopy() *FirewallSpec

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

func (*FirewallSpec) DeepCopyInto

func (in *FirewallSpec) DeepCopyInto(out *FirewallSpec)

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

type FirewallStatus

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

FirewallStatus defines the observed state of Firewall.

func (*FirewallStatus) DeepCopy

func (in *FirewallStatus) DeepCopy() *FirewallStatus

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

func (*FirewallStatus) DeepCopyInto

func (in *FirewallStatus) DeepCopyInto(out *FirewallStatus)

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

type KafkaTopic

type KafkaTopic struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   KafkaTopicSpec   `json:"spec"`
	Status KafkaTopicStatus `json:"status,omitempty"`
}

KafkaTopic is the Schema for the KafkaTopics API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*KafkaTopic) DeepCopy

func (in *KafkaTopic) DeepCopy() *KafkaTopic

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

func (*KafkaTopic) DeepCopyInto

func (in *KafkaTopic) DeepCopyInto(out *KafkaTopic)

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

func (*KafkaTopic) DeepCopyObject

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

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

func (*KafkaTopic) GetCondition

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

GetCondition of this KafkaTopic.

func (*KafkaTopic) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this KafkaTopic

func (*KafkaTopic) GetDeletionPolicy

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

GetDeletionPolicy of this KafkaTopic.

func (*KafkaTopic) GetID

func (tr *KafkaTopic) GetID() string

GetID returns ID of underlying Terraform resource of this KafkaTopic

func (*KafkaTopic) GetInitParameters

func (tr *KafkaTopic) GetInitParameters() (map[string]any, error)

GetInitParameters of this KafkaTopic

func (*KafkaTopic) GetManagementPolicies

func (mg *KafkaTopic) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this KafkaTopic.

func (*KafkaTopic) GetMergedParameters added in v0.2.0

func (tr *KafkaTopic) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this KafkaTopic

func (*KafkaTopic) GetObservation

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

GetObservation of this KafkaTopic

func (*KafkaTopic) GetParameters

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

GetParameters of this KafkaTopic

func (*KafkaTopic) GetProviderConfigReference

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

GetProviderConfigReference of this KafkaTopic.

func (*KafkaTopic) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this KafkaTopic.

func (*KafkaTopic) GetTerraformResourceType

func (mg *KafkaTopic) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this KafkaTopic

func (*KafkaTopic) GetTerraformSchemaVersion

func (tr *KafkaTopic) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*KafkaTopic) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this KafkaTopic.

func (*KafkaTopic) Hub added in v0.2.0

func (tr *KafkaTopic) Hub()

Hub marks this type as a conversion hub.

func (*KafkaTopic) LateInitialize

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

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

func (*KafkaTopic) ResolveReferences

func (mg *KafkaTopic) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this KafkaTopic.

func (*KafkaTopic) SetConditions

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

SetConditions of this KafkaTopic.

func (*KafkaTopic) SetDeletionPolicy

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

SetDeletionPolicy of this KafkaTopic.

func (*KafkaTopic) SetManagementPolicies

func (mg *KafkaTopic) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this KafkaTopic.

func (*KafkaTopic) SetObservation

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

SetObservation for this KafkaTopic

func (*KafkaTopic) SetParameters

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

SetParameters for this KafkaTopic

func (*KafkaTopic) SetProviderConfigReference

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

SetProviderConfigReference of this KafkaTopic.

func (*KafkaTopic) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this KafkaTopic.

func (*KafkaTopic) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this KafkaTopic.

type KafkaTopicInitParameters

type KafkaTopicInitParameters struct {

	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The config block is documented below.
	Config []ConfigInitParameters `json:"config,omitempty" tf:"config,omitempty"`

	// The name for the topic.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	ReplicationFactor *float64 `json:"replicationFactor,omitempty" tf:"replication_factor,omitempty"`
}

func (*KafkaTopicInitParameters) DeepCopy

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

func (*KafkaTopicInitParameters) DeepCopyInto

func (in *KafkaTopicInitParameters) DeepCopyInto(out *KafkaTopicInitParameters)

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

type KafkaTopicList

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

KafkaTopicList contains a list of KafkaTopics

func (*KafkaTopicList) DeepCopy

func (in *KafkaTopicList) DeepCopy() *KafkaTopicList

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

func (*KafkaTopicList) DeepCopyInto

func (in *KafkaTopicList) DeepCopyInto(out *KafkaTopicList)

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

func (*KafkaTopicList) DeepCopyObject

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

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

func (*KafkaTopicList) GetItems

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

GetItems of this KafkaTopicList.

type KafkaTopicObservation

type KafkaTopicObservation struct {

	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The config block is documented below.
	Config []ConfigObservation `json:"config,omitempty" tf:"config,omitempty"`

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

	// The name for the topic.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	ReplicationFactor *float64 `json:"replicationFactor,omitempty" tf:"replication_factor,omitempty"`

	// The current status of the topic. Possible values are 'active', 'configuring', and 'deleting'.
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*KafkaTopicObservation) DeepCopy

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

func (*KafkaTopicObservation) DeepCopyInto

func (in *KafkaTopicObservation) DeepCopyInto(out *KafkaTopicObservation)

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

type KafkaTopicParameters

type KafkaTopicParameters struct {

	// The ID of the source database cluster. Note: This must be a Kafka cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// A set of advanced configuration parameters. Defaults will be set for any of the parameters that are not included.
	// The config block is documented below.
	// +kubebuilder:validation:Optional
	Config []ConfigParameters `json:"config,omitempty" tf:"config,omitempty"`

	// The name for the topic.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The number of partitions for the topic. Default and minimum set at 3, maximum is 2048.
	// +kubebuilder:validation:Optional
	PartitionCount *float64 `json:"partitionCount,omitempty" tf:"partition_count,omitempty"`

	// The number of nodes that topics are replicated across. Default and minimum set at 2, maximum is the number of nodes in the cluster.
	// +kubebuilder:validation:Optional
	ReplicationFactor *float64 `json:"replicationFactor,omitempty" tf:"replication_factor,omitempty"`
}

func (*KafkaTopicParameters) DeepCopy

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

func (*KafkaTopicParameters) DeepCopyInto

func (in *KafkaTopicParameters) DeepCopyInto(out *KafkaTopicParameters)

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

type KafkaTopicSpec

type KafkaTopicSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KafkaTopicParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider KafkaTopicInitParameters `json:"initProvider,omitempty"`
}

KafkaTopicSpec defines the desired state of KafkaTopic

func (*KafkaTopicSpec) DeepCopy

func (in *KafkaTopicSpec) DeepCopy() *KafkaTopicSpec

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

func (*KafkaTopicSpec) DeepCopyInto

func (in *KafkaTopicSpec) DeepCopyInto(out *KafkaTopicSpec)

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

type KafkaTopicStatus

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

KafkaTopicStatus defines the observed state of KafkaTopic.

func (*KafkaTopicStatus) DeepCopy

func (in *KafkaTopicStatus) DeepCopy() *KafkaTopicStatus

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

func (*KafkaTopicStatus) DeepCopyInto

func (in *KafkaTopicStatus) DeepCopyInto(out *KafkaTopicStatus)

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

type MaintenanceWindowInitParameters

type MaintenanceWindowInitParameters struct {

	// The day of the week on which to apply maintenance updates.
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour *string `json:"hour,omitempty" tf:"hour,omitempty"`
}

func (*MaintenanceWindowInitParameters) DeepCopy

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

func (*MaintenanceWindowInitParameters) DeepCopyInto

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

type MaintenanceWindowObservation

type MaintenanceWindowObservation struct {

	// The day of the week on which to apply maintenance updates.
	Day *string `json:"day,omitempty" tf:"day,omitempty"`

	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	Hour *string `json:"hour,omitempty" tf:"hour,omitempty"`
}

func (*MaintenanceWindowObservation) DeepCopy

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

func (*MaintenanceWindowObservation) DeepCopyInto

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

type MaintenanceWindowParameters

type MaintenanceWindowParameters struct {

	// The day of the week on which to apply maintenance updates.
	// +kubebuilder:validation:Optional
	Day *string `json:"day" tf:"day,omitempty"`

	// The hour in UTC at which maintenance updates will be applied in 24 hour format.
	// +kubebuilder:validation:Optional
	Hour *string `json:"hour" tf:"hour,omitempty"`
}

func (*MaintenanceWindowParameters) DeepCopy

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

func (*MaintenanceWindowParameters) DeepCopyInto

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

type MySQLConfig

type MySQLConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MySQLConfigSpec   `json:"spec"`
	Status            MySQLConfigStatus `json:"status,omitempty"`
}

MySQLConfig is the Schema for the MySQLConfigs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*MySQLConfig) DeepCopy

func (in *MySQLConfig) DeepCopy() *MySQLConfig

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

func (*MySQLConfig) DeepCopyInto

func (in *MySQLConfig) DeepCopyInto(out *MySQLConfig)

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

func (*MySQLConfig) DeepCopyObject

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

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

func (*MySQLConfig) GetCondition

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

GetCondition of this MySQLConfig.

func (*MySQLConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this MySQLConfig

func (*MySQLConfig) GetDeletionPolicy

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

GetDeletionPolicy of this MySQLConfig.

func (*MySQLConfig) GetID

func (tr *MySQLConfig) GetID() string

GetID returns ID of underlying Terraform resource of this MySQLConfig

func (*MySQLConfig) GetInitParameters

func (tr *MySQLConfig) GetInitParameters() (map[string]any, error)

GetInitParameters of this MySQLConfig

func (*MySQLConfig) GetManagementPolicies

func (mg *MySQLConfig) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this MySQLConfig.

func (*MySQLConfig) GetMergedParameters added in v0.2.0

func (tr *MySQLConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this MySQLConfig

func (*MySQLConfig) GetObservation

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

GetObservation of this MySQLConfig

func (*MySQLConfig) GetParameters

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

GetParameters of this MySQLConfig

func (*MySQLConfig) GetProviderConfigReference

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

GetProviderConfigReference of this MySQLConfig.

func (*MySQLConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this MySQLConfig.

func (*MySQLConfig) GetTerraformResourceType

func (mg *MySQLConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this MySQLConfig

func (*MySQLConfig) GetTerraformSchemaVersion

func (tr *MySQLConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*MySQLConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this MySQLConfig.

func (*MySQLConfig) Hub added in v0.2.0

func (tr *MySQLConfig) Hub()

Hub marks this type as a conversion hub.

func (*MySQLConfig) LateInitialize

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

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

func (*MySQLConfig) ResolveReferences

func (mg *MySQLConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this MySQLConfig.

func (*MySQLConfig) SetConditions

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

SetConditions of this MySQLConfig.

func (*MySQLConfig) SetDeletionPolicy

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

SetDeletionPolicy of this MySQLConfig.

func (*MySQLConfig) SetManagementPolicies

func (mg *MySQLConfig) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this MySQLConfig.

func (*MySQLConfig) SetObservation

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

SetObservation for this MySQLConfig

func (*MySQLConfig) SetParameters

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

SetParameters for this MySQLConfig

func (*MySQLConfig) SetProviderConfigReference

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

SetProviderConfigReference of this MySQLConfig.

func (*MySQLConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this MySQLConfig.

func (*MySQLConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this MySQLConfig.

type MySQLConfigInitParameters

type MySQLConfigInitParameters struct {

	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour *float64 `json:"backupHour,omitempty" tf:"backup_hour,omitempty"`

	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupMinute *float64 `json:"backupMinute,omitempty" tf:"backup_minute,omitempty"`

	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod *float64 `json:"binlogRetentionPeriod,omitempty" tf:"binlog_retention_period,omitempty"`

	// The ID of the target MySQL cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	ConnectTimeout *float64 `json:"connectTimeout,omitempty" tf:"connect_timeout,omitempty"`

	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or SYSTEM to use the MySQL server default.
	DefaultTimeZone *string `json:"defaultTimeZone,omitempty" tf:"default_time_zone,omitempty"`

	// The maximum permitted result length, in bytes, for the GROUP_CONCAT() function.
	GroupConcatMaxLen *float64 `json:"groupConcatMaxLen,omitempty" tf:"group_concat_max_len,omitempty"`

	// The time, in seconds, before cached statistics expire.
	InformationSchemaStatsExpiry *float64 `json:"informationSchemaStatsExpiry,omitempty" tf:"information_schema_stats_expiry,omitempty"`

	// The minimum length of words that an InnoDB FULLTEXT index stores.
	InnodbFtMinTokenSize *float64 `json:"innodbFtMinTokenSize,omitempty" tf:"innodb_ft_min_token_size,omitempty"`

	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	InnodbFtServerStopwordTable *string `json:"innodbFtServerStopwordTable,omitempty" tf:"innodb_ft_server_stopword_table,omitempty"`

	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	InnodbLockWaitTimeout *float64 `json:"innodbLockWaitTimeout,omitempty" tf:"innodb_lock_wait_timeout,omitempty"`

	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	InnodbLogBufferSize *float64 `json:"innodbLogBufferSize,omitempty" tf:"innodb_log_buffer_size,omitempty"`

	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	InnodbOnlineAlterLogMaxSize *float64 `json:"innodbOnlineAlterLogMaxSize,omitempty" tf:"innodb_online_alter_log_max_size,omitempty"`

	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	InnodbPrintAllDeadlocks *bool `json:"innodbPrintAllDeadlocks,omitempty" tf:"innodb_print_all_deadlocks,omitempty"`

	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	InnodbRollbackOnTimeout *bool `json:"innodbRollbackOnTimeout,omitempty" tf:"innodb_rollback_on_timeout,omitempty"`

	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	InteractiveTimeout *float64 `json:"interactiveTimeout,omitempty" tf:"interactive_timeout,omitempty"`

	// The storage engine for in-memory internal temporary tables. Supported values are: TempTable, MEMORY.
	InternalTmpMemStorageEngine *string `json:"internalTmpMemStorageEngine,omitempty" tf:"internal_tmp_mem_storage_engine,omitempty"`

	// The time, in seconds, for a query to take to execute before being captured by slow_query_logs. Default is 10 seconds.
	LongQueryTime *float64 `json:"longQueryTime,omitempty" tf:"long_query_time,omitempty"`

	// The size of the largest message, in bytes, that can be received by the server. Default is 67108864 (64M).
	MaxAllowedPacket *float64 `json:"maxAllowedPacket,omitempty" tf:"max_allowed_packet,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
	MaxHeapTableSize *float64 `json:"maxHeapTableSize,omitempty" tf:"max_heap_table_size,omitempty"`

	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	NetReadTimeout *float64 `json:"netReadTimeout,omitempty" tf:"net_read_timeout,omitempty"`

	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	NetWriteTimeout *float64 `json:"netWriteTimeout,omitempty" tf:"net_write_timeout,omitempty"`

	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	SQLRequirePrimaryKey *bool `json:"sqlRequirePrimaryKey,omitempty" tf:"sql_require_primary_key,omitempty"`

	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	SlowQueryLog *bool `json:"slowQueryLog,omitempty" tf:"slow_query_log,omitempty"`

	// The sort buffer size, in bytes, for ORDER BY optimization. Default is 262144. (256K).
	SortBufferSize *float64 `json:"sortBufferSize,omitempty" tf:"sort_buffer_size,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
	TmpTableSize *float64 `json:"tmpTableSize,omitempty" tf:"tmp_table_size,omitempty"`

	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	WaitTimeout *float64 `json:"waitTimeout,omitempty" tf:"wait_timeout,omitempty"`
}

func (*MySQLConfigInitParameters) DeepCopy

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

func (*MySQLConfigInitParameters) DeepCopyInto

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

type MySQLConfigList

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

MySQLConfigList contains a list of MySQLConfigs

func (*MySQLConfigList) DeepCopy

func (in *MySQLConfigList) DeepCopy() *MySQLConfigList

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

func (*MySQLConfigList) DeepCopyInto

func (in *MySQLConfigList) DeepCopyInto(out *MySQLConfigList)

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

func (*MySQLConfigList) DeepCopyObject

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

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

func (*MySQLConfigList) GetItems

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

GetItems of this MySQLConfigList.

type MySQLConfigObservation

type MySQLConfigObservation struct {

	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupHour *float64 `json:"backupHour,omitempty" tf:"backup_hour,omitempty"`

	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	BackupMinute *float64 `json:"backupMinute,omitempty" tf:"backup_minute,omitempty"`

	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	BinlogRetentionPeriod *float64 `json:"binlogRetentionPeriod,omitempty" tf:"binlog_retention_period,omitempty"`

	// The ID of the target MySQL cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	ConnectTimeout *float64 `json:"connectTimeout,omitempty" tf:"connect_timeout,omitempty"`

	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or SYSTEM to use the MySQL server default.
	DefaultTimeZone *string `json:"defaultTimeZone,omitempty" tf:"default_time_zone,omitempty"`

	// The maximum permitted result length, in bytes, for the GROUP_CONCAT() function.
	GroupConcatMaxLen *float64 `json:"groupConcatMaxLen,omitempty" tf:"group_concat_max_len,omitempty"`

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

	// The time, in seconds, before cached statistics expire.
	InformationSchemaStatsExpiry *float64 `json:"informationSchemaStatsExpiry,omitempty" tf:"information_schema_stats_expiry,omitempty"`

	// The minimum length of words that an InnoDB FULLTEXT index stores.
	InnodbFtMinTokenSize *float64 `json:"innodbFtMinTokenSize,omitempty" tf:"innodb_ft_min_token_size,omitempty"`

	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	InnodbFtServerStopwordTable *string `json:"innodbFtServerStopwordTable,omitempty" tf:"innodb_ft_server_stopword_table,omitempty"`

	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	InnodbLockWaitTimeout *float64 `json:"innodbLockWaitTimeout,omitempty" tf:"innodb_lock_wait_timeout,omitempty"`

	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	InnodbLogBufferSize *float64 `json:"innodbLogBufferSize,omitempty" tf:"innodb_log_buffer_size,omitempty"`

	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	InnodbOnlineAlterLogMaxSize *float64 `json:"innodbOnlineAlterLogMaxSize,omitempty" tf:"innodb_online_alter_log_max_size,omitempty"`

	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	InnodbPrintAllDeadlocks *bool `json:"innodbPrintAllDeadlocks,omitempty" tf:"innodb_print_all_deadlocks,omitempty"`

	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	InnodbRollbackOnTimeout *bool `json:"innodbRollbackOnTimeout,omitempty" tf:"innodb_rollback_on_timeout,omitempty"`

	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	InteractiveTimeout *float64 `json:"interactiveTimeout,omitempty" tf:"interactive_timeout,omitempty"`

	// The storage engine for in-memory internal temporary tables. Supported values are: TempTable, MEMORY.
	InternalTmpMemStorageEngine *string `json:"internalTmpMemStorageEngine,omitempty" tf:"internal_tmp_mem_storage_engine,omitempty"`

	// The time, in seconds, for a query to take to execute before being captured by slow_query_logs. Default is 10 seconds.
	LongQueryTime *float64 `json:"longQueryTime,omitempty" tf:"long_query_time,omitempty"`

	// The size of the largest message, in bytes, that can be received by the server. Default is 67108864 (64M).
	MaxAllowedPacket *float64 `json:"maxAllowedPacket,omitempty" tf:"max_allowed_packet,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
	MaxHeapTableSize *float64 `json:"maxHeapTableSize,omitempty" tf:"max_heap_table_size,omitempty"`

	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	NetReadTimeout *float64 `json:"netReadTimeout,omitempty" tf:"net_read_timeout,omitempty"`

	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	NetWriteTimeout *float64 `json:"netWriteTimeout,omitempty" tf:"net_write_timeout,omitempty"`

	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	SQLRequirePrimaryKey *bool `json:"sqlRequirePrimaryKey,omitempty" tf:"sql_require_primary_key,omitempty"`

	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	SlowQueryLog *bool `json:"slowQueryLog,omitempty" tf:"slow_query_log,omitempty"`

	// The sort buffer size, in bytes, for ORDER BY optimization. Default is 262144. (256K).
	SortBufferSize *float64 `json:"sortBufferSize,omitempty" tf:"sort_buffer_size,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
	TmpTableSize *float64 `json:"tmpTableSize,omitempty" tf:"tmp_table_size,omitempty"`

	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	WaitTimeout *float64 `json:"waitTimeout,omitempty" tf:"wait_timeout,omitempty"`
}

func (*MySQLConfigObservation) DeepCopy

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

func (*MySQLConfigObservation) DeepCopyInto

func (in *MySQLConfigObservation) DeepCopyInto(out *MySQLConfigObservation)

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

type MySQLConfigParameters

type MySQLConfigParameters struct {

	// The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
	// +kubebuilder:validation:Optional
	BackupHour *float64 `json:"backupHour,omitempty" tf:"backup_hour,omitempty"`

	// The minute of the backup hour when backup for the service starts. New backup only starts if previous backup has already completed.
	// +kubebuilder:validation:Optional
	BackupMinute *float64 `json:"backupMinute,omitempty" tf:"backup_minute,omitempty"`

	// The minimum amount of time, in seconds, to keep binlog entries before deletion. This may be extended for services that require binlog entries for longer than the default, for example if using the MySQL Debezium Kafka connector.
	// +kubebuilder:validation:Optional
	BinlogRetentionPeriod *float64 `json:"binlogRetentionPeriod,omitempty" tf:"binlog_retention_period,omitempty"`

	// The ID of the target MySQL cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The number of seconds that the mysqld server waits for a connect packet before responding with bad handshake.
	// +kubebuilder:validation:Optional
	ConnectTimeout *float64 `json:"connectTimeout,omitempty" tf:"connect_timeout,omitempty"`

	// Default server time zone, in the form of an offset from UTC (from -12:00 to +12:00), a time zone name (EST), or SYSTEM to use the MySQL server default.
	// +kubebuilder:validation:Optional
	DefaultTimeZone *string `json:"defaultTimeZone,omitempty" tf:"default_time_zone,omitempty"`

	// The maximum permitted result length, in bytes, for the GROUP_CONCAT() function.
	// +kubebuilder:validation:Optional
	GroupConcatMaxLen *float64 `json:"groupConcatMaxLen,omitempty" tf:"group_concat_max_len,omitempty"`

	// The time, in seconds, before cached statistics expire.
	// +kubebuilder:validation:Optional
	InformationSchemaStatsExpiry *float64 `json:"informationSchemaStatsExpiry,omitempty" tf:"information_schema_stats_expiry,omitempty"`

	// The minimum length of words that an InnoDB FULLTEXT index stores.
	// +kubebuilder:validation:Optional
	InnodbFtMinTokenSize *float64 `json:"innodbFtMinTokenSize,omitempty" tf:"innodb_ft_min_token_size,omitempty"`

	// The InnoDB FULLTEXT index stopword list for all InnoDB tables.
	// +kubebuilder:validation:Optional
	InnodbFtServerStopwordTable *string `json:"innodbFtServerStopwordTable,omitempty" tf:"innodb_ft_server_stopword_table,omitempty"`

	// The time, in seconds, that an InnoDB transaction waits for a row lock. before giving up.
	// +kubebuilder:validation:Optional
	InnodbLockWaitTimeout *float64 `json:"innodbLockWaitTimeout,omitempty" tf:"innodb_lock_wait_timeout,omitempty"`

	// The size of the buffer, in bytes, that InnoDB uses to write to the log files. on disk.
	// +kubebuilder:validation:Optional
	InnodbLogBufferSize *float64 `json:"innodbLogBufferSize,omitempty" tf:"innodb_log_buffer_size,omitempty"`

	// The upper limit, in bytes, of the size of the temporary log files used during online DDL operations for InnoDB tables.
	// +kubebuilder:validation:Optional
	InnodbOnlineAlterLogMaxSize *float64 `json:"innodbOnlineAlterLogMaxSize,omitempty" tf:"innodb_online_alter_log_max_size,omitempty"`

	// When enabled, records information about all deadlocks in InnoDB user transactions in the error log. Disabled by default.
	// +kubebuilder:validation:Optional
	InnodbPrintAllDeadlocks *bool `json:"innodbPrintAllDeadlocks,omitempty" tf:"innodb_print_all_deadlocks,omitempty"`

	// When enabled, transaction timeouts cause InnoDB to abort and roll back the entire transaction.
	// +kubebuilder:validation:Optional
	InnodbRollbackOnTimeout *bool `json:"innodbRollbackOnTimeout,omitempty" tf:"innodb_rollback_on_timeout,omitempty"`

	// The time, in seconds, the server waits for activity on an interactive. connection before closing it.
	// +kubebuilder:validation:Optional
	InteractiveTimeout *float64 `json:"interactiveTimeout,omitempty" tf:"interactive_timeout,omitempty"`

	// The storage engine for in-memory internal temporary tables. Supported values are: TempTable, MEMORY.
	// +kubebuilder:validation:Optional
	InternalTmpMemStorageEngine *string `json:"internalTmpMemStorageEngine,omitempty" tf:"internal_tmp_mem_storage_engine,omitempty"`

	// The time, in seconds, for a query to take to execute before being captured by slow_query_logs. Default is 10 seconds.
	// +kubebuilder:validation:Optional
	LongQueryTime *float64 `json:"longQueryTime,omitempty" tf:"long_query_time,omitempty"`

	// The size of the largest message, in bytes, that can be received by the server. Default is 67108864 (64M).
	// +kubebuilder:validation:Optional
	MaxAllowedPacket *float64 `json:"maxAllowedPacket,omitempty" tf:"max_allowed_packet,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)
	// +kubebuilder:validation:Optional
	MaxHeapTableSize *float64 `json:"maxHeapTableSize,omitempty" tf:"max_heap_table_size,omitempty"`

	// The time, in seconds, to wait for more data from an existing connection. aborting the read.
	// +kubebuilder:validation:Optional
	NetReadTimeout *float64 `json:"netReadTimeout,omitempty" tf:"net_read_timeout,omitempty"`

	// The number of seconds to wait for a block to be written to a connection before aborting the write.
	// +kubebuilder:validation:Optional
	NetWriteTimeout *float64 `json:"netWriteTimeout,omitempty" tf:"net_write_timeout,omitempty"`

	// Global SQL mode. If empty, uses MySQL server defaults. Must only include uppercase alphabetic characters, underscores, and commas.
	// +kubebuilder:validation:Optional
	SQLMode *string `json:"sqlMode,omitempty" tf:"sql_mode,omitempty"`

	// Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.
	// +kubebuilder:validation:Optional
	SQLRequirePrimaryKey *bool `json:"sqlRequirePrimaryKey,omitempty" tf:"sql_require_primary_key,omitempty"`

	// When enabled, captures slow queries. When disabled, also truncates the mysql.slow_log table. Default is false.
	// +kubebuilder:validation:Optional
	SlowQueryLog *bool `json:"slowQueryLog,omitempty" tf:"slow_query_log,omitempty"`

	// The sort buffer size, in bytes, for ORDER BY optimization. Default is 262144. (256K).
	// +kubebuilder:validation:Optional
	SortBufferSize *float64 `json:"sortBufferSize,omitempty" tf:"sort_buffer_size,omitempty"`

	// The maximum size, in bytes, of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M).
	// +kubebuilder:validation:Optional
	TmpTableSize *float64 `json:"tmpTableSize,omitempty" tf:"tmp_table_size,omitempty"`

	// The number of seconds the server waits for activity on a noninteractive connection before closing it.
	// +kubebuilder:validation:Optional
	WaitTimeout *float64 `json:"waitTimeout,omitempty" tf:"wait_timeout,omitempty"`
}

func (*MySQLConfigParameters) DeepCopy

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

func (*MySQLConfigParameters) DeepCopyInto

func (in *MySQLConfigParameters) DeepCopyInto(out *MySQLConfigParameters)

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

type MySQLConfigSpec

type MySQLConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MySQLConfigParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider MySQLConfigInitParameters `json:"initProvider,omitempty"`
}

MySQLConfigSpec defines the desired state of MySQLConfig

func (*MySQLConfigSpec) DeepCopy

func (in *MySQLConfigSpec) DeepCopy() *MySQLConfigSpec

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

func (*MySQLConfigSpec) DeepCopyInto

func (in *MySQLConfigSpec) DeepCopyInto(out *MySQLConfigSpec)

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

type MySQLConfigStatus

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

MySQLConfigStatus defines the observed state of MySQLConfig.

func (*MySQLConfigStatus) DeepCopy

func (in *MySQLConfigStatus) DeepCopy() *MySQLConfigStatus

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

func (*MySQLConfigStatus) DeepCopyInto

func (in *MySQLConfigStatus) DeepCopyInto(out *MySQLConfigStatus)

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

type RedisConfig

type RedisConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RedisConfigSpec   `json:"spec"`
	Status            RedisConfigStatus `json:"status,omitempty"`
}

RedisConfig is the Schema for the RedisConfigs API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*RedisConfig) DeepCopy

func (in *RedisConfig) DeepCopy() *RedisConfig

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

func (*RedisConfig) DeepCopyInto

func (in *RedisConfig) DeepCopyInto(out *RedisConfig)

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

func (*RedisConfig) DeepCopyObject

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

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

func (*RedisConfig) GetCondition

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

GetCondition of this RedisConfig.

func (*RedisConfig) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RedisConfig

func (*RedisConfig) GetDeletionPolicy

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

GetDeletionPolicy of this RedisConfig.

func (*RedisConfig) GetID

func (tr *RedisConfig) GetID() string

GetID returns ID of underlying Terraform resource of this RedisConfig

func (*RedisConfig) GetInitParameters

func (tr *RedisConfig) GetInitParameters() (map[string]any, error)

GetInitParameters of this RedisConfig

func (*RedisConfig) GetManagementPolicies

func (mg *RedisConfig) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this RedisConfig.

func (*RedisConfig) GetMergedParameters added in v0.2.0

func (tr *RedisConfig) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this RedisConfig

func (*RedisConfig) GetObservation

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

GetObservation of this RedisConfig

func (*RedisConfig) GetParameters

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

GetParameters of this RedisConfig

func (*RedisConfig) GetProviderConfigReference

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

GetProviderConfigReference of this RedisConfig.

func (*RedisConfig) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RedisConfig.

func (*RedisConfig) GetTerraformResourceType

func (mg *RedisConfig) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RedisConfig

func (*RedisConfig) GetTerraformSchemaVersion

func (tr *RedisConfig) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RedisConfig) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RedisConfig.

func (*RedisConfig) Hub added in v0.2.0

func (tr *RedisConfig) Hub()

Hub marks this type as a conversion hub.

func (*RedisConfig) LateInitialize

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

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

func (*RedisConfig) ResolveReferences

func (mg *RedisConfig) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this RedisConfig.

func (*RedisConfig) SetConditions

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

SetConditions of this RedisConfig.

func (*RedisConfig) SetDeletionPolicy

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

SetDeletionPolicy of this RedisConfig.

func (*RedisConfig) SetManagementPolicies

func (mg *RedisConfig) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this RedisConfig.

func (*RedisConfig) SetObservation

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

SetObservation for this RedisConfig

func (*RedisConfig) SetParameters

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

SetParameters for this RedisConfig

func (*RedisConfig) SetProviderConfigReference

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

SetProviderConfigReference of this RedisConfig.

func (*RedisConfig) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RedisConfig.

func (*RedisConfig) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RedisConfig.

type RedisConfigInitParameters

type RedisConfigInitParameters struct {

	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, allchannels is assumed to keep backward compatibility. This option doesn't affect Redis' acl-pubsub-default configuration. Supported values are: allchannels and resetchannels
	ACLChannelsDefault *string `json:"aclChannelsDefault,omitempty" tf:"acl_channels_default,omitempty"`

	// The ID of the target Redis cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The Redis IO thread count.
	IoThreads *float64 `json:"ioThreads,omitempty" tf:"io_threads,omitempty"`

	// The LFU maxmemory policy counter decay time in minutes.
	LfuDecayTime *float64 `json:"lfuDecayTime,omitempty" tf:"lfu_decay_time,omitempty"`

	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	LfuLogFactor *float64 `json:"lfuLogFactor,omitempty" tf:"lfu_log_factor,omitempty"`

	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: noeviction, allkeys-lru, allkeys-random, volatile-lru, volatile-random, volatile-ttl
	MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy,omitempty"`

	// The notify-keyspace-events option. Requires at least K or E.
	NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events,omitempty"`

	// The number of Redis databases. Changing this will cause a restart of Redis service.
	NumberOfDatabases *float64 `json:"numberOfDatabases,omitempty" tf:"number_of_databases,omitempty"`

	// When persistence is rdb, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is off, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	Persistence *string `json:"persistence,omitempty" tf:"persistence,omitempty"`

	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	PubsubClientOutputBufferLimit *float64 `json:"pubsubClientOutputBufferLimit,omitempty" tf:"pubsub_client_output_buffer_limit,omitempty"`

	// A boolean indicating whether to require SSL to access Redis.
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// The Redis idle connection timeout in seconds.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

func (*RedisConfigInitParameters) DeepCopy

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

func (*RedisConfigInitParameters) DeepCopyInto

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

type RedisConfigList

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

RedisConfigList contains a list of RedisConfigs

func (*RedisConfigList) DeepCopy

func (in *RedisConfigList) DeepCopy() *RedisConfigList

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

func (*RedisConfigList) DeepCopyInto

func (in *RedisConfigList) DeepCopyInto(out *RedisConfigList)

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

func (*RedisConfigList) DeepCopyObject

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

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

func (*RedisConfigList) GetItems

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

GetItems of this RedisConfigList.

type RedisConfigObservation

type RedisConfigObservation struct {

	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, allchannels is assumed to keep backward compatibility. This option doesn't affect Redis' acl-pubsub-default configuration. Supported values are: allchannels and resetchannels
	ACLChannelsDefault *string `json:"aclChannelsDefault,omitempty" tf:"acl_channels_default,omitempty"`

	// The ID of the target Redis cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

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

	// The Redis IO thread count.
	IoThreads *float64 `json:"ioThreads,omitempty" tf:"io_threads,omitempty"`

	// The LFU maxmemory policy counter decay time in minutes.
	LfuDecayTime *float64 `json:"lfuDecayTime,omitempty" tf:"lfu_decay_time,omitempty"`

	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	LfuLogFactor *float64 `json:"lfuLogFactor,omitempty" tf:"lfu_log_factor,omitempty"`

	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: noeviction, allkeys-lru, allkeys-random, volatile-lru, volatile-random, volatile-ttl
	MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy,omitempty"`

	// The notify-keyspace-events option. Requires at least K or E.
	NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events,omitempty"`

	// The number of Redis databases. Changing this will cause a restart of Redis service.
	NumberOfDatabases *float64 `json:"numberOfDatabases,omitempty" tf:"number_of_databases,omitempty"`

	// When persistence is rdb, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is off, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	Persistence *string `json:"persistence,omitempty" tf:"persistence,omitempty"`

	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	PubsubClientOutputBufferLimit *float64 `json:"pubsubClientOutputBufferLimit,omitempty" tf:"pubsub_client_output_buffer_limit,omitempty"`

	// A boolean indicating whether to require SSL to access Redis.
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// The Redis idle connection timeout in seconds.
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

func (*RedisConfigObservation) DeepCopy

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

func (*RedisConfigObservation) DeepCopyInto

func (in *RedisConfigObservation) DeepCopyInto(out *RedisConfigObservation)

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

type RedisConfigParameters

type RedisConfigParameters struct {

	// Determines default pub/sub channels' ACL for new users if an ACL is not supplied. When this option is not defined, allchannels is assumed to keep backward compatibility. This option doesn't affect Redis' acl-pubsub-default configuration. Supported values are: allchannels and resetchannels
	// +kubebuilder:validation:Optional
	ACLChannelsDefault *string `json:"aclChannelsDefault,omitempty" tf:"acl_channels_default,omitempty"`

	// The ID of the target Redis cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The Redis IO thread count.
	// +kubebuilder:validation:Optional
	IoThreads *float64 `json:"ioThreads,omitempty" tf:"io_threads,omitempty"`

	// The LFU maxmemory policy counter decay time in minutes.
	// +kubebuilder:validation:Optional
	LfuDecayTime *float64 `json:"lfuDecayTime,omitempty" tf:"lfu_decay_time,omitempty"`

	// The counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory policies.
	// +kubebuilder:validation:Optional
	LfuLogFactor *float64 `json:"lfuLogFactor,omitempty" tf:"lfu_log_factor,omitempty"`

	// A string specifying the desired eviction policy for the Redis cluster.Supported values are: noeviction, allkeys-lru, allkeys-random, volatile-lru, volatile-random, volatile-ttl
	// +kubebuilder:validation:Optional
	MaxmemoryPolicy *string `json:"maxmemoryPolicy,omitempty" tf:"maxmemory_policy,omitempty"`

	// The notify-keyspace-events option. Requires at least K or E.
	// +kubebuilder:validation:Optional
	NotifyKeyspaceEvents *string `json:"notifyKeyspaceEvents,omitempty" tf:"notify_keyspace_events,omitempty"`

	// The number of Redis databases. Changing this will cause a restart of Redis service.
	// +kubebuilder:validation:Optional
	NumberOfDatabases *float64 `json:"numberOfDatabases,omitempty" tf:"number_of_databases,omitempty"`

	// When persistence is rdb, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is off, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked.
	// +kubebuilder:validation:Optional
	Persistence *string `json:"persistence,omitempty" tf:"persistence,omitempty"`

	// The output buffer limit for pub/sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan.
	// +kubebuilder:validation:Optional
	PubsubClientOutputBufferLimit *float64 `json:"pubsubClientOutputBufferLimit,omitempty" tf:"pubsub_client_output_buffer_limit,omitempty"`

	// A boolean indicating whether to require SSL to access Redis.
	// +kubebuilder:validation:Optional
	SSL *bool `json:"ssl,omitempty" tf:"ssl,omitempty"`

	// The Redis idle connection timeout in seconds.
	// +kubebuilder:validation:Optional
	Timeout *float64 `json:"timeout,omitempty" tf:"timeout,omitempty"`
}

func (*RedisConfigParameters) DeepCopy

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

func (*RedisConfigParameters) DeepCopyInto

func (in *RedisConfigParameters) DeepCopyInto(out *RedisConfigParameters)

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

type RedisConfigSpec

type RedisConfigSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RedisConfigParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RedisConfigInitParameters `json:"initProvider,omitempty"`
}

RedisConfigSpec defines the desired state of RedisConfig

func (*RedisConfigSpec) DeepCopy

func (in *RedisConfigSpec) DeepCopy() *RedisConfigSpec

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

func (*RedisConfigSpec) DeepCopyInto

func (in *RedisConfigSpec) DeepCopyInto(out *RedisConfigSpec)

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

type RedisConfigStatus

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

RedisConfigStatus defines the observed state of RedisConfig.

func (*RedisConfigStatus) DeepCopy

func (in *RedisConfigStatus) DeepCopy() *RedisConfigStatus

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

func (*RedisConfigStatus) DeepCopyInto

func (in *RedisConfigStatus) DeepCopyInto(out *RedisConfigStatus)

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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ReplicaSpec   `json:"spec"`
	Status ReplicaStatus `json:"status,omitempty"`
}

Replica is the Schema for the Replicas API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*Replica) DeepCopy

func (in *Replica) DeepCopy() *Replica

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

func (*Replica) DeepCopyInto

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

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

func (*Replica) DeepCopyObject

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

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

func (*Replica) GetCondition

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

GetCondition of this Replica.

func (*Replica) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Replica

func (*Replica) GetDeletionPolicy

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

GetDeletionPolicy of this Replica.

func (*Replica) GetID

func (tr *Replica) GetID() string

GetID returns ID of underlying Terraform resource of this Replica

func (*Replica) GetInitParameters

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

GetInitParameters of this Replica

func (*Replica) GetManagementPolicies

func (mg *Replica) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Replica.

func (*Replica) GetMergedParameters added in v0.2.0

func (tr *Replica) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Replica

func (*Replica) GetObservation

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

GetObservation of this Replica

func (*Replica) GetParameters

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

GetParameters of this Replica

func (*Replica) GetProviderConfigReference

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

GetProviderConfigReference of this Replica.

func (*Replica) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Replica.

func (*Replica) GetTerraformResourceType

func (mg *Replica) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Replica

func (*Replica) GetTerraformSchemaVersion

func (tr *Replica) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Replica) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Replica.

func (*Replica) Hub added in v0.2.0

func (tr *Replica) Hub()

Hub marks this type as a conversion hub.

func (*Replica) LateInitialize

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

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

func (*Replica) ResolveReferences

func (mg *Replica) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Replica.

func (*Replica) SetConditions

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

SetConditions of this Replica.

func (*Replica) SetDeletionPolicy

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

SetDeletionPolicy of this Replica.

func (*Replica) SetManagementPolicies

func (mg *Replica) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Replica.

func (*Replica) SetObservation

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

SetObservation for this Replica

func (*Replica) SetParameters

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

SetParameters for this Replica

func (*Replica) SetProviderConfigReference

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

SetProviderConfigReference of this Replica.

func (*Replica) 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 ReplicaInitParameters

type ReplicaInitParameters struct {

	// The ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The name for the database replica.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the VPC where the database replica will be located.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/vpc/v1alpha1.VPC
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// Reference to a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDRef *v1.Reference `json:"privateNetworkUuidRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDSelector *v1.Selector `json:"privateNetworkUuidSelector,omitempty" tf:"-"`

	// DigitalOcean region where the replica will reside.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Database Droplet size associated with the replica (ex. db-s-1vcpu-1gb). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database replica.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ReplicaInitParameters) DeepCopy

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

func (*ReplicaInitParameters) DeepCopyInto

func (in *ReplicaInitParameters) DeepCopyInto(out *ReplicaInitParameters)

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

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 ID of the original source database cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Name of the replica's default database.
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Database replica's hostname.
	Host *string `json:"host,omitempty" tf:"host,omitempty"`

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

	// The name for the database replica.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Network port that the database replica is listening on.
	Port *float64 `json:"port,omitempty" tf:"port,omitempty"`

	// Same as host, but only accessible from resources within the account and in the same region.
	PrivateHost *string `json:"privateHost,omitempty" tf:"private_host,omitempty"`

	// The ID of the VPC where the database replica will be located.
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// DigitalOcean region where the replica will reside.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Database Droplet size associated with the replica (ex. db-s-1vcpu-1gb). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database replica.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The UUID of the database replica. The uuid can be used to reference the database replica as the target database cluster in other resources. See example  "Create firewall rule for database replica" above.
	// The unique universal identifier for the database replica.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// Username for the replica's default user.
	User *string `json:"user,omitempty" tf:"user,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 ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The name for the database replica.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The ID of the VPC where the database replica will be located.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/vpc/v1alpha1.VPC
	// +kubebuilder:validation:Optional
	PrivateNetworkUUID *string `json:"privateNetworkUuid,omitempty" tf:"private_network_uuid,omitempty"`

	// Reference to a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDRef *v1.Reference `json:"privateNetworkUuidRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate privateNetworkUuid.
	// +kubebuilder:validation:Optional
	PrivateNetworkUUIDSelector *v1.Selector `json:"privateNetworkUuidSelector,omitempty" tf:"-"`

	// DigitalOcean region where the replica will reside.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Database Droplet size associated with the replica (ex. db-s-1vcpu-1gb). Note that when resizing an existing replica, its size can only be increased. Decreasing its size is not supported.
	// +kubebuilder:validation:Optional
	Size *string `json:"size,omitempty" tf:"size,omitempty"`

	// +kubebuilder:validation:Optional
	StorageSizeMib *string `json:"storageSizeMib,omitempty" tf:"storage_size_mib,omitempty"`

	// A list of tag names to be applied to the database replica.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ReplicaInitParameters `json:"initProvider,omitempty"`
}

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 RuleInitParameters

type RuleInitParameters struct {

	// The type of resource that the firewall rule allows to access the database cluster. The possible values are: droplet, k8s, ip_addr, tag, or app.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RuleInitParameters) DeepCopy

func (in *RuleInitParameters) DeepCopy() *RuleInitParameters

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

func (*RuleInitParameters) DeepCopyInto

func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters)

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

type RuleObservation

type RuleObservation struct {

	// The date and time when the firewall rule was created.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// The type of resource that the firewall rule allows to access the database cluster. The possible values are: droplet, k8s, ip_addr, tag, or app.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// A unique identifier for the firewall rule.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*RuleObservation) DeepCopy

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters

type RuleParameters struct {

	// The type of resource that the firewall rule allows to access the database cluster. The possible values are: droplet, k8s, ip_addr, tag, or app.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`

	// The ID of the specific resource, the name of a tag applied to a group of resources, or the IP address that the firewall rule allows to access the database cluster.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*RuleParameters) DeepCopy

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type SettingsInitParameters

type SettingsInitParameters struct {

	// A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:
	ACL []ACLInitParameters `json:"acl,omitempty" tf:"acl,omitempty"`
}

func (*SettingsInitParameters) DeepCopy

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

func (*SettingsInitParameters) DeepCopyInto

func (in *SettingsInitParameters) DeepCopyInto(out *SettingsInitParameters)

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

type SettingsObservation

type SettingsObservation struct {

	// A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:
	ACL []ACLObservation `json:"acl,omitempty" tf:"acl,omitempty"`
}

func (*SettingsObservation) DeepCopy

func (in *SettingsObservation) DeepCopy() *SettingsObservation

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

func (*SettingsObservation) DeepCopyInto

func (in *SettingsObservation) DeepCopyInto(out *SettingsObservation)

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

type SettingsParameters

type SettingsParameters struct {

	// A set of ACLs (Access Control Lists) specifying permission on topics with a Kafka cluster. The properties of an individual ACL are described below:
	// +kubebuilder:validation:Optional
	ACL []ACLParameters `json:"acl,omitempty" tf:"acl,omitempty"`
}

func (*SettingsParameters) DeepCopy

func (in *SettingsParameters) DeepCopy() *SettingsParameters

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

func (*SettingsParameters) DeepCopyInto

func (in *SettingsParameters) DeepCopyInto(out *SettingsParameters)

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"`
	Spec              UserSpec   `json:"spec"`
	Status            UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,do}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

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

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

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

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

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

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters

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

GetInitParameters of this User

func (*User) GetManagementPolicies

func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this User.

func (*User) GetMergedParameters added in v0.2.0

func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this User

func (*User) GetObservation

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

GetObservation of this User

func (*User) GetParameters

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

GetParameters of this User

func (*User) GetProviderConfigReference

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

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this User.

func (*User) Hub added in v0.2.0

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

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

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

func (*User) ResolveReferences

func (mg *User) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this User.

func (*User) SetConditions

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

SetConditions of this User.

func (*User) SetDeletionPolicy

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

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies

func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this User.

func (*User) SetObservation

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

SetObservation for this User

func (*User) SetParameters

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

SetParameters for this User

func (*User) SetProviderConfigReference

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

SetProviderConfigReference of this User.

func (*User) 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 UserInitParameters

type UserInitParameters struct {

	// The ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The authentication method to use for connections to the MySQL user account. The valid values are mysql_native_password or caching_sha2_password (this is the default).
	MySQLAuthPlugin *string `json:"mysqlAuthPlugin,omitempty" tf:"mysql_auth_plugin,omitempty"`

	// Contains optional settings for the user.
	// The settings block is documented below.
	Settings []SettingsInitParameters `json:"settings,omitempty" tf:"settings,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

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

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

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

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// The ID of the original source database cluster.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// An identifier for the ACL, this will be automatically assigned when you create an ACL entry
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The authentication method to use for connections to the MySQL user account. The valid values are mysql_native_password or caching_sha2_password (this is the default).
	MySQLAuthPlugin *string `json:"mysqlAuthPlugin,omitempty" tf:"mysql_auth_plugin,omitempty"`

	// Role for the database user. The value will be either "primary" or "normal".
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Contains optional settings for the user.
	// The settings block is documented below.
	Settings []SettingsObservation `json:"settings,omitempty" tf:"settings,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 ID of the original source database cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/database/v1alpha1.Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster in database to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The authentication method to use for connections to the MySQL user account. The valid values are mysql_native_password or caching_sha2_password (this is the default).
	// +kubebuilder:validation:Optional
	MySQLAuthPlugin *string `json:"mysqlAuthPlugin,omitempty" tf:"mysql_auth_plugin,omitempty"`

	// Contains optional settings for the user.
	// The settings block is documented below.
	// +kubebuilder:validation:Optional
	Settings []SettingsParameters `json:"settings,omitempty" tf:"settings,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"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider UserInitParameters `json:"initProvider,omitempty"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

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

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

type UserStatus

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

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

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

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

Jump to

Keyboard shortcuts

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