upgrade

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanAnnotation    = "lifecycle.suse.com/upgrade-plan"
	ReleaseAnnotation = "lifecycle.suse.com/release"

	ControlPlaneLabel = "node-role.kubernetes.io/control-plane"
)
View Source
const (
	ChartNamespace = "kube-system"
)

Variables

This section is empty.

Functions

func ChartNamespacedName

func ChartNamespacedName(chart string) types.NamespacedName

func KubernetesControlPlanePlan

func KubernetesControlPlanePlan(version string, drain bool) *upgradecattlev1.Plan

func KubernetesWorkerPlan

func KubernetesWorkerPlan(version string, drain bool) *upgradecattlev1.Plan

func OSControlPlanePlan

func OSControlPlanePlan(releaseVersion, secretName string, releaseOS *release.OperatingSystem, drain bool) *upgradecattlev1.Plan

func OSUpgradeSecret

func OSUpgradeSecret(releaseOS *release.OperatingSystem) (*corev1.Secret, error)

func OSWorkerPlan

func OSWorkerPlan(releaseVersion, secretName string, releaseOS *release.OperatingSystem, drain bool) *upgradecattlev1.Plan

func PlanNamespacedName

func PlanNamespacedName(plan string) types.NamespacedName

Types

type HelmChartState

type HelmChartState int
const (
	ChartStateUnknown HelmChartState = iota
	ChartStateNotInstalled
	ChartStateVersionAlreadyInstalled
	ChartStateInProgress
	ChartStateFailed
	ChartStateSucceeded
)

func (HelmChartState) FormattedMessage

func (s HelmChartState) FormattedMessage(chart string) string

Jump to

Keyboard shortcuts

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