Documentation ¶
Overview ¶
Package resolvers contains implementation of version resolver
Index ¶
Constants ¶
View Source
const ( // MaestroVersionResolverString is the VersionResolverType type for maestro MaestroVersionResolverString types.VersionResolverName = "maestro" // MaestroVersionResolverString is the VersionResolverType type for github GitHubVersionResolverString types.VersionResolverName = "github" // VersionResolverMockString used to mock version resolver when testing VersionResolverMockString types.VersionResolverName = "mockVersionResolver" )
Variables ¶
View Source
var StringToVersionResolverConfigMap = map[types.VersionResolverName]types.VersionResolverCreator{ MaestroVersionResolverString: types.VersionResolverCreator(maestro.New), GitHubVersionResolverString: types.VersionResolverCreator(github.New), VersionResolverMockString: types.VersionResolverCreator(mock.New), }
StringToVersionResolverConfigMap converts a VersionResolverType to a VersionResolver config if found.
Functions ¶
func GetVersionResolverConfig ¶
func GetVersionResolverConfig(versionResolverType types.VersionResolverName) (types.VersionResolver, error)
GetVersionResolverConfig gets the version config based on resolver type
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package github implements the VersionResolver interface using Github as the backing version store.
|
Package github implements the VersionResolver interface using Github as the backing version store. |
Package maestro contains a VersionResolver implementation using Maestro, and internal service in use at Outreach, as the source of truth for the latest version of applications.
|
Package maestro contains a VersionResolver implementation using Maestro, and internal service in use at Outreach, as the source of truth for the latest version of applications. |
client
Package client contains implementation for maestro client
|
Package client contains implementation for maestro client |
Package mock implements a VersionResolver implementation for use in testing.
|
Package mock implements a VersionResolver implementation for use in testing. |
Package types contains the different data types used in versionresolver
|
Package types contains the different data types used in versionresolver |
Click to show internal directories.
Click to hide internal directories.