Documentation
¶
Index ¶
- func SetCompleteFailed(c Conditioner)
- func SetCompleteFailedWithMessage(c Conditioner, message string)
- func SetCompleteWithCronJob(c Conditioner, cronJob *batchv1.CronJob)
- func SetCompleteWithJob(c Conditioner, job *batchv1.Job)
- func SetGaleraConfigured(c Conditioner)
- func SetGaleraInitialized(c Conditioner)
- func SetGaleraInitializing(c Conditioner)
- func SetGaleraNotReady(c Conditioner)
- func SetGaleraReady(c Conditioner)
- func SetPendingUpdate(c Conditioner)
- func SetPrimarySwitched(c Conditioner)
- func SetPrimarySwitching(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
- func SetReadyCreated(c Conditioner)
- func SetReadyCreatedWithMessage(c Conditioner, message string)
- func SetReadyFailed(c Conditioner)
- func SetReadyFailedWithMessage(c Conditioner, message string)
- func SetReadyHealthy(c Conditioner)
- func SetReadyStorageResized(c Conditioner)
- func SetReadyStorageResizing(c Conditioner)
- func SetReadySuspended(c Conditioner)
- func SetReadyUnhealthyWithError(c Conditioner, err error)
- func SetReadyWaitingStorageResize(c Conditioner)
- func SetReadyWithInitJob(c Conditioner, job *batchv1.Job)
- func SetReadyWithMariaDB(c Conditioner, sts *appsv1.StatefulSet, mdb *mariadbv1alpha1.MariaDB)
- func SetReadyWithMaxScaleStatus(c Conditioner, mss *mariadbv1alpha1.MaxScaleStatus)
- func SetReadyWithStatefulSet(c Conditioner, sts *appsv1.StatefulSet)
- func SetRestoredBackup(c Conditioner)
- func SetRestoringBackup(c Conditioner)
- func SetUpdated(c Conditioner)
- func SetUpdating(c Conditioner)
- type Complete
- func (p *Complete) PatcherFailed(msg string) Patcher
- func (p *Complete) PatcherRefResolver(err error, obj runtime.Object) Patcher
- func (p *Complete) PatcherWithCronJob(ctx context.Context, err error, key types.NamespacedName) (Patcher, error)
- func (p *Complete) PatcherWithJob(ctx context.Context, err error, key types.NamespacedName) (Patcher, error)
- type Conditioner
- type Patcher
- type Ready
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCompleteFailed ¶
func SetCompleteFailed(c Conditioner)
func SetCompleteFailedWithMessage ¶
func SetCompleteFailedWithMessage(c Conditioner, message string)
func SetCompleteWithCronJob ¶
func SetCompleteWithCronJob(c Conditioner, cronJob *batchv1.CronJob)
func SetCompleteWithJob ¶
func SetCompleteWithJob(c Conditioner, job *batchv1.Job)
func SetGaleraConfigured ¶
func SetGaleraConfigured(c Conditioner)
func SetGaleraInitialized ¶ added in v0.0.30
func SetGaleraInitialized(c Conditioner)
func SetGaleraInitializing ¶ added in v0.0.30
func SetGaleraInitializing(c Conditioner)
func SetGaleraNotReady ¶
func SetGaleraNotReady(c Conditioner)
func SetGaleraReady ¶
func SetGaleraReady(c Conditioner)
func SetPendingUpdate ¶ added in v0.0.29
func SetPendingUpdate(c Conditioner)
func SetPrimarySwitched ¶
func SetPrimarySwitched(c Conditioner)
func SetPrimarySwitching ¶
func SetPrimarySwitching(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
func SetReadyCreated ¶
func SetReadyCreated(c Conditioner)
func SetReadyCreatedWithMessage ¶
func SetReadyCreatedWithMessage(c Conditioner, message string)
func SetReadyFailed ¶
func SetReadyFailed(c Conditioner)
func SetReadyFailedWithMessage ¶
func SetReadyFailedWithMessage(c Conditioner, message string)
func SetReadyHealthy ¶ added in v0.0.26
func SetReadyHealthy(c Conditioner)
func SetReadyStorageResized ¶ added in v0.0.26
func SetReadyStorageResized(c Conditioner)
func SetReadyStorageResizing ¶ added in v0.0.26
func SetReadyStorageResizing(c Conditioner)
func SetReadySuspended ¶ added in v0.0.30
func SetReadySuspended(c Conditioner)
func SetReadyUnhealthyWithError ¶ added in v0.0.26
func SetReadyUnhealthyWithError(c Conditioner, err error)
func SetReadyWaitingStorageResize ¶ added in v0.0.26
func SetReadyWaitingStorageResize(c Conditioner)
func SetReadyWithInitJob ¶ added in v0.0.26
func SetReadyWithInitJob(c Conditioner, job *batchv1.Job)
func SetReadyWithMariaDB ¶ added in v0.0.29
func SetReadyWithMariaDB(c Conditioner, sts *appsv1.StatefulSet, mdb *mariadbv1alpha1.MariaDB)
func SetReadyWithMaxScaleStatus ¶ added in v0.0.25
func SetReadyWithMaxScaleStatus(c Conditioner, mss *mariadbv1alpha1.MaxScaleStatus)
func SetReadyWithStatefulSet ¶
func SetReadyWithStatefulSet(c Conditioner, sts *appsv1.StatefulSet)
func SetRestoredBackup ¶
func SetRestoredBackup(c Conditioner)
func SetRestoringBackup ¶
func SetRestoringBackup(c Conditioner)
func SetUpdated ¶ added in v0.0.29
func SetUpdated(c Conditioner)
func SetUpdating ¶ added in v0.0.29
func SetUpdating(c Conditioner)
Types ¶
type Complete ¶
type Complete struct {
// contains filtered or unexported fields
}
func NewComplete ¶
func (*Complete) PatcherFailed ¶
func (*Complete) PatcherRefResolver ¶
func (*Complete) PatcherWithCronJob ¶
func (*Complete) PatcherWithJob ¶
type Conditioner ¶
type Patcher ¶
type Patcher func(Conditioner)
type Ready ¶
type Ready struct{}
func (*Ready) PatcherFailed ¶
func (*Ready) PatcherHealthy ¶
func (*Ready) PatcherRefResolver ¶
func (*Ready) PatcherWithError ¶
Click to show internal directories.
Click to hide internal directories.