Documentation ¶
Index ¶
- func Execute(cmd string, args []string, env []string, logger log.Logger) ([]byte, error)
- func ExecuteAs(cmd string, args []string, uid int, gid int, env []string, logger log.Logger) ([]byte, error)
- func ExecuteAsWithTimeout(cmd string, args []string, uid int, gid int, timeout int, env []string, ...) ([]byte, error)
- func ExecuteWithTimeout(cmd string, args []string, timeout int, env []string, logger log.Logger) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteAs ¶
func ExecuteAs(cmd string, args []string, uid int, gid int, env []string, logger log.Logger) ([]byte, error)
Execute command as a given UID and GID and return stdout/stderr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.