Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsolationConfig ¶ added in v0.3.0
type IsolationConfig struct {
Cgroup *cgroupConfig.Cgroup
}
IsolationConfig has information about the isolation mechanism the executor uses to put resource constraints and isolation on the user process
type RecoverableError ¶ added in v0.3.1
RecoverableError wraps an error and marks whether it is recoverable and could be retried or it is fatal.
func NewRecoverableError ¶ added in v0.3.1
func NewRecoverableError(e error, recoverable bool) *RecoverableError
NewRecoverableError is used to wrap an error and mark it as recoverable or not.
func (*RecoverableError) Error ¶ added in v0.3.1
func (r *RecoverableError) Error() string
type WaitResult ¶
WaitResult stores the result of a Wait operation.
func NewWaitResult ¶
func NewWaitResult(code, signal int, err error) *WaitResult
func (*WaitResult) String ¶
func (r *WaitResult) String() string
func (*WaitResult) Successful ¶
func (r *WaitResult) Successful() bool
Click to show internal directories.
Click to hide internal directories.