Documentation ¶
Index ¶
- func Cp(from, to string) error
- func DropCapabilities(keepCaps map[uint]bool) error
- func Execv(cmd string, args []string, env []string) error
- func ExistsDir(dir string) bool
- func ExistsFile(file string) bool
- func ForceUnmount(target string, flag int) (err error)
- func GetMountsByRoot(rootDir string) ([]string, error)
- func IsDirEmpty(dir string) (bool, error)
- func LookupGroup(id string) (int, error)
- func LookupUser(id string) (int, error)
- func Mknod(path string, mode uint32, dev int) error
- func Mounted(mountpoint string) (bool, error)
- func RunCmd(name string, arg ...string) error
- func SetGroup(id string) error
- func SetUser(id string) error
- func Setgid(id int) error
- func Setuid(id int) error
- func Symlink(oldname, newname string) error
- func UmountRoot(rootDir string) (err error)
- func Unmount(target string, flag int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropCapabilities ¶
func ExistsFile ¶
func ForceUnmount ¶
ForceUnmount will force an unmount of the target filesystem, regardless if it is mounted or not.
func GetMountsByRoot ¶
func IsDirEmpty ¶
func LookupGroup ¶
func LookupUser ¶
func UmountRoot ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.