Documentation ¶
Index ¶
- type FakeDockerClient
- func (d *FakeDockerClient) AttachToContainer(opts docker.AttachToContainerOptions) error
- func (d *FakeDockerClient) CommitContainer(opts docker.CommitContainerOptions) (*docker.Image, error)
- func (d *FakeDockerClient) CopyFromContainer(opts docker.CopyFromContainerOptions) error
- func (d *FakeDockerClient) CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error)
- func (d *FakeDockerClient) InspectImage(name string) (*docker.Image, error)
- func (d *FakeDockerClient) PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error
- func (d *FakeDockerClient) RemoveContainer(opts docker.RemoveContainerOptions) error
- func (d *FakeDockerClient) RemoveImage(name string) error
- func (d *FakeDockerClient) StartContainer(id string, hostConfig *docker.HostConfig) error
- func (d *FakeDockerClient) WaitContainer(id string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDockerClient ¶
type FakeDockerClient struct { Image *docker.Image InspectImageResult []*docker.Image Container *docker.Container RemoveImageErr error InspectImageErr []error PullImageErr error CreateContainerErr error AttachToContainerErr error StartContainerErr error WaitContainerResult int WaitContainerErr error RemoveContainerErr error CommitContainerErr error CopyFromContainerErr error RemoveImageName string InspectImageName []string PullImageOpts docker.PullImageOptions PullImageAuth docker.AuthConfiguration CreateContainerOpts docker.CreateContainerOptions AttachToContainerOpts []docker.AttachToContainerOptions AttachToContainerSleep time.Duration StartContainerId string StartContainerHostConfig *docker.HostConfig WaitContainerId string RemoveContainerOpts docker.RemoveContainerOptions CommitContainerOpts docker.CommitContainerOptions CopyFromContainerOpts docker.CopyFromContainerOptions // contains filtered or unexported fields }
func (*FakeDockerClient) AttachToContainer ¶
func (d *FakeDockerClient) AttachToContainer(opts docker.AttachToContainerOptions) error
func (*FakeDockerClient) CommitContainer ¶
func (d *FakeDockerClient) CommitContainer(opts docker.CommitContainerOptions) (*docker.Image, error)
func (*FakeDockerClient) CopyFromContainer ¶
func (d *FakeDockerClient) CopyFromContainer(opts docker.CopyFromContainerOptions) error
func (*FakeDockerClient) CreateContainer ¶
func (d *FakeDockerClient) CreateContainer(opts docker.CreateContainerOptions) (*docker.Container, error)
func (*FakeDockerClient) InspectImage ¶
func (d *FakeDockerClient) InspectImage(name string) (*docker.Image, error)
func (*FakeDockerClient) PullImage ¶
func (d *FakeDockerClient) PullImage(opts docker.PullImageOptions, auth docker.AuthConfiguration) error
func (*FakeDockerClient) RemoveContainer ¶
func (d *FakeDockerClient) RemoveContainer(opts docker.RemoveContainerOptions) error
func (*FakeDockerClient) RemoveImage ¶
func (d *FakeDockerClient) RemoveImage(name string) error
func (*FakeDockerClient) StartContainer ¶
func (d *FakeDockerClient) StartContainer(id string, hostConfig *docker.HostConfig) error
func (*FakeDockerClient) WaitContainer ¶
func (d *FakeDockerClient) WaitContainer(id string) (int, error)
Click to show internal directories.
Click to hide internal directories.