Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Layer ¶ added in v0.3.1
type Layer struct {
// contains filtered or unexported fields
}
Layer is the metadata surrounding an image layer.
func Unpack ¶ added in v0.3.1
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.