Documentation ¶
Overview ¶
Package v1beta2 contains API Schema definitions for the rds v1beta2 API group +kubebuilder:object:generate=true +groupName=rds.controllers.ridecell.io
Index ¶
Constants ¶
const ( RdsSnapshotReady = "Ready" RdsSnapshotError = "Error" RdsSnapshotCreating = "Creating" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rds.controllers.ridecell.io", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type RDSSnapshot ¶
type RDSSnapshot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RDSSnapshotSpec `json:"spec,omitempty"` Status RDSSnapshotStatus `json:"status,omitempty"` }
RDSSnapshot is the Schema for the rdssnapshots API
func (*RDSSnapshot) DeepCopy ¶
func (in *RDSSnapshot) DeepCopy() *RDSSnapshot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSSnapshot.
func (*RDSSnapshot) DeepCopyInto ¶
func (in *RDSSnapshot) DeepCopyInto(out *RDSSnapshot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RDSSnapshot) DeepCopyObject ¶
func (in *RDSSnapshot) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RDSSnapshotList ¶
type RDSSnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RDSSnapshot `json:"items"` }
RDSSnapshotList contains a list of RDSSnapshot
func (*RDSSnapshotList) DeepCopy ¶
func (in *RDSSnapshotList) DeepCopy() *RDSSnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSSnapshotList.
func (*RDSSnapshotList) DeepCopyInto ¶
func (in *RDSSnapshotList) DeepCopyInto(out *RDSSnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RDSSnapshotList) DeepCopyObject ¶
func (in *RDSSnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RDSSnapshotSpec ¶
type RDSSnapshotSpec struct { // Which rds instance to use to create snapshot RDSInstanceID string `json:"rdsInstanceID,omitempty"` // SnapshotID will assign as name to new snapshot SnapshotID string `json:"snapshotID,omitempty"` // TTL is the time until the rds snapshot gets deleted TTL metav1.Duration `json:"ttl,omitempty"` }
RDSSnapshotSpec defines the desired state of RDSSnapshot
func (*RDSSnapshotSpec) DeepCopy ¶
func (in *RDSSnapshotSpec) DeepCopy() *RDSSnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSSnapshotSpec.
func (*RDSSnapshotSpec) DeepCopyInto ¶
func (in *RDSSnapshotSpec) DeepCopyInto(out *RDSSnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDSSnapshotStatus ¶
type RDSSnapshotStatus struct { Status string `json:"status"` Message string `json:"message"` SnapshotID string `json:"snapshotId"` }
RDSSnapshotStatus defines the observed state of RDSSnapshot
func (*RDSSnapshotStatus) DeepCopy ¶
func (in *RDSSnapshotStatus) DeepCopy() *RDSSnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSSnapshotStatus.
func (*RDSSnapshotStatus) DeepCopyInto ¶
func (in *RDSSnapshotStatus) DeepCopyInto(out *RDSSnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.