Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Deploy(depl string) error
- func (c *Client) Host() string
- func (c *Client) QueryClusters() ([]db.Cluster, error)
- func (c *Client) QueryConnections() ([]db.Connection, error)
- func (c *Client) QueryContainers() ([]db.Container, error)
- func (c *Client) QueryEtcd() ([]db.Etcd, error)
- func (c *Client) QueryLabels() ([]db.Label, error)
- func (c *Client) QueryMachines() ([]db.Machine, error)
- type Getter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
MachineReturn []db.Machine
ContainerReturn []db.Container
EtcdReturn []db.Etcd
ClusterReturn []db.Cluster
HostReturn string
DeployArg string
MachineErr, ContainerErr, EtcdErr, ClusterErr, HostErr error
DeployErr, ConnectionErr error
}
Client implements a mocked version of a Quilt client.
func (*Client) QueryClusters ¶
QueryClusters retrieves cluster information tracked by the Quilt daemon.
func (*Client) QueryConnections ¶
func (c *Client) QueryConnections() ([]db.Connection, error)
QueryConnections retrieves the connection information tracked by the Quilt daemon.
func (*Client) QueryContainers ¶
QueryContainers retrieves the containers tracked by the Quilt daemon.
func (*Client) QueryLabels ¶
QueryLabels retrieves the label information tracked by the Quilt daemon.
Click to show internal directories.
Click to hide internal directories.