Documentation ¶
Index ¶
- func BuildRestoreOptionsAndStore(opts *restorerOptions) (*brtypes.RestoreOptions, brtypes.SnapStore, error)
- func NewBackupRestoreCommand(ctx context.Context) *cobra.Command
- func NewCompactCommand(ctx context.Context) *cobra.Command
- func NewCopyCommand(ctx context.Context) *cobra.Command
- func NewInitializeCommand(ctx context.Context) *cobra.Command
- func NewRestoreCommand(ctx context.Context) *cobra.Command
- func NewServerCommand(ctx context.Context) *cobra.Command
- func NewSnapshotCommand(ctx context.Context) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRestoreOptionsAndStore ¶ added in v0.29.0
func BuildRestoreOptionsAndStore(opts *restorerOptions) (*brtypes.RestoreOptions, brtypes.SnapStore, error)
BuildRestoreOptionsAndStore forms the RestoreOptions and Store object
func NewBackupRestoreCommand ¶
NewBackupRestoreCommand represents the base command when called without any subcommands
func NewCompactCommand ¶ added in v0.29.0
NewCompactCommand compacts the ETCD instance
func NewCopyCommand ¶ added in v0.29.0
NewCopyCommand creates a cobra command for copy.
func NewInitializeCommand ¶
NewInitializeCommand returns the command to initialize etcd by validating the data directory and restoring from cloud store if needed.
func NewRestoreCommand ¶
NewRestoreCommand returns the command to restore
func NewServerCommand ¶
NewServerCommand create cobra command for snapshot
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.