package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-kubernetes.git
Documentation: pkg.go.dev

# Functions

Equal is used to check if two extenders are equal ignoring the client field, exported for testing.
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.