Documentation ¶
Index ¶
- type FakeClient
- func (c *FakeClient) BuildImage(opts docker.BuildImageOptions) error
- func (c *FakeClient) CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error)
- func (c *FakeClient) CreateNetwork(opts docker.CreateNetworkOptions) (*docker.Network, error)
- func (c *FakeClient) InspectContainer(id string) (*docker.Container, error)
- func (c *FakeClient) InspectImage(name string) (*docker.Image, error)
- func (c *FakeClient) ListContainers(opts docker.ListContainersOptions) ([]docker.APIContainers, error)
- func (c *FakeClient) ListImages(opts docker.ListImagesOptions) ([]docker.APIImages, error)
- func (c *FakeClient) ListNetworks() ([]docker.Network, error)
- func (c *FakeClient) Logs(opts docker.LogsOptions) error
- func (c *FakeClient) PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error
- func (c *FakeClient) RemoveContainer(opts docker.RemoveContainerOptions) error
- func (c *FakeClient) StartContainer(id string, hostConfig *docker.HostConfig) error
- func (c *FakeClient) StopContainer(id string, timeout uint) error
- func (c *FakeClient) WaitContainer(id string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { }
func (*FakeClient) BuildImage ¶
func (c *FakeClient) BuildImage(opts docker.BuildImageOptions) error
func (*FakeClient) CreateContainer ¶
func (c *FakeClient) CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error)
func (*FakeClient) CreateNetwork ¶
func (c *FakeClient) CreateNetwork(opts docker.CreateNetworkOptions) (*docker.Network, error)
func (*FakeClient) InspectContainer ¶
func (c *FakeClient) InspectContainer(id string) (*docker.Container, error)
func (*FakeClient) InspectImage ¶
func (c *FakeClient) InspectImage(name string) (*docker.Image, error)
func (*FakeClient) ListContainers ¶
func (c *FakeClient) ListContainers(opts docker.ListContainersOptions) ([]docker.APIContainers, error)
func (*FakeClient) ListImages ¶
func (c *FakeClient) ListImages(opts docker.ListImagesOptions) ([]docker.APIImages, error)
func (*FakeClient) ListNetworks ¶
func (c *FakeClient) ListNetworks() ([]docker.Network, error)
func (*FakeClient) Logs ¶
func (c *FakeClient) Logs(opts docker.LogsOptions) error
func (*FakeClient) PullImage ¶
func (c *FakeClient) PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error
func (*FakeClient) RemoveContainer ¶
func (c *FakeClient) RemoveContainer(opts docker.RemoveContainerOptions) error
func (*FakeClient) StartContainer ¶
func (c *FakeClient) StartContainer(id string, hostConfig *docker.HostConfig) error
func (*FakeClient) StopContainer ¶
func (c *FakeClient) StopContainer(id string, timeout uint) error
func (*FakeClient) WaitContainer ¶
func (c *FakeClient) WaitContainer(id string) (int, error)
Click to show internal directories.
Click to hide internal directories.