constellation/cli/cmd/recoveryclient.go
2022-05-08 16:45:20 +02:00

15 lines
272 B
Go

package cmd
import (
"context"
"io"
"github.com/edgelesssys/constellation/coordinator/atls"
)
type recoveryClient interface {
Connect(endpoint string, validators []atls.Validator) error
PushStateDiskKey(ctx context.Context, stateDiskKey []byte) error
io.Closer
}