NodeToStatus contains the statuses of the Nodes where the incoming Pod was not schedulable.
| 32 | |
| 33 | // NodeToStatus contains the statuses of the Nodes where the incoming Pod was not schedulable. |
| 34 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected