Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Name path or program name to execute Name string `json:"name"` // Args arguments to send to the program/path Args []string `json:"args"` }
Command command used to invoke the job
type Job ¶
type Job struct { // ID unique identifier for the job ID string // Cmd command pipeline Cmd *exec.Cmd // Output output of the job Output []byte // Process details of the process spawned by the job Process *Process // StartTime start time of the job StartTime time.Time // EndTime end time of the job EndTime time.Time }
Job details of the job
type Process ¶
type Process struct { // PID process idententifier PID int `json:"pid"` // ExitCode exit code of the process ExitCode int `json:"exit_code"` // Status readable enum of the process status Status Status `json:"status"` }
Process details of the process spawned by the job
Click to show internal directories.
Click to hide internal directories.