package
0.0.0-20190319231021-e6272b887b81
Repository: https://github.com/marun/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package algorithm contains a generic Scheduler interface and several implementations.
No description provided by the author
Package api contains scheduler API objects.
No description provided by the author
No description provided by the author
Package factory can set up a scheduler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddAllEventHandlers is a helper function used in tests and in Scheduler to add event handlers for various informers.
New returns a Scheduler.
NewFromConfig returns a new scheduler using the provided Config.
WithBindTimeoutSeconds sets bindTimeoutSeconds for Scheduler, the default value is 100.
WithHardPodAffinitySymmetricWeight sets hardPodAffinitySymmetricWeight for Scheduler, the default value is 1.
WithName sets schedulerName for Scheduler, the default schedulerName is default-scheduler.
WithPercentageOfNodesToScore sets percentageOfNodesToScore for Scheduler, the default value is 50.
WithPreemptionDisabled sets disablePreemption for Scheduler, the default value is false.

# Constants

BindTimeoutSeconds defines the default bind timeout.
SchedulerError is the reason recorded for events when an error occurs during scheduling a pod.

# Structs

EmptyPluginSet is the default plugin registrar used by the default scheduler.
FakeConfigurator is an implementation for test.
Scheduler watches for new unscheduled pods.

# Type aliases

Option configures a Scheduler.