Add ability to perform an etcd on-demand snapshot via cli (#2819)

* add ability to perform an etcd on-demand snapshot via cli

Signed-off-by: Brian Downs <brian.downs@gmail.com>
(cherry picked from commit 13229019f8)
This commit is contained in:
Brian Downs
2021-01-21 14:09:15 -07:00
parent bc400f5396
commit 0a3360fc6f

View File

@@ -24,6 +24,7 @@ type Driver interface {
Snapshot(ctx context.Context, config *config.Control) error
GetMembersClientURLs(ctx context.Context) ([]string, error)
RemoveSelf(ctx context.Context) error
Snapshot(ctx context.Context, config *config.Control) error
}
func RegisterDriver(d Driver) {