Documentation
¶
Overview ¶
Package executor defines how renovate runs are started and awaited; implementations live in the subpackages gitlabci, kubernetes and docker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adoptable ¶
type Adoptable interface {
AdoptRunning(ctx context.Context) ([]AdoptedRun, error)
}
Adoptable is implemented by executors that can re-attach to runs already in flight after a server restart.
type AdoptedRun ¶
AdoptedRun is an in-flight run discovered at startup.
type Executor ¶
type Executor interface {
Name() string
// Run executes renovate for spec and blocks until the run finishes.
// Implementations MUST honor ctx cancellation: the dispatcher enforces
// the global run timeout through ctx.
Run(ctx context.Context, spec RunSpec) error
}
Executor starts renovate runs.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package docker runs renovate as containers against a local Docker daemon.
|
Package docker runs renovate as containers against a local Docker daemon. |
|
Package gitlabci runs renovate by triggering a pipeline in a central GitLab project and polling it to completion.
|
Package gitlabci runs renovate by triggering a pipeline in a central GitLab project and polling it to completion. |
|
Package kubernetes runs renovate as Kubernetes Jobs and can re-adopt running Jobs after a server restart via labels.
|
Package kubernetes runs renovate as Kubernetes Jobs and can re-adopt running Jobs after a server restart via labels. |
|
Package noop provides a shadow-mode executor: it accepts runs, logs the decision and does nothing.
|
Package noop provides a shadow-mode executor: it accepts runs, logs the decision and does nothing. |
Click to show internal directories.
Click to hide internal directories.