Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- func NewCreateCommand(f client.Factory, use string) *cobra.Command
- func NewDeleteCommand(f client.Factory, use string) *cobra.Command
- func NewDescribeCommand(f client.Factory, use string) *cobra.Command
- func NewGetCommand(f client.Factory, use string) *cobra.Command
- func NewPauseCommand(f client.Factory, use string) *cobra.Command
- func NewUnpauseCommand(f client.Factory, use string) *cobra.Command
- func Run(o *cli.DeleteOptions) error
- type CreateOptions
- type PauseOptions
- type SkipOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteCommand ¶
NewDeleteCommand creates and returns a new cobra command for deleting schedules.
func NewPauseCommand ¶
NewPauseCommand creates the command for pause
func NewUnpauseCommand ¶
NewUnpauseCommand creates the command for unpause
Types ¶
type CreateOptions ¶
type CreateOptions struct { BackupOptions *backup.CreateOptions SkipOptions *SkipOptions Schedule string UseOwnerReferencesInBackup bool Paused bool }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
type PauseOptions ¶
type PauseOptions struct {
SkipOptions *SkipOptions
}
func NewPauseOptions ¶
func NewPauseOptions() *PauseOptions
func (*PauseOptions) BindFlags ¶
func (o *PauseOptions) BindFlags(flags *pflag.FlagSet)
type SkipOptions ¶
type SkipOptions struct {
SkipImmediately flag.OptionalBool
}
func NewSkipOptions ¶
func NewSkipOptions() *SkipOptions
func (*SkipOptions) BindFlags ¶
func (o *SkipOptions) BindFlags(flags *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.