MCPcopy
hub / github.com/kubernetes/kubernetes / NodeToStatus

Struct NodeToStatus

pkg/scheduler/framework/interface.go:34–40  ·  view source on GitHub ↗

NodeToStatus contains the statuses of the Nodes where the incoming Pod was not schedulable.

Source from the content-addressed store, hash-verified

32
33// NodeToStatus contains the statuses of the Nodes where the incoming Pod was not schedulable.
34type NodeToStatus struct {
35 // nodeToStatus contains specific statuses of the nodes.
36 nodeToStatus map[string]*fwk.Status
37 // absentNodesStatus defines a status for all nodes that are absent in nodeToStatus map.
38 // By default, all absent nodes are UnschedulableAndUnresolvable.
39 absentNodesStatus *fwk.Status
40}
41
42// NewDefaultNodeToStatus creates NodeToStatus without any node in the map.
43// The absentNodesStatus is set by default to UnschedulableAndUnresolvable.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected