Documentation
¶
Overview ¶
Package utils provides some utility functionalities for TKR.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAvailableUpgrades ¶
func GetAvailableUpgrades(clusterName, namespace string, tkr *runv1alpha1.TanzuKubernetesRelease) ([]string, error)
GetAvailableUpgrades returns the available upgrades of a TKR
func IsTkrActive ¶
func IsTkrActive(tkr *runv1alpha1.TanzuKubernetesRelease) bool
IsTkrActive checks if the TKR is active
func IsTkrCompatible ¶
func IsTkrCompatible(tkr *runv1alpha1.TanzuKubernetesRelease) bool
IsTkrCompatible checks if TKR is compatible
Types ¶
type UpgradesNotAvailableError ¶
type UpgradesNotAvailableError struct {
// contains filtered or unexported fields
}
UpgradesNotAvailableError is an error type to return when upgrades are not available
func NewUpgradesNotAvailableError ¶
func NewUpgradesNotAvailableError(message string) UpgradesNotAvailableError
NewUpgradesNotAvailableError returns a struct of type UpgradesNotAvailableError
func (UpgradesNotAvailableError) Error ¶
func (e UpgradesNotAvailableError) Error() string
Click to show internal directories.
Click to hide internal directories.