config

package
v0.0.0-...-0227cab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 GetPodUid

func GetPodUid() string

func GetRedisImage

func GetRedisImage(src string) (string, error)

func GetRedisImageByVersion

func GetRedisImageByVersion(version string) (string, error)

func GetRedisToolsImage

func GetRedisToolsImage() string

func GetRedisVersion

func GetRedisVersion(image string) string

func GetWatchNamespace

func GetWatchNamespace() string

func Getenv

func Getenv(name string, defaults ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL