Documentation
¶
Index ¶
- Variables
- func CheckContainerMounts(workspace, state string, writable bool) error
- func Configure(cmd *exec.Cmd)
- func ReadCompletion(path, token string) error
- func RunContainerWorkload(ctx context.Context, path, token string, argv []string) (int, error)
- func Supervise(*exec.Cmd) (func(), error)
- func SuperviseWithCleanup(cmd *exec.Cmd, _ []string) (func(), error)
- func SuperviseWithOptions(cmd *exec.Cmd, _ SupervisionOptions) (func(), error)
- type Completion
- type SupervisionOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCleanup = errors.New("execution cleanup could not be confirmed")
ErrCleanup means execution cleanup was not confirmed. It must remain visible even when a cancellation also occurred; callers must suspend further turns.
Functions ¶
func CheckContainerMounts ¶
func ReadCompletion ¶
func RunContainerWorkload ¶
RunContainerWorkload requires a changing controller lifetime record before effects. A frozen record cannot start work after VM/runtime recovery. While running, the monotonic local deadline avoids host/VM wall-clock assumptions.
func SuperviseWithOptions ¶
func SuperviseWithOptions(cmd *exec.Cmd, _ SupervisionOptions) (func(), error)
Types ¶
type Completion ¶
Click to show internal directories.
Click to hide internal directories.