Documentation ¶
Index ¶
- Constants
- func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.MariaDB)
- func ClusterHeadlessService(instance *openstackv1beta1.MariaDB) *corev1.Service
- func ClusterService(instance *openstackv1beta1.MariaDB) *corev1.Service
- func ClusterServiceMonitor(instance *openstackv1beta1.MariaDB) *unstructured.Unstructured
- func ClusterStatefulSet(instance *openstackv1beta1.MariaDB, configHash string) *appsv1.StatefulSet
- func ConfigMap(instance *openstackv1beta1.MariaDB) *corev1.ConfigMap
- func EnsureCluster(ctx context.Context, c client.Client, intended *openstackv1beta1.MariaDB, ...) error
- func ReadyCondition(instance *openstackv1beta1.MariaDB) *metav1.Condition
- func Secret(instance *openstackv1beta1.MariaDB) *corev1.Secret
- func SetCondition(instance *openstackv1beta1.MariaDB, conditionType string, ...)
- type Reporter
Constants ¶
View Source
const (
AppLabel = "mariadb"
)
View Source
const (
ClusterComponentLabel = "cluster"
)
Variables ¶
This section is empty.
Functions ¶
func AddReadyCheck ¶
func AddReadyCheck(cw *template.ConditionWaiter, instance *openstackv1beta1.MariaDB)
func ClusterHeadlessService ¶
func ClusterHeadlessService(instance *openstackv1beta1.MariaDB) *corev1.Service
func ClusterService ¶
func ClusterService(instance *openstackv1beta1.MariaDB) *corev1.Service
func ClusterServiceMonitor ¶
func ClusterServiceMonitor(instance *openstackv1beta1.MariaDB) *unstructured.Unstructured
func ClusterStatefulSet ¶
func ClusterStatefulSet(instance *openstackv1beta1.MariaDB, configHash string) *appsv1.StatefulSet
func EnsureCluster ¶
func ReadyCondition ¶
func ReadyCondition(instance *openstackv1beta1.MariaDB) *metav1.Condition
func SetCondition ¶
func SetCondition(instance *openstackv1beta1.MariaDB, conditionType string, status metav1.ConditionStatus, reason, message string)
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func NewReporter(recorder record.EventRecorder) *Reporter
func (*Reporter) Pending ¶
func (r *Reporter) Pending(instance *openstackv1beta1.MariaDB, err error, eventReason, message string)
func (*Reporter) Running ¶
func (r *Reporter) Running(instance *openstackv1beta1.MariaDB)
Click to show internal directories.
Click to hide internal directories.