Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchedWindowResizingCritToStrategy = map[SchedulingWindowResizingCriteria]SchedWindowResizingStrategy{
"fillNextOfferCycle": &fillNextOfferCycle{},
}
Functions ¶
This section is empty.
Types ¶
type SchedWindowResizingStrategy ¶
type SchedWindowResizingStrategy interface { // Apply the window resizing strategy and return the size of the scheduling window and the number tasks that // were traversed in the process. // The size of the scheduling window would correspond to the total number of // instances (flattened) that can be scheduled in the next offer cycle. // The number of tasks would correspond to number of different tasks (instances not included). Apply(func() interface{}) (int, int) }
Interface for a scheduling window resizing strategy.
type SchedulingWindowResizingCriteria ¶
type SchedulingWindowResizingCriteria string
Criteria for resizing the scheduling window.
Click to show internal directories.
Click to hide internal directories.