Documentation ¶
Index ¶
- func CheckIfErr(err error)
- func CombineVars(leftVars, rightVars interface{}) map[string]interface{}
- func DeleteKey(vars *interface{}, key string)
- func FindPath(dir string, searchPaths ...string) (output string, err error)
- func FindStackFileInDir(dir string) (stackFile string)
- func GetDirName(fullpath string) (dirName string)
- func GetDirPath(fullpath string) (dirPath string)
- func GetDirsByRegexp(pwd string, pattern string) (dirs []string)
- func GetObject(root interface{}, path string) interface{}
- func GetObjectValue(object interface{}, key string) interface{}
- func GetRealKeyName(vars interface{}, key string) string
- func GetRealVars(vars interface{}) interface{}
- func GetStackPathRelativeToTheRootStack(stack types.Stack) (output string)
- func GetVar(vars interface{}, key string) (interface{}, bool)
- func GitClone(parentWG *sync.WaitGroup, gitClonePath, gitURL, gitRef string)
- func KeyIsExist(str string, stringMap map[string]interface{}) bool
- func LoadYAML(yamlInput string, result interface{})
- func LoadYAMLFromFile(fileName string, result interface{})
- func LoadYAMLFromSopsFile(fileName string, result interface{})
- func PathIsDir(path string) bool
- func PathIsExists(path string) bool
- func PathIsFile(path string) bool
- func ReadFileFromPath(path string) (output string)
- func SetRealKeys(vars interface{}) interface{}
- func ToInterface(object interface{}) (result interface{})
- func ToJSON(object interface{}) string
- func ToYAML(object interface{}) string
- func UniqueStr(input []string) (output []string)
- func WaitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineVars ¶
func CombineVars(leftVars, rightVars interface{}) map[string]interface{}
CombineVars func
func FindStackFileInDir ¶
FindStackFileInDir func
func GetDirsByRegexp ¶
GetDirsByRegexp func
func GetObjectValue ¶
func GetObjectValue(object interface{}, key string) interface{}
GetObjectValue func
func GetStackPathRelativeToTheRootStack ¶ added in v0.6.4
GetStackPathRelativeToTheRootStack func
func KeyIsExist ¶
KeyIsExist func
func LoadYAMLFromFile ¶
func LoadYAMLFromFile(fileName string, result interface{})
LoadYAMLFromFile func
func LoadYAMLFromSopsFile ¶
func LoadYAMLFromSopsFile(fileName string, result interface{})
LoadYAMLFromSopsFile func
func PathIsExists ¶
PathIsExists returns whether the given file or directory exists
func SetRealKeys ¶
func SetRealKeys(vars interface{}) interface{}
SetRealKeys sets + recursively to map keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.