Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image is many Layers
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
Layer is one unit of storage.
func Unpack ¶
Unpack unpacks an image into the temporary filesystem. Returns a list of paths for each layer. Information about the image itself is not written to disk; the tarballs are just dumped.
First return value is the order of the layers. Then, the directory of the files kept so it can be removed later. The dir will always be returned if possible; even when a later operation returns an error.
Click to show internal directories.
Click to hide internal directories.