package
0.0.0-20241125151401-e66715b925b4
Repository: https://github.com/zenoss/serviced.git
Documentation: pkg.go.dev
# Functions
Mount attempts to mount the nfsPath to the localPath.
NewServer returns a nfs.Server object that manages the given nfs mounts to configured clients; basePath is the path for volumes, exportedName is the container dir to hold exported volumes.
Unmount attempts to unmount the localPath.
# Variables
ErrBasePathNotDir is returned when the base path is not a directory.
ErrInvalidBasePath is returned when the local path to export is invalid.
ErrInvalidExportedName is returned when an exported name is not a valid single directory name.
ErrInvalidNetwork is returned when the network specifier does not parse in CIDR format.
ErrMalformedNFSMountpoint is returned when the nfs mountpoint string is malformed.
ErrNfsMountingUnsupported is returned when the mount.nfs4 binary is not found.
# Interfaces
No description provided by the author
Refine facade.DfsValidator to avoid circular dependencies.