Documentation ¶
Index ¶
Constants ¶
View Source
const ProbeThreshold = 15 * time.Minute
ProbeThreshold is the minimum time to wait between version upgrades.
Variables ¶
This section is empty.
Functions ¶
func ReconcileVersions ¶
func ReconcileVersions( ctx context.Context, dkState *controllers.DynakubeState, cl client.Client, verProvider VersionProviderCallback, ) (bool, error)
ReconcileImageVersions updates the version and hash for the images used by the rec.Instance DynaKube instance.
Types ¶
type VersionProviderCallback ¶
type VersionProviderCallback func(string, *dtversion.DockerConfig) (dtversion.ImageVersion, error)
VersionProviderCallback fetches the version for a given image.
Click to show internal directories.
Click to hide internal directories.