fake

package
v0.0.0-...-a7dc4af Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDocker

type FakeDocker struct {
	// contains filtered or unexported fields
}

FakeDocker implements DockerInterface

func NewFakeDocker

func NewFakeDocker() *FakeDocker

func (*FakeDocker) ClientVersion

func (f *FakeDocker) ClientVersion() string

func (*FakeDocker) ContainerCreate

func (f *FakeDocker) ContainerCreate(config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, containerName string) (container.ContainerCreateCreatedBody, error)

func (*FakeDocker) ContainerInspect

func (f *FakeDocker) ContainerInspect(containerID string) (dtypes.ContainerJSON, error)

func (*FakeDocker) ContainerList

func (f *FakeDocker) ContainerList(clo dtypes.ContainerListOptions) ([]dtypes.Container, error)

func (*FakeDocker) ContainerPause

func (f *FakeDocker) ContainerPause(containerID string) error

func (*FakeDocker) ContainerStart

func (f *FakeDocker) ContainerStart(containerID string, options dtypes.ContainerStartOptions) error

func (*FakeDocker) ContainerStop

func (f *FakeDocker) ContainerStop(containerID string, timeout *time.Duration) error

func (*FakeDocker) ContainerUnpause

func (f *FakeDocker) ContainerUnpause(containerID string) error

func (*FakeDocker) ImageList

func (*FakeDocker) ImagePull

func (f *FakeDocker) ImagePull(refStr string, options dtypes.ImagePullOptions) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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