Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { AddInstance(ctx context.Context, runnerID, setupScript string) (string, string, string, error) DeleteInstance(ctx context.Context, cloudID string) error }
Client is plugin client interface
type GRPCClient ¶
type GRPCClient struct {
// contains filtered or unexported fields
}
GRPCClient is plugin client implement
func (*GRPCClient) AddInstance ¶
func (c *GRPCClient) AddInstance(ctx context.Context, runnerName, setupScript string) (string, string, string, error)
AddInstance create instance for runner
func (*GRPCClient) DeleteInstance ¶
func (c *GRPCClient) DeleteInstance(ctx context.Context, cloudID string) error
DeleteInstance delete instance for runner
Click to show internal directories.
Click to hide internal directories.