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
ByGithubPRAndCreatedBefore finds all patches that were created for a GitHub PR before the given timestamp.
ById produces a query to return the patch with the given _id.
No description provided by the author
ByProject produces a query that returns projects with the given identifier.
No description provided by the author
No description provided by the author
ByUser produces a query that returns patches by the given user.
ByUserPaginated produces a query that returns patches by the given user before/after the input time, sorted by creation time and limited.
ByVersion produces a query that returns the patch for a given version.
ByVersion produces a query that returns the patch for a given version.
ConsolidatePatchesForUser updates all patches authored by oldAuthor to be authored by newAuthor, and if any patches have been authored by the new author already, update the patch numbers to come after the new author.
No description provided by the author
Find runs a patch query, returning all patches that satisfy the query.
FindIntent returns an intent of the specified type from the database.
FindLatestGithubPRPatch returns the latest PR patch for the given PR, if there is one.
FindOne runs a patch query, returning one patch.
No description provided by the author
No description provided by the author
FindUnprocessedGithubIntents finds all patch intents that have not yet been processed.
No description provided by the author
GetCollectiveStatusFromPatchStatuses answers the question of what the patch status should be when the patch status and the status of its children are different, given a list of statuses.
GetFinalizedChildPatchIdsForPatch returns patchIds for any finalized children of the given patch.
GetGithubContextForChildPatch returns the github context for the given child patch, to be used in github statuses.
GetIntent returns a concrete Intent object of the type specified by intentType.
IsValidId returns whether the supplied Id is a valid patch doc id (BSON ObjectId).
MergeVariantsTasks merges two slices of VariantsTasks into a single set.
MostRecentPatchByUserAndProject returns the latest patch made by the user for the project.
No description provided by the author
NewGithubIntent creates an Intent from a google/go-github PullRequestEvent, or returns an error if the some part of the struct is invalid.
NewGithubIntent creates an Intent from a google/go-github MergeGroup.
NewId constructs a valid patch Id from the given hex string.
No description provided by the author
PatchesByProject builds a query for patches that match the given project's id.
Remove removes all patch documents that satisfy the query.
ResolveVariantTasks returns a set of all build variants and a set of all tasks that will run based on the given VariantTasks, filtering out any duplicates.
TryMarkStarted attempts to mark a patch as started if it isn't already marked as such.
UpdateAll runs an update on all patch documents.
UpdateOne runs an update on a single patch document.

# Constants

CalledBy can be either auto or manual.
CalledBy can be either auto or manual.
No description provided by the author
No description provided by the author
GithubIntentType represents patch intents created for GitHub.
GithubMergeIntentType is an intent to create a version for a GitHub merge group.
No description provided by the author
IntentCollection is the database collection that stores patch intents.
CalledBy can be either auto or manual.
SizeLimit is a hard limit on patch size.
No description provided by the author

# Variables

BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
ExcludePatchDiff is a projection that excludes diff data, helping load times.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the module patch struct.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patch set struct.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patch trigger struct.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.
BSON fields for the patches.

# Structs

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
ModulePatch stores request details for a patch.
Parameter defines a key/value pair to be used as an expansion.
Patch stores all details related to a patch request.
PatchSet stores information about the actual patch.
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
VariantTasks contains the variant name and the set of tasks to be scheduled for that variant.

# Interfaces

Intent represents an intent to create a patch build and is processed by an amboy queue.

# Type aliases

No description provided by the author