Documentation ¶
Index ¶
- func Execute()
- 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
- type DebugOptions
- type RecoverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
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 ¶
func NewLogsCmd ¶
func NewRecoverCommand ¶
Types ¶
type DebugOptions ¶
type DebugOptions struct {
// contains filtered or unexported fields
}
func (*DebugOptions) List ¶
func (o *DebugOptions) List(debugger debug.Debugger) ([]string, cobra.ShellCompDirective)
Run debug
type RecoverOptions ¶
type RecoverOptions struct {
// contains filtered or unexported fields
}
func (*RecoverOptions) List ¶
func (o *RecoverOptions) List(client *ctrlclient.CtrlClient) ([]string, cobra.ShellCompDirective)
List pods to recover
func (*RecoverOptions) Run ¶
func (o *RecoverOptions) Run(recover recover.Recoverer, client *ctrlclient.CtrlClient, args []string) error
Run recover
Click to show internal directories.
Click to hide internal directories.