mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
49def1e97f
Signed-off-by: Benedict Schlueter <bs@edgeless.systems>
15 lines
446 B
Go
15 lines
446 B
Go
package cmd
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/edgelesssys/constellation/cli/proto"
|
|
"github.com/edgelesssys/constellation/coordinator/atls"
|
|
)
|
|
|
|
type protoClient interface {
|
|
Connect(ip, port string, validators []atls.Validator) error
|
|
Close() error
|
|
Activate(ctx context.Context, userPublicKey, masterSecret []byte, nodeIPs, coordinatorIPs, autoscalingNodeGroups []string, cloudServiceAccountURI string) (proto.ActivationResponseClient, error)
|
|
}
|