Documentation ¶
Index ¶
- Constants
- Variables
- func DebugEnabled() bool
- func GetDefaultBackupImage() string
- func GetDefaultExporterImage() string
- func GetDefaultRedisImage() string
- func GetPodName() string
- func GetPodUid() string
- func GetRedisImage(src string) (string, error)
- func GetRedisImageByVersion(version string) (string, error)
- func GetRedisToolsImage() string
- func GetRedisVersion(image string) string
- func GetWatchNamespace() string
- func Getenv(name string, defaults ...string) string
Constants ¶
View Source
const ( RedisSecretUsernameKey = "username" RedisSecretPasswordKey = "password" S3_ACCESS_KEY_ID = "AWS_ACCESS_KEY_ID" S3_SECRET_ACCESS_KEY = "AWS_SECRET_ACCESS_KEY" S3_TOKEN = "TOKEN" S3_REGION = "REGION" S3_ENDPOINTURL = "ENDPOINTURL" PAUSE_ANNOTATION_KEY = "app.cpaas.io/pause-timestamp" )
Variables ¶
View Source
var ( ErrImageNotFound = errors.New("image not found") ErrInvalidImage = errors.New("invalid source image") )
Functions ¶
func DebugEnabled ¶
func DebugEnabled() bool
func GetDefaultBackupImage ¶
func GetDefaultBackupImage() string
func GetDefaultExporterImage ¶
func GetDefaultExporterImage() string
func GetDefaultRedisImage ¶
func GetDefaultRedisImage() string
func GetPodName ¶
func GetPodName() string
func GetRedisImage ¶
func GetRedisImageByVersion ¶
func GetRedisToolsImage ¶
func GetRedisToolsImage() string
func GetRedisVersion ¶
func GetWatchNamespace ¶
func GetWatchNamespace() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.