Discover Packages
github.com/jclement/pullpilot
internal
engine
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 27, 2026
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package engine implements PullPilot's update cycle: discover in-scope
containers, decide which have a genuinely newer (and soaked) image, and
recreate them with health-gated rollback.
Action is the decided outcome for a container.
const (
ActionUpToDate Action = "up-to-date"
ActionSkip Action = "skip"
ActionMonitor Action = "monitor"
ActionSoaking Action = "soaking"
ActionUpdate Action = "update"
)
Engine orchestrates one or more update cycles.
New connects to Docker, identifies PullPilot's own container, and resolves
the default update scope (its own Compose project).
Close releases the Docker client.
Run executes one full cycle. trigger is "schedule" or "webhook" (for logs).
Notifier receives human-facing events (updates, rollbacks, failures).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.