Documentation ¶ Index ¶ func New(opt Opt, networkProviders map[pb.NetMode]network.Provider) (executor.Executor, error) type Opt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(opt Opt, networkProviders map[pb.NetMode]network.Provider) (executor.Executor, error) Types ¶ type Opt ¶ type Opt struct { // root directory Root string CommandCandidates []string // without root privileges (has nothing to do with Opt.Root directory) Rootless bool // DefaultCgroupParent is the cgroup-parent name for executor DefaultCgroupParent string } Source Files ¶ View all Source files executor.go Click to show internal directories. Click to hide internal directories.