v1alpha1

package
v0.0.0-...-976bddf Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=keyspace.datastax-astra.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "keyspace.datastax-astra.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Keyspace_Kind             = "Keyspace"
	Keyspace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Keyspace_Kind}.String()
	Keyspace_KindAPIVersion   = Keyspace_Kind + "." + CRDGroupVersion.String()
	Keyspace_GroupVersionKind = CRDGroupVersion.WithKind(Keyspace_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Keyspace

type Keyspace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KeyspaceSpec   `json:"spec"`
	Status            KeyspaceStatus `json:"status,omitempty"`
}

Keyspace is the Schema for the Keyspaces API. <no value> +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,datastax-astra}

func (*Keyspace) DeepCopy

func (in *Keyspace) DeepCopy() *Keyspace

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

func (*Keyspace) DeepCopyInto

func (in *Keyspace) DeepCopyInto(out *Keyspace)

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

func (*Keyspace) DeepCopyObject

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

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

func (*Keyspace) GetCondition

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

GetCondition of this Keyspace.

func (*Keyspace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Keyspace

func (*Keyspace) GetDeletionPolicy

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

GetDeletionPolicy of this Keyspace.

func (*Keyspace) GetID

func (tr *Keyspace) GetID() string

GetID returns ID of underlying Terraform resource of this Keyspace

func (*Keyspace) GetObservation

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

GetObservation of this Keyspace

func (*Keyspace) GetParameters

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

GetParameters of this Keyspace

func (*Keyspace) GetProviderConfigReference

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

GetProviderConfigReference of this Keyspace.

func (*Keyspace) GetProviderReference

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

GetProviderReference of this Keyspace. Deprecated: Use GetProviderConfigReference.

func (*Keyspace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Keyspace.

func (*Keyspace) GetTerraformResourceType

func (mg *Keyspace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Keyspace

func (*Keyspace) GetTerraformSchemaVersion

func (tr *Keyspace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Keyspace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Keyspace.

func (*Keyspace) LateInitialize

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

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

func (*Keyspace) SetConditions

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

SetConditions of this Keyspace.

func (*Keyspace) SetDeletionPolicy

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

SetDeletionPolicy of this Keyspace.

func (*Keyspace) SetObservation

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

SetObservation for this Keyspace

func (*Keyspace) SetParameters

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

SetParameters for this Keyspace

func (*Keyspace) SetProviderConfigReference

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

SetProviderConfigReference of this Keyspace.

func (*Keyspace) SetProviderReference

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

SetProviderReference of this Keyspace. Deprecated: Use SetProviderConfigReference.

func (*Keyspace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Keyspace.

func (*Keyspace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Keyspace.

type KeyspaceList

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

KeyspaceList contains a list of Keyspaces

func (*KeyspaceList) DeepCopy

func (in *KeyspaceList) DeepCopy() *KeyspaceList

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

func (*KeyspaceList) DeepCopyInto

func (in *KeyspaceList) DeepCopyInto(out *KeyspaceList)

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

func (*KeyspaceList) DeepCopyObject

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

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

func (*KeyspaceList) GetItems

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

GetItems of this KeyspaceList.

type KeyspaceObservation

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

func (*KeyspaceObservation) DeepCopy

func (in *KeyspaceObservation) DeepCopy() *KeyspaceObservation

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

func (*KeyspaceObservation) DeepCopyInto

func (in *KeyspaceObservation) DeepCopyInto(out *KeyspaceObservation)

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

type KeyspaceParameters

type KeyspaceParameters struct {

	// Astra database to create the keyspace.
	// +kubebuilder:validation:Required
	DatabaseID *string `json:"databaseId" tf:"database_id,omitempty"`

	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*KeyspaceParameters) DeepCopy

func (in *KeyspaceParameters) DeepCopy() *KeyspaceParameters

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

func (*KeyspaceParameters) DeepCopyInto

func (in *KeyspaceParameters) DeepCopyInto(out *KeyspaceParameters)

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

type KeyspaceSpec

type KeyspaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KeyspaceParameters `json:"forProvider"`
}

KeyspaceSpec defines the desired state of Keyspace

func (*KeyspaceSpec) DeepCopy

func (in *KeyspaceSpec) DeepCopy() *KeyspaceSpec

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

func (*KeyspaceSpec) DeepCopyInto

func (in *KeyspaceSpec) DeepCopyInto(out *KeyspaceSpec)

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

type KeyspaceStatus

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

KeyspaceStatus defines the observed state of Keyspace.

func (*KeyspaceStatus) DeepCopy

func (in *KeyspaceStatus) DeepCopy() *KeyspaceStatus

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

func (*KeyspaceStatus) DeepCopyInto

func (in *KeyspaceStatus) DeepCopyInto(out *KeyspaceStatus)

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