Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RankedTasks ¶ added in v0.4.0
func (RankedTasks) String ¶ added in v0.4.0
func (rankedTasks RankedTasks) String() string
String returns a beautified string representation of ranked tasks.
type Task ¶ added in v0.4.0
type Task struct { // TODO decide whether we can get rid of this field. Metric model.Metric // Weight assigned to the task that was the ranking criteria. Weight float64 // ID represents the unique identifier for the task (Optional). ID string // Hostname represents the name of the host on which the task was scheduled (Optional). Hostname string }
func (Task) GetHostname ¶ added in v0.4.0
GetHostname returns the name of the host on which the task was scheduled.
Click to show internal directories.
Click to hide internal directories.