fs

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MergerFS               = "mergerfs"
	MergerFSFullName       = "fuse.mergerfs"
	MergerFSDefaultOptions = "category.create=mfs,moveonenospc=true,minfreespace=1M"

	MergerFSExtendedKeySource = "mergerfs.src" // corresponding value could be for example: /var/lib/casaos/files

)

Variables

View Source
var ExtensionMap map[string]Extension

Functions

func ExtendAll

func ExtendAll(m codegen.Mount) *codegen.Mount

func PostMountAll

func PostMountAll(m codegen.Mount) *codegen.Mount

func PreMountAll

func PreMountAll(m codegen.Mount) *codegen.Mount

Types

type Extension

type Extension interface {
	GetFSType() string
	GetFSTypeFull() string

	PreMount(m codegen.Mount) *codegen.Mount
	PostMount(m codegen.Mount) *codegen.Mount
	Extend(m codegen.Mount) *codegen.Mount
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL