Documentation
¶
Index ¶
- Constants
- type ProcessTracker
- type RunRunc
- func (r *RunRunc) Exec(id string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
- func (r *RunRunc) Kill(bundlePath string) error
- func (r *RunRunc) Start(bundlePath, id string, io garden.ProcessIO) (garden.Process, error)
- func (r RunRunc) WithLogSession(sess log.ChainLogger) *RunRunc
- type RuncBinary
- type UidGenerator
Constants ¶
View Source
const DefaultPath = "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessTracker ¶
type RunRunc ¶
type RunRunc struct {
// contains filtered or unexported fields
}
da doo
func New ¶
func New(tracker ProcessTracker, runner command_runner.CommandRunner, pidgen UidGenerator, runc RuncBinary) *RunRunc
func (*RunRunc) Exec ¶
func (r *RunRunc) Exec(id string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)
Exec a process in a bundle using 'runc exec'
func (RunRunc) WithLogSession ¶
func (r RunRunc) WithLogSession(sess log.ChainLogger) *RunRunc
type RuncBinary ¶
type UidGenerator ¶
type UidGenerator interface {
Generate() string
}