Documentation ¶
Index ¶
- Constants
- func ChartNamespacedName(chart string) types.NamespacedName
- func GenerateSuffix() (string, error)
- func KubernetesControlPlanePlan(nameSuffix, version string, drain bool, annotations map[string]string) *upgradecattlev1.Plan
- func KubernetesWorkerPlan(nameSuffix, version string, drain bool, annotations map[string]string) *upgradecattlev1.Plan
- func OSControlPlanePlan(nameSuffix, releaseVersion, secretName string, ...) *upgradecattlev1.Plan
- func OSUpgradeSecret(nameSuffix string, releaseOS *lifecyclev1alpha1.OperatingSystem, ...) (*corev1.Secret, error)
- func OSWorkerPlan(nameSuffix, releaseVersion, secretName string, ...) *upgradecattlev1.Plan
- func PlanIdentifierAnnotations(name, namespace string) map[string]string
- func ReleaseManifestInstallJob(releaseManifest, kubectl ContainerImage, serviceAccount, namespace string, ...) (*batchv1.Job, error)
- type ContainerImage
- type HelmChartState
Constants ¶
View Source
const ( PlanNameAnnotation = "lifecycle.suse.com/upgrade-plan-name" PlanNamespaceAnnotation = "lifecycle.suse.com/upgrade-plan-namespace" ReleaseAnnotation = "lifecycle.suse.com/release" ControlPlaneLabel = "node-role.kubernetes.io/control-plane" HelmChartNamespace = "kube-system" SUCNamespace = "cattle-system" )
Variables ¶
This section is empty.
Functions ¶
func ChartNamespacedName ¶
func ChartNamespacedName(chart string) types.NamespacedName
func GenerateSuffix ¶ added in v0.1.0
func KubernetesWorkerPlan ¶
func OSControlPlanePlan ¶
func OSControlPlanePlan(nameSuffix, releaseVersion, secretName string, releaseOS *lifecyclev1alpha1.OperatingSystem, drain bool, annotations map[string]string) *upgradecattlev1.Plan
func OSUpgradeSecret ¶
func OSUpgradeSecret(nameSuffix string, releaseOS *lifecyclev1alpha1.OperatingSystem, annotations map[string]string) (*corev1.Secret, error)
func OSWorkerPlan ¶
func OSWorkerPlan(nameSuffix, releaseVersion, secretName string, releaseOS *lifecyclev1alpha1.OperatingSystem, drain bool, annotations map[string]string) *upgradecattlev1.Plan
func PlanIdentifierAnnotations ¶ added in v0.1.0
func ReleaseManifestInstallJob ¶ added in v0.1.0
Types ¶
type ContainerImage ¶ added in v0.1.0
func (ContainerImage) String ¶ added in v0.1.0
func (image ContainerImage) String() string
type HelmChartState ¶
type HelmChartState int
const ( ChartStateUnknown HelmChartState = iota ChartStateNotInstalled ChartStateVersionAlreadyInstalled ChartStateInProgress ChartStateFailed ChartStateSucceeded )
func (HelmChartState) FormattedMessage ¶
func (s HelmChartState) FormattedMessage(chart string) string
Click to show internal directories.
Click to hide internal directories.