package cmd import ( "context" "github.com/edgelesssys/constellation/cli/internal/proto" "github.com/edgelesssys/constellation/coordinator/atls" "github.com/edgelesssys/constellation/coordinator/pubapi/pubproto" "github.com/edgelesssys/constellation/coordinator/state" ) type protoClient interface { Connect(endpoint string, validators []atls.Validator) error Close() error GetState(ctx context.Context) (state.State, error) Activate(ctx context.Context, userPublicKey, masterSecret []byte, nodeIPs, coordinatorIPs, autoscalingNodeGroups []string, cloudServiceAccountURI string, sshUsers []*pubproto.SSHUserKey) (proto.ActivationResponseClient, error) }