etcdutl

package
v3.0.0-...-eac99ac Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputFormat string
)

Functions

func DefragData

func DefragData(dataDir string) error

func GetLogger

func GetLogger() *zap.Logger

func HandleBackup

func HandleBackup(withV3 bool, srcDir string, destDir string, srcWAL string, destWAL string) error

HandleBackup handles a request that intends to do a backup.

func NewBackupCommand

func NewBackupCommand() *cobra.Command

func NewCompletionCommand

func NewCompletionCommand() *cobra.Command

func NewDefragCommand

func NewDefragCommand() *cobra.Command

NewDefragCommand returns the cobra command for "Defrag".

func NewMigrateCommand

func NewMigrateCommand() *cobra.Command

NewMigrateCommand prints out the version of etcd.

func NewPrinter

func NewPrinter(printerType string) printer

func NewSnapshotCommand

func NewSnapshotCommand() *cobra.Command

NewSnapshotCommand returns the cobra command for "snapshot".

func NewSnapshotRestoreCommand

func NewSnapshotRestoreCommand() *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand prints out the version of etcd.

func SnapshotRestoreCommandFunc

func SnapshotRestoreCommandFunc(restoreCluster string,
	restoreClusterToken string,
	restoreDataDir string,
	restoreWalDir string,
	restorePeerURLs string,
	restoreName string,
	skipHashCheck bool,
	args []string)

func SnapshotStatusCommandFunc

func SnapshotStatusCommandFunc(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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