Documentation
¶
Index ¶
- Constants
- func BuildImageVersionKey(typ string) string
- func GetFullImageURL(path string, tag string) string
- func GetOperatorVersion() string
- func GetValkeyExporterImage(obj v1.Object) string
- func GetValkeyHelperImage(obj v1.Object) string
- func GetValkeyImageByVersion(version string) string
- func GetValkeyVersion(image string) string
- func Getenv(name string, defaults ...string) string
- func LoadValkeyVersionMap() (map[string]string, error)
- type EventReason
Constants ¶
View Source
const ( AppName = "valkey-operator" // DNS LocalInjectName = "local.inject" )
View Source
const (
ImageVersionKeyPrefix = "buf.red/imageversions-"
)
Variables ¶
This section is empty.
Functions ¶
func BuildImageVersionKey ¶
func GetFullImageURL ¶
func GetOperatorVersion ¶
func GetOperatorVersion() string
func GetValkeyExporterImage ¶
func GetValkeyHelperImage ¶
func GetValkeyImageByVersion ¶
func GetValkeyVersion ¶
func LoadValkeyVersionMap ¶
Types ¶
type EventReason ¶
type EventReason = string
const ( EventPause EventReason = "Paused" EventCreateUser EventReason = "CreatedUser" EventUpdateUser EventReason = "UpdatedUser" EventUpdatePassword EventReason = "UpdatedPassword" EventCleanResource EventReason = "CleanResource" EventFailover EventReason = "Failover" EventSetupMaster EventReason = "SetupMaster" EventResetReplica EventReason = "ResetReplica" EventAllocateSlots EventReason = "AllocatedSlots" EventAssignSlots EventReason = "AssignSlots" EventRebalance EventReason = "Rebalancing" )
Click to show internal directories.
Click to hide internal directories.