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

GetCurrentVersion strings a version as a string and error.
GetCurrentVersionMinusOne strings a latest version -1 as a string and error.
GetHistory returns a configv1.UpdateHistory from a ClusterVersion.
GetPrecedingVersion returns the version the upgradeConfig is upgrading from.
NewBuilder returns a CluserVersionBuilder type.
NewCVClient returns a ClusterVersion interface.

# Constants

No description provided by the author
No description provided by the author

# Variables

OSD_CV_NAME is the name of cluster version singleton.

# Structs

HasDegradedOperatorsResult holds fields that describe a degraded operator.

# Interfaces

go:generate mockgen -destination=mocks/mockClusterVersion.go -package=mocks github.com/openshift/managed-upgrade-operator/pkg/clusterversion ClusterVersion.
go:generate mockgen -destination=mocks/mockClusterVersionBuilder.go -package=mocks github.com/openshift/managed-upgrade-operator/pkg/clusterversion ClusterVersionBuilder.