Documentation ¶
Index ¶
- Variables
- func CheckLatestVersion(ctx context.Context, owner string, repo string) error
- func DownloadAndParseModule(mod string) (*config.Config, error)
- func DownloadModule(cacheDir, source string) (string, error)
- func Dump(foo interface{})
- func OpenTemplate(source io.Reader) (*template.Template, error)
- func ParseVersion(version string) (semver.Version, string, bool)
- func SortedMapKeys(in interface{}) []string
- func VersionCacheKey() string
- func VersionString() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "undefined" GitSha = "undefined" Release = "false" Dirty = "true" )
Functions ¶
func CheckLatestVersion ¶ added in v0.18.0
CheckLatestVersion checks to see if we're on the latest version
func DownloadModule ¶
func OpenTemplate ¶
OpenTemplate will read `source` for a template, parse, configure and return a template.Template
func ParseVersion ¶ added in v0.14.0
func SortedMapKeys ¶ added in v0.16.5
func SortedMapKeys(in interface{}) []string
func VersionCacheKey ¶
func VersionCacheKey() string
func VersionString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.