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 Implied(image, interval string, notify bool) bool
- 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, remoteOpts ...remote.Option) (string, bool, error)
FindLatestTagForImageWithPattern will return the latest tag for image corresponding to the pattern.
func Implied ¶
Implied returns a boolean indicating if auto-upgrade is implied by either: 1. A pattern specified in the image 2. A non-empty interval 3. app.Spec.NotifyUpgrade set to true
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.