Documentation
¶
Index ¶
- func Chroot(rootDir string) error
- 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 ForceMount(device, target, mType, options string) error
- func IsDirEmpty(dir string) bool
- func IsSymlink(file string) bool
- func LookupGroup(id string) (int, error)
- func LookupUser(id string) (int, error)
- func Mknod(path string, mode uint32, dev int) error
- func MountIfNotMounted(device, target, mType, options string) error
- func RunCmd(name string, arg ...string) error
- func Setgid(gid int) (err error)
- func Setuid(uid int) (err error)
- func Symlink(oldname, newname string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropCapabilities ¶
func ExistsFile ¶
func ForceMount ¶ added in v0.5.0
func IsDirEmpty ¶
func LookupGroup ¶
func LookupUser ¶
func MountIfNotMounted ¶ added in v0.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.