constellation/cli/internal/cmd/recoveryclient.go
Daniel Weiße 8f5f84deb5 AB#2305 Fix missing atls verifier in init call (#352)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-08-09 14:04:40 +02:00

15 lines
286 B
Go

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