package
1.2.6
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Functions

FakeErrorNew returns a fake local client instance that can be used in unit tests to verify errors.
FakeNew returns a fake local client instance that can be used in unit tests.
FakeNewMockClient returns a fake local client instance that can be used in unit tests To regenerate the mock file, in the same directory as mock_client.go, run: 'mockgen -source=client.go -package=lclient DockerClient > /tmp/mock_client.go ; cp /tmp/mock_client.go ./mock_client.go'.
New creates a new instances of Docker client, with the minimum API version set to to the value of MinDockerAPIVersion.
NewMockDockerClient creates a new mock instance.

# Constants

MinDockerAPIVersion is the minimum Docker API version to use 1.30 corresponds to Docker 17.05, which should be sufficiently old enough.
MinDockerAPIVersion is the minimum Docker API version to use 1.30 corresponds to Docker 17.05, which should be sufficiently old enough to support most systems.
MinDockerAPIVersion is the minimum Docker API version to use 1.30 corresponds to Docker 17.05, which should be sufficiently old enough.
MinDockerAPIVersion is the minimum Docker API version to use 1.30 corresponds to Docker 17.05, which should be sufficiently old enough.

# Structs

Client is a collection of fields used for client configuration and interaction.
MockDockerClient is a mock of DockerClient interface.
MockDockerClientMockRecorder is the mock recorder for MockDockerClient.

# Interfaces

DockerClient requires functions called on the docker client package By abstracting these functions into an interface, it makes creating mock clients for unit testing much easier.