cmd

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0, MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupRestoreCommand

func NewBackupRestoreCommand(stopCh <-chan struct{}) *cobra.Command

NewBackupRestoreCommand represents the base command when called without any subcommands

func NewInitializeCommand

func NewInitializeCommand(stopCh <-chan struct{}) *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(stopCh <-chan struct{}) *cobra.Command

NewRestoreCommand returns the command to restore

func NewServerCommand

func NewServerCommand(stopCh <-chan struct{}) *cobra.Command

NewServerCommand create cobra command for snapshot

func NewSnapshotCommand

func NewSnapshotCommand(stopCh <-chan struct{}) *cobra.Command

NewSnapshotCommand create cobra command for snapshot

func ProbeEtcd

func ProbeEtcd(tlsConfig *etcdutil.TLSConfig) error

ProbeEtcd will make the snapshotter probe for etcd endpoint to be available before it starts taking regular snapshots.

Types

This section is empty.

Jump to

Keyboard shortcuts

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