package
1.11.0-alpha.1
Repository: https://github.com/mjudeikis/kubernetes.git
Documentation: pkg.go.dev

# Functions

EqualPriorityMap is a prioritizer function that gives an equal weight of one to all nodes.
NewEquivalenceCache creates a EquivalenceCache object.
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

The AlgorithmCache stores PredicateMap with predicate name as key.
EquivalenceCache holds: 1.
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.
HostPredicate is the cached predicate result.
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.
PredicateMap stores HostPrediacte with equivalence hash as key.