libcompose: github.com/docker/libcompose/docker/image Index | Files

package image

import "github.com/docker/libcompose/docker/image"

Index

Package Files

image.go

func Exists Uses

func Exists(ctx context.Context, clt client.ImageAPIClient, image string) (bool, error)

Exists return whether or not the service image already exists

func InspectImage Uses

func InspectImage(ctx context.Context, client client.ImageAPIClient, image string) (types.ImageInspect, error)

InspectImage inspect the specified image (can be a name, an id or a digest) with the specified client.

func PullImage Uses

func PullImage(ctx context.Context, client client.ImageAPIClient, serviceName string, authLookup auth.Lookup, image string) error

PullImage pulls the specified image (can be a name, an id or a digest) to the daemon store with the specified client.

func RemoveImage Uses

func RemoveImage(ctx context.Context, client client.ImageAPIClient, image string) error

RemoveImage removes the specified image (can be a name, an id or a digest) from the daemon store with the specified client.

Package image imports 14 packages (graph) and is imported by 5 packages. Updated 2017-11-02. Refresh now. Tools for package owners.