Documentation ¶
Index ¶
- Constants
- func New(_ runtime.Object, handle framework.Handle) (framework.Plugin, error)
- type Fluence
- func (f *Fluence) AskFlux(ctx context.Context, pod *v1.Pod, count int) (string, error)
- func (f *Fluence) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, ...) *framework.Status
- func (f *Fluence) Less(podInfo1, podInfo2 *framework.QueuedPodInfo) bool
- func (f *Fluence) Name() string
- func (f *Fluence) PreFilter(ctx context.Context, state *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status)
- func (f *Fluence) PreFilterExtensions() framework.PreFilterExtensions
Constants ¶
View Source
const Name = "Fluence"
Name is the name of the plugin used in the Registry and configurations.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fluence ¶
type Fluence struct {
// contains filtered or unexported fields
}
func (*Fluence) Less ¶
func (f *Fluence) Less(podInfo1, podInfo2 *framework.QueuedPodInfo) bool
Less is used to sort pods in the scheduling queue in the following order. 1. Compare the priorities of Pods. 2. Compare the initialization timestamps of PodGroups or Pods. 3. Compare the keys of PodGroups/Pods: <namespace>/<podname>.
func (*Fluence) PreFilterExtensions ¶
func (f *Fluence) PreFilterExtensions() framework.PreFilterExtensions
Click to show internal directories.
Click to hide internal directories.