package schedulinggates
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/schedulinggates"
Index ¶
- Constants
- func New(_ context.Context, _ runtime.Object, _ framework.Handle, fts feature.Features) (framework.Plugin, error)
- type SchedulingGates
Constants ¶
const Name = names.SchedulingGates
Name of the plugin used in the plugin registry and configurations.
Functions ¶
func New ¶
func New(_ context.Context, _ runtime.Object, _ framework.Handle, fts feature.Features) (framework.Plugin, error)
New initializes a new plugin and returns it.
Types ¶
type SchedulingGates ¶
type SchedulingGates struct {
// contains filtered or unexported fields
}
SchedulingGates checks if a Pod carries .spec.schedulingGates.
func (*SchedulingGates) EventsToRegister ¶
func (pl *SchedulingGates) EventsToRegister(_ context.Context) ([]framework.ClusterEventWithHint, error)
EventsToRegister returns the possible events that may make a Pod failed by this plugin schedulable.
func (*SchedulingGates) Name ¶
func (pl *SchedulingGates) Name() string
func (*SchedulingGates) PreEnqueue ¶
Source Files ¶
scheduling_gates.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 3 hours ago –
Tools for package owners.