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 SetConfiguredReplication(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
- func SetConfiguringReplication(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
- func SetGaleraConfigured(c Conditioner)
- func SetGaleraNotReady(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
- func SetGaleraReady(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 SetReadyHealthty(c Conditioner)
- func SetReadyUnhealthtyWithError(c Conditioner, err error)
- func SetReadyWithStatefulSet(c Conditioner, sts *appsv1.StatefulSet)
- func SetRestoredBackup(c Conditioner)
- func SetRestoringBackup(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 SetConfiguredReplication ¶
func SetConfiguredReplication(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
func SetConfiguringReplication ¶
func SetConfiguringReplication(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
func SetGaleraConfigured ¶
func SetGaleraConfigured(c Conditioner)
func SetGaleraNotReady ¶
func SetGaleraNotReady(c Conditioner, mariadb *mariadbv1alpha1.MariaDB)
func SetGaleraReady ¶
func SetGaleraReady(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 SetReadyHealthty ¶
func SetReadyHealthty(c Conditioner)
func SetReadyUnhealthtyWithError ¶
func SetReadyUnhealthtyWithError(c Conditioner, err error)
func SetReadyWithStatefulSet ¶
func SetReadyWithStatefulSet(c Conditioner, sts *appsv1.StatefulSet)
func SetRestoredBackup ¶
func SetRestoredBackup(c Conditioner)
func SetRestoringBackup ¶
func SetRestoringBackup(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.