func (f *FakeClient) ImageList(
	ctx context.Context,
	options dockertypes.ImageListOptions,
) ([]dockertypes.ImageSummary, error) {
	return f.ImageListF(ctx, options)
}
ImageList mocks Docker client ImageList().
package docker
import (
	"context"
	"io"
	"time"
	dockertypes "github.com/docker/docker/api/types"
	containertypes "github.com/docker/docker/api/types/container"
	networktypes "github.com/docker/docker/api/types/network"
	v1 "github.com/opencontainers/image-spec/specs-go/v1"
)
type FakeClient struct {
	ContainerCreateF func(
		ctx context.Context,
		config *containertypes.Config,
		hostConfig *containertypes.HostConfig,
		networkingConfig *networktypes.NetworkingConfig,
		platform *v1.Platform,
		containerName string,
	) (containertypes.ContainerCreateCreatedBody, error)
	ContainerStartF func(ctx context.Context, container string, options dockertypes.ContainerStartOptions) error
	ContainerStopF func(ctx context.Context, container string, timeout *time.Duration) error
	ContainerInspectF func(ctx context.Context, container string) (dockertypes.ContainerJSON, error)
	ContainerRemoveF func(ctx context.Context, container string, options dockertypes.ContainerRemoveOptions) error
	CopyFromContainerF func(
		ctx context.Context,
		container string,
		srcPath string,
	) (io.ReadCloser, dockertypes.ContainerPathStat, error)
	CopyToContainerF func(
		ctx context.Context,
		container,
		path string,
		content io.Reader,
		options dockertypes.CopyToContainerOptions,
	) error
	ContainerStatPathF func(ctx context.Context, container, path string) (dockertypes.ContainerPathStat, error)
	ImageListF func(ctx context.Context, options dockertypes.ImageListOptions) ([]dockertypes.ImageSummary, error)
	ImagePullF func(ctx context.Context, ref string, options dockertypes.ImagePullOptions) (io.ReadCloser, error)
}
func (f *FakeClient) ContainerCreate(
	ctx context.Context,
	config *containertypes.Config,
	hostConfig *containertypes.HostConfig,
	networkingConfig *networktypes.NetworkingConfig,
	platform *v1.Platform,
	containerName string,
) (containertypes.ContainerCreateCreatedBody, error) {
	return f.ContainerCreateF(ctx, config, hostConfig, networkingConfig, platform, containerName)
}
func (f *FakeClient) ContainerStart(
	ctx context.Context,
	container string,
	options dockertypes.ContainerStartOptions,
) error {
	return f.ContainerStartF(ctx, container, options)
}
func (f *FakeClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error {
	return f.ContainerStopF(ctx, container, timeout)
}
func (f *FakeClient) ContainerInspect(ctx context.Context, container string) (dockertypes.ContainerJSON, error) {
	return f.ContainerInspectF(ctx, container)
}
func (f *FakeClient) ContainerRemove(
	ctx context.Context,
	container string,
	options dockertypes.ContainerRemoveOptions,
) error {
	return f.ContainerRemoveF(ctx, container, options)
}
func (f *FakeClient) CopyFromContainer(
	ctx context.Context,
	container,
	srcPath string,
) (io.ReadCloser, dockertypes.ContainerPathStat, error) {
	return f.CopyFromContainerF(ctx, container, srcPath)
}
func (f *FakeClient) CopyToContainer(
	ctx context.Context,
	container,
	path string,
	content io.Reader,
	options dockertypes.CopyToContainerOptions,
) error {
	return f.CopyToContainerF(ctx, container, path, content, options)
}
func (f *FakeClient) ContainerStatPath(
	ctx context.Context,
	container,
	path string,
) (dockertypes.ContainerPathStat, error) {
	return f.ContainerStatPathF(ctx, container, path)
}