Documentation
¶
Index ¶
- type OverlayManager
- func (om *OverlayManager) Cleanup() error
- func (om *OverlayManager) GetMergedDir() string
- func (om *OverlayManager) GetUpperDir() string
- func (om *OverlayManager) MountOverlay(lowerDir string) error
- func (om *OverlayManager) PrepareFiles(files map[string]string) error
- func (om *OverlayManager) Unmount() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverlayManager ¶
type OverlayManager struct {
// contains filtered or unexported fields
}
OverlayManager handles OverlayFS mounting operations
func NewOverlayManager ¶
func NewOverlayManager(baseDir string, log logger.Logger) (*OverlayManager, error)
NewOverlayManager creates a new overlay manager
func (*OverlayManager) Cleanup ¶
func (om *OverlayManager) Cleanup() error
Cleanup removes overlay directories
func (*OverlayManager) GetMergedDir ¶
func (om *OverlayManager) GetMergedDir() string
GetMergedDir returns the merged directory path
func (*OverlayManager) GetUpperDir ¶
func (om *OverlayManager) GetUpperDir() string
GetUpperDir returns the upper directory path
func (*OverlayManager) MountOverlay ¶
func (om *OverlayManager) MountOverlay(lowerDir string) error
MountOverlay creates an overlay mount
func (*OverlayManager) PrepareFiles ¶
func (om *OverlayManager) PrepareFiles(files map[string]string) error
PrepareFiles prepares files for overlay mounting
func (*OverlayManager) Unmount ¶
func (om *OverlayManager) Unmount() error
Unmount unmounts the overlay
Click to show internal directories.
Click to hide internal directories.