package
1.0.0
Repository: https://github.com/cloudlinux/redis-operator.git
Documentation: pkg.go.dev

# Functions

GetRedisName returns the name for redis resources.
GetRedisReadinessName returns the name for redis resources.
GetRedisShutdownConfigMapName returns the name for redis configmap.
GetRedisShutdownName returns the name for redis resources.
GetSentinelName returns the name for sentinel resources.
NewRedisFailoverChecker creates an object of the RedisFailoverChecker struct.
NewRedisFailoverHealer creates an object of the RedisFailoverChecker struct.
NewRedisFailoverKubeClient creates a new RedisFailoverKubeClient.

# Structs

RedisFailoverChecker is our implementation of RedisFailoverCheck interface.
RedisFailoverHealer is our implementation of RedisFailoverCheck interface.
RedisFailoverKubeClient implements the required methods to talk with kubernetes.

# Interfaces

RedisFailoverCheck defines the interface able to check the correct status of a redis failover.
RedisFailoverClient has the minimumm methods that a Redis failover controller needs to satisfy in order to talk with K8s.
RedisFailoverHeal defines the interface able to fix the problems on the redis failovers.