Documentation ¶
Index ¶
- Variables
- func DownloadAndParseModule(fs afero.Fs, mod string) (*config.Config, error)
- func DownloadModule(fs afero.Fs, cacheDir, source string) (string, error)
- func Dump(foo interface{})
- func GetFoggCachePath() (string, error)
- func Intptr(i int64) *int64
- func JsonNumberPtr(i int) *json.Number
- func OpenTemplate(source io.Reader, commonTemplates *packr.Box) (*template.Template, error)
- func ParseVersion(version string) (semver.Version, string, bool)
- func ProjectRoot() string
- func PwdFs() (afero.Fs, error)
- func SortedMapKeys(in interface{}) []string
- func StrPtr(s string) *string
- func TestFile(name string) ([]byte, error)
- func TestFs() (afero.Fs, string, error)
- 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 DownloadAndParseModule ¶
func GetFoggCachePath ¶ added in v0.28.0
func JsonNumberPtr ¶ added in v0.23.2
func OpenTemplate ¶
OpenTemplate will read `source` for a template, parse, configure and return a template.Template
func ParseVersion ¶ added in v0.14.0
func ProjectRoot ¶ added in v0.21.0
func ProjectRoot() string
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.