Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface { // Mount merged layer files Mount(target string, upperDir string, layers ...string) error Unmount(target string) error }
func NewMountDriver ¶
func NewMountDriver() Interface
type Overlay2 ¶
type Overlay2 struct { }
type Service ¶
type Service interface { TempMount() error TempUMount() error CleanUp() GetMountTarget() string GetMountUpper() string GetLowLayers() []string }
func NewMountService ¶
NewMountService will create temp dir if target or upper is nil. it is convenient for use in build stage
func NewMountServiceByTarget ¶
NewMountServiceByTarget will filter file system by target,if not existed,return false.
Click to show internal directories.
Click to hide internal directories.