Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "upgrader", Short: "cluster upgrader", Long: `A single tool to upgrade kubernetes cluster`, Run: func(cmd *cobra.Command, args []string) { if uo.KubernetesVersion == "" { glog.Exit("Please provide new kubernetes version.") } if err := RunUpgrade(uo); err != nil { glog.Exit(err.Error()) } }, }
Functions ¶
func RunUpgrade ¶
func RunUpgrade(uo *UpgradeOptions) error
Types ¶
type UpgradeOptions ¶
type UpgradeOptions struct { KubernetesVersion string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.