testcluster

package
v0.0.0-...-1d4c075 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("testcluster: resource not found")

Functions

This section is empty.

Types

type Client

type Client struct {
	*httpclient.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string) (*Client, error)

func (*Client) AddHost

func (c *Client) AddHost(ch chan *discoverd.Event, vanilla bool) (*tc.Instance, error)

func (*Client) AddReleaseHosts

func (c *Client) AddReleaseHosts() (*tc.BootResult, error)

func (*Client) RemoveHost

func (c *Client) RemoveHost(ch chan *discoverd.Event, host *tc.Instance) error

func (*Client) Size

func (c *Client) Size() int

Jump to

Keyboard shortcuts

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