func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewDebugCommand(logger logr.Logger, debugs map[string]debug.Debug) (*cobra.Command, error)
func NewLogsCmd() (*cobra.Command, error)
func NewPhysicalMachineCommand() (*cobra.Command, error)
func NewRecoverCommand(logger logr.Logger, builders map[string]recover.RecovererBuilder) (*cobra.Command, error)
type Component string
const ( Manager Component = "MANAGER" Daemon Component = "DAEMON" Dashboard Component = "DASHBOARD" DnsServer Component = "DNSSERVER" )
type DebugOptions struct {
// contains filtered or unexported fields
}
func (o *DebugOptions) List(debugger debug.Debugger) ([]string, cobra.ShellCompDirective)
Run debug
func (o *DebugOptions) Run(debugger debug.Debugger, args []string) error
Run debug
type RecoverOptions struct {
// contains filtered or unexported fields
}
func (o *RecoverOptions) List(client *ctrlclient.CtrlClient) ([]string, cobra.ShellCompDirective)
List pods to recover
func (o *RecoverOptions) Run(recover recover.Recoverer, client *ctrlclient.CtrlClient, args []string) error
Run recover