constellation/cli/cmd/recoveryclient.go

15 lines
272 B
Go
Raw Normal View History

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
}