Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupCache ¶
func CleanupCache() error
CleanupCache removes all cached files and the cache directory
Types ¶
type Image ¶
Image represents a container image
func NewImage ¶
func NewImage(ref string, progress ProgressFunc) (*Image, bool, error)
NewImage creates a new Image instance from a reference
func (*Image) GetConfigWithColor ¶
GetConfigWithColor returns the image config with optional color
func (*Image) GetManifest ¶
GetManifest returns the image manifest
type Layer ¶
type Layer struct { DiffID string Size int64 Command string // contains filtered or unexported fields }
Layer represents an image layer
func (*Layer) InitializeLayer ¶
InitializeLayer prepares the layer filesystem with progress reporting
type ProgressFunc ¶
type ProgressFunc func(float64)
ProgressFunc is a callback function to report progress
Click to show internal directories.
Click to hide internal directories.