Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpgradeChecker ¶
type UpgradeChecker interface { // Check if the cluster is currently under upgrade. // error should be thrown if it can't reliably determine if it's under upgrade or not. Check() (bool, error) }
UpgradeChecker checks if the cluster is currently under upgrade. error should be thrown if it can't reliably determine if it's under upgrade or not.
func NewClusterUpgradeStatusChecker ¶
func NewClusterUpgradeStatusChecker(mgr manager.Manager) (UpgradeChecker, error)
NewClusterUpgradeStatusChecker will return some implementation of a checker or err in case it can't reliably detect which implementation to use.
Click to show internal directories.
Click to hide internal directories.