Documentation
¶
Index ¶
- type Client
- func (c *Client) MachineCreate(machine *model.Machine) (*model.Machine, error)
- func (c *Client) MachineDelete(name string) error
- func (c *Client) MachineInfo(name string) (*model.Machine, error)
- func (c *Client) MachineList() ([]*model.Machine, error)
- func (c *Client) SessionControl(sessionID string) (chan driver.ControlMessage, error)
- func (c *Client) SessionCreate(machineName string, width, height int) (string, error)
- func (c *Client) SessionIO(sessionID string, r io.ReadCloser, w io.WriteCloser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) MachineCreate ¶
func (*Client) MachineDelete ¶
func (*Client) SessionControl ¶
func (c *Client) SessionControl(sessionID string) (chan driver.ControlMessage, error)
SessionControl returns a control message channel for a session
func (*Client) SessionCreate ¶
SessionCreate creates a new exec session
func (*Client) SessionIO ¶
func (c *Client) SessionIO(sessionID string, r io.ReadCloser, w io.WriteCloser) error
SessionIO transmits input and output for a session
Click to show internal directories.
Click to hide internal directories.