Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶ added in v0.8.0
type Capabilities struct {
IsOnOpenshift, HasMachineAPI bool
}
func NewCapabilities ¶ added in v0.8.0
func NewCapabilities(config *rest.Config) (Capabilities, error)
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, caps Capabilities) (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.