Documentation
¶
Index ¶
- func GenerateRandomPrefixedSHA256() string
- func GenerateRandomSHA256() string
- func RandName() string
- func SliceEqual(s1, s2 []string) bool
- func SliceSubtract(a1, a2 []string) []string
- func StringMapSubtract(m1, m2 map[string]string) map[string]string
- func StructMapSubtract(m1, m2 map[string]struct{}) map[string]struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomPrefixedSHA256 ¶ added in v1.6.0
func GenerateRandomPrefixedSHA256() string
GenerateRandomPrefixedSHA256 generates a random 64 character SHA 256 hash string, prefixed with `sha256:`
func GenerateRandomSHA256 ¶ added in v1.6.0
func GenerateRandomSHA256() string
GenerateRandomSHA256 generates a random 64 character SHA 256 hash string
func RandName ¶
func RandName() string
RandName Generates a random, 32-character, Docker-compatible container name.
func SliceEqual ¶
SliceEqual compares two slices and checks whether they have equal content
func SliceSubtract ¶
SliceSubtract subtracts the content of slice a2 from slice a1
func StringMapSubtract ¶
StringMapSubtract subtracts the content of structmap m2 from structmap m1
func StructMapSubtract ¶
StructMapSubtract subtracts the content of structmap m2 from structmap m1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.