Add physical backend migrator command (#5143)

This commit is contained in:
Jim Kalafut
2018-09-25 16:18:22 -07:00
committed by GitHub
parent 1bcc20d254
commit 3ea652b0b4
5 changed files with 706 additions and 3 deletions

View File

@@ -375,6 +375,13 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
BaseCommand: getBaseCommand(),
}, nil
},
"operator migrate": func() (cli.Command, error) {
return &OperatorMigrateCommand{
BaseCommand: getBaseCommand(),
PhysicalBackends: physicalBackends,
ShutdownCh: MakeShutdownCh(),
}, nil
},
"operator rekey": func() (cli.Command, error) {
return &OperatorRekeyCommand{
BaseCommand: getBaseCommand(),