This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Stream
Kowshik Prakasam and Pieter Noordhuis edited this page Feb 28, 2013
·
1 revision
Stream a job.
A stream request is followed by one or more stream responses.
A job is removed after it has completed and the terminating stream response was sent.
TODO Talk about nomenclature (what is a job).
-
handle
: Container handle. -
job_id
: Job ID.
-
name
: Name of stream (eitherstdout
orstderr
). -
data
: A chunk of data from the stream specified inname
. -
exit_status
: Exit status of the job. If set, this is the terminating response for the request.
- When
handle
does not refer to a container. - When
job_id
does not refer to a job.
package warden;
message StreamRequest {
required string handle = 1;
required uint32 job_id = 2;
}
message StreamResponse {
optional string name = 1;
optional string data = 2;
optional uint32 exit_status = 3;
}