check

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckStorageEngines = polardbxv1reconcile.NewStepBinder("CheckStorageEngines",
	func(rc *polardbxv1reconcile.Context, flow control.Flow) (reconcile.Result, error) {
		polardbx := rc.MustGetPolarDBX()

		if !isStorageEngineConsistent(&polardbx.Spec.Topology) {
			polardbx.Status.Phase = polardbxv1polardbx.PhaseFailed
			return flow.Break("Storage engines not consistent, transfer phase to failed.")
		}

		return flow.Pass()
	},
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL