Documentation
¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine orchestrates one or more update cycles.
func New ¶
New connects to Docker, identifies PullPilot's own container, and resolves the default update scope (its own Compose project).
Docker SDK note: we intentionally stay on github.com/docker/docker v27.3.1. Its successor, github.com/moby/moby/client, is still pre-1.0 (v0.5.0) with an actively-redesigned API; we'll migrate once it reaches a stable 1.0. The CVEs govulncheck flags on this module are daemon-side and unreachable from a client-only consumer.
func (*Engine) Ping ¶ added in v0.1.2
Ping verifies the Docker daemon is reachable, with an actionable error. The client connects lazily, so without this a missing/forbidden socket only surfaces (cryptically) on the first cycle.