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=physical.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "physical.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 (
	ReplicationSlot_Kind             = "ReplicationSlot"
	ReplicationSlot_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ReplicationSlot_Kind}.String()
	ReplicationSlot_KindAPIVersion   = ReplicationSlot_Kind + "." + CRDGroupVersion.String()
	ReplicationSlot_GroupVersionKind = CRDGroupVersion.WithKind(ReplicationSlot_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ReplicationSlot

type ReplicationSlot struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ReplicationSlotSpec   `json:"spec"`
	Status            ReplicationSlotStatus `json:"status,omitempty"`
}

ReplicationSlot is the Schema for the ReplicationSlots API. Creates and manages a physical 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 (*ReplicationSlot) DeepCopy

func (in *ReplicationSlot) DeepCopy() *ReplicationSlot

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

func (*ReplicationSlot) DeepCopyInto

func (in *ReplicationSlot) DeepCopyInto(out *ReplicationSlot)

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

func (*ReplicationSlot) DeepCopyObject

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

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

func (*ReplicationSlot) GetCondition

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

GetCondition of this ReplicationSlot.

func (*ReplicationSlot) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ReplicationSlot

func (*ReplicationSlot) GetDeletionPolicy

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

GetDeletionPolicy of this ReplicationSlot.

func (*ReplicationSlot) GetID

func (tr *ReplicationSlot) GetID() string

GetID returns ID of underlying Terraform resource of this ReplicationSlot

func (*ReplicationSlot) GetObservation

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

GetObservation of this ReplicationSlot

func (*ReplicationSlot) GetParameters

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

GetParameters of this ReplicationSlot

func (*ReplicationSlot) GetProviderConfigReference

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

GetProviderConfigReference of this ReplicationSlot.

func (*ReplicationSlot) GetProviderReference

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

GetProviderReference of this ReplicationSlot. Deprecated: Use GetProviderConfigReference.

func (*ReplicationSlot) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ReplicationSlot.

func (*ReplicationSlot) GetTerraformResourceType

func (mg *ReplicationSlot) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ReplicationSlot

func (*ReplicationSlot) GetTerraformSchemaVersion

func (tr *ReplicationSlot) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ReplicationSlot) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ReplicationSlot.

func (*ReplicationSlot) LateInitialize

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

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

func (*ReplicationSlot) SetConditions

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

SetConditions of this ReplicationSlot.

func (*ReplicationSlot) SetDeletionPolicy

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

SetDeletionPolicy of this ReplicationSlot.

func (*ReplicationSlot) SetObservation

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

SetObservation for this ReplicationSlot

func (*ReplicationSlot) SetParameters

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

SetParameters for this ReplicationSlot

func (*ReplicationSlot) SetProviderConfigReference

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

SetProviderConfigReference of this ReplicationSlot.

func (*ReplicationSlot) SetProviderReference

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

SetProviderReference of this ReplicationSlot. Deprecated: Use SetProviderConfigReference.

func (*ReplicationSlot) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ReplicationSlot.

func (*ReplicationSlot) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ReplicationSlot.

type ReplicationSlotList

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

ReplicationSlotList contains a list of ReplicationSlots

func (*ReplicationSlotList) DeepCopy

func (in *ReplicationSlotList) DeepCopy() *ReplicationSlotList

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

func (*ReplicationSlotList) DeepCopyInto

func (in *ReplicationSlotList) DeepCopyInto(out *ReplicationSlotList)

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

func (*ReplicationSlotList) DeepCopyObject

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

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

func (*ReplicationSlotList) GetItems

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

GetItems of this ReplicationSlotList.

type ReplicationSlotObservation

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

func (*ReplicationSlotObservation) DeepCopy

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

func (*ReplicationSlotObservation) DeepCopyInto

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

type ReplicationSlotParameters

type ReplicationSlotParameters struct {
}

func (*ReplicationSlotParameters) DeepCopy

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

func (*ReplicationSlotParameters) DeepCopyInto

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

type ReplicationSlotSpec

type ReplicationSlotSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ReplicationSlotParameters `json:"forProvider"`
}

ReplicationSlotSpec defines the desired state of ReplicationSlot

func (*ReplicationSlotSpec) DeepCopy

func (in *ReplicationSlotSpec) DeepCopy() *ReplicationSlotSpec

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

func (*ReplicationSlotSpec) DeepCopyInto

func (in *ReplicationSlotSpec) DeepCopyInto(out *ReplicationSlotSpec)

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

type ReplicationSlotStatus

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

ReplicationSlotStatus defines the observed state of ReplicationSlot.

func (*ReplicationSlotStatus) DeepCopy

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

func (*ReplicationSlotStatus) DeepCopyInto

func (in *ReplicationSlotStatus) DeepCopyInto(out *ReplicationSlotStatus)

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