Documentation
¶
Index ¶
Constants ¶
View Source
const (
// KeyPairSeparator separator for key value pair
KeyPairSeparator = "="
// SecretNameKeySeparator separator for secret key value pair
SecretNameKeySeparator = "#"
)
Variables ¶
This section is empty.
Functions ¶
func CheckFileExists ¶
func CheckFileExists(path string) (bool, error)
CheckFileExists checks if the given path is valid
func CheckImageTag ¶
func CheckImageTag(image string) error
CheckImageTag checks the given image tag
func CheckKeyPair ¶
func CheckKeyPair(array []string) error
CheckKeyPair will parse the given string array for a valid key=pair format on each item. Returns an error if any item is not in the valid format.
func CheckSecretKeyPair ¶
func CheckSecretKeyPair(secretKeyValuePair []string) error
CheckSecretKeyPair will parse the given string array for a valid key=pair#value format on each item. Returns an error if any item is not in the valid format.
func FromStringsKeyPairToMap ¶
func FromStringsKeyPairToMap(array []string) map[string]string
FromStringsKeyPairToMap converts a string array in the key/pair format (key=value) to a map. Unconvertable strings will be skipped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.