Versions in this module Expand all Collapse all v0 v0.1.9 Feb 12, 2020 v0.1.8 Feb 12, 2020 Changes in this version type DockerAPI + func (api DockerAPI) CleanUp() error type Options + TmpPath string type Registry + func (r Registry) CleanUp() error type Source + CleanUp func() error v0.1.7 Jun 12, 2019 v0.1.6 Apr 9, 2019 v0.1.5 Apr 9, 2019 v0.1.4 Apr 9, 2019 v0.1.3 Apr 9, 2019 Changes in this version type Image + func (i Image) Extract(dir string, opts untar.Options) error + type Options struct + Extract untar.Options + RegistryPass string + RegistryURL string + RegistryUser string v0.1.2 Apr 5, 2019 v0.1.1 Mar 29, 2019 v0.1.0 Mar 12, 2019 Changes in this version + type Config struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + Domainname string + Entrypoint []string + Env []string + Hostname string + Image string + Labels map[string]string + OnBuild []string + OpenStdin bool + StdinOnce bool + Tty bool + User string + Volumes []string + WorkingDir string + type ContainerConfig struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + Domainname string + Entrypoint []string + Env []string + Hostname string + Image string + Labels map[string]string + OnBuild []string + OpenStdin bool + StdinOnce bool + Tty bool + User string + Volumes []string + WorkingDir string + type DockerAPI struct + func NewDockerAPI() (*DockerAPI, error) + func (api DockerAPI) Config(repository, tag string) ([]byte, error) + func (api DockerAPI) Exists(repository, tag string) bool + func (api DockerAPI) Find(repository, tag string) (string, error) + func (api DockerAPI) Image(repository, tag string) Image + func (api DockerAPI) ImageBlob(repository, tag string) (*ImageBlob, error) + func (api DockerAPI) LayerBlobs(repository, tag string) ([]io.Reader, error) + type History []struct + type Image struct + Repository string + Source Source + Tag string + func (i Image) Config() (*ImageConfig, error) + func (i Image) Exists() bool + func (i Image) LayerBlobs() ([]io.Reader, error) + func (i Image) Unpack(dir string) error + type ImageBlob struct + Blob io.ReadCloser + func (i *ImageBlob) Config() ([]byte, error) + func (i *ImageBlob) LayerBlobs() ([]io.Reader, error) + func (i *ImageBlob) Manifest() (Manifest, error) + type ImageConfig struct + Architecture string + Config Config + Container string + ContainerConfig ContainerConfig + Created time.Time + DockerVersion string + History History + OS string + Rootfs Rootfs + type Manifest struct + Config string + Layers []string + RepoTags []string + type Registry struct + Password string + URL string + Username string + func NewRegistry(url, username, password string) (*Registry, error) + func (r *Registry) Authorize() error + func (r Registry) Config(repository, tag string) ([]byte, error) + func (r Registry) Exists(repository, tag string) bool + func (r Registry) ExtractedBlob(repository string, digest digest.Digest) (io.Reader, error) + func (r Registry) Find(repository, tag string) error + func (r Registry) Image(repository, tag string) Image + func (r Registry) LayerBlobs(repository, tag string) ([]io.Reader, error) + func (r Registry) Layers(repository, tag string) ([]distribution.Descriptor, error) + func (r Registry) Manifest(repository, tag string) (*schema2.DeserializedManifest, error) + type Rootfs struct + DiffIds []string + Type string + type Source interface + Config func(repository, tag string) ([]byte, error) + Exists func(repository, tag string) bool + Image func(repository, tag string) Image + LayerBlobs func(repository, tag string) ([]io.Reader, error) + type Undocker struct + Err io.Writer + Out io.Writer + func (u Undocker) Config(c *cli.Context) error + func (u Undocker) Extract(c *cli.Context) error