schedulerplugins

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0, BSD-2-Clause, MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginName

func GetPluginName() string

Types

type KubeScheduler

type KubeScheduler struct {
	// contains filtered or unexported fields
}

func (*KubeScheduler) AddMetadataToChildResource added in v1.5.0

func (k *KubeScheduler) AddMetadataToChildResource(_ context.Context, parent metav1.Object, child metav1.Object, _ string)

AddMetadataToChildResource adds essential labels and annotations to the child resource. the scheduler needs these labels and annotations in order to do the scheduling properly

func (*KubeScheduler) DoBatchSchedulingOnSubmission

func (k *KubeScheduler) DoBatchSchedulingOnSubmission(ctx context.Context, object metav1.Object) error

func (*KubeScheduler) Name

func (k *KubeScheduler) Name() string

type KubeSchedulerFactory

type KubeSchedulerFactory struct{}

func (*KubeSchedulerFactory) AddToScheme

func (kf *KubeSchedulerFactory) AddToScheme(sche *runtime.Scheme)

func (*KubeSchedulerFactory) ConfigureReconciler

func (kf *KubeSchedulerFactory) ConfigureReconciler(b *builder.Builder) *builder.Builder

func (*KubeSchedulerFactory) New

Jump to

Keyboard shortcuts

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