package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

As converts two objects to the given type.
ClearNominatedNodeName internally submit a patch request to API server to set each pods[*].Status.NominatedNodeName> to "".
DeletePod deletes the given <pod> from API server.
GetEarliestPodStartTime returns the earliest start time of all pods that have the highest priority among all victims.
GetPodFullName returns a name that uniquely identifies a pod.
GetPodStartTime returns start time of the given pod or current timestamp if it hasn't started yet.
IsScalarResourceName validates the resource for Extended, Hugepages, Native and AttachableVolume resources.
MoreImportantPod return true when priority of the first pod is higher than the second one.
PatchPodStatus calculates the delta bytes change from <old.Status> to <newStatus>, and then submit a request to API server to patch the pod changes.
Retriable defines the retriable errors during a scheduling cycle.

# Constants