Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=physical.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ReplicationSlot
- func (in *ReplicationSlot) DeepCopy() *ReplicationSlot
- func (in *ReplicationSlot) DeepCopyInto(out *ReplicationSlot)
- func (in *ReplicationSlot) DeepCopyObject() runtime.Object
- func (mg *ReplicationSlot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ReplicationSlot) GetConnectionDetailsMapping() map[string]string
- func (mg *ReplicationSlot) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ReplicationSlot) GetID() string
- func (tr *ReplicationSlot) GetObservation() (map[string]any, error)
- func (tr *ReplicationSlot) GetParameters() (map[string]any, error)
- func (mg *ReplicationSlot) GetProviderConfigReference() *xpv1.Reference
- func (mg *ReplicationSlot) GetProviderReference() *xpv1.Reference
- func (mg *ReplicationSlot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ReplicationSlot) GetTerraformResourceType() string
- func (tr *ReplicationSlot) GetTerraformSchemaVersion() int
- func (mg *ReplicationSlot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ReplicationSlot) LateInitialize(attrs []byte) (bool, error)
- func (mg *ReplicationSlot) SetConditions(c ...xpv1.Condition)
- func (mg *ReplicationSlot) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ReplicationSlot) SetObservation(obs map[string]any) error
- func (tr *ReplicationSlot) SetParameters(params map[string]any) error
- func (mg *ReplicationSlot) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ReplicationSlot) SetProviderReference(r *xpv1.Reference)
- func (mg *ReplicationSlot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ReplicationSlot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ReplicationSlotList
- type ReplicationSlotObservation
- type ReplicationSlotParameters
- type ReplicationSlotSpec
- type ReplicationSlotStatus
Constants ¶
const ( CRDGroup = "physical.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 ( 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 ¶
func (in *ReplicationSlotObservation) DeepCopy() *ReplicationSlotObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationSlotObservation.
func (*ReplicationSlotObservation) DeepCopyInto ¶
func (in *ReplicationSlotObservation) DeepCopyInto(out *ReplicationSlotObservation)
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 ¶
func (in *ReplicationSlotParameters) DeepCopy() *ReplicationSlotParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationSlotParameters.
func (*ReplicationSlotParameters) DeepCopyInto ¶
func (in *ReplicationSlotParameters) DeepCopyInto(out *ReplicationSlotParameters)
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 ¶
func (in *ReplicationSlotStatus) DeepCopy() *ReplicationSlotStatus
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.