client

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	GClient pb.CorkTypeServiceClient
	Conn    *grpc.ClientConn
}

func New

func New(serverAddress string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Kill

func (c *Client) Kill() error

func (*Client) StageExecute

func (c *Client) StageExecute(name string, paramProvider ParamProvider) (map[string]string, error)

func (*Client) Status

func (c *Client) Status() error

type ParamProvider added in v0.2.0

type ParamProvider interface {
	LoadParams(paramDefinitions map[string]*pb.ParamDefinition) (map[string]string, error)
}

type StdinStreamer added in v0.2.0

type StdinStreamer struct {
	Stream pb.CorkTypeService_StageExecuteClient
}

func NewStreamer added in v0.2.0

func (*StdinStreamer) Write added in v0.2.0

func (s *StdinStreamer) Write(inputBytes []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL