Documentation ¶
Index ¶
- func CastMapOfMaps(mapOfMap interface{}) map[string]map[string]string
- func ConstructImageName(domain, prefix, repoName, tag string) string
- func DecodeAuthString(encoded string) (string, string, error)
- func ExtractRegistryInfo(conf *viper.Viper, repoName string) (string, string, string, string)
- func FilterReleaseTags(tags []string) []string
- func FilterSHATags(tags []string) []string
- func GetLatestReleaseTag(tags []string) (string, error)
- func GetRepoNomadJob(conf *viper.Viper, repoName string) string
- func GetRepoNomadTaskName(conf *viper.Viper, repoName string) string
- func IsTagDeployable(checkedTag string, availableDockerTags []string) bool
- func IsTagLatest(tag string, tags []string) bool
- func IsTagReleaseFormat(tag string) bool
- func IsTagSHAFormat(tag string) bool
- func PostSlackError(conf *viper.Viper, text string)
- func PostSlackSuccess(conf *viper.Viper, text string)
- func PostSlackUpdate(conf *viper.Viper, text string)
- func TagToNumber(tag string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastMapOfMaps ¶
func ConstructImageName ¶
func ExtractRegistryInfo ¶
return the scheme, domain and prefix in that order
func FilterReleaseTags ¶
func FilterSHATags ¶
func GetLatestReleaseTag ¶
func GetRepoNomadJob ¶
Get the Nomad job name config mapping for repoName
func GetRepoNomadTaskName ¶
Get the Nomad task name config mapping for repoName
func IsTagDeployable ¶
func IsTagLatest ¶
latest with respect to versioned tags
func IsTagReleaseFormat ¶
func IsTagSHAFormat ¶
func PostSlackError ¶
func PostSlackSuccess ¶
func PostSlackUpdate ¶
func TagToNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.