mock

package
v0.0.0-...-24a0e6e Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct{}

func (DockerClient) ContainerList

func (m DockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)

func (DockerClient) ContainerStop

func (m DockerClient) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error

type ErrorDockerClient

type ErrorDockerClient struct{}

func (ErrorDockerClient) ContainerList

func (m ErrorDockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)

func (ErrorDockerClient) ContainerStop

func (m ErrorDockerClient) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error

type NotEmptyDockerClient

type NotEmptyDockerClient struct{}

func (NotEmptyDockerClient) ContainerList

func (NotEmptyDockerClient) ContainerStop

func (m NotEmptyDockerClient) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error

Jump to

Keyboard shortcuts

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