mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
14 lines
353 B
Go
14 lines
353 B
Go
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/edgelesssys/constellation/cli/proto"
|
||
|
)
|
||
|
|
||
|
type protoClient interface {
|
||
|
Connect(ip string, port string) error
|
||
|
Close() error
|
||
|
Activate(ctx context.Context, userPublicKey, masterSecret []byte, endpoints, autoscalingNodeGroups []string, cloudServiceAccountURI string) (proto.ActivationResponseClient, error)
|
||
|
}
|