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

# Functions

AddLabelToPod adds a new label to the specified Pod.
AddOwnerRefToObject adds the owner references to object.
AddRedisClusterFinalizer add finalizer for graceful deletion.
AddRedisFinalizer add finalizer for graceful deletion.
Add redis cluster node would add a node to the existing redis cluster using redis-cli.
AddRedisReplicationFinalizer add finalizer for graceful deletion.
AddRedisSentinelFinalizer add finalizer for graceful deletion.
No description provided by the author
CheckRedisClusterState will check the redis cluster state.
CheckRedisNodeCount will check the count of redis nodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateMultipleLeaderRedisCommand will create command for single leader cluster creation.
CreateOrUpdateService method will create or update Redis service.
CreateOrUpdateService method will create or update Redis service.
CreateOrUpdateStateFul method will create or update Redis service.
CreateRedisFollower will create a follower redis setup.
CreateRedisFollowerService method will create service for Redis Follower.
CreateRedisLeader will create a leader redis setup.
CreateRedisLeaderService method will create service for Redis Leader.
Redis Sentinel Create the Redis Sentinel Setup.
Create RedisSentinel Service.
CreateReplicationRedis will create a replication redis setup.
CreateReplicationService method will create replication service for Redis.
CreateSingleLeaderRedisCommand will create command for single leader cluster creation.
CreateStandaloneRedis will create a standalone redis setup.
CreateStandaloneService method will create standalone service for Redis.
ExecuteFailoverOperation will execute redis failover operations.
ExecuteRedisClusterCommand will execute redis cluster creation command.
ExecuteRedisReplicationCommand will execute the replication command.
GenerateK8sClient create client for kubernetes.
GenerateK8sConfig will load the kube config file.
GenerateK8sClient create Dynamic client for kubernetes.
No description provided by the author
GetPodDisruptionBudget is a method to get PodDisruptionBudgets in Kubernetes.
GetPodsByLabels retrieves a list of Pods that match the specified labels.
Get Redis nodes by it's role i.e.
GetStateFulSet is a method to get statefulset in Kubernetes.
HandleRedisClusterFinalizer finalize resource if instance is marked to be deleted.
HandleRedisFinalizer finalize resource if instance is marked to be deleted.
Handle RedisReplicationFinalizer finalize resource if instance is marked to be deleted.
HandleRedisSentinelFinalizer finalize resource if instance is marked to be deleted.
LabelSelectors generates object for label selection.
Rebalance Redis Cluster Would Rebalance the Redis Cluster without using the empty masters.
Rebalance the Redis CLuster using the Empty Master Nodes.
CreateRedisLeaderPodDisruptionBudget check and create a PodDisruptionBudget for Leaders.
No description provided by the author
Remove redis follower node would remove all follower nodes of last leader node using redis-cli.
Remove redis cluster node would remove last node to the existing redis cluster using redis-cli.
ReshardRedisCluster transfer the slots from the last node to the first node.
UpdateRedisClusterStatus will update the status of the RedisCluster.
No description provided by the author
No description provided by the author
No description provided by the author
verifyLeaderPod return true if the pod is leader/master.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

RedisClusterService is a interface to call Redis Service function.
RedisClusterSTS is a interface to call Redis Statefulset function.
RedisDetails will hold the information for Redis Pod.
No description provided by the author
No description provided by the author
RedisSentinelService is a interface to call Redis Service function.
RedisSentinelSTS is a interface to call Redis Statefulset function.

# Type aliases

No description provided by the author