Documentation ¶
Index ¶
- type ClusterClient
- func (c *ClusterClient) PullAndCreateContainer(opts docker.CreateContainerOptions, w io.Writer) (cont *docker.Container, hostAddr string, err error)
- func (c *ClusterClient) RemoveContainer(opts docker.RemoveContainerOptions) error
- func (sc *ClusterClient) SetContainerState(c *container.Container, state container.ContainerState) error
- func (c *ClusterClient) SetTimeout(time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
type ClusterClient struct { *cluster.Cluster Collection func() *storage.Collection Limiter provision.ActionLimiter PossibleNodes []string }
func (*ClusterClient) PullAndCreateContainer ¶
func (c *ClusterClient) PullAndCreateContainer(opts docker.CreateContainerOptions, w io.Writer) (cont *docker.Container, hostAddr string, err error)
func (*ClusterClient) RemoveContainer ¶
func (c *ClusterClient) RemoveContainer(opts docker.RemoveContainerOptions) error
func (*ClusterClient) SetContainerState ¶
func (sc *ClusterClient) SetContainerState(c *container.Container, state container.ContainerState) error
func (*ClusterClient) SetTimeout ¶
func (c *ClusterClient) SetTimeout(time.Duration)
Click to show internal directories.
Click to hide internal directories.