Versions in this module Expand all Collapse all v0 v0.4.8 Oct 17, 2016 v0.4.7 Oct 17, 2016 v0.4.6 Aug 5, 2016 v0.4.5 May 10, 2016 v0.4.4 Mar 18, 2016 v0.4.3 Mar 17, 2016 v0.4.2 Mar 17, 2016 v0.4.1 Mar 16, 2016 Changes in this version + type Config struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + CpuShares int64 + Dns []string + Domainname string + Entrypoint []string + Env []string + ExposedPorts map[Port]struct{} + Hostname string + Image string + Labels map[string]string + Memory int64 + MemorySwap int64 + NetworkDisabled bool + OnBuild []string + OpenStdin bool + PortSpecs []string + StdinOnce bool + Tty bool + User string + Volumes map[string]struct{} + VolumesFrom string + WorkingDir string + type ContainerConfig struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + CpuShares int64 + Dns []string + Domainname string + Entrypoint []string + Env []string + Hostname string + Image string + Labels map[string]string + Memory int64 + MemorySwap int64 + NetworkDisabled bool + OnBuild []string + OpenStdin bool + PortSpecs []string + StdinOnce bool + Tty bool + User string + Volumes map[string]struct{} + VolumesFrom string + type Export struct + Entries map[string]*ExportedImage + Path string + Repositories map[string]*TagInfo + func LoadExport(conf *configuration.Config, image, location string) (*Export, error) + func (e *Export) ChildOf(parent string) *ExportedImage + func (e *Export) Extract(r io.Reader) error + func (e *Export) ExtractLayers() error + func (e *Export) FirstFrom() *ExportedImage + func (e *Export) FirstSquash() *ExportedImage + func (e *Export) GetById(idPrefix string) (*ExportedImage, error) + func (e *Export) InsertLayer(parent string) (*ExportedImage, error) + func (e *Export) LastChild() *ExportedImage + func (e *Export) PrintHistory() + func (e *Export) RemoveExtractedLayers() error + func (e *Export) ReplaceLayer(oldId string) (*ExportedImage, error) + func (e *Export) Root() *ExportedImage + func (e *Export) SquashLayers(to, from *ExportedImage) error + func (e *Export) TarLayers(w io.Writer) error + func (e *Export) WriteRepositoriesJson() error + type ExportedImage struct + JsonPath string + LayerConfig *LayerConfig + LayerDirPath string + LayerTarPath string + Path string + VersionPath string + func (e *ExportedImage) CreateDirs() error + func (e *ExportedImage) ExtractLayerDir() error + func (e *ExportedImage) RemoveLayerDir() error + func (e *ExportedImage) TarLayer() error + func (e *ExportedImage) WriteJson() error + func (e *ExportedImage) WriteVersion() error + type LayerConfig struct + Architecture string + Comment string + Config *Config + Container string + Created time.Time + DockerVersion string + Id string + Parent string + V1ContainerConfig *ContainerConfig + V2ContainerConfig *ContainerConfig + func (l *LayerConfig) ContainerConfig() *ContainerConfig + type Port string + func (p Port) Port() string + func (p Port) Proto() string + type Squasher struct + Conf *configuration.Config + func (s *Squasher) Squash(input string, output string, tag string) error + type TagInfo map[string]string