# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

Allocated means the scheduler assigns a host to it.
Binding means the scheduler send Bind request to apiserver.
Bound means the task/Pod bounds to a host.
Must be > 0.
Failed means that all containers in the pod have terminated, and at least one container has terminated in a failure (exited with a non-zero exit code or was stopped by the system).
need to follow https://github.com/NVIDIA/k8s-device-plugin/blob/66a35b71ac4b5cbfb04714678b548bd77e5ba719/server.go#L20.
Pending means the task is pending in the apiserver.
Pipelined means the scheduler assigns a host to wait for releasing resource.
Releasing means a task/pod is deleted.
Running means a task is running on the host.
Succeeded means that all containers in the pod have voluntarily terminated with a container exit code of 0, and the system is not going to restart any of these containers.
Unknown means the status of task/pod is unknown to the scheduler.

# Structs

ClusterInfo is a snapshot of cluster by cache.
NodeInfo is node level aggregated information.
No description provided by the author
No description provided by the author

# Type aliases

CompareFn is the func declaration used by sort or priority queue.
LessFn is the func declaration used by sort or priority queue.
TaskStatus defines the status of a task/pod.
ValidateFn is the func declaration used to check object's status.