package
0.0.0-20250308170929-48bd8ed27534
Repository: https://github.com/evergreen-ci/evergreen.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetDistroQueueInfo returns the distroQueueInfo for the given set of tasks having set the task.ExpectedDuration for each task.
No description provided by the author
No description provided by the author
The old Task finderDBTaskFinder, with the dependency check implemented in Go, instead of using $graphLookup.
MakeUnit constructs a new unit, caching a reference to the distro in the unit.
NewCmpBasedTaskComparator returns a new task prioritizer, using the default set of comparators as well as the setup functions necessary for those comparators.
NewUnit constructs a new Unit container for a task.
No description provided by the author
PersistTaskQueue saves the task queue to the database.
No description provided by the author
PopulateCaches runs setup functions and is used by the new/tunable scheduler to reprocess tasks before running the new planner.
PrepareTasksForPlanning takes a list of tasks for a distro and returns a TaskPlan, grouping tasks into the appropriate units.
No description provided by the author
No description provided by the author
SpawnHosts calls out to the embedded Manager to spawn hosts, and takes in a map of distro -> number of hosts to spawn for the distro.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

CmpBasedTaskComparator runs the tasks through a slice of comparator functions determining which is more important.
No description provided by the author
CmpBasedTaskQueues represents the three types of queues that are created for merging together into one queue.
No description provided by the author
No description provided by the author
No description provided by the author
TaskList implements sort.Interface on top of a slice of tasks.
TaskPlan provides a sortable interface on top of a slice of schedulable units, with ordering of units provided by the implementation of SortingValueBreakdown.
No description provided by the author
Unit is a holder of a group of related tasks which should be scheculded together.

# Interfaces

TaskPrioritizer is responsible for taking in a slice of tasks, and ordering them according to which should be run first.

# Type aliases

HostAllocator is responsible for determining how many new hosts should be spun up.
StringSet provides simple tools for managing sets of strings.
No description provided by the author
No description provided by the author
UnitCache stores an unordered collection of schedulable units.