cmd

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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

func NewBackupRestoreCommand(ctx context.Context) *cobra.Command

NewBackupRestoreCommand represents the base command when called without any subcommands

func NewCompactCommand added in v0.29.0

func NewCompactCommand(ctx context.Context) *cobra.Command

NewCompactCommand compacts the ETCD instance

func NewCopyCommand added in v0.29.0

func NewCopyCommand(ctx context.Context) *cobra.Command

NewCopyCommand creates a cobra command for copy.

func NewInitializeCommand

func NewInitializeCommand(ctx context.Context) *cobra.Command

NewInitializeCommand returns the command to initialize etcd by validating the data directory and restoring from cloud store if needed.

func NewRestoreCommand

func NewRestoreCommand(ctx context.Context) *cobra.Command

NewRestoreCommand returns the command to restore

func NewServerCommand

func NewServerCommand(ctx context.Context) *cobra.Command

NewServerCommand create cobra command for snapshot

func NewSnapshotCommand

func NewSnapshotCommand(ctx context.Context) *cobra.Command

NewSnapshotCommand create cobra command for snapshot

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL