package
0.9.8
Repository: https://github.com/criyle/go-judge.git
Documentation: pkg.go.dev

# Constants

exit normally.
DJS.
FE.
internal error including: cgroup init failed, container failed, etc.
not initialized status (as error).
interactor signals error.
SPJ / interactor error.
MLE.
NZS.
OLE.
Defines run task Status result status.
SIG.
TLE.
Defines run task Status result status.

# Structs

Cmd defines instruction to run a program in container environment.
ExecveParam is parameters to run process inside environment.
Group defines the running instruction to run multiple exec in parallel restricted within cgroup.
Limit defines the process running resource limits.
Pipe defines the pipe between parallel Cmd.
PipeCollector can be used in Cmd.Files paramenter.
PipeIndex defines the index of cmd and the fd of the that cmd.
Result defines the running result for single Cmd.
Single defines the running instruction to run single exec in restricted within cgroup.
Usage defines the peak process resource usage.

# Interfaces

Environment defines the interface to access container execution environment.
EnvironmentPool implements pool of environments.
Process reference to the running process group.

# Type aliases

RunnerResult represent process finish result.
Size represent data size in bytes.
Status defines run task Status return status.