package
0.0.0-20250325040603-118c1786ccc0
Repository: https://github.com/openshift/managed-upgrade-operator.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

IsDrainTimeOutError returns a drainTimeOutError and bool that is true if the error arg is that of a drainTimeOutError.
IsScaleTimeOutError returns a bool if the error arg is that of a scaleTimeOutError.
NewDrainTimeOutError returns a drainTimeOutError.
NewScaler returns a Scaler.
NewScaleTimeOutError returns a scaleTimeOutError.
NotSelectorFromSet returns a labels.Selector.

# Constants

LABEL_MACHINESET is the label used for machinesets.
LABEL_UPGRADE is the label used for managed upgrades.
MACHINE_API_NAMESPACE is the namespace of the machine api.

# Interfaces

Scaler is an interface that enables implementations of a Scaler go:generate mockgen -destination=mocks/scaler.go -package=mocks github.com/openshift/managed-upgrade-operator/pkg/scaler Scaler.

# Type aliases

NotMatchingLabels is a map of strings.