Documentation ¶
Index ¶
- func EvaluateTemplate(t *template.Template, data interface{}) string
- func GenerateRandom(n int) string
- func GetBytes(key interface{}) ([]byte, error)
- func Hash(data []byte) string
- func HashFNV(s string) string
- func ImagePullPolicyByTag(image string) corev1.PullPolicy
- func ParseImageName(image string) (string, string, string, error)
- func SimpleHash(obj interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvaluateTemplate ¶
func ImagePullPolicyByTag ¶
func ImagePullPolicyByTag(image string) corev1.PullPolicy
func ParseImageName ¶
ParseImageName parses a docker image string into three parts: repo, tag and digest. If both tag and digest are empty, a default image tag will be returned.
func SimpleHash ¶
func SimpleHash(obj interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.