Documentation ¶
Overview ¶
Package v1beta2 contains API Schema definitions for the db v1beta2 API group +kubebuilder:object:generate=true +groupName=db.controllers.ridecell.io
Index ¶
Constants ¶
const ( PostgresDatabaseStatusReady = "Ready" PostgresDatabaseStatusError = "Error" )
const ( PostgresUserStatusReady = "Ready" PostgresUserStatusError = "Error" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "db.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 PostgresDatabase ¶
type PostgresDatabase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgresDatabaseSpec `json:"spec,omitempty"` Status PostgresDatabaseStatus `json:"status,omitempty"` }
PostgresDatabase is the Schema for the postgresdatabases API
func (*PostgresDatabase) DeepCopy ¶
func (in *PostgresDatabase) DeepCopy() *PostgresDatabase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabase.
func (*PostgresDatabase) DeepCopyInto ¶
func (in *PostgresDatabase) DeepCopyInto(out *PostgresDatabase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresDatabase) DeepCopyObject ¶
func (in *PostgresDatabase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresDatabaseList ¶
type PostgresDatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgresDatabase `json:"items"` }
PostgresDatabaseList contains a list of PostgresDatabase
func (*PostgresDatabaseList) DeepCopy ¶
func (in *PostgresDatabaseList) DeepCopy() *PostgresDatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseList.
func (*PostgresDatabaseList) DeepCopyInto ¶
func (in *PostgresDatabaseList) DeepCopyInto(out *PostgresDatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresDatabaseList) DeepCopyObject ¶
func (in *PostgresDatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresDatabaseRef ¶
func (*PostgresDatabaseRef) DeepCopy ¶
func (in *PostgresDatabaseRef) DeepCopy() *PostgresDatabaseRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseRef.
func (*PostgresDatabaseRef) DeepCopyInto ¶
func (in *PostgresDatabaseRef) DeepCopyInto(out *PostgresDatabaseRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresDatabaseSpec ¶
type PostgresDatabaseSpec struct { Extensions map[string]string `json:"Extensions,omitempty"` DatabaseName string `json:"dbname,omitempty"` RdsInstanceRef RdsInstanceRef `json:"rdsInstanceRef,omitempty"` }
PostgresDatabaseSpec defines the desired state of PostgresDatabase
func (*PostgresDatabaseSpec) DeepCopy ¶
func (in *PostgresDatabaseSpec) DeepCopy() *PostgresDatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseSpec.
func (*PostgresDatabaseSpec) DeepCopyInto ¶
func (in *PostgresDatabaseSpec) DeepCopyInto(out *PostgresDatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresDatabaseStatus ¶
type PostgresDatabaseStatus struct { Status string `json:"status,omitempty"` Message string `json:"message,omitempty"` RdsAdminSecretRef corev1.SecretReference `json:"rdsAdminSecretRef,omitempty"` }
PostgresDatabaseStatus defines the observed state of PostgresDatabase
func (*PostgresDatabaseStatus) DeepCopy ¶
func (in *PostgresDatabaseStatus) DeepCopy() *PostgresDatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseStatus.
func (*PostgresDatabaseStatus) DeepCopyInto ¶
func (in *PostgresDatabaseStatus) DeepCopyInto(out *PostgresDatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresUser ¶
type PostgresUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PostgresUserSpec `json:"spec,omitempty"` Status PostgresUserStatus `json:"status,omitempty"` }
PostgresUser is the Schema for the postgresusers API
func (*PostgresUser) DeepCopy ¶
func (in *PostgresUser) DeepCopy() *PostgresUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresUser.
func (*PostgresUser) DeepCopyInto ¶
func (in *PostgresUser) DeepCopyInto(out *PostgresUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresUser) DeepCopyObject ¶
func (in *PostgresUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresUserList ¶
type PostgresUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PostgresUser `json:"items"` }
PostgresUserList contains a list of PostgresUser
func (*PostgresUserList) DeepCopy ¶
func (in *PostgresUserList) DeepCopy() *PostgresUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresUserList.
func (*PostgresUserList) DeepCopyInto ¶
func (in *PostgresUserList) DeepCopyInto(out *PostgresUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PostgresUserList) DeepCopyObject ¶
func (in *PostgresUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PostgresUserSpec ¶
type PostgresUserSpec struct { Username string `json:"username,omitempty"` Mode string `json:"mode,omitempty"` PostgresDatabaseRef PostgresDatabaseRef `json:"postgresDatabaseRef,omitempty"` }
PostgresUserSpec defines the desired state of PostgresUser
func (*PostgresUserSpec) DeepCopy ¶
func (in *PostgresUserSpec) DeepCopy() *PostgresUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresUserSpec.
func (*PostgresUserSpec) DeepCopyInto ¶
func (in *PostgresUserSpec) DeepCopyInto(out *PostgresUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresUserStatus ¶
type PostgresUserStatus struct { Status string `json:"status,omitempty"` Message string `json:"message,omitempty"` SecretRef corev1.SecretReference `json:"secretRef"` }
PostgresUserStatus defines the observed state of PostgresUser
func (*PostgresUserStatus) DeepCopy ¶
func (in *PostgresUserStatus) DeepCopy() *PostgresUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresUserStatus.
func (*PostgresUserStatus) DeepCopyInto ¶
func (in *PostgresUserStatus) DeepCopyInto(out *PostgresUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RdsInstanceRef ¶
type RdsInstanceRef struct {
Name string `json:"name"`
}
func (*RdsInstanceRef) DeepCopy ¶
func (in *RdsInstanceRef) DeepCopy() *RdsInstanceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RdsInstanceRef.
func (*RdsInstanceRef) DeepCopyInto ¶
func (in *RdsInstanceRef) DeepCopyInto(out *RdsInstanceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.