v1

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 14 Imported by: 1

Documentation

Overview

Package v1 contains the v1 group exoscale.crossplane.io resources of provider-exoscale.

Index

Constants

View Source
const (
	Group   = "exoscale.crossplane.io"
	Version = "v1"
)

Package type metadata.

View Source
const (
	// AccessKeyIDName is the environment variable name for the S3 access key ("username")
	AccessKeyIDName = "AWS_ACCESS_KEY_ID"
	// SecretAccessKeyName is the environment variable name for the S3 secret key ("password")
	SecretAccessKeyName = "AWS_SECRET_ACCESS_KEY"
)

Variables

View Source
var (
	BucketKind             = reflect.TypeOf(Bucket{}).Name()
	BucketGroupKind        = schema.GroupKind{Group: Group, Kind: BucketKind}.String()
	BucketKindAPIVersion   = BucketKind + "." + SchemeGroupVersion.String()
	BucketGroupVersionKind = SchemeGroupVersion.WithKind(BucketKind)
)

Bucket type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	IAMKeyKind             = reflect.TypeOf(IAMKey{}).Name()
	IAMKeyGroupKind        = schema.GroupKind{Group: Group, Kind: IAMKeyKind}.String()
	IAMKeyGroupVersionKind = SchemeGroupVersion.WithKind(IAMKeyKind)
)

IAMKey type metadata.

View Source
var (
	KafkaKind             = reflect.TypeOf(Kafka{}).Name()
	KafkaGroupKind        = schema.GroupKind{Group: Group, Kind: KafkaKind}.String()
	KafkaKindAPIVersion   = KafkaKind + "." + SchemeGroupVersion.String()
	KafkaGroupVersionKind = SchemeGroupVersion.WithKind(KafkaKind)
)

Kafka type metadata.

View Source
var (
	MySQLKind             = reflect.TypeOf(MySQL{}).Name()
	MySQLGroupKind        = schema.GroupKind{Group: Group, Kind: MySQLKind}.String()
	MySQLKindAPIVersion   = MySQLKind + "." + SchemeGroupVersion.String()
	MySQLGroupVersionKind = SchemeGroupVersion.WithKind(MySQLKind)
)

MySQL type metadata.

View Source
var (
	OpenSearchKind             = reflect.TypeOf(OpenSearch{}).Name()
	OpenSearchGroupKind        = schema.GroupKind{Group: Group, Kind: OpenSearchKind}.String()
	OpenSearchKindAPIVersion   = OpenSearchKind + "." + SchemeGroupVersion.String()
	OpenSearchGroupVersionKind = SchemeGroupVersion.WithKind(OpenSearchKind)
)

OpenSearch type metadata.

View Source
var (
	PostgreSQLKind             = reflect.TypeOf(PostgreSQL{}).Name()
	PostgreSQLGroupKind        = schema.GroupKind{Group: Group, Kind: PostgreSQLKind}.String()
	PostgreSQLKindAPIVersion   = PostgreSQLKind + "." + SchemeGroupVersion.String()
	PostgreSQLGroupVersionKind = SchemeGroupVersion.WithKind(PostgreSQLKind)
)

PostgreSQL type metadata.

View Source
var (
	RedisKind             = reflect.TypeOf(Redis{}).Name()
	RedisGroupKind        = schema.GroupKind{Group: Group, Kind: RedisKind}.String()
	RedisKindAPIVersion   = RedisKind + "." + SchemeGroupVersion.String()
	RedisGroupVersionKind = SchemeGroupVersion.WithKind(RedisKind)
)

Redis type metadata.

Functions

func PoweredOff added in v0.2.0

func PoweredOff() xpv1.Condition

PoweredOff returns a Ready condition where the service is powered off.

func Rebalancing added in v0.2.0

func Rebalancing() xpv1.Condition

Rebalancing returns a Ready condition where the service is rebalancing.

func Rebuilding added in v0.2.0

func Rebuilding() xpv1.Condition

Rebuilding returns a Ready condition where the service is rebuilding.

func Running added in v0.2.0

func Running() xpv1.Condition

Running returns a Ready condition where the service is running.

func Updating added in v0.10.3

func Updating() xpv1.Condition

Updating returns a Ready condition where the service is updating. Crossplane's runtine doesn't provide a pre-defined update condition for some reason.

Types

type BackupSpec added in v0.2.0

type BackupSpec struct {
	// TimeOfDay for doing daily backups, in UTC.
	// Format: "hh:mm:ss".
	TimeOfDay TimeOfDay `json:"timeOfDay,omitempty"`
}

BackupSpec contains settings to control the backups of an instance.

func (*BackupSpec) DeepCopy added in v0.2.0

func (in *BackupSpec) DeepCopy() *BackupSpec

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

func (*BackupSpec) DeepCopyInto added in v0.2.0

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

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

func (*BackupSpec) Equals added in v0.4.0

func (in *BackupSpec) Equals(other BackupSpec) bool

type Bucket

type Bucket struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BucketSpec   `json:"spec"`
	Status BucketStatus `json:"status,omitempty"`
}

Bucket is the API for creating S3 buckets.

func (*Bucket) DeepCopy

func (in *Bucket) DeepCopy() *Bucket

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

func (*Bucket) DeepCopyInto

func (in *Bucket) DeepCopyInto(out *Bucket)

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

func (*Bucket) DeepCopyObject

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

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

func (*Bucket) GetBucketName

func (in *Bucket) GetBucketName() string

GetBucketName returns the spec.forProvider.bucketName if given, otherwise defaults to metadata.name.

func (*Bucket) GetCondition

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

GetCondition of this Bucket.

func (*Bucket) GetDeletionPolicy

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

GetDeletionPolicy of this Bucket.

func (*Bucket) GetProviderConfigName

func (in *Bucket) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*Bucket) GetProviderConfigReference

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

GetProviderConfigReference of this Bucket.

func (*Bucket) GetProviderReference

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

GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.

func (*Bucket) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Bucket.

func (*Bucket) SetConditions

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

SetConditions of this Bucket.

func (*Bucket) SetDeletionPolicy

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

SetDeletionPolicy of this Bucket.

func (*Bucket) SetProviderConfigReference

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

SetProviderConfigReference of this Bucket.

func (*Bucket) SetProviderReference

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

SetProviderReference of this Bucket. Deprecated: Use SetProviderConfigReference.

func (*Bucket) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Bucket.

func (*Bucket) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Bucket.

type BucketDeletionPolicy

type BucketDeletionPolicy string

BucketDeletionPolicy determines how buckets should be deleted when a Bucket is deleted.

const (
	// DeleteIfEmpty only deletes the bucket if the bucket is empty.
	DeleteIfEmpty BucketDeletionPolicy = "DeleteIfEmpty"
	// DeleteAll recursively deletes all objects in the bucket and then removes it.
	DeleteAll BucketDeletionPolicy = "DeleteAll"
)

type BucketList

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

BucketList contains a list of Bucket

func (*BucketList) DeepCopy

func (in *BucketList) DeepCopy() *BucketList

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

func (*BucketList) DeepCopyInto

func (in *BucketList) DeepCopyInto(out *BucketList)

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

func (*BucketList) DeepCopyObject

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

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

func (*BucketList) GetItems

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

GetItems of this BucketList.

type BucketObservation

type BucketObservation struct {
	// BucketName is the name of the actual bucket.
	BucketName string `json:"bucketName,omitempty"`
}

BucketObservation are the observable fields of a Bucket.

func (*BucketObservation) DeepCopy

func (in *BucketObservation) DeepCopy() *BucketObservation

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

func (*BucketObservation) DeepCopyInto

func (in *BucketObservation) DeepCopyInto(out *BucketObservation)

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

type BucketParameters

type BucketParameters struct {

	// BucketName is the name of the bucket to create.
	// Defaults to `metadata.name` if unset.
	// Cannot be changed after bucket is created.
	// Name must be acceptable by the S3 protocol, which follows RFC 1123.
	// Be aware that S3 providers may require a unique name across the platform or zone.
	BucketName string `json:"bucketName,omitempty"`

	// Deprecated: Only here for compatibility with legacy Bucket objects
	EndpointURL string `json:"endpointURL,omitempty"`

	// Zone is the name of the zone where the bucket shall be created.
	// The zone must be available in the S3 endpoint.
	// Cannot be changed after bucket is created.
	Zone string `json:"zone"`

	// BucketDeletionPolicy determines how buckets should be deleted when Bucket is deleted.
	//  `DeleteIfEmpty` only deletes the bucket if the bucket is empty.
	//  `DeleteAll` recursively deletes all objects in the bucket and then removes it.
	// To skip deletion of the bucket (orphan it) set `spec.deletionPolicy=Orphan`.
	BucketDeletionPolicy BucketDeletionPolicy `json:"bucketDeletionPolicy,omitempty"`
}

BucketParameters are the configurable fields of a Bucket.

func (*BucketParameters) DeepCopy

func (in *BucketParameters) DeepCopy() *BucketParameters

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

func (*BucketParameters) DeepCopyInto

func (in *BucketParameters) DeepCopyInto(out *BucketParameters)

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

type BucketSpec

type BucketSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       BucketParameters `json:"forProvider"`
}

BucketSpec defines the desired state of a Bucket.

func (*BucketSpec) DeepCopy

func (in *BucketSpec) DeepCopy() *BucketSpec

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

func (*BucketSpec) DeepCopyInto

func (in *BucketSpec) DeepCopyInto(out *BucketSpec)

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

type BucketStatus

type BucketStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	Endpoint            string            `json:"endpoint,omitempty"`
	EndpointURL         string            `json:"endpointURL,omitempty"`
	AtProvider          BucketObservation `json:"atProvider,omitempty"`
}

BucketStatus represents the observed state of a Bucket.

func (*BucketStatus) DeepCopy

func (in *BucketStatus) DeepCopy() *BucketStatus

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

func (*BucketStatus) DeepCopyInto

func (in *BucketStatus) DeepCopyInto(out *BucketStatus)

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

type DBaaSParameters added in v0.2.0

type DBaaSParameters struct {
	// TerminationProtection protects against termination and powering off.
	TerminationProtection bool `json:"terminationProtection,omitempty"`
	// Size contains the service capacity settings.
	Size SizeSpec `json:"size,omitempty"`

	IPFilter IPFilter `json:"ipFilter,omitempty"`
}

func (*DBaaSParameters) DeepCopy added in v0.2.0

func (in *DBaaSParameters) DeepCopy() *DBaaSParameters

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

func (*DBaaSParameters) DeepCopyInto added in v0.2.0

func (in *DBaaSParameters) DeepCopyInto(out *DBaaSParameters)

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

type IAMKey

type IAMKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IAMKeySpec   `json:"spec"`
	Status IAMKeyStatus `json:"status,omitempty"`
}

IAMKey is the API for creating IAM Object Storage Keys on exoscale.com.

func (*IAMKey) DeepCopy

func (in *IAMKey) DeepCopy() *IAMKey

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

func (*IAMKey) DeepCopyInto

func (in *IAMKey) DeepCopyInto(out *IAMKey)

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

func (*IAMKey) DeepCopyObject

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

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

func (*IAMKey) GetCondition

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

GetCondition of this IAMKey.

func (*IAMKey) GetDeletionPolicy

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

GetDeletionPolicy of this IAMKey.

func (*IAMKey) GetKeyName

func (in *IAMKey) GetKeyName() string

GetKeyName returns the IAMKey key name in the following precedence:

.spec.forProvider.keyName
.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*IAMKey) GetProviderConfigName

func (in *IAMKey) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*IAMKey) GetProviderConfigReference

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

GetProviderConfigReference of this IAMKey.

func (*IAMKey) GetProviderReference

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

GetProviderReference of this IAMKey. Deprecated: Use GetProviderConfigReference.

func (*IAMKey) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this IAMKey.

func (*IAMKey) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this IAMKey.

func (*IAMKey) SetConditions

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

SetConditions of this IAMKey.

func (*IAMKey) SetDeletionPolicy

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

SetDeletionPolicy of this IAMKey.

func (*IAMKey) SetProviderConfigReference

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

SetProviderConfigReference of this IAMKey.

func (*IAMKey) SetProviderReference

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

SetProviderReference of this IAMKey. Deprecated: Use SetProviderConfigReference.

func (*IAMKey) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this IAMKey.

func (*IAMKey) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this IAMKey.

type IAMKeyList

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

IAMKeyList contains a list of IAMKey

func (*IAMKeyList) DeepCopy

func (in *IAMKeyList) DeepCopy() *IAMKeyList

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

func (*IAMKeyList) DeepCopyInto

func (in *IAMKeyList) DeepCopyInto(out *IAMKeyList)

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

func (*IAMKeyList) DeepCopyObject

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

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

func (*IAMKeyList) GetItems

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

GetItems of this IAMKeyList.

type IAMKeyObservation

type IAMKeyObservation struct {
	// KeyID is the observed unique ID as generated by exoscale.com.
	KeyID string `json:"keyID,omitempty"`

	// RoleID is the observed unique ID as generated by exoscale.com.
	RoleID string `json:"roleID,omitempty"`

	// KeyName is the observed key name as generated by exoscale.com.
	KeyName string `json:"keyName,omitempty"`

	// ServicesSpec is the exoscale service to which IAMKey gets access to.
	ServicesSpec `json:"services,omitempty"`
}

IAMKeyObservation contains the observed fields of an IAMKey.

func (*IAMKeyObservation) DeepCopy

func (in *IAMKeyObservation) DeepCopy() *IAMKeyObservation

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

func (*IAMKeyObservation) DeepCopyInto

func (in *IAMKeyObservation) DeepCopyInto(out *IAMKeyObservation)

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

type IAMKeyParameters

type IAMKeyParameters struct {
	// KeyName is the name of the Key as presented in the exoscale.com UI.
	// If empty, the value of `.metadata.annotations."crossplane.io/external-name"` is used.
	// There can be multiple keys that have the same key name in exoscale.com, but they will have different key IDs.
	KeyName string `json:"keyName,omitempty"`

	// Zone is the name of the zone where the IAM key is created.
	// The zone must be available in the S3 endpoint.
	// Cannot be changed after IAMKey is created.
	Zone string `json:"zone"`

	// Services is the exoscale service to which IAMKey gets access to.
	// Only object storage (sos) service is supported thus the IAMKey will be restricted to access only sos.
	Services ServicesSpec `json:"services,omitempty"`
}

IAMKeyParameters are the configurable fields of IAMKey.

func (*IAMKeyParameters) DeepCopy

func (in *IAMKeyParameters) DeepCopy() *IAMKeyParameters

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

func (*IAMKeyParameters) DeepCopyInto

func (in *IAMKeyParameters) DeepCopyInto(out *IAMKeyParameters)

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

type IAMKeySpec

type IAMKeySpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       IAMKeyParameters `json:"forProvider"`
}

IAMKeySpec defines the desired state of an IAMKey.

func (*IAMKeySpec) DeepCopy

func (in *IAMKeySpec) DeepCopy() *IAMKeySpec

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

func (*IAMKeySpec) DeepCopyInto

func (in *IAMKeySpec) DeepCopyInto(out *IAMKeySpec)

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

type IAMKeyStatus

type IAMKeyStatus struct {
	xpv1.ResourceStatus `json:",inline"`

	AtProvider IAMKeyObservation `json:"atProvider,omitempty"`
}

IAMKeyStatus represents the observed state of a IAMKey.

func (*IAMKeyStatus) DeepCopy

func (in *IAMKeyStatus) DeepCopy() *IAMKeyStatus

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

func (*IAMKeyStatus) DeepCopyInto

func (in *IAMKeyStatus) DeepCopyInto(out *IAMKeyStatus)

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

type IPFilter added in v0.2.0

type IPFilter []string

IPFilter is a list of allowed IPv4 CIDR ranges that can access the service. If no IP Filter is set, you may not be able to reach the service. A value of `0.0.0.0/0` will open the service to all addresses on the public internet.

func (IPFilter) DeepCopy added in v0.2.0

func (in IPFilter) DeepCopy() IPFilter

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

func (IPFilter) DeepCopyInto added in v0.2.0

func (in IPFilter) DeepCopyInto(out *IPFilter)

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

type Kafka added in v0.5.0

type Kafka struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KafkaSpec   `json:"spec"`
	Status KafkaStatus `json:"status,omitempty"`
}

Kafka is the API for creating Kafka.

func (*Kafka) DeepCopy added in v0.5.0

func (in *Kafka) DeepCopy() *Kafka

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

func (*Kafka) DeepCopyInto added in v0.5.0

func (in *Kafka) DeepCopyInto(out *Kafka)

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

func (*Kafka) DeepCopyObject added in v0.5.0

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

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

func (*Kafka) GetCondition added in v0.5.0

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

GetCondition of this Kafka.

func (*Kafka) GetDeletionPolicy added in v0.5.0

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

GetDeletionPolicy of this Kafka.

func (*Kafka) GetInstanceName added in v0.5.0

func (in *Kafka) GetInstanceName() string

GetInstanceName returns the external name of the instance in the following precedence:

.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*Kafka) GetProviderConfigName added in v0.5.0

func (in *Kafka) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*Kafka) GetProviderConfigReference added in v0.5.0

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

GetProviderConfigReference of this Kafka.

func (*Kafka) GetProviderReference added in v0.5.0

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

GetProviderReference of this Kafka. Deprecated: Use GetProviderConfigReference.

func (*Kafka) GetPublishConnectionDetailsTo added in v0.5.0

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

GetPublishConnectionDetailsTo of this Kafka.

func (*Kafka) GetWriteConnectionSecretToReference added in v0.5.0

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

GetWriteConnectionSecretToReference of this Kafka.

func (*Kafka) SetConditions added in v0.5.0

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

SetConditions of this Kafka.

func (*Kafka) SetDeletionPolicy added in v0.5.0

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

SetDeletionPolicy of this Kafka.

func (*Kafka) SetProviderConfigReference added in v0.5.0

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

SetProviderConfigReference of this Kafka.

func (*Kafka) SetProviderReference added in v0.5.0

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

SetProviderReference of this Kafka. Deprecated: Use SetProviderConfigReference.

func (*Kafka) SetPublishConnectionDetailsTo added in v0.5.0

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

SetPublishConnectionDetailsTo of this Kafka.

func (*Kafka) SetWriteConnectionSecretToReference added in v0.5.0

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

SetWriteConnectionSecretToReference of this Kafka.

type KafkaList added in v0.5.0

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

KafkaList contains a list of Kafka

func (*KafkaList) DeepCopy added in v0.5.0

func (in *KafkaList) DeepCopy() *KafkaList

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

func (*KafkaList) DeepCopyInto added in v0.5.0

func (in *KafkaList) DeepCopyInto(out *KafkaList)

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

func (*KafkaList) DeepCopyObject added in v0.5.0

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

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

func (*KafkaList) GetItems added in v0.5.0

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

GetItems of this KafkaList.

type KafkaObservation added in v0.5.0

type KafkaObservation struct {
	Version string `json:"version,omitempty"`
	// KafkaSettings contains additional Kafka settings as set by the provider.
	KafkaSettings runtime.RawExtension `json:"kafkaSettings,omitempty"`

	// KafkaRestEnabled
	KafkaRestEnabled bool `json:"KafkaRestEnabled,omitempty"`

	// KafkaRestSettings contains additional Kafka-REST settings.
	KafkaRestSettings runtime.RawExtension `json:"kafkaRestSettings,omitempty"`

	// State of individual service nodes
	NodeStates []NodeState `json:"nodeStates,omitempty"`

	// Service notifications
	Notifications []Notification `json:"notifications,omitempty"`
}

KafkaObservation are the observable fields of a Kafka.

func (*KafkaObservation) DeepCopy added in v0.5.0

func (in *KafkaObservation) DeepCopy() *KafkaObservation

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

func (*KafkaObservation) DeepCopyInto added in v0.5.0

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 added in v0.5.0

type KafkaParameters struct {
	Maintenance MaintenanceSpec `json:"maintenance,omitempty"`

	// Zone is the datacenter identifier in which the instance runs in.
	Zone Zone `json:"zone"`

	DBaaSParameters `json:",inline"`

	// Version is the (minor) version identifier for the instance (e.g. "3.2").
	Version string `json:"version,omitempty"`

	// KafkaSettings contains additional Kafka settings.
	KafkaSettings runtime.RawExtension `json:"kafkaSettings,omitempty"`

	// KafkaRestEnabled
	KafkaRestEnabled bool `json:"kafkaRestEnabled,omitempty"`

	// KafkaRestSettings contains additional Kafka-REST settings.
	KafkaRestSettings runtime.RawExtension `json:"kafkaRestSettings,omitempty"`
}

KafkaParameters are the configurable fields of a Kafka instance.

func (*KafkaParameters) DeepCopy added in v0.5.0

func (in *KafkaParameters) DeepCopy() *KafkaParameters

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

func (*KafkaParameters) DeepCopyInto added in v0.5.0

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

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

type KafkaSpec added in v0.5.0

type KafkaSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       KafkaParameters `json:"forProvider"`
}

KafkaSpec defines the desired state of a Kafka.

func (*KafkaSpec) DeepCopy added in v0.5.0

func (in *KafkaSpec) DeepCopy() *KafkaSpec

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

func (*KafkaSpec) DeepCopyInto added in v0.5.0

func (in *KafkaSpec) DeepCopyInto(out *KafkaSpec)

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

type KafkaStatus added in v0.5.0

type KafkaStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          KafkaObservation `json:"atProvider,omitempty"`
}

KafkaStatus represents the observed state of a Kafka instance.

func (*KafkaStatus) DeepCopy added in v0.5.0

func (in *KafkaStatus) DeepCopy() *KafkaStatus

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

func (*KafkaStatus) DeepCopyInto added in v0.5.0

func (in *KafkaStatus) DeepCopyInto(out *KafkaStatus)

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

type MaintenanceSpec added in v0.2.0

type MaintenanceSpec struct {

	// DayOfWeek specifies at which weekday the maintenance is held place.
	// Allowed values are [monday, tuesday, wednesday, thursday, friday, saturday, sunday, never]
	DayOfWeek exoscaleoapi.DbaasServiceMaintenanceDow `json:"dayOfWeek,omitempty"`

	// TimeOfDay for installing updates in UTC.
	// Format: "hh:mm:ss".
	TimeOfDay TimeOfDay `json:"timeOfDay,omitempty"`
}

MaintenanceSpec contains settings to control the maintenance of an instance.

func (*MaintenanceSpec) DeepCopy added in v0.2.0

func (in *MaintenanceSpec) DeepCopy() *MaintenanceSpec

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

func (*MaintenanceSpec) DeepCopyInto added in v0.2.0

func (in *MaintenanceSpec) DeepCopyInto(out *MaintenanceSpec)

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

func (MaintenanceSpec) Equals added in v0.4.0

func (ms MaintenanceSpec) Equals(other MaintenanceSpec) bool

type MySQL added in v0.4.0

type MySQL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MySQLSpec   `json:"spec"`
	Status MySQLStatus `json:"status,omitempty"`
}

MySQL is the API for creating MySQL.

func (*MySQL) DeepCopy added in v0.4.0

func (in *MySQL) DeepCopy() *MySQL

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

func (*MySQL) DeepCopyInto added in v0.4.0

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

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

func (*MySQL) DeepCopyObject added in v0.4.0

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

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

func (*MySQL) GetCondition added in v0.4.0

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

GetCondition of this MySQL.

func (*MySQL) GetDeletionPolicy added in v0.4.0

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

GetDeletionPolicy of this MySQL.

func (*MySQL) GetInstanceName added in v0.4.0

func (in *MySQL) GetInstanceName() string

GetInstanceName returns the external name of the instance in the following precedence:

.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*MySQL) GetProviderConfigName added in v0.4.0

func (in *MySQL) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*MySQL) GetProviderConfigReference added in v0.4.0

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

GetProviderConfigReference of this MySQL.

func (*MySQL) GetProviderReference added in v0.4.0

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

GetProviderReference of this MySQL. Deprecated: Use GetProviderConfigReference.

func (*MySQL) GetPublishConnectionDetailsTo added in v0.4.0

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

GetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) GetWriteConnectionSecretToReference added in v0.4.0

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

GetWriteConnectionSecretToReference of this MySQL.

func (*MySQL) SetConditions added in v0.4.0

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

SetConditions of this MySQL.

func (*MySQL) SetDeletionPolicy added in v0.4.0

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

SetDeletionPolicy of this MySQL.

func (*MySQL) SetProviderConfigReference added in v0.4.0

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

SetProviderConfigReference of this MySQL.

func (*MySQL) SetProviderReference added in v0.4.0

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

SetProviderReference of this MySQL. Deprecated: Use SetProviderConfigReference.

func (*MySQL) SetPublishConnectionDetailsTo added in v0.4.0

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

SetPublishConnectionDetailsTo of this MySQL.

func (*MySQL) SetWriteConnectionSecretToReference added in v0.4.0

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

SetWriteConnectionSecretToReference of this MySQL.

type MySQLList added in v0.4.0

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

MySQLList contains a list of MySQL

func (*MySQLList) DeepCopy added in v0.4.0

func (in *MySQLList) DeepCopy() *MySQLList

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

func (*MySQLList) DeepCopyInto added in v0.4.0

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

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

func (*MySQLList) DeepCopyObject added in v0.4.0

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

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

func (*MySQLList) GetItems added in v0.4.0

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

GetItems of this MySQLList.

type MySQLObservation added in v0.4.0

type MySQLObservation struct {
	DBaaSParameters `json:",inline"`
	Version         string               `json:"version,omitempty"`
	Maintenance     MaintenanceSpec      `json:"maintenance,omitempty"`
	Backup          BackupSpec           `json:"backup,omitempty"`
	NodeStates      []NodeState          `json:"nodeStates,omitempty"`
	MySQLSettings   runtime.RawExtension `json:"mysqlSettings,omitempty"`
	Notifications   []Notification       `json:"notifications,omitempty"`
}

MySQLObservation are the observable fields of a MySQL.

func (*MySQLObservation) DeepCopy added in v0.4.0

func (in *MySQLObservation) DeepCopy() *MySQLObservation

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

func (*MySQLObservation) DeepCopyInto added in v0.4.0

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 added in v0.4.0

type MySQLParameters struct {
	Maintenance MaintenanceSpec `json:"maintenance,omitempty"`
	Backup      BackupSpec      `json:"backup,omitempty"`

	// Zone is the datacenter identifier in which the instance runs in.
	Zone Zone `json:"zone"`

	// Version is the (major) version identifier for the instance.
	Version string `json:"version,omitempty"`

	DBaaSParameters `json:",inline"`

	// MySQLSettings contains additional MySQL settings.
	MySQLSettings runtime.RawExtension `json:"mysqlSettings,omitempty"`
}

MySQLParameters are the configurable fields of a MySQL.

func (*MySQLParameters) DeepCopy added in v0.4.0

func (in *MySQLParameters) DeepCopy() *MySQLParameters

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

func (*MySQLParameters) DeepCopyInto added in v0.4.0

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

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

type MySQLSpec added in v0.4.0

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

MySQLSpec defines the desired state of a MySQL.

func (*MySQLSpec) DeepCopy added in v0.4.0

func (in *MySQLSpec) DeepCopy() *MySQLSpec

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

func (*MySQLSpec) DeepCopyInto added in v0.4.0

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

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

type MySQLStatus added in v0.4.0

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

MySQLStatus represents the observed state of a MySQL.

func (*MySQLStatus) DeepCopy added in v0.4.0

func (in *MySQLStatus) DeepCopy() *MySQLStatus

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

func (*MySQLStatus) DeepCopyInto added in v0.4.0

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

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

type NodeState added in v0.2.0

type NodeState struct {
	// Name of the service node
	Name string `json:"name,omitempty"`
	// Role of this node.
	Role exoscaleoapi.DbaasNodeStateRole `json:"role,omitempty"`
	// State of the service node.
	State exoscaleoapi.DbaasNodeStateState `json:"state,omitempty"`
}

NodeState describes the state of a service node.

func (*NodeState) DeepCopy added in v0.2.0

func (in *NodeState) DeepCopy() *NodeState

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

func (*NodeState) DeepCopyInto added in v0.2.0

func (in *NodeState) DeepCopyInto(out *NodeState)

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

type Notification added in v0.2.0

type Notification struct {
	// Level of the notification.
	Level exoscaleoapi.DbaasServiceNotificationLevel `json:"level,omitempty"`
	// Message contains the notification.
	Message string `json:"message,omitempty"`
	// Type of the notification.
	Type exoscaleoapi.DbaasServiceNotificationType `json:"type,omitempty"`
	// Metadata contains additional data.
	Metadata runtime.RawExtension `json:"metadata,omitempty"`
}

Notification contains a service message.

func (*Notification) DeepCopy added in v0.2.0

func (in *Notification) DeepCopy() *Notification

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

func (*Notification) DeepCopyInto added in v0.2.0

func (in *Notification) DeepCopyInto(out *Notification)

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

type OpenSearch added in v0.6.0

type OpenSearch struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OpenSearchSpec   `json:"spec"`
	Status OpenSearchStatus `json:"status,omitempty"`
}

OpenSearch is the API for creating OpenSearch.

func (*OpenSearch) DeepCopy added in v0.6.0

func (in *OpenSearch) DeepCopy() *OpenSearch

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

func (*OpenSearch) DeepCopyInto added in v0.6.0

func (in *OpenSearch) DeepCopyInto(out *OpenSearch)

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

func (*OpenSearch) DeepCopyObject added in v0.6.0

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

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

func (*OpenSearch) GetCondition added in v0.6.0

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

GetCondition of this OpenSearch.

func (*OpenSearch) GetDeletionPolicy added in v0.6.0

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

GetDeletionPolicy of this OpenSearch.

func (*OpenSearch) GetInstanceName added in v0.6.0

func (in *OpenSearch) GetInstanceName() string

GetInstanceName returns the external name of the instance in the following precedence:

.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*OpenSearch) GetProviderConfigReference added in v0.6.0

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

GetProviderConfigReference of this OpenSearch.

func (*OpenSearch) GetProviderReference added in v0.6.0

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

GetProviderReference of this OpenSearch. Deprecated: Use GetProviderConfigReference.

func (*OpenSearch) GetPublishConnectionDetailsTo added in v0.6.0

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

GetPublishConnectionDetailsTo of this OpenSearch.

func (*OpenSearch) GetWriteConnectionSecretToReference added in v0.6.0

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

GetWriteConnectionSecretToReference of this OpenSearch.

func (*OpenSearch) SetConditions added in v0.6.0

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

SetConditions of this OpenSearch.

func (*OpenSearch) SetDeletionPolicy added in v0.6.0

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

SetDeletionPolicy of this OpenSearch.

func (*OpenSearch) SetProviderConfigReference added in v0.6.0

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

SetProviderConfigReference of this OpenSearch.

func (*OpenSearch) SetProviderReference added in v0.6.0

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

SetProviderReference of this OpenSearch. Deprecated: Use SetProviderConfigReference.

func (*OpenSearch) SetPublishConnectionDetailsTo added in v0.6.0

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

SetPublishConnectionDetailsTo of this OpenSearch.

func (*OpenSearch) SetWriteConnectionSecretToReference added in v0.6.0

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

SetWriteConnectionSecretToReference of this OpenSearch.

type OpenSearchList added in v0.6.0

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

OpenSearchList contains a list of OpenSearch

func (*OpenSearchList) DeepCopy added in v0.6.0

func (in *OpenSearchList) DeepCopy() *OpenSearchList

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

func (*OpenSearchList) DeepCopyInto added in v0.6.0

func (in *OpenSearchList) DeepCopyInto(out *OpenSearchList)

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

func (*OpenSearchList) DeepCopyObject added in v0.6.0

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

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

func (*OpenSearchList) GetItems added in v0.6.0

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

GetItems of this OpenSearchList.

type OpenSearchObservation added in v0.6.0

type OpenSearchObservation struct {
	MajorVersion string `json:"majorVersion,omitempty"`
	// OpenSearchSettings contains additional OpenSearch settings as set by the provider.
	OpenSearchSettings runtime.RawExtension `json:"openSearchSettings,omitempty"`

	// State of individual service nodes
	NodeStates      []NodeState `json:"nodeStates,omitempty"`
	DBaaSParameters `json:",inline"`
	// Service notifications
	Notifications []Notification  `json:"notifications,omitempty"`
	Maintenance   MaintenanceSpec `json:"maintenance"`
}

OpenSearchObservation are the observable fields of a OpenSearch.

func (*OpenSearchObservation) DeepCopy added in v0.6.0

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

func (*OpenSearchObservation) DeepCopyInto added in v0.6.0

func (in *OpenSearchObservation) DeepCopyInto(out *OpenSearchObservation)

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

type OpenSearchParameters added in v0.6.0

type OpenSearchParameters struct {
	Maintenance     MaintenanceSpec `json:"maintenance,omitempty"`
	Backup          BackupSpec      `json:"backup,omitempty"`
	DBaaSParameters `json:",inline"`
	// +kubebuilder:validation:Required
	// Zone is the datacenter identifier in which the instance runs in.
	Zone Zone `json:"zone"`
	// majorVersion - supported versions are "1" and "2" (string)
	MajorVersion       string               `json:"majorVersion,omitempty"`
	OpenSearchSettings runtime.RawExtension `json:"openSearchSettings,omitempty"`
}

OpenSearchParameters are the configurable fields of a OpenSearch instance.

func (*OpenSearchParameters) DeepCopy added in v0.6.0

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

func (*OpenSearchParameters) DeepCopyInto added in v0.6.0

func (in *OpenSearchParameters) DeepCopyInto(out *OpenSearchParameters)

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

type OpenSearchSpec added in v0.6.0

type OpenSearchSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       OpenSearchParameters `json:"forProvider"`
}

OpenSearchSpec defines the desired state of a OpenSearch.

func (*OpenSearchSpec) DeepCopy added in v0.6.0

func (in *OpenSearchSpec) DeepCopy() *OpenSearchSpec

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

func (*OpenSearchSpec) DeepCopyInto added in v0.6.0

func (in *OpenSearchSpec) DeepCopyInto(out *OpenSearchSpec)

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

type OpenSearchStatus added in v0.6.0

type OpenSearchStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          OpenSearchObservation `json:"atProvider,omitempty"`
}

OpenSearchStatus represents the observed state of a OpenSearch instance.

func (*OpenSearchStatus) DeepCopy added in v0.6.0

func (in *OpenSearchStatus) DeepCopy() *OpenSearchStatus

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

func (*OpenSearchStatus) DeepCopyInto added in v0.6.0

func (in *OpenSearchStatus) DeepCopyInto(out *OpenSearchStatus)

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

type PostgreSQL added in v0.2.0

type PostgreSQL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PostgreSQLSpec   `json:"spec"`
	Status PostgreSQLStatus `json:"status,omitempty"`
}

PostgreSQL is the API for creating PostgreSQL.

func (*PostgreSQL) DeepCopy added in v0.2.0

func (in *PostgreSQL) DeepCopy() *PostgreSQL

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

func (*PostgreSQL) DeepCopyInto added in v0.2.0

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

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

func (*PostgreSQL) DeepCopyObject added in v0.2.0

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

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

func (*PostgreSQL) GetCondition added in v0.2.0

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

GetCondition of this PostgreSQL.

func (*PostgreSQL) GetDeletionPolicy added in v0.2.0

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

GetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) GetInstanceName added in v0.2.0

func (in *PostgreSQL) GetInstanceName() string

GetInstanceName returns the external name of the instance in the following precedence:

.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*PostgreSQL) GetProviderConfigName added in v0.2.0

func (in *PostgreSQL) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*PostgreSQL) GetProviderConfigReference added in v0.2.0

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

GetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) GetProviderReference added in v0.2.0

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

GetProviderReference of this PostgreSQL. Deprecated: Use GetProviderConfigReference.

func (*PostgreSQL) GetPublishConnectionDetailsTo added in v0.2.0

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

GetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) GetWriteConnectionSecretToReference added in v0.2.0

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

GetWriteConnectionSecretToReference of this PostgreSQL.

func (*PostgreSQL) SetConditions added in v0.2.0

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

SetConditions of this PostgreSQL.

func (*PostgreSQL) SetDeletionPolicy added in v0.2.0

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

SetDeletionPolicy of this PostgreSQL.

func (*PostgreSQL) SetProviderConfigReference added in v0.2.0

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

SetProviderConfigReference of this PostgreSQL.

func (*PostgreSQL) SetProviderReference added in v0.2.0

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

SetProviderReference of this PostgreSQL. Deprecated: Use SetProviderConfigReference.

func (*PostgreSQL) SetPublishConnectionDetailsTo added in v0.2.0

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

SetPublishConnectionDetailsTo of this PostgreSQL.

func (*PostgreSQL) SetWriteConnectionSecretToReference added in v0.2.0

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

SetWriteConnectionSecretToReference of this PostgreSQL.

type PostgreSQLList added in v0.2.0

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

PostgreSQLList contains a list of PostgreSQL

func (*PostgreSQLList) DeepCopy added in v0.2.0

func (in *PostgreSQLList) DeepCopy() *PostgreSQLList

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

func (*PostgreSQLList) DeepCopyInto added in v0.2.0

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

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

func (*PostgreSQLList) DeepCopyObject added in v0.2.0

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

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

func (*PostgreSQLList) GetItems added in v0.2.0

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

GetItems of this PostgreSQLList.

type PostgreSQLObservation added in v0.2.0

type PostgreSQLObservation struct {
	DBaaSParameters `json:",inline"`
	// Version is the (major) version identifier for the instance.
	Version     string               `json:"version,omitempty"`
	Maintenance MaintenanceSpec      `json:"maintenance,omitempty"`
	Backup      BackupSpec           `json:"backup,omitempty"`
	NodeStates  []NodeState          `json:"nodeStates,omitempty"`
	PGSettings  runtime.RawExtension `json:"pgSettings,omitempty"`
}

PostgreSQLObservation are the observable fields of a PostgreSQL.

func (*PostgreSQLObservation) DeepCopy added in v0.2.0

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

func (*PostgreSQLObservation) DeepCopyInto added in v0.2.0

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

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

type PostgreSQLParameters added in v0.2.0

type PostgreSQLParameters struct {
	Maintenance MaintenanceSpec `json:"maintenance,omitempty"`
	Backup      BackupSpec      `json:"backup,omitempty"`

	// Zone is the datacenter identifier in which the instance runs in.
	Zone Zone `json:"zone"`

	DBaaSParameters `json:",inline"`
	// Version is the (major) version identifier for the instance.
	Version string `json:"version,omitempty"`

	// PGSettings contains additional PostgreSQL settings.
	PGSettings runtime.RawExtension `json:"pgSettings,omitempty"`
}

PostgreSQLParameters are the configurable fields of a PostgreSQL.

func (*PostgreSQLParameters) DeepCopy added in v0.2.0

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

func (*PostgreSQLParameters) DeepCopyInto added in v0.2.0

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

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

type PostgreSQLSpec added in v0.2.0

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

PostgreSQLSpec defines the desired state of a PostgreSQL.

func (*PostgreSQLSpec) DeepCopy added in v0.2.0

func (in *PostgreSQLSpec) DeepCopy() *PostgreSQLSpec

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

func (*PostgreSQLSpec) DeepCopyInto added in v0.2.0

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

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

type PostgreSQLStatus added in v0.2.0

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

PostgreSQLStatus represents the observed state of a PostgreSQL.

func (*PostgreSQLStatus) DeepCopy added in v0.2.0

func (in *PostgreSQLStatus) DeepCopy() *PostgreSQLStatus

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

func (*PostgreSQLStatus) DeepCopyInto added in v0.2.0

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

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

type Redis added in v0.4.0

type Redis struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RedisSpec   `json:"spec"`
	Status RedisStatus `json:"status,omitempty"`
}

Redis is the API for creating Redis.

func (*Redis) DeepCopy added in v0.4.0

func (in *Redis) DeepCopy() *Redis

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

func (*Redis) DeepCopyInto added in v0.4.0

func (in *Redis) DeepCopyInto(out *Redis)

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

func (*Redis) DeepCopyObject added in v0.4.0

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

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

func (*Redis) GetCondition added in v0.4.0

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

GetCondition of this Redis.

func (*Redis) GetDeletionPolicy added in v0.4.0

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

GetDeletionPolicy of this Redis.

func (*Redis) GetInstanceName added in v0.4.0

func (in *Redis) GetInstanceName() string

GetInstanceName returns the external name of the instance in the following precedence:

.metadata.annotations."crossplane.io/external-name"
.metadata.name

func (*Redis) GetProviderConfigName added in v0.4.0

func (in *Redis) GetProviderConfigName() string

GetProviderConfigName returns the name of the ProviderConfig. Returns empty string if reference not given.

func (*Redis) GetProviderConfigReference added in v0.4.0

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

GetProviderConfigReference of this Redis.

func (*Redis) GetProviderReference added in v0.4.0

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

GetProviderReference of this Redis. Deprecated: Use GetProviderConfigReference.

func (*Redis) GetPublishConnectionDetailsTo added in v0.4.0

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

GetPublishConnectionDetailsTo of this Redis.

func (*Redis) GetWriteConnectionSecretToReference added in v0.4.0

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

GetWriteConnectionSecretToReference of this Redis.

func (*Redis) SetConditions added in v0.4.0

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

SetConditions of this Redis.

func (*Redis) SetDeletionPolicy added in v0.4.0

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

SetDeletionPolicy of this Redis.

func (*Redis) SetProviderConfigReference added in v0.4.0

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

SetProviderConfigReference of this Redis.

func (*Redis) SetProviderReference added in v0.4.0

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

SetProviderReference of this Redis. Deprecated: Use SetProviderConfigReference.

func (*Redis) SetPublishConnectionDetailsTo added in v0.4.0

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

SetPublishConnectionDetailsTo of this Redis.

func (*Redis) SetWriteConnectionSecretToReference added in v0.4.0

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

SetWriteConnectionSecretToReference of this Redis.

type RedisList added in v0.4.0

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

RedisList contains a list of Redis

func (*RedisList) DeepCopy added in v0.4.0

func (in *RedisList) DeepCopy() *RedisList

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

func (*RedisList) DeepCopyInto added in v0.4.0

func (in *RedisList) DeepCopyInto(out *RedisList)

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

func (*RedisList) DeepCopyObject added in v0.4.0

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

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

func (*RedisList) GetItems added in v0.4.0

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

GetItems of this RedisList.

type RedisObservation added in v0.4.0

type RedisObservation struct {
	Version string `json:"version,omitempty"`
	// RedisSettings contains additional Redis settings as set by the provider.
	RedisSettings runtime.RawExtension `json:"redisSettings,omitempty"`

	// State of individual service nodes
	NodeStates []NodeState `json:"nodeStates,omitempty"`

	// Service notifications
	Notifications []Notification `json:"notifications,omitempty"`
}

RedisObservation are the observable fields of a Redis.

func (*RedisObservation) DeepCopy added in v0.4.0

func (in *RedisObservation) DeepCopy() *RedisObservation

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

func (*RedisObservation) DeepCopyInto added in v0.4.0

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 added in v0.4.0

type RedisParameters struct {
	Maintenance MaintenanceSpec `json:"maintenance,omitempty"`

	// Zone is the datacenter identifier in which the instance runs in.
	Zone Zone `json:"zone"`

	DBaaSParameters `json:",inline"`

	// RedisSettings contains additional Redis settings.
	RedisSettings runtime.RawExtension `json:"redisSettings,omitempty"`
}

RedisParameters are the configurable fields of a Redis instance.

func (*RedisParameters) DeepCopy added in v0.4.0

func (in *RedisParameters) DeepCopy() *RedisParameters

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

func (*RedisParameters) DeepCopyInto added in v0.4.0

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

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

type RedisSpec added in v0.4.0

type RedisSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       RedisParameters `json:"forProvider"`
}

RedisSpec defines the desired state of a Redis.

func (*RedisSpec) DeepCopy added in v0.4.0

func (in *RedisSpec) DeepCopy() *RedisSpec

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

func (*RedisSpec) DeepCopyInto added in v0.4.0

func (in *RedisSpec) DeepCopyInto(out *RedisSpec)

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

type RedisStatus added in v0.4.0

type RedisStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          RedisObservation `json:"atProvider,omitempty"`
}

RedisStatus represents the observed state of a Redis instance.

func (*RedisStatus) DeepCopy added in v0.4.0

func (in *RedisStatus) DeepCopy() *RedisStatus

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

func (*RedisStatus) DeepCopyInto added in v0.4.0

func (in *RedisStatus) DeepCopyInto(out *RedisStatus)

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

type SOSSpec

type SOSSpec struct {

	// Buckets is a list of buckets to which IAMKey has access to.
	Buckets []string `json:"buckets,omitempty"`
}

SOSSpec is the service type for Object Storage in exoscale

func (*SOSSpec) DeepCopy

func (in *SOSSpec) DeepCopy() *SOSSpec

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

func (*SOSSpec) DeepCopyInto

func (in *SOSSpec) DeepCopyInto(out *SOSSpec)

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

type ServicesSpec

type ServicesSpec struct {

	// SOSSpec is the Object Storage Service in exoscale.
	SOS SOSSpec `json:"sos,omitempty"`
}

ServicesSpec are the accessible exoscale services of the IAMKey.

func (*ServicesSpec) DeepCopy

func (in *ServicesSpec) DeepCopy() *ServicesSpec

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

func (*ServicesSpec) DeepCopyInto

func (in *ServicesSpec) DeepCopyInto(out *ServicesSpec)

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

type SizeSpec added in v0.2.0

type SizeSpec struct {
	Plan string `json:"plan,omitempty"`
}

SizeSpec contains settings to control the sizing of a service.

func (*SizeSpec) DeepCopy added in v0.2.0

func (in *SizeSpec) DeepCopy() *SizeSpec

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

func (*SizeSpec) DeepCopyInto added in v0.2.0

func (in *SizeSpec) DeepCopyInto(out *SizeSpec)

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

func (SizeSpec) Equals added in v0.4.0

func (s SizeSpec) Equals(other SizeSpec) bool

type TimeOfDay added in v0.2.0

type TimeOfDay string

TimeOfDay contains a time in the 24hr clock. Format: "hh:mm:ss".

func (TimeOfDay) Parse added in v0.2.0

func (t TimeOfDay) Parse() (hour, minute, second int64, err error)

Parse returns the hour and minute of the string representation. Returns errors if the format is invalid.

func (TimeOfDay) String added in v0.2.0

func (t TimeOfDay) String() string

String implements fmt.Stringer.

type Zone added in v0.4.0

type Zone string

Zone is the datacenter identifier in which the instance runs in.

func (Zone) String added in v0.4.0

func (z Zone) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL