Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2022 Changes in this version + func BuildAndStartDevEnvDefaultStreamHandler(stream BuildAndStartDevEnvStream) error + func InitInstanceDefaultStreamHandler(stream InitInstanceStream) error + type BuildAndStartDevEnvStream interface + Recv func() (*proto.BuildAndStartDevEnvReply, error) + type Client struct + func NewClient(config ClientConfig) Client + func (c Client) BuildAndStartDevEnv(startDevEnvRequest *proto.BuildAndStartDevEnvRequest, ...) error + func (c Client) Execute(fnToExec func(agentGRPCClient proto.AgentClient) error) error + func (c Client) InitInstance(initInstanceRequest *proto.InitInstanceRequest, ...) error + type ClientBuilder interface + Build func(config ClientConfig) ClientInterface + type ClientConfig struct + LocalAddr string + RemoteAddr string + RemoteAddrProtocol string + ServerAddr string + ServerRootUser string + ServerSSHPrivateKeyBytes []byte + func NewDefaultClientConfig(sshPrivateKeyBytes []byte, instancePublicIPAddress string) ClientConfig + type ClientInterface interface + BuildAndStartDevEnv func(startDevEnvRequest *proto.BuildAndStartDevEnvRequest, ...) error + InitInstance func(initInstanceRequest *proto.InitInstanceRequest, ...) error + type DefaultClientBuilder struct + func NewDefaultClientBuilder() DefaultClientBuilder + func (DefaultClientBuilder) Build(config ClientConfig) ClientInterface + type InitInstanceStream interface + Recv func() (*proto.InitInstanceReply, error)