v1alpha1

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=replication.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "replication.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 (
	Slot_Kind             = "Slot"
	Slot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Slot_Kind}.String()
	Slot_KindAPIVersion   = Slot_Kind + "." + CRDGroupVersion.String()
	Slot_GroupVersionKind = CRDGroupVersion.WithKind(Slot_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Slot

type Slot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SlotSpec   `json:"spec"`
	Status            SlotStatus `json:"status,omitempty"`
}

Slot is the Schema for the Slots API. Creates and manages a replication slot on a PostgreSQL server. +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,postgresql}

func (*Slot) DeepCopy

func (in *Slot) DeepCopy() *Slot

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

func (*Slot) DeepCopyInto

func (in *Slot) DeepCopyInto(out *Slot)

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

func (*Slot) DeepCopyObject

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

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

func (*Slot) GetCondition

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

GetCondition of this Slot.

func (*Slot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Slot

func (*Slot) GetDeletionPolicy

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

GetDeletionPolicy of this Slot.

func (*Slot) GetID

func (tr *Slot) GetID() string

GetID returns ID of underlying Terraform resource of this Slot

func (*Slot) GetObservation

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

GetObservation of this Slot

func (*Slot) GetParameters

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

GetParameters of this Slot

func (*Slot) GetProviderConfigReference

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

GetProviderConfigReference of this Slot.

func (*Slot) GetProviderReference

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

GetProviderReference of this Slot. Deprecated: Use GetProviderConfigReference.

func (*Slot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Slot.

func (*Slot) GetTerraformResourceType

func (mg *Slot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Slot

func (*Slot) GetTerraformSchemaVersion

func (tr *Slot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Slot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Slot.

func (*Slot) LateInitialize

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

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

func (*Slot) SetConditions

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

SetConditions of this Slot.

func (*Slot) SetDeletionPolicy

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

SetDeletionPolicy of this Slot.

func (*Slot) SetObservation

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

SetObservation for this Slot

func (*Slot) SetParameters

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

SetParameters for this Slot

func (*Slot) SetProviderConfigReference

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

SetProviderConfigReference of this Slot.

func (*Slot) SetProviderReference

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

SetProviderReference of this Slot. Deprecated: Use SetProviderConfigReference.

func (*Slot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Slot.

func (*Slot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Slot.

type SlotList

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

SlotList contains a list of Slots

func (*SlotList) DeepCopy

func (in *SlotList) DeepCopy() *SlotList

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

func (*SlotList) DeepCopyInto

func (in *SlotList) DeepCopyInto(out *SlotList)

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

func (*SlotList) DeepCopyObject

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

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

func (*SlotList) GetItems

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

GetItems of this SlotList.

type SlotObservation

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

func (*SlotObservation) DeepCopy

func (in *SlotObservation) DeepCopy() *SlotObservation

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

func (*SlotObservation) DeepCopyInto

func (in *SlotObservation) DeepCopyInto(out *SlotObservation)

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

type SlotParameters

type SlotParameters struct {

	// Which database to create the replication slot on. Defaults to provider database.
	// Sets the database to add the replication slot to
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// Sets the output plugin.
	// Sets the output plugin to use
	// +kubebuilder:validation:Required
	Plugin *string `json:"plugin" tf:"plugin,omitempty"`
}

func (*SlotParameters) DeepCopy

func (in *SlotParameters) DeepCopy() *SlotParameters

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

func (*SlotParameters) DeepCopyInto

func (in *SlotParameters) DeepCopyInto(out *SlotParameters)

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

type SlotSpec

type SlotSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SlotParameters `json:"forProvider"`
}

SlotSpec defines the desired state of Slot

func (*SlotSpec) DeepCopy

func (in *SlotSpec) DeepCopy() *SlotSpec

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

func (*SlotSpec) DeepCopyInto

func (in *SlotSpec) DeepCopyInto(out *SlotSpec)

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

type SlotStatus

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

SlotStatus defines the observed state of Slot.

func (*SlotStatus) DeepCopy

func (in *SlotStatus) DeepCopy() *SlotStatus

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

func (*SlotStatus) DeepCopyInto

func (in *SlotStatus) DeepCopyInto(out *SlotStatus)

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