Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HEARTBEAT_RATE = time.Second * 30
View Source
var LAST_HEARTBEAT_TIMEOUT = time.Minute * 5
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { ID string `json:"id,omitempty"` StartedAt time.Time `json:"startedAt,omitempty"` CPUPercent float64 `json:"cpuPercent,omitempty"` LastHeartbeatAt time.Time `json:"lastHeartbeatAt,omitempty"` Queue string `json:"queue,omitempty"` Status Status `json:"status,omitempty"` Hostname string `json:"hostname,omitempty"` TaskCount int `json:"taskCount"` }
Click to show internal directories.
Click to hide internal directories.