constellation/cli/cmd/protoclient.go

15 lines
432 B
Go
Raw Normal View History

package cmd
import (
"context"
"github.com/edgelesssys/constellation/cli/proto"
2022-04-19 15:02:02 +00:00
"github.com/edgelesssys/constellation/coordinator/atls"
)
type protoClient interface {
2022-04-19 15:02:02 +00:00
Connect(ip, port string, validators []atls.Validator) error
Close() error
Activate(ctx context.Context, userPublicKey, masterSecret []byte, endpoints, autoscalingNodeGroups []string, cloudServiceAccountURI string) (proto.ActivationResponseClient, error)
}