upgrade

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpgrade

func NewUpgrade() *cobra.Command

Types

type Upgrade

type Upgrade struct {
	RancherVersion    string `usage:"Target Rancher version" short:"r" default:"stable"`
	RancherOSVersion  string `usage:"Target RancherOS version" short:"o" default:"latest" name:"rancher-os-version"`
	KubernetesVersion string `usage:"Target Kubernetes version" short:"k" default:"stable"`
	Force             bool   `usage:"Run without prompting for confirmation" short:"f"`
}

func (*Upgrade) Run

func (b *Upgrade) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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