package
0.1.15
Repository: https://github.com/aptomi/k8s-app-engine.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

ComparePasswords verifies hashed password.
ContainsString checks if a slice of strings contains a given string.
CopySliceOfStrings makes a copy of a given slice of strings.
CountElements returns the number of elements in the structure, processing it recursively It adds up number elements in underlying maps and slices/arrays.
EscapeName escapes provided string by replacing # and _ with -.
FindYamlFiles returns all files found for given list of file paths that could be of the following types: * specific file path * directory (then all *.yaml files will be taken from it and all subdirectories) * file pattern like.
GetSortedStringKeys assumes m is a map[string]interface{} and returns an array of sorted keys.
HashAndSalt returns salted hash from the password (only used to generate user passwords).
HashFnv calculates 32-bit fnv.New32a hash, given a string s.
ProcessIncludeMacros walks through specified NestedParameterMap and resolves @include macros.
ProcessParameterTree processes NestedParameterMap and calculates the whole tree, assuming values are text templates.
RandomID generates a random alphanumerical ID, which starts with a letter.
RunCmd runs specified command with arguments and returns its standard output.
StringContainsAny returns if string contains any of the given substrings.
WriteTempFile creates a temporary file, writes given data into it and returns its name.

# Constants

ModeCompile just compiles all text templates on parameter tree without evaluating.
ModeEvaluate evaluates the whole parameter tree and all of its text templates, given a set of parameters.

# Type aliases

NestedParameterMap is a nested map of parameters, which allows to work with maps [string][string]...[string] -> string, int, bool values.