package
1.13.0-alpha.0
Repository: https://github.com/jsturtevant/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package equivalence defines Pod equivalence classes and the equivalence class cache.

# Functions

EqualPriorityMap is a prioritizer function that gives an equal weight of one to all nodes.
NewFIFO creates a FIFO object.
NewGenericScheduler creates a genericScheduler object.
NewHTTPExtender creates an HTTPExtender object.
NewPriorityQueue creates a PriorityQueue object.
NewSchedulingQueue initializes a new scheduling queue.
NominatedNodeName returns nominated node name of a Pod.
PrioritizeNodes prioritizes the nodes by running the individual priority functions in parallel.

# Constants

DefaultExtenderTimeout defines the default extender timeout in second.
NoNodeAvailableMsg is used to format message when no nodes available.

# Variables

ErrNoNodesAvailable is used to describe the error that no nodes available to schedule pods.

# Structs

FIFO is basically a simple wrapper around cache.FIFO to make it compatible with the SchedulingQueue interface.
FitError describes a fit error of a pod.
Heap is a producer/consumer queue that implements a heap data structure.
HTTPExtender implements the algorithm.SchedulerExtender interface.
PriorityQueue implements a scheduling queue.
UnschedulablePodsMap holds pods that cannot be scheduled.

# Interfaces

SchedulingQueue is an interface for a queue to store pods waiting to be scheduled.

# Type aliases

FailedPredicateMap declares a map[string][]algorithm.PredicateFailureReason type.
KeyFunc is a function type to get the key from an object.
LessFunc is a function type to compare two objects.