Documentation
¶
Index ¶
- Constants
- func GetEnv(name string) string
- func GetRandomString(length int) string
- func GetSecureRandomString(length int) (string, error)
- func MatchesInstanceAnnotation(annotationMap map[string]string, configuredInstance string) bool
- func MustGetEnv(name string) string
- func RenderTemplate(data map[string]string, tc TemplateContext) (map[string][]byte, error)
- type TemplateContext
Constants ¶
View Source
const INSTANCE_ANNOTATION = "postgres.db.movetokube.com/instance"
Variables ¶
This section is empty.
Functions ¶
func GetRandomString ¶
func GetSecureRandomString ¶
If the secure random number generator malfunctions it will return an error
func MustGetEnv ¶
func RenderTemplate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.