Documentation ¶
Overview ¶
SchedProbPlugin decides based on the scheduler conflict probability based on current cluster state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SchedProbPlugin ¶
type SchedProbPlugin struct { Name string QueueName string // contains filtered or unexported fields }
func NewSchedProbPlugin ¶
func NewSchedProbPlugin(name, queueName string, threshold float64) *SchedProbPlugin
Creates a new SchedProbPlugin
func (*SchedProbPlugin) Compute ¶
func (plugin *SchedProbPlugin) Compute(_, noOfNodes, noOfSched float64) interfaces.ComputeResult
Compute processes the data and return a ComputeResult
Click to show internal directories.
Click to hide internal directories.