Documentation ¶
Index ¶
- func CaptureStdout(c callback) string
- func Exists(filePath string) bool
- func GenerateRandomString(min, max int) (string, error)
- func MigrateToNewDirStructure(orig string) string
- func PrintTable(writer io.Writer, header []string, rows [][]string)
- func UrlToRepoName(url string) string
- func ValidateNamespace(ns string) error
- func WaitUntil(out io.Writer, poll, timeout time.Duration, checkDone func() error) error
- type ConfigStatus
- type WalkResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureStdout ¶ added in v0.1.0
func CaptureStdout(c callback) string
func GenerateRandomString ¶ added in v0.3.0
GenerateRandomString will create a new random string with alphanumeric characters. The length can also vary by using the min and max parameters. To have a consistent length such as 11, you would pass (11, 12) for the min and max respectively
func MigrateToNewDirStructure ¶ added in v0.3.2
func PrintTable ¶ added in v0.2.3
func UrlToRepoName ¶ added in v0.2.3
func ValidateNamespace ¶ added in v0.2.3
Types ¶
type ConfigStatus ¶ added in v0.7.0
type ConfigStatus int
const ( Missing ConfigStatus = iota Partial Embedded Valid )
func (ConfigStatus) String ¶ added in v0.7.0
func (cs ConfigStatus) String() string
type WalkResult ¶ added in v0.7.0
type WalkResult struct { Status ConfigStatus Path string }
func FindCoreConfig ¶ added in v0.7.0
func FindCoreConfig(dir string) WalkResult
func (WalkResult) Error ¶ added in v0.7.0
func (wr WalkResult) Error() string
Click to show internal directories.
Click to hide internal directories.