Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=keyspace.datastax-astra.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Keyspace
- func (in *Keyspace) DeepCopy() *Keyspace
- func (in *Keyspace) DeepCopyInto(out *Keyspace)
- func (in *Keyspace) DeepCopyObject() runtime.Object
- func (mg *Keyspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Keyspace) GetConnectionDetailsMapping() map[string]string
- func (mg *Keyspace) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Keyspace) GetID() string
- func (tr *Keyspace) GetObservation() (map[string]any, error)
- func (tr *Keyspace) GetParameters() (map[string]any, error)
- func (mg *Keyspace) GetProviderConfigReference() *xpv1.Reference
- func (mg *Keyspace) GetProviderReference() *xpv1.Reference
- func (mg *Keyspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Keyspace) GetTerraformResourceType() string
- func (tr *Keyspace) GetTerraformSchemaVersion() int
- func (mg *Keyspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Keyspace) LateInitialize(attrs []byte) (bool, error)
- func (mg *Keyspace) SetConditions(c ...xpv1.Condition)
- func (mg *Keyspace) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Keyspace) SetObservation(obs map[string]any) error
- func (tr *Keyspace) SetParameters(params map[string]any) error
- func (mg *Keyspace) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Keyspace) SetProviderReference(r *xpv1.Reference)
- func (mg *Keyspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Keyspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KeyspaceList
- type KeyspaceObservation
- type KeyspaceParameters
- type KeyspaceSpec
- type KeyspaceStatus
Constants ¶
const ( CRDGroup = "keyspace.datastax-astra.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keyspace.
func (*Keyspace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Keyspace) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Keyspace
func (*Keyspace) GetDeletionPolicy ¶
func (mg *Keyspace) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Keyspace.
func (*Keyspace) GetObservation ¶
GetObservation of this Keyspace
func (*Keyspace) GetParameters ¶
GetParameters of this Keyspace
func (*Keyspace) GetProviderConfigReference ¶
GetProviderConfigReference of this Keyspace.
func (*Keyspace) GetProviderReference ¶
GetProviderReference of this Keyspace. Deprecated: Use GetProviderConfigReference.
func (*Keyspace) GetPublishConnectionDetailsTo ¶
func (mg *Keyspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Keyspace.
func (*Keyspace) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Keyspace
func (*Keyspace) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Keyspace) GetWriteConnectionSecretToReference ¶
func (mg *Keyspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Keyspace.
func (*Keyspace) LateInitialize ¶
LateInitialize this Keyspace using its observed tfState. returns True if there are any spec changes for the resource.
func (*Keyspace) SetConditions ¶
SetConditions of this Keyspace.
func (*Keyspace) SetDeletionPolicy ¶
func (mg *Keyspace) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Keyspace.
func (*Keyspace) SetObservation ¶
SetObservation for this Keyspace
func (*Keyspace) SetParameters ¶
SetParameters for this Keyspace
func (*Keyspace) SetProviderConfigReference ¶
SetProviderConfigReference of this Keyspace.
func (*Keyspace) SetProviderReference ¶
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.