Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kubepost v1alpha1 API group +groupName=kubepost.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec"` Status DatabaseStatus `json:"status,omitempty"` }
Database is the Schema for the databases API
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Database
type DatabaseSpec ¶
type DatabaseSpec struct { InstanceRef InstanceRef `json:"instanceRef"` DatabaseName string `json:"databaseName"` //+kubebuilder:validation:Optional DatabaseOwner string `json:"databaseOwner"` //+kubebuilder:validation:Optional //+kubebuilder:default:=true PreventDeletion bool `json:"preventDeletion"` //+kubebuilder:validation:Optional //+kubebuilder:default:=false CascadeDelete bool `json:"cascadeDelete"` //+kubebuilder:validation:Optional Extensions []Extension `json:"extensions"` }
type DatabaseStatus ¶
type DatabaseStatus struct {
Status string `json:"status"`
}
type Grant ¶
type Grant struct { Database string `json:"database"` Objects []GrantObject `json:"objects"` }
type GrantObject ¶ added in v0.3.4
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the instances API
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
RoleList contains a list of Role
type InstanceRef ¶
type InstanceRef struct {
Name string `json:"name"`
}
type InstanceSpec ¶
type InstanceStatus ¶
type InstanceStatus struct {
Status string `json:"status"`
}
type PasswordRef ¶ added in v0.2.0
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the roles API
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Role
type RoleSpec ¶
type RoleSpec struct { InstanceRef InstanceRef `json:"instanceRef"` RoleName string `json:"roleName"` //+kubebuilder:validation:Optional //+kubebuilder:default:=true PreventDeletion bool `json:"preventDeletion"` //+kubebuilder:validation:Optional //+kubebuilder:default:=false CascadeDelete bool `json:"cascadeDelete"` //+kubebuilder:validation:Optional Options []string `json:"options"` //+kubebuilder:validation:Optional Password string `json:"password"` //+kubebuilder:validation:Optional PasswordRef PasswordRef `json:"passwordRef"` //+kubebuilder:validation:Optional Grants []Grant `json:"grants"` }
type RoleStatus ¶
type RoleStatus struct {
Status string `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.