updates

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL