Documentation ¶
Overview ¶
Package goverlayfs is a very simple library for creating an overlay filesystem mount.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverlayMount ¶
type OverlayMount struct {
// contains filtered or unexported fields
}
func New ¶
func New(upperPath, lowerPath, mergedPath, workdirPath string) *OverlayMount
func (*OverlayMount) Init ¶
func (o *OverlayMount) Init() (err error)
Init makes an overlayfs using the specified paths for upper, lower, merged, and workdir paths XXX: requires root/cap_sys_admin
func (*OverlayMount) Remove ¶
func (o *OverlayMount) Remove() error
Remove unmounts the overlay mount's directory
Click to show internal directories.
Click to hide internal directories.