Documentation
¶
Overview ¶
Package imageupdate periodically asks the control plane to check each opted-in app's image tag against its registry and redeploy when it moved.
Index ¶
Constants ¶
View Source
const DefaultInterval = time.Hour
DefaultInterval is how often opted-in apps are checked. Hourly: registries rate-limit anonymous digest lookups, and a tag rarely moves faster.
View Source
const EnvInterval = "APP_IMAGE_UPDATE_INTERVAL"
EnvInterval overrides DefaultInterval (a Go duration such as "30m").
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker interface {
CheckImageUpdate(ctx context.Context, serviceName string) (string, error)
}
Checker runs one app's update check; *api.Router satisfies it.
Click to show internal directories.
Click to hide internal directories.