Versions in this module Expand all Collapse all v0 v0.1.1 Apr 18, 2023 Changes in this version + type Driver interface + CreateNetwork func(allocID string, hostname string) (*proto.NetworkSpec, bool, error) + DestroyNetwork func(spec *proto.NetworkSpec) error + DestroyTask func(taskID string, force bool) error + ExecTask func(taskID string, cmd []string) (*ExecTaskResult, error) + RecoverTask func(taskID string, task *proto.TaskHandle) error + StartTask func(task *Task) (*proto.TaskHandle, error) + StopTask func(taskID string, timeout time.Duration) error + WaitTask func(ctx context.Context, taskID string) (<-chan *proto.ExitResult, error) + type ExecTaskResult struct + ExitCode uint64 + Stderr []byte + Stdout []byte + type MountConfig struct + HostPath string + TaskPath string + type Task struct + AllocID string + Id string + Mounts []*MountConfig + Network *proto.NetworkSpec