Documentation ¶
Index ¶
- Variables
- func DefragData(dataDir string) error
- func GetLogger() *zap.Logger
- func HandleBackup(withV3 bool, srcDir string, destDir string, srcWAL string, destWAL string) error
- func NewBackupCommand() *cobra.Command
- func NewDefragCommand() *cobra.Command
- func NewPrinter(printerType string) printer
- func NewSnapshotCommand() *cobra.Command
- func NewSnapshotRestoreCommand() *cobra.Command
- func NewSnapshotSaveCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func SnapshotRestoreCommandFunc(restoreCluster string, restoreClusterToken string, restoreDataDir string, ...)
- func SnapshotStatusCommandFunc(cmd *cobra.Command, args []string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
OutputFormat string
)
Functions ¶
func DefragData ¶
func HandleBackup ¶
HandleBackup handles a request that intends to do a backup.
func NewBackupCommand ¶
func NewDefragCommand ¶
NewDefragCommand returns the cobra command for "Defrag".
func NewPrinter ¶
func NewPrinter(printerType string) printer
func NewSnapshotCommand ¶
NewSnapshotCommand returns the cobra command for "snapshot".
func NewSnapshotSaveCommand ¶
func NewVersionCommand ¶
NewVersionCommand prints out the version of etcd.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.