Versions in this module Expand all Collapse all v0 v0.4.1 Nov 23, 2018 v0.4.0 Nov 22, 2018 Changes in this version + func Compress(files []*os.File, dest string) error + func GetTag(tag, name string) string + func NewClient() (*client.Client, error) + type ClientInterface interface + ImageBuild func(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) + ImageList func(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error) + ImagePull func(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error) + ImagePush func(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error) + ImageTag func(ctx context.Context, imageID, ref string) error + type Image struct + BuildFiles []string + Endpoint string + FromImage string + IdentityToken string + Labels map[string]string + ParenID string + Password string + RegistryToken string + ServerAddress string + Size string + Tag string + Tags []string + Username string + type ImageClient struct + Client ClientInterface + func NewImage(c ClientInterface) *ImageClient + func (i *ImageClient) BuildImage(image *Image) (*types.ImageBuildResponse, error) + func (i *ImageClient) GetImage(image *Image) (types.ImageSummary, error) + func (i *ImageClient) PullImage(image *Image) error + func (i *ImageClient) PushImage(image *Image) error + func (i *ImageClient) TagImage(image *Image, imageID string) error + type ImageInterface interface + PullImage func() error