Lines Matching defs:Launcher
17 type Launcher struct { struct
18 path string
19 args []string
20 env []string
22 callbackFn func(pa *syscall.ProcAttr, data interface{}) error
24 changeUIDs bool
25 uid int
27 changeGIDs bool
28 gid int
29 groups []int
31 changeMode bool
32 mode Mode
34 iab *IAB
36 chroot string
57 func (attr *Launcher) Callback(fn func(*syscall.ProcAttr, interface{}) error) {
62 func (attr *Launcher) SetUID(uid int) {
69 func (attr *Launcher) SetGroups(gid int, groups []int) {
76 func (attr *Launcher) SetMode(mode Mode) {
84 func (attr *Launcher) SetIAB(iab *IAB) {
90 func (attr *Launcher) SetChroot(root string) {
132 func launch(result chan<- lResult, attr *Launcher, data interface{}, quit chan<- struct{}) {
228 func (attr *Launcher) Launch(data interface{}) (int, error) {