clusterclient

package
v0.0.0-...-9f1a7a8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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