Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "machinepool", Aliases: []string{"machinepools", "machine-pool", "machine-pools"}, Short: "Upgrade machinepool", Long: "Upgrade machinepool to a new available version. This is supported only for Hosted Control Planes.", Example: ` # Interactively schedule an upgrade on the cluster named "mycluster"" for a machinepool named "np1" rosa upgrade machinepool np1 --cluster=mycluster --interactive # Schedule a machinepool upgrade within the hour rosa upgrade machinepool np1 -c mycluster --version 4.12.20`, Run: run, Args: func(_ *cobra.Command, argv []string) error { if len(argv) != 1 { return fmt.Errorf( "expected exactly one command line parameter containing the id of the machine pool", ) } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.