Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteMountMetaFile ¶
Types ¶
type MountType ¶
type MountType string
const ( // Plain unpacks all layers to same directory, override files with same filename // layers[0] ---> untar ---> dest // layers[1] ---> untar ---> dest // .... Plain MountType = "plain" )
type Mounter ¶
type Mounter interface { Mount(layers []string, workingDir, mergedDir string) error Umount(workingDir string) error GetType() MountType }
func NewMounter ¶
type RawMounter ¶
type RawMounter struct { }
func (*RawMounter) GetType ¶
func (m *RawMounter) GetType() MountType
func (*RawMounter) Mount ¶
func (m *RawMounter) Mount(layers []string, workingDir, mergedDir string) error
func (*RawMounter) Umount ¶
func (m *RawMounter) Umount(workingDir string) error
Click to show internal directories.
Click to hide internal directories.