Documentation
¶
Index ¶
- func NewBackupRestoreCommand(stopCh <-chan struct{}) *cobra.Command
- func NewInitializeCommand(stopCh <-chan struct{}) *cobra.Command
- func NewRestoreCommand(stopCh <-chan struct{}) *cobra.Command
- func NewServerCommand(stopCh <-chan struct{}) *cobra.Command
- func NewSnapshotCommand(stopCh <-chan struct{}) *cobra.Command
- func ProbeEtcd(tlsConfig *etcdutil.TLSConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackupRestoreCommand ¶
NewBackupRestoreCommand represents the base command when called without any subcommands
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
func NewSnapshotCommand ¶
NewSnapshotCommand create cobra command for snapshot
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.