Documentation ¶
Index ¶
- func AutoUpgradePattern(image string) (string, bool)
- func FindLatest(current, pattern string, tags []string) (string, error)
- func FindLatestTagForImageWithPattern(ctx context.Context, c kclient.Client, ...) (string, bool, error)
- func Mode(appSpec v1.AppInstanceSpec) (string, bool)
- func StartSync(ctx context.Context, client kclient.Client)
- func Sync()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoUpgradePattern ¶
AutoUpgradePattern returns the tag and a boolean indicating whether it is actually a pattern (versus a concrete tag)
func FindLatest ¶
FindLatest returns the tag from the tags slice that sorts as the "latest" according to the supplied pattern.
func FindLatestTagForImageWithPattern ¶
func FindLatestTagForImageWithPattern(ctx context.Context, c kclient.Client, current, namespace, image, pattern string) (string, bool, error)
FindLatestTagForImageWithPattern will return the latest tag for image corresponding to the pattern.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.