Documentation ¶
Index ¶
- type FakeDocker
- func (f *FakeDocker) ClientVersion() string
- func (f *FakeDocker) ContainerCreate(config *container.Config, hostConfig *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error)
- func (f *FakeDocker) ContainerInspect(containerID string) (dtypes.ContainerJSON, error)
- func (f *FakeDocker) ContainerList(clo dtypes.ContainerListOptions) ([]dtypes.Container, error)
- func (f *FakeDocker) ContainerPause(containerID string) error
- func (f *FakeDocker) ContainerStart(containerID string, options dtypes.ContainerStartOptions) error
- func (f *FakeDocker) ContainerStop(containerID string, timeout *time.Duration) error
- func (f *FakeDocker) ContainerUnpause(containerID string) error
- func (f *FakeDocker) ImageList(dtypes.ImageListOptions) ([]dtypes.ImageSummary, error)
- func (f *FakeDocker) ImagePull(refStr string, options dtypes.ImagePullOptions) (io.ReadCloser, error)
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 (f *FakeDocker) ImageList(dtypes.ImageListOptions) ([]dtypes.ImageSummary, error)
func (*FakeDocker) ImagePull ¶
func (f *FakeDocker) ImagePull(refStr string, options dtypes.ImagePullOptions) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.