Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultP2Exec = "/usr/local/bin/p2-exec"
DefaultP2Exec is the path to the default p2-exec binary. Specified as a var so you can override at build time.
Functions ¶
This section is empty.
Types ¶
type P2ExecArgs ¶
type P2ExecArgs struct { User string EnvDirs []string ExtraEnv map[string]string NoLimits bool PodID *types.PodID CgroupName string CgroupConfigName string Command []string WorkDir string RequireFile string ClearEnv bool }
Struct that can be used to build an invocation of p2-exec with any applicable flags
func (P2ExecArgs) CommandLine ¶
func (args P2ExecArgs) CommandLine() []string
Click to show internal directories.
Click to hide internal directories.