Documentation ¶
Index ¶
- Variables
- func CollectNonEmtpyMaps(maps ...map[string]string) []map[string]string
- func Contains(arr []string, s string) bool
- func ContainsEntry(list []string, entry string) bool
- func CopyStringMap(m map[string]string) map[string]string
- func CreateSymlinks(src string, dst string, names []string) error
- func GenerateCheckResultIdHash(hashFields HashFields) string
- func GetOsEnv() map[string]string
- func GoldenValue(t *testing.T, goldenFile string, actual []byte, update bool) []byte
- func HideSecretsInArrayOfLines(lines []string, secrets map[string]string) []string
- func HideSecretsInArrayOfStrings(array []string, secrets map[string]string) []string
- func HideSecretsInJsonObject(content, secretsContent []byte) ([]byte, error)
- func HideSecretsInMap(m *map[string]string, secrets map[string]string)
- func HideSecretsInString(content string, secrets map[string]string) string
- func HideValuesInJsonObject(content []byte) ([]byte, error)
- func HideValuesInMap(m *map[string]string)
- func Join(errs ...error) error
- func MapsEqual(m1, m2 map[string]interface{}, ignoreKeys []string, ignorePattern string) bool
- func MergeMaps(maps ...map[string]string) map[string]string
- func ParseJsonMap(content []byte) (map[string]string, error)
- func SlicesEqual(s1, s2 []interface{}, ignoreKeys []string, ignorePattern string) bool
- func StringsEqual(s1, s2, ignorePattern string) bool
- func ValuesEqual(v1, v2 interface{}, ignoreKeys []string, ignorePattern string) bool
- type HashFields
Constants ¶
This section is empty.
Variables ¶
View Source
var ToolVersion string
Functions ¶
func ContainsEntry ¶
func GenerateCheckResultIdHash ¶
func GenerateCheckResultIdHash(hashFields HashFields) string
func GoldenValue ¶
func HideSecretsInJsonObject ¶
func HideSecretsInString ¶
func HideValuesInJsonObject ¶
func HideValuesInMap ¶
func SlicesEqual ¶
func StringsEqual ¶
func ValuesEqual ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.