v1alpha1

package
v0.0.0-...-a232434 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

Repository type metadata.

View Source
var (
	// 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
)

Functions

This section is empty.

Types

type Database

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

Database is the Schema for the Databases API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,exoscalejet}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

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

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

func (*Database) DeepCopyObject

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

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

func (*Database) GetCondition

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

GetCondition of this Database.

func (*Database) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Database

func (*Database) GetDeletionPolicy

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

GetDeletionPolicy of this Database.

func (*Database) GetObservation

func (tr *Database) GetObservation() (map[string]interface{}, error)

GetObservation of this Database

func (*Database) GetParameters

func (tr *Database) GetParameters() (map[string]interface{}, error)

GetParameters of this Database

func (*Database) GetProviderConfigReference

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

GetProviderConfigReference of this Database.

func (*Database) GetProviderReference

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

GetProviderReference of this Database. Deprecated: Use GetProviderConfigReference.

func (*Database) GetTerraformResourceType

func (mg *Database) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Database

func (*Database) GetTerraformSchemaVersion

func (tr *Database) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Database) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Database.

func (*Database) LateInitialize

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

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

func (*Database) SetConditions

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

SetConditions of this Database.

func (*Database) SetDeletionPolicy

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

SetDeletionPolicy of this Database.

func (*Database) SetObservation

func (tr *Database) SetObservation(obs map[string]interface{}) error

SetObservation for this Database

func (*Database) SetParameters

func (tr *Database) SetParameters(params map[string]interface{}) error

SetParameters for this Database

func (*Database) SetProviderConfigReference

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

SetProviderConfigReference of this Database.

func (*Database) SetProviderReference

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

SetProviderReference of this Database. Deprecated: Use SetProviderConfigReference.

func (*Database) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Database.

type DatabaseList

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

DatabaseList contains a list of Databases

func (*DatabaseList) DeepCopy

func (in *DatabaseList) DeepCopy() *DatabaseList

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

func (*DatabaseList) DeepCopyInto

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

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

func (*DatabaseList) DeepCopyObject

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

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

func (*DatabaseList) GetItems

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

GetItems of this DatabaseList.

type DatabaseObservation

type DatabaseObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	NodeCpus *int64 `json:"nodeCpus,omitempty" tf:"node_cpus,omitempty"`

	NodeMemory *int64 `json:"nodeMemory,omitempty" tf:"node_memory,omitempty"`

	Nodes *int64 `json:"nodes,omitempty" tf:"nodes,omitempty"`

	State *string `json:"state,omitempty" tf:"state,omitempty"`

	UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"`
}

func (*DatabaseObservation) DeepCopy

func (in *DatabaseObservation) DeepCopy() *DatabaseObservation

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

func (*DatabaseObservation) DeepCopyInto

func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation)

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

type DatabaseParameters

type DatabaseParameters struct {

	// +kubebuilder:validation:Optional
	Kafka []KafkaParameters `json:"kafka,omitempty" tf:"kafka,omitempty"`

	// +kubebuilder:validation:Optional
	MaintenanceDow *string `json:"maintenanceDow,omitempty" tf:"maintenance_dow,omitempty"`

	// +kubebuilder:validation:Optional
	MaintenanceTime *string `json:"maintenanceTime,omitempty" tf:"maintenance_time,omitempty"`

	// +kubebuilder:validation:Optional
	Mysql []MysqlParameters `json:"mysql,omitempty" tf:"mysql,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Pg []PgParameters `json:"pg,omitempty" tf:"pg,omitempty"`

	// +kubebuilder:validation:Required
	Plan *string `json:"plan" tf:"plan,omitempty"`

	// +kubebuilder:validation:Optional
	Redis []RedisParameters `json:"redis,omitempty" tf:"redis,omitempty"`

	// +kubebuilder:validation:Optional
	TerminationProtection *bool `json:"terminationProtection,omitempty" tf:"termination_protection,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	Zone *string `json:"zone" tf:"zone,omitempty"`
}

func (*DatabaseParameters) DeepCopy

func (in *DatabaseParameters) DeepCopy() *DatabaseParameters

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

func (*DatabaseParameters) DeepCopyInto

func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters)

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

type DatabaseSpec

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

DatabaseSpec defines the desired state of Database

func (*DatabaseSpec) DeepCopy

func (in *DatabaseSpec) DeepCopy() *DatabaseSpec

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

func (*DatabaseSpec) DeepCopyInto

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

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

type DatabaseStatus

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

DatabaseStatus defines the observed state of Database.

func (*DatabaseStatus) DeepCopy

func (in *DatabaseStatus) DeepCopy() *DatabaseStatus

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

func (*DatabaseStatus) DeepCopyInto

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

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

type KafkaObservation

type KafkaObservation struct {
}

func (*KafkaObservation) DeepCopy

func (in *KafkaObservation) DeepCopy() *KafkaObservation

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

func (*KafkaObservation) DeepCopyInto

func (in *KafkaObservation) DeepCopyInto(out *KafkaObservation)

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

type KafkaParameters

type KafkaParameters struct {

	// +kubebuilder:validation:Optional
	EnableCertAuth *bool `json:"enableCertAuth,omitempty" tf:"enable_cert_auth,omitempty"`

	// +kubebuilder:validation:Optional
	EnableKafkaConnect *bool `json:"enableKafkaConnect,omitempty" tf:"enable_kafka_connect,omitempty"`

	// +kubebuilder:validation:Optional
	EnableKafkaRest *bool `json:"enableKafkaRest,omitempty" tf:"enable_kafka_rest,omitempty"`

	// +kubebuilder:validation:Optional
	EnableSaslAuth *bool `json:"enableSaslAuth,omitempty" tf:"enable_sasl_auth,omitempty"`

	// +kubebuilder:validation:Optional
	EnableSchemaRegistry *bool `json:"enableSchemaRegistry,omitempty" tf:"enable_schema_registry,omitempty"`

	// +kubebuilder:validation:Optional
	IPFilter []*string `json:"ipFilter,omitempty" tf:"ip_filter,omitempty"`

	// +kubebuilder:validation:Optional
	KafkaConnectSettings *string `json:"kafkaConnectSettings,omitempty" tf:"kafka_connect_settings,omitempty"`

	// +kubebuilder:validation:Optional
	KafkaRestSettings *string `json:"kafkaRestSettings,omitempty" tf:"kafka_rest_settings,omitempty"`

	// +kubebuilder:validation:Optional
	KafkaSettings *string `json:"kafkaSettings,omitempty" tf:"kafka_settings,omitempty"`

	// +kubebuilder:validation:Optional
	SchemaRegistrySettings *string `json:"schemaRegistrySettings,omitempty" tf:"schema_registry_settings,omitempty"`

	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*KafkaParameters) DeepCopy

func (in *KafkaParameters) DeepCopy() *KafkaParameters

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

func (*KafkaParameters) DeepCopyInto

func (in *KafkaParameters) DeepCopyInto(out *KafkaParameters)

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

type MysqlObservation

type MysqlObservation struct {
}

func (*MysqlObservation) DeepCopy

func (in *MysqlObservation) DeepCopy() *MysqlObservation

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

func (*MysqlObservation) DeepCopyInto

func (in *MysqlObservation) DeepCopyInto(out *MysqlObservation)

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

type MysqlParameters

type MysqlParameters struct {

	// +kubebuilder:validation:Optional
	AdminPasswordSecretRef *v1.SecretKeySelector `json:"adminPasswordSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	AdminUsername *string `json:"adminUsername,omitempty" tf:"admin_username,omitempty"`

	// +kubebuilder:validation:Optional
	BackupSchedule *string `json:"backupSchedule,omitempty" tf:"backup_schedule,omitempty"`

	// +kubebuilder:validation:Optional
	IPFilter []*string `json:"ipFilter,omitempty" tf:"ip_filter,omitempty"`

	// +kubebuilder:validation:Optional
	MysqlSettings *string `json:"mysqlSettings,omitempty" tf:"mysql_settings,omitempty"`

	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MysqlParameters) DeepCopy

func (in *MysqlParameters) DeepCopy() *MysqlParameters

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

func (*MysqlParameters) DeepCopyInto

func (in *MysqlParameters) DeepCopyInto(out *MysqlParameters)

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

type PgObservation

type PgObservation struct {
}

func (*PgObservation) DeepCopy

func (in *PgObservation) DeepCopy() *PgObservation

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

func (*PgObservation) DeepCopyInto

func (in *PgObservation) DeepCopyInto(out *PgObservation)

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

type PgParameters

type PgParameters struct {

	// +kubebuilder:validation:Optional
	AdminPasswordSecretRef *v1.SecretKeySelector `json:"adminPasswordSecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	AdminUsername *string `json:"adminUsername,omitempty" tf:"admin_username,omitempty"`

	// +kubebuilder:validation:Optional
	BackupSchedule *string `json:"backupSchedule,omitempty" tf:"backup_schedule,omitempty"`

	// +kubebuilder:validation:Optional
	IPFilter []*string `json:"ipFilter,omitempty" tf:"ip_filter,omitempty"`

	// +kubebuilder:validation:Optional
	PgSettings *string `json:"pgSettings,omitempty" tf:"pg_settings,omitempty"`

	// +kubebuilder:validation:Optional
	PgbouncerSettings *string `json:"pgbouncerSettings,omitempty" tf:"pgbouncer_settings,omitempty"`

	// +kubebuilder:validation:Optional
	PglookoutSettings *string `json:"pglookoutSettings,omitempty" tf:"pglookout_settings,omitempty"`

	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*PgParameters) DeepCopy

func (in *PgParameters) DeepCopy() *PgParameters

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

func (*PgParameters) DeepCopyInto

func (in *PgParameters) DeepCopyInto(out *PgParameters)

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

type RedisObservation

type RedisObservation struct {
}

func (*RedisObservation) DeepCopy

func (in *RedisObservation) DeepCopy() *RedisObservation

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

func (*RedisObservation) DeepCopyInto

func (in *RedisObservation) DeepCopyInto(out *RedisObservation)

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

type RedisParameters

type RedisParameters struct {

	// +kubebuilder:validation:Optional
	IPFilter []*string `json:"ipFilter,omitempty" tf:"ip_filter,omitempty"`

	// +kubebuilder:validation:Optional
	RedisSettings *string `json:"redisSettings,omitempty" tf:"redis_settings,omitempty"`
}

func (*RedisParameters) DeepCopy

func (in *RedisParameters) DeepCopy() *RedisParameters

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

func (*RedisParameters) DeepCopyInto

func (in *RedisParameters) DeepCopyInto(out *RedisParameters)

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