Versions in this module Expand all Collapse all v0 v0.5.0 Oct 9, 2017 Changes in this version + func CheckSameFile(f1name, f2name string) (bool, error) + func CheckTar(image string) bool + func CleanupImage(image Image) + func GetImageLayers(pathToImage string) []string + func GetSize(path string) int64 + func IsTar(path string) bool + func NewClient() (*client.Client, error) + func UnTar(filename string, target string) error + type CloudPrepper struct + Client *client.Client + Source string + func (p CloudPrepper) GetConfig() (ConfigSchema, error) + func (p CloudPrepper) GetFileSystem() (string, error) + func (p CloudPrepper) GetImage() (Image, error) + func (p CloudPrepper) GetSource() string + func (p CloudPrepper) Name() string + type ConfigObject struct + Env []string + type ConfigSchema struct + Config ConfigObject + History []ImageHistoryItem + type DaemonPrepper struct + Client *client.Client + Source string + func (p DaemonPrepper) GetConfig() (ConfigSchema, error) + func (p DaemonPrepper) GetFileSystem() (string, error) + func (p DaemonPrepper) GetHistory() []ImageHistoryItem + func (p DaemonPrepper) GetImage() (Image, error) + func (p DaemonPrepper) GetSource() string + func (p DaemonPrepper) Name() string + type Directory struct + Content []string + Root string + func GetDirectory(path string, deep bool) (Directory, error) + type DirectoryEntry struct + Name string + Size int64 + func CreateDirectoryEntries(root string, entryNames []string) (entries []DirectoryEntry) + func GetDirectoryEntries(d Directory) []DirectoryEntry + type Event struct + Error string + Progress string + ProgressDetail struct{ ... } + Status string + type Image struct + Config ConfigSchema + FSPath string + Source string + type ImageHistoryItem struct + CreatedBy string + type Prepper interface + GetConfig func() (ConfigSchema, error) + GetFileSystem func() (string, error) + GetImage func() (Image, error) + GetSource func() string + Name func() string + type TarPrepper struct + Client *client.Client + Source string + func (p TarPrepper) GetConfig() (ConfigSchema, error) + func (p TarPrepper) GetFileSystem() (string, error) + func (p TarPrepper) GetImage() (Image, error) + func (p TarPrepper) GetSource() string + func (p TarPrepper) Name() string