Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLogger ¶
type AccessLogger struct {
// contains filtered or unexported fields
}
func NewAccessLogger ¶
func NewAccessLogger(router http.Handler) *AccessLogger
func (*AccessLogger) ServeHTTP ¶
func (self *AccessLogger) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ExpansionVars ¶
ExpansionVars is a map of expansion variables for a project.
type HeartbeatResponse ¶
type HeartbeatResponse struct {
Abort bool `json:"abort,omitempty"`
}
HeartbeatResponse is sent by the API server in response to the agent's heartbeat message.
type MyWriter ¶
type MyWriter struct {
// contains filtered or unexported fields
}
func (*MyWriter) WriteHeader ¶
type ProcessTimeoutResponse ¶
type ProcessTimeoutResponse struct { Status string `json:"status"` LateProcesses interface{} `json:"late_mci_processes,omitempty"` }
Struct for reporting process timeouts
type TaskEndDetail ¶
type TaskEndDetail struct { Status string `bson:"status,omitempty" json:"status,omitempty"` Type string `bson:"type,omitempty" json:"type,omitempty"` Description string `bson:"desc,omitempty" json:"desc,omitempty"` TimedOut bool `bson:"timed_out,omitempty" json:"timed_out,omitempty"` }
TaskEndDetail contains data sent from the agent to the API server after each task run.
type TaskEndDetails ¶
type TaskEndResponse ¶
type TaskEndResponse struct { TaskId string `json:"task_id,omitempty"` TaskSecret string `json:"task_secret,omitempty"` Message string `json:"message,omitempty"` RunNext bool `json:"run_next,omitempty"` }
TaskEndResponse contains data sent by the API server to the agent - in response to a request with TaskEndDetail.
type TaskStartRequest ¶
type TaskStartRequest struct {
Pid string `json:"pid"`
}
TaskStartRequest holds information sent by the agent to the API server at the beginning of each task run.
Click to show internal directories.
Click to hide internal directories.