utils

package
v1.5.6-integrations Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v1.5.5

func Contains(target, list interface{}) bool

Contains if a function to check if list contains target

func DecryptAnsibleVault added in v1.5.4

func DecryptAnsibleVault(fileContent []byte, secret string) []byte

DecryptAnsibleVault verifies if the fileContent is encrypted by ansible-vault. If yes, the function decrypts it

func MergeMaps added in v1.5.0

func MergeMaps(map1, map2 map[string]interface{})

MergeMaps merges two maps

func NextRandom added in v1.5.0

func NextRandom() string

NextRandom returns a random number

func SortedKeys

func SortedKeys(mapToSort map[string]string) []string

SortedKeys returns a sorted slice with all map keys

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL