Documentation
¶
Index ¶
- Constants
- func GenerateName(typeName, metaName string) string
- func GenerateProxyName(typeName, metaName string) string
- func GetRedisName(rf *v1alpha1.RedisFailover) string
- func GetRedisNodePortSvc(rf *v1alpha1.RedisFailover) string
- func GetRedisProxyName(rp *v1alpha1.RedisProxy) string
- func GetRedisProxyNodePortName(rp *v1alpha1.RedisProxy) string
- func GetRedisSecretName(rf *v1alpha1.RedisFailover) string
- func GetRedisShutdownConfigMapName(rf *v1alpha1.RedisFailover) string
- func GetRedisShutdownName(rf *v1alpha1.RedisFailover) string
- func GetSentinelHeadlessSvc(rf *v1alpha1.RedisFailover) string
- func GetSentinelName(rf *v1alpha1.RedisFailover) string
- func GetSentinelReadinessConfigmap(rf *v1alpha1.RedisFailover) string
- func MergeMap(a_map ...map[string]string) map[string]string
- func ParseRedisMemConf(p string) (string, error)
- type AuthConfig
Constants ¶
View Source
const ( BaseName = "redis" SentinelName = "-sentinel" ProxyName = "proxy" ProxyNodeportName = "proxyn" SentinelRoleName = "sentinel" ProxyRoleName = "redis-proxy" SentinelConfigFileName = "sentinel.conf" ProxyConfigFileName = "proxy.conf" RedisConfigFileName = "redis.conf" RedisName = "-redisdb" RedisShutdownName = "r-s" RedisRoleName = "redis" AppLabel = "redis-failover" HostnameTopologyKey = "kubernetes.io/hostname" )
Variables ¶
This section is empty.
Functions ¶
func GenerateName ¶
func GenerateProxyName ¶
func GetRedisName ¶
func GetRedisName(rf *v1alpha1.RedisFailover) string
func GetRedisNodePortSvc ¶
func GetRedisNodePortSvc(rf *v1alpha1.RedisFailover) string
func GetRedisProxyName ¶
func GetRedisProxyName(rp *v1alpha1.RedisProxy) string
func GetRedisProxyNodePortName ¶
func GetRedisProxyNodePortName(rp *v1alpha1.RedisProxy) string
func GetRedisSecretName ¶
func GetRedisSecretName(rf *v1alpha1.RedisFailover) string
func GetRedisShutdownConfigMapName ¶
func GetRedisShutdownConfigMapName(rf *v1alpha1.RedisFailover) string
func GetRedisShutdownName ¶
func GetRedisShutdownName(rf *v1alpha1.RedisFailover) string
func GetSentinelHeadlessSvc ¶
func GetSentinelHeadlessSvc(rf *v1alpha1.RedisFailover) string
func GetSentinelName ¶
func GetSentinelName(rf *v1alpha1.RedisFailover) string
func GetSentinelReadinessConfigmap ¶
func GetSentinelReadinessConfigmap(rf *v1alpha1.RedisFailover) string
func MergeMap ¶
MergeLabels merges all the label maps received as argument into a single new label map.
func ParseRedisMemConf ¶
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Password string
}
Click to show internal directories.
Click to hide internal directories.