Documentation ¶
Index ¶
- func Exists(path string) (bool, error)
- func FindFilesWithPattern(dir string, pattern string, skipPaths []string) ([]string, error)
- func GetRepoName(repoUrl string) (string, error)
- func GetRepoUrlAndRootPath(dir string) (string, string, error)
- func PromptSelect(label string, items []string) string
- func WalkTerraformDirs(topLevelPath string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFilesWithPattern ¶ added in v1.1.7
func GetRepoName ¶
getRepoName finds upstream repo name from a given repo directory
func GetRepoUrlAndRootPath ¶ added in v1.1.8
GetRepoUrlAndRootPath finds upstream repo URL and the root local path
func PromptSelect ¶
PromptSelect prompts a user to select a value from given items.
func WalkTerraformDirs ¶
walkTerraformDirs traverses a provided path to return a list of directories that hold terraform configs while skiping internal folders that have a .terraform.* prefix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.