package
2.0.0+incompatible
Repository: https://github.com/payu/redis-operator.git
Documentation: pkg.go.dev

# Packages

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

# Functions

* Triggers the redis-cli command CLUSTER FIX In case of failure, the cluster state will remain ClusterFix, which will lead to a triger of additional attempt to fix in the next reconcile loop In case of success, the cluster state will be set to ClusterReblance, which will lead to a trigger of redic-cli command CLUSTER REBALANCE in the next reconcile loop **/.
* Gets cluster info in a form of cluster pods view **/.
* Triggers the redis-cli command CLUSTER REBALANCE In case of failure, the cluster state will be set to ClusterFix, which will lead to a trigger of ClusterFix redis-cli command within the next reconcile loop **/.
* Get operator state and cluster state **/.
* Triggers a flow of testing routine that induces events with different severities in order to challenge the operator by simulating possible dissaster scenarios.
* Triggers a flow of testing routine that induces events with different severities in order to challenge the operator by simulating possible dissaster scenarios.
Default constants used by the controllers for various tasks.
* Set the operator state to RESET state.
* Flushes all the data of redis cluster nodes.
* Triggers reconcile loop by manual request.
* Triggers an atomic flow of forgetting all redis cluster lost nodes: non-responsive nodes that still exists in the tables of some of the responsive ones.
No description provided by the author
* Populates the redis cluster nodes with mock data for debug purposes.
* Sets the value of parameter 'IsUpToDate' to false for each one of the reported nodes in the cluster state map.

# Constants

Defines the time it takes for Redis to load the new config.
Defines how long it takes for the ACL configmap to be reloaded by the kubelet and visible in the volume mount.
NotExists: the RedisCluster custom resource has just been created.
Ready: cluster is up & running as expected.
Recovering: one ore note nodes are in fail state and are being recreated.
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
No description provided by the author
No description provided by the author
Updating: the cluster is in the middle of a rolling update.

# Structs

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
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

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