Documentation ¶
Index ¶
- Constants
- func GetEnv(name string) string
- func GetRandomString(length int) string
- func GetSecureRandomString(length int) (string, error)
- func ListContains(l []string, i string) bool
- func MatchesInstanceAnnotation(annotationMap map[string]string, configuredInstance string) bool
- func MustGetEnv(name string) string
- func Patch(cl client.Client, ctx context.Context, before runtime.Object, ...) error
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 ListContains ¶
func MustGetEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.