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 NewGetCommand(f client.Factory, use string) *cobra.Command
- func NewSetCommand(f client.Factory, use string) *cobra.Command
- func Run(f client.Factory, o *cli.DeleteOptions) error
- type CreateOptions
- type SetOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteCommand ¶ added in v1.6.0
NewDeleteCommand creates and returns a new cobra command for deleting backup-locations.
func NewSetCommand ¶ added in v1.6.0
Types ¶
type CreateOptions ¶
type CreateOptions struct { Name string Provider string Bucket string Credential flag.Map DefaultBackupStorageLocation bool Prefix string BackupSyncPeriod, ValidationFrequency time.Duration Config flag.Map Labels flag.Map CACertFile string AccessMode *flag.Enum }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
type SetOptions ¶ added in v1.6.0
type SetOptions struct { Name string CACertFile string Credential flag.Map DefaultBackupStorageLocation bool }
func NewSetOptions ¶ added in v1.6.0
func NewSetOptions() *SetOptions
func (*SetOptions) BindFlags ¶ added in v1.6.0
func (o *SetOptions) BindFlags(flags *pflag.FlagSet)
func (*SetOptions) Complete ¶ added in v1.6.0
func (o *SetOptions) Complete(args []string, f client.Factory) error
Click to show internal directories.
Click to hide internal directories.