Documentation ¶
Index ¶
Constants ¶
View Source
const InvalidGidValueErrorMessage = "Invalid 'gid' option (0, negative, or non-integer)"
View Source
const InvalidUidValueErrorMessage = "Invalid 'uid' option (0, negative, or non-integer)"
View Source
const MapfsDirectorySuffix = "_mapfs"
View Source
const MapfsMountTimeout = time.Minute * 5
View Source
const NobodyId = uint32(65534)
View Source
const UnknownId = uint32(4294967294)
Variables ¶
View Source
var PurgeTimeToSleep = time.Millisecond * 100
Functions ¶
func NewMapFsVolumeMountMask ¶
func NewMapFsVolumeMountMask() (vmo.MountOptsMask, error)
func NewMapfsMounter ¶
func NewMapfsMounter( invoker invoker.Invoker, osshim osshim.Os, syscallshim syscallshim.Syscall, ioutilshim ioutilshim.Ioutil, mountChecker mountchecker.MountChecker, fstype string, defaultOpts string, resolver IdResolver, mask vmo.MountOptsMask, mapfsPath string, ) volumedriver.Mounter
Types ¶
type IdResolver ¶
Click to show internal directories.
Click to hide internal directories.