# Functions
AssignmentIsScheduled determines if a resource allocation assignment is considered equivalent to being scheduled.
GetJobSubmissionTime returns the submission time for the first task found in the list for a job.
InitializeJobSortState constructs a JobSortState based on the RM type.
InitializeQueuePosition constructs a new queue position from time and RM type.
JobStats returns quick job-related stats about the TaskList.
JobStatsByPool returns quick job-related stats about the TaskList, by resource pool.
New constructs a new TaskList.
NewRegistry creates a new Registry.
ReduceToJobQInfo takes a list of AllocateRequest and reduces it to a summary of the Job Queue.
SortTasksWithPosition returns a sorted view of the sproto.AllocateRequest's that make up the TaskList, sorted in priority order.
# Variables
GroupPriorityChangeRegistry is a registry of callbacks available for when a group's priority changes.
# Structs
Group manages the common state for a set of tasks that all share the same scheduling restrictions (e.g.
Registry is a thread-safe map of key value pairs that supports callbacks on delete.
TaskIterator is an iterator over some of AllocateRequests.
TaskList maintains all tasks in time order, and stores their allocation actor, active allocations and allocate requests.
# Type aliases
AllocReqs is an alias for a list of Allocate Requests.
JobSortState models a job queue, and the positions of all jobs within it.