cluster

package
v0.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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