Documentation ¶
Overview ¶
Package types contains the different data types used in versionresolver
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionResolver ¶
type VersionResolver interface {
GetLatestVersion(context.Context, logrus.FieldLogger, string, string) (string, error)
}
VersionResolver is the interface that is used by resolver to retrieve image version
type VersionResolverCreator ¶
type VersionResolverCreator func(*box.Config) VersionResolver
VersionResolverCreator is the standard format of a `New` function that return a new instance of an implementation of the `VersionResolver` interface.
type VersionResolverName ¶
type VersionResolverName string
VersionResolverName just wraps string which contains the version resolver name
Click to show internal directories.
Click to hide internal directories.