Documentation
¶
Index ¶
- Constants
- func NewGang(pgl schedulinglister.PodGroupLister, h framework.FrameworkHandle) framework.Plugin
- type Gang
- func (g *Gang) Name() string
- func (g *Gang) Permit(_ context.Context, cycleState *framework.CycleState, pod *corev1.Pod, _ string) (*framework.Status, time.Duration)
- func (g *Gang) PreFilter(_ context.Context, cycleState *framework.CycleState, pod *corev1.Pod) *framework.Status
- func (g *Gang) PreFilterExtensions() framework.PreFilterExtensions
- func (g *Gang) Skip(pod *corev1.Pod) bool
Constants ¶
View Source
const (
// Plugin name
Name = "Gang"
)
Variables ¶
This section is empty.
Functions ¶
func NewGang ¶
func NewGang(pgl schedulinglister.PodGroupLister, h framework.FrameworkHandle) framework.Plugin
Types ¶
type Gang ¶
type Gang struct { PodGroupLister schedulinglister.PodGroupLister Handle framework.FrameworkHandle }
func (*Gang) PreFilterExtensions ¶
func (g *Gang) PreFilterExtensions() framework.PreFilterExtensions
Click to show internal directories.
Click to hide internal directories.