Discover Packages
github.com/GLINCKER/levelrail
internal
imageupdate
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 12, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package imageupdate periodically asks the control plane to check each
opted-in app's image tag against its registry and redeploy when it moved.
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").
IntervalFromEnv returns EnvInterval as a duration, else DefaultInterval.
Checker runs one app's update check; *api.Router satisfies it.
Scheduler checks every opted-in app once per Tick.
Run ticks on interval until ctx is done.
Tick checks each opted-in app; one app's failure never stops the rest.
Store lists the apps that opted in.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.