schedulinggates

package
v1.30.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

Name of the plugin used in the plugin registry and configurations.

Variables

This section is empty.

Functions

func New

New initializes a new plugin and returns it.

Types

type SchedulingGates

type SchedulingGates struct{}

SchedulingGates checks if a Pod carries .spec.schedulingGates.

func (*SchedulingGates) EventsToRegister

func (pl *SchedulingGates) EventsToRegister() []framework.ClusterEventWithHint

EventsToRegister returns nil here to indicate that schedulingGates plugin is not interested in any event but its own update.

func (*SchedulingGates) Name

func (pl *SchedulingGates) Name() string

func (*SchedulingGates) PreEnqueue

func (pl *SchedulingGates) PreEnqueue(ctx context.Context, p *v1.Pod) *framework.Status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL