Documentation ¶
Index ¶
- type MsgSender
- type Process
- func (p *Process) Attach(processIO garden.ProcessIO)
- func (p *Process) ID() string
- func (p *Process) Link()
- func (p *Process) SetTTY(tty garden.TTYSpec) error
- func (p *Process) Signal(signal 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 SignalRequest
- 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 string, containerPath string, iodaemonBin string, runner command_runner.CommandRunner, signaller Signaller, ) *Process
type ProcessTracker ¶
type ProcessTracker interface { Run(processID string, cmd *exec.Cmd, io garden.ProcessIO, tty *garden.TTYSpec, signaller Signaller) (garden.Process, error) Attach(processID string, io garden.ProcessIO) (garden.Process, error) Restore(processID string, signaller Signaller) ActiveProcesses() []garden.Process }
func New ¶
func New(containerPath string, iodaemonBin string, runner command_runner.CommandRunner) ProcessTracker
type Signaller ¶
type Signaller interface {
Signal(*SignalRequest) error
}
type UnknownProcessError ¶
type UnknownProcessError struct {
ProcessID string
}
func (UnknownProcessError) Error ¶
func (e UnknownProcessError) Error() string
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.