kubernetes/pkg/scheduler/framework/events.go

const ScheduleAttemptFailure

const BackoffComplete

const ForceActivate

var EventAssignedPodAdd

var EventAssignedPodUpdate

var EventAssignedPodDelete

var EventUnscheduledPodAdd

var EventUnscheduledPodUpdate

var EventUnscheduledPodDelete

var EventUnschedulableTimeout

// PodSchedulingPropertiesChange interprets the update of a pod and returns corresponding UpdatePodXYZ event(s).
// Once we have other pod update events, we should update here as well.
func PodSchedulingPropertiesChange(newPod *v1.Pod, oldPod *v1.Pod) (events []ClusterEvent) {}

type podChangeExtractor

// extractPodScaleDown interprets the update of a pod and returns PodRequestScaledDown event if any pod's resource request(s) is scaled down.
func extractPodScaleDown(newPod, oldPod *v1.Pod) ActionType {}

func extractPodLabelsChange(newPod *v1.Pod, oldPod *v1.Pod) ActionType {}

func extractPodTolerationChange(newPod *v1.Pod, oldPod *v1.Pod) ActionType {}

func extractPodSchedulingGateEliminatedChange(newPod *v1.Pod, oldPod *v1.Pod) ActionType {}

func extractPodGeneratedResourceClaimChange(newPod *v1.Pod, oldPod *v1.Pod) ActionType {}

// NodeSchedulingPropertiesChange interprets the update of a node and returns corresponding UpdateNodeXYZ event(s).
func NodeSchedulingPropertiesChange(newNode *v1.Node, oldNode *v1.Node) (events []ClusterEvent) {}

type nodeChangeExtractor

func extractNodeAllocatableChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}

func extractNodeLabelsChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}

func isLabelChanged(newLabels map[string]string, oldLabels map[string]string) bool {}

func extractNodeTaintsChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}

func extractNodeConditionsChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}

func extractNodeSpecUnschedulableChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}

func extractNodeAnnotationsChange(newNode *v1.Node, oldNode *v1.Node) ActionType {}