Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPath = "PATH=/usr/local/bin:/usr/bin:/bin"
View Source
const DefaultRootPath = "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Variables ¶
This section is empty.
Functions ¶
func UnixEnvFor ¶
func WindowsEnvFor ¶
Types ¶
type EnvDeterminer ¶
type ProcBuilder ¶
type ProcBuilder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(envDeterminer EnvDeterminer, nonRootMaxCaps []string) *ProcBuilder
func (*ProcBuilder) BuildProcess ¶
func (p *ProcBuilder) BuildProcess(bndl goci.Bndl, spec garden.ProcessSpec, user *users.ExecUser) *specs.Process
Click to show internal directories.
Click to hide internal directories.