Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is a struct existing across the lifetime of a single run of the submit queue it contains a mutex to avoid being run multiple times. In fact, it even cancels runs while another one is still in progress. It contains a Gerrit object facilitating access, a log object, the configured submit queue tag and a `wipChain` (only populated if waiting for a rebase)
func (*Runner) GetWIPChain ¶
GetWIPChain returns the current wipChain, if any, nil otherwiese Acquires a lock, so check with IsCurrentlyRunning first
func (*Runner) IsCurrentlyRunning ¶
IsCurrentlyRunning returns true if the runner is currently running
Click to show internal directories.
Click to hide internal directories.