Versions in this module Expand all Collapse all v0 v0.5.1 Mar 16, 2017 v0.5.0 Mar 6, 2017 Changes in this version + type Docker struct + func NewDocker(ctx context.Context, tty bool, logger *logger.Logger) (*Docker, error) + func (d *Docker) AddImage(image string) error + func (d *Docker) Fetch(config *config.Config, name string) (string, error) + func (d *Docker) Lookup(name string) (string, error) + func (d *Docker) MakeImage(config *config.Config) (string, error) + func (d *Docker) SetContext(ctx context.Context) + func (d *Docker) SetLayers(layers []string) + func (d *Docker) SetSkipLayers(ok bool) + type DockerImage struct + func NewDockerImage(context context.Context, imageConfig *ImageConfig) (*DockerImage, error) + func (d *DockerImage) CheckCache(cacheKey string) (bool, error) + func (d *DockerImage) Flatten(id string, size int64, tw io.Reader) error + func (d *DockerImage) GetCache() bool + func (d *DockerImage) ImageID() string + func (d *DockerImage) Save(filename, kind, tag string) error + func (d *DockerImage) SetContext(ctx context.Context) + func (d *DockerImage) Tag(tag string) error + func (d *DockerImage) UseCache(arg bool) + type Image interface + CheckCache func(string) (bool, error) + Flatten func(string, int64, io.Reader) error + GetCache func() bool + ImageID func() string + Save func(string, string, string) error + SetContext func(context.Context) + Tag func(string) error + UseCache func(bool) + type ImageConfig struct + Config *config.Config + Layers Layers + Logger *logger.Logger + UseCache bool + type Layers interface + AddImage func(string) error + Fetch func(*config.Config, string) (string, error) + Lookup func(string) (string, error) + MakeImage func(config *config.Config) (string, error) + SetContext func(ctx context.Context) + SetLayers func([]string) + SetSkipLayers func(bool)