func (mock *DockerClientMock) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error) {
	if mock.ImagePullFunc == nil {
		panic("DockerClientMock.ImagePullFunc: method is nil but DockerClient.ImagePull was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		RefStr  string
		Options types.ImagePullOptions
	}{
		Ctx:     ctx,
		RefStr:  refStr,
		Options: options,
	}
	lockDockerClientMockImagePull.Lock()
	mock.calls.ImagePull = append(mock.calls.ImagePull, callInfo)
	lockDockerClientMockImagePull.Unlock()
	return mock.ImagePullFunc(ctx, refStr, options)
}
ImagePull calls ImagePullFunc.
package mocks
import (
	"context"
	"github.com/docker/docker/api/types"
	"github.com/swisscom/korp/docker_utils"
	"io"
	"sync"
)
var (
	lockDockerClientMockClose         sync.RWMutex
	lockDockerClientMockContainerList sync.RWMutex
	lockDockerClientMockImagePull     sync.RWMutex
	lockDockerClientMockImagePush     sync.RWMutex
	lockDockerClientMockImageTag      sync.RWMutex
)
var _ docker_utils.DockerClient = &DockerClientMock{}
type DockerClientMock struct {
	CloseFunc func() error
	ContainerListFunc func(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
	ImagePullFunc func(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error)
	ImagePushFunc func(ctx context.Context, image string, options types.ImagePushOptions) (io.ReadCloser, error)
	ImageTagFunc func(ctx context.Context, source string, target string) error
	calls struct {
		Close []struct {
		}
		ContainerList []struct {
			Ctx context.Context
			Options types.ContainerListOptions
		}
		ImagePull []struct {
			Ctx context.Context
			RefStr string
			Options types.ImagePullOptions
		}
		ImagePush []struct {
			Ctx context.Context
			Image string
			Options types.ImagePushOptions
		}
		ImageTag []struct {
			Ctx context.Context
			Source string
			Target string
		}
	}
}
func (mock *DockerClientMock) Close() error {
	if mock.CloseFunc == nil {
		panic("DockerClientMock.CloseFunc: method is nil but DockerClient.Close was just called")
	}
	callInfo := struct {
	}{}
	lockDockerClientMockClose.Lock()
	mock.calls.Close = append(mock.calls.Close, callInfo)
	lockDockerClientMockClose.Unlock()
	return mock.CloseFunc()
}
func (mock *DockerClientMock) CloseCalls() []struct {
} {
	var calls []struct {
	}
	lockDockerClientMockClose.RLock()
	calls = mock.calls.Close
	lockDockerClientMockClose.RUnlock()
	return calls
}
func (mock *DockerClientMock) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) {
	if mock.ContainerListFunc == nil {
		panic("DockerClientMock.ContainerListFunc: method is nil but DockerClient.ContainerList was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Options types.ContainerListOptions
	}{
		Ctx:     ctx,
		Options: options,
	}
	lockDockerClientMockContainerList.Lock()
	mock.calls.ContainerList = append(mock.calls.ContainerList, callInfo)
	lockDockerClientMockContainerList.Unlock()
	return mock.ContainerListFunc(ctx, options)
}
func (mock *DockerClientMock) ContainerListCalls() []struct {
	Ctx     context.Context
	Options types.ContainerListOptions
} {
	var calls []struct {
		Ctx     context.Context
		Options types.ContainerListOptions
	}
	lockDockerClientMockContainerList.RLock()
	calls = mock.calls.ContainerList
	lockDockerClientMockContainerList.RUnlock()
	return calls
}