package
0.0.0-20241217200950-e77bea9c52fc
Repository: https://chromium.googlesource.com/infra/luci/luci-go
Documentation: pkg.go.dev

# Functions

ComputeOrder computes the best order for submission of CLs based on their dependencies.
CurrentRun returns the RunID that is currently submitting in the submit queue of the provided LUCI Project.
DeleteQueue deletes the submit queue of the provided LUCI Project.
LoadCurrentAndWaitlist loads the current submission slot and the waitlist.
MustCurrentRun is like `CurrentRun(...)` but panic on error.
NewSubmitter creates a new RunCLsSubmitter.
Release releases the slot occupied by the provided Run.
ReleaseOnSuccess, in addition to releasing the slot like `Release`, also records the timestamp of a successful submission.
TryAcquire tries to acquire the current submission slot from the submit queue.

# Variables

ErrTransientSubmissionFailure indicates that the submission has failed transiently and the same task should be retried.

# Structs

RunCLsSubmitter submits CLs for a Run.

# Interfaces

RM encapsulates interaction with Run Manager by `RunCLsSubmitter`.

# Type aliases

NotifyFn is used to notify the run is ready for submission at `eta` In production, it is run.Notifier.NotifyReadyForSubmission(...).