Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveExecutable ¶
ResolveExecutable finds executable for a sandboxed agent process. When the sandbox hides the home directory and the executable lives there (for example under a Node version manager), it also returns the directory that must be mounted read-only so the executable and its runtime stay reachable.
Types ¶
type Command ¶
type Command struct {
Executable string
Args []string
Workdir string
Settings accesssettings.Settings
// Binds expose host paths at other paths inside the sandbox, read-write.
// They are applied after every grant, so they win over a grant that
// covers their target.
Binds []Bind
}
Command describes an executable that should run inside a sandbox profile.
Click to show internal directories.
Click to hide internal directories.