github.com/docker/cnab-to-oci@v0.3.0-beta4/internal/image_client.go (about) 1 package internal 2 3 import ( 4 "context" 5 "io" 6 7 "github.com/docker/docker/api/types" 8 ) 9 10 // ImageClient is a subset of Docker's ImageAPIClient interface with only what we are using for cnab-to-oci. 11 type ImageClient interface { 12 ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error) 13 ImageTag(ctx context.Context, image, ref string) error 14 }