# Functions
FileToReader get a Reader from underlying file the reader need to be closed by caller explicitly.
NewFileCollector creates file output which will be collected through pipe.
NewFileInput creates file input which will be opened in read-only mode.
NewFileOpened creates file that contains already opened file and it will be closed.
NewFileReader creates File input which can be fully read before exec or piped into exec.
NewFileWriter create File which will be piped out from exec.
StringToStatus convert string to Status.
# Constants
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
FileError enums.
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.
CmdCopyOutFile defines the file to be copy out after cmd execution.
ExecveParam is parameters to run process inside environment.
FileCollector represent pipe output which will be collected through pipe.
FileError defines the location, file name and the detailed message for a failed file operation.
FileInput represent file input which will be opened in read-only mode.
FileOpened represent file that is already opened.
FileReader represent file input which can be fully read before exec or piped into exec.
FileWriter represent pipe output which will be piped out from exec.
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.
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.
File defines interface of envexec files.
Process reference to the running process group.
ReaderTTY will be asserts when File Reader is provided and TTY is enabled and then TTY will be called with pty file.
# Type aliases
FileErrorType defines the location that file operation fails.
NewStoreFile creates a new file in storage.
RunnerResult represent process finish result.
Size represent data size in bytes.
Status defines run task Status return status.