Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveDeploymentErrorsByService ¶
ActiveDeploymentErrorsByService returns serviceID -> error text for services that have at least one slot where an error task is newer than the most recent running task (or where there is no running task for that slot).
Only errors within the last 5 minutes (relative to the newest task in the entire set) are considered, to avoid surfacing stale historical failures. When multiple slots error for the same service, the most recent error wins.
func LatestTasksByServiceKey ¶
LatestTasksByServiceKey returns the most relevant task per slot. Tasks that want to be running are preferred over terminal tasks; within the same tier the most recent task wins.
func TaskKeyForService ¶
TaskKeyForService returns a unique key for a task's slot within its service. For replicated services this is serviceID:slot, for global services serviceID:nodeID.
Types ¶
This section is empty.