Documentation ¶
Overview ¶
Package dockeriface contains an interface for go-dockerclient matching the subset used by the agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { AddEventListener(listener chan<- *docker.APIEvents) error CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error) ImportImage(opts docker.ImportImageOptions) error InspectContainer(id string) (*docker.Container, error) InspectImage(name string) (*docker.Image, error) ListContainers(opts docker.ListContainersOptions) ([]docker.APIContainers, error) Ping() error PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error RemoveContainer(opts docker.RemoveContainerOptions) error RemoveEventListener(listener chan *docker.APIEvents) error StartContainer(id string, hostConfig *docker.HostConfig) error StopContainer(id string, timeout uint) error Stats(opts docker.StatsOptions) error Version() (*docker.Env, error) RemoveImage(imageName string) error }
Client is an interface specifying the subset of github.com/fsouza/go-dockerclient.Client that the agent uses.
Click to show internal directories.
Click to hide internal directories.