Documentation ¶
Index ¶
- Constants
- func Bash(script string) (string, error)
- func BashTmpScriptWithArgs(script string, args []string) (string, error)
- func BillyCalcDirHash(dir string, FS billy.Filesystem) (string, error)
- func BillyCalcFileHash(filename string, FS billy.Filesystem) (string, error)
- func BillyCalcHash(FS billy.Filesystem) (string, error)
- func BillyFilenames(dir string, FS billy.Filesystem) ([]string, error)
- func BillyGetFilelist(FS billy.Filesystem) ([]os.FileInfo, error)
- func BillyGlobCalcDirHash(dir string, FS billy.Filesystem, includes, excludes []string) (string, error)
- func BillyGlobCalcHash(FS billy.Filesystem, include, exclude []string) (string, error)
- func BillyGlobLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, includes, excludes []string) error
- func BillyGlobWriteDirToOS(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
- func BillyLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, trimFirstDir bool) error
- func BillyReadAll(filename string, FS billy.Filesystem) ([]byte, error)
- func BillyReadAllString(filename string, FS billy.Filesystem) (string, error)
- func BillyWriteDirToOS(baseDir string, dir string, FS billy.Filesystem) error
- func BillyWriteFileToOS(baseDir string, file string, FS billy.Filesystem) error
- func BuildRequest(url string) *gorequest.SuperAgent
- func CheckPathExists(path string) (bool, error)
- func CheckShouldInclude(filename string, includes, excludes []string) (bool, error)
- func CloneRepoIntoDir(srcUrl, srcVer, dest string) error
- func CloneRepoIntoTmp(srcUrl, srcVer string) (string, error)
- func CopyDir(src string, dst string) error
- func CopyFile(src, dst string) error
- func Exec(args []string) (string, error)
- func FindIdFromName(basePath, name, listOutput string, res interface{}) (string, error)
- func GetHash(path string, hashAlgorithm string) (string, error)
- func IsValidUUID(uuid string) bool
- func Mkdir(dir string) error
- func NewHash(name *string) (hash.Hash, error)
- func RenderDir(src string, dst string, data interface{}) error
- func RenderDirNameSub(src string, dst string, data interface{}) error
- func RenderFile(src, dst string, data interface{}) error
- func RenderFileNameSub(src, dst string, data interface{}) error
- func RenderString(template string, data interface{}) (string, error)
- func SendGaEvent(cfg GaConfig, evt GaEvent) (string, error)
- func SendGaEvents(cfg GaConfig, evts []GaEvent) (string, error)
- func SendRequest(host, queryTemplate string, vars interface{}) (interface{}, error)
- func SetupGitAuth(srcUrl, srcVer string, co *git.CloneOptions) error
- func SetupGitOptions(srcUrl, srcVer string) (*git.CloneOptions, error)
- func SimpleGet(url string) (string, error)
- func SwapDelimits(content, fromLL, fromLR, fromSL, fromSR, toLL, toLR, toSL, toSR string) string
- type GaConfig
- type GaEvent
- type GaPageview
Constants ¶
View Source
const ( SHA1 = "sha1" SHA256 = "sha256" MD5 = "md5" )
SHA1, SHA256, MD5
View Source
const HTTP2_GOAWAY_CHECK = "http2: server sent GOAWAY and closed the connection"
Variables ¶
This section is empty.
Functions ¶
func BashTmpScriptWithArgs ¶ added in v0.5.4
func BillyCalcDirHash ¶
func BillyCalcFileHash ¶
func BillyCalcHash ¶
func BillyFilenames ¶
func BillyGetFilelist ¶ added in v0.5.5
func BillyGlobCalcDirHash ¶
func BillyGlobCalcHash ¶
func BillyGlobLoadFromZip ¶
func BillyGlobLoadFromZip(zReader *zip.Reader, FS billy.Filesystem, includes, excludes []string) error
Loads an initialized zip.Reader into an initialize billy.Filesystem
func BillyGlobWriteDirToOS ¶
func BillyGlobWriteDirToOS(baseDir string, dir string, FS billy.Filesystem, includes, excludes []string) error
Write dir in FS onto the os filesystem at baseDir
func BillyLoadFromZip ¶
func BillyReadAll ¶
func BillyReadAllString ¶
func BillyWriteDirToOS ¶
Writes dir in FS onto the os filesystem at baseDir
func BillyWriteFileToOS ¶
Writes file in FS onto the os filesystem at baseDir
func BuildRequest ¶
func BuildRequest(url string) *gorequest.SuperAgent
func CheckPathExists ¶ added in v0.5.4
func CheckShouldInclude ¶
func CloneRepoIntoDir ¶ added in v0.5.4
func CloneRepoIntoTmp ¶ added in v0.5.4
func FindIdFromName ¶
func IsValidUUID ¶ added in v0.5.4
func RenderDirNameSub ¶
Dir copies a whole directory recursively
func RenderFile ¶
File copies a single file from src to dst
func RenderFileNameSub ¶
func RenderString ¶
func SendRequest ¶
func SetupGitAuth ¶ added in v0.5.4
func SetupGitOptions ¶ added in v0.5.4
func SwapDelimits ¶
Types ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package configdir provides a cross platform means of detecting the system's configuration directories.
|
Package configdir provides a cross platform means of detecting the system's configuration directories. |
Package par implements parallel execution helpers.
|
Package par implements parallel execution helpers. |
Click to show internal directories.
Click to hide internal directories.