package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev
# Functions
EqualPriorityMap is a prioritizer function that gives an equal weight of one to all nodes.
NewGenericScheduler creates a genericScheduler object.
NewHTTPExtender creates an HTTPExtender object.
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
FitError describes a fit error of a pod.
HTTPExtender implements the algorithm.SchedulerExtender interface.
ScheduleResult represents the result of one pod scheduled.
# Interfaces
ScheduleAlgorithm is an interface implemented by things that know how to schedule pods onto machines.
# Type aliases
FailedPredicateMap declares a map[string][]algorithm.PredicateFailureReason type.