Documentation
¶
Overview ¶
Package imagewatch polls container registries for new image digests and drives the per-tile update policy (notify / auto-redeploy).
Index ¶
Constants ¶
View Source
const (
SettingInterval = "image_check_interval"
)
Settings keys: check cadence in minutes ("" = 5, "0" = watcher off) and the RFC3339 stamp of the last sweep (the janitor ticks every minute; this is what makes the cadence runtime-changeable).
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client asks registries for manifest digests. Zero value is usable.
type Watcher ¶
type Watcher struct {
Store repo.Store
Notifier *notify.Notifier
Engine *deploy.Engine
DB *managedtiles.Service
Cluster *cluster.Cluster
GH *githubapp.Client
Client *Client
// contains filtered or unexported fields
}
Watcher is the janitor task that polls registries for tiles whose update_policy asks for it, records new digests and applies the policy.
Click to show internal directories.
Click to hide internal directories.