Documentation
¶
Index ¶
- type Process
- func (p *Process) Attach(processIO garden.ProcessIO)
- func (p *Process) ID() uint32
- func (p *Process) Link()
- func (p *Process) SetTTY(tty garden.TTYSpec) error
- func (p *Process) Signal(s garden.Signal) error
- func (p *Process) Spawn(cmd *exec.Cmd, tty *garden.TTYSpec) (ready, active chan error)
- func (p *Process) Wait() (int, error)
- type ProcessTracker
- type Signaller
- type UnknownProcessError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func NewProcess ¶
func NewProcess( id uint32, containerPath string, runner command_runner.CommandRunner, signaller Signaller, ) *Process
type ProcessTracker ¶
type ProcessTracker interface { Run(processID uint32, cmd *exec.Cmd, io garden.ProcessIO, tty *garden.TTYSpec, signaller Signaller) (garden.Process, error) Attach(processID uint32, io garden.ProcessIO) (garden.Process, error) Restore(processID uint32, signaller Signaller) ActiveProcesses() []garden.Process }
func New ¶
func New(containerPath string, runner command_runner.CommandRunner) ProcessTracker
type UnknownProcessError ¶
type UnknownProcessError struct {
ProcessID uint32
}
func (UnknownProcessError) Error ¶
func (e UnknownProcessError) Error() string
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.