package discovery import ( "context" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/container" ) // DockerClient is the subset of the Docker SDK we depend on. // Defined as an interface so tests can supply a fake. type DockerClient interface { ContainerList(ctx context.Context, opts container.ListOptions) ([]types.Container, error) Ping(ctx context.Context) (types.Ping, error) }