"constellation recover" CLI command

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-05-02 13:21:07 +02:00 committed by Malte Poll
parent 9d31c9637b
commit e13ec3f914
7 changed files with 632 additions and 0 deletions

14
cli/cmd/recoveryclient.go Normal file
View file

@ -0,0 +1,14 @@
package cmd
import (
"context"
"io"
"github.com/edgelesssys/constellation/coordinator/atls"
)
type recoveryClient interface {
Connect(ip, port string, validators []atls.Validator) error
PushStateDiskKey(ctx context.Context, stateDiskKey []byte) error
io.Closer
}