func (n *NoOpDockerClient) Inspect(image string) (types.ImageInspect, error) {
	n.Calls["Inspect"] = []interface{}{image}
	return types.ImageInspect{Config: &container.Config{Labels: n.ImageInspectLabels}, ContainerConfig: &container.Config{Labels: n.ImageInspectLabels}}, nil
}
Inspect is a mock implementation of Inspect method from dockerClient.Client interface
package mock
import (
	"io"
	"text/template"
	"github.com/docker/distribution"
	"github.com/docker/distribution/context"
	"github.com/docker/distribution/digest"
	ref "github.com/docker/distribution/reference"
	"github.com/docker/distribution/registry/client"
	"github.com/docker/docker/reference"
	"github.com/docker/engine-api/types"
	"github.com/docker/engine-api/types/container"
	"github.com/nhurel/dim/lib"
)
type NoOpRegistryClient struct {
	client.Registry
	RepositoriesFn    func(repos []string, last string) (int, error)
	WalkRepoitoriesFn func() <-chan dim.Repository
	NewRepositoryFn   func(parsedName reference.Named) (dim.Repository, error)
}
func (r *NoOpRegistryClient) Repositories(ctx context.Context, repos []string, last string) (int, error) {
	return r.RepositoriesFn(repos, last)
}
func (r *NoOpRegistryClient) NewRepository(parsedName reference.Named) (dim.Repository, error) {
	return r.NewRepositoryFn(parsedName)
}
func (r *NoOpRegistryClient) Search(query, advanced string, offset, numResults int) (*dim.SearchResults, error) {
	return nil, nil
}
func (r *NoOpRegistryClient) WalkRepositories() <-chan dim.Repository {
	return r.WalkRepoitoriesFn()
}
func (r *NoOpRegistryClient) PrintImageInfo(w io.Writer, parsedName reference.Named, tpl *template.Template) error {
	return nil
}
func (r *NoOpRegistryClient) DeleteImage(parsedName reference.Named) error {
	return nil
}
func (r *NoOpRegistryClient) ServerVersion() (*dim.Info, error) {
	return nil, nil
}
type NoOpRegistryRepository struct {
	distribution.Repository
	Name                string
	AllTagsFn           func() ([]string, error)
	ImageFn             func(tag string) (*dim.RegistryImage, error)
	ImageFromManifestFn func(tagDigest digest.Digest, digest string) (img *dim.RegistryImage, err error)
	WalkImagesFn        func() <-chan *dim.RegistryImage
	NamedFn             func() ref.Named
}
func (r *NoOpRegistryRepository) AllTags() ([]string, error) {
	return r.AllTagsFn()
}
func (r *NoOpRegistryRepository) Image(tag string) (*dim.RegistryImage, error) {
	return r.ImageFn(tag)
}
func (r *NoOpRegistryRepository) ImageFromManifest(tagDigest digest.Digest, digest string) (*dim.RegistryImage, error) {
	return r.ImageFromManifestFn(tagDigest, digest)
}
func (r *NoOpRegistryRepository) DeleteImage(tag string) error {
	return nil
}
func (r *NoOpRegistryRepository) WalkImages() <-chan *dim.RegistryImage {
	return r.WalkImagesFn()
}
func (r *NoOpRegistryRepository) Named() ref.Named {
	return r.NamedFn()
}
type NoOpRegistryIndex struct {
	Calls map[string][]interface{}
}
func (i *NoOpRegistryIndex) Build() <-chan bool {
	i.Calls["Build"] = nil
	return nil
}
func (i *NoOpRegistryIndex) GetImage(repository, tag string, dg digest.Digest) (*dim.IndexImage, error) {
	i.Calls["GetImageAndIndex"] = []interface{}{repository, tag, dg}
	return nil, nil
}
func (i *NoOpRegistryIndex) IndexImage(image *dim.IndexImage) {
	i.Calls["IndexImage"] = []interface{}{image}
}
func (i *NoOpRegistryIndex) DeleteImage(id string) {
	i.Calls["DeleteImage"] = []interface{}{id}
}
func (i *NoOpRegistryIndex) SearchImages(q, a string, fields []string, offset, maxResults int) (*dim.IndexResults, error) {
	i.Calls["SearchImages"] = []interface{}{q, a, fields, offset, maxResults}
	return nil, nil
}
func (i *NoOpRegistryIndex) Submit(job *dim.NotificationJob) {
	i.Calls["Submit"] = []interface{}{job}
}
func (i *NoOpRegistryIndex) FindImage(id string) (*dim.IndexImage, error) {
	i.Calls["FindImage"] = []interface{}{id}
	return nil, nil
}
type NoOpDockerClient struct {
	ImageInspectLabels map[string]string
	Calls              map[string][]interface{}
}
func (n *NoOpDockerClient) ImageBuild(parent string, buildLabels map[string]string, tag string) error {
	n.Calls["ImageBuild"] = []interface{}{parent, buildLabels, tag}
	return nil
}
func (n *NoOpDockerClient) Pull(image string) error {
	n.Calls["Pull"] = []interface{}{image}
	return nil
}