# Functions
DefaultRedisCluster defaults RedisCluster.
IsRedisClusterDefaulted check if the RedisCluster is already defaulted.
No description provided by the author
# Constants
ClusterNameLabelKey Label key for the ClusterName.
ClusterStatusKO ClusterStatus KO.
ClusterStatusOK ClusterStatus OK.
ClusterStatusRebalancing ClusterStatus Rebalancing.
ClusterStatusRollingUpdate ClusterStatus RollingUpdate.
ClusterStatusScaling ClusterStatus Scaling.
No description provided by the author
NodesPlacementInfoBestEffort the cluster nodes placement is in best effort, it means you can have 2 (or more) primaries on the same kubernetes node.
NodesPlacementInfoOptimal the cluster nodes placement is optimal, it means one primary per kubernetes node.
PodSpecMD5LabelKey label key for the PodSpec MD5 hash.
RedisClusterNodeRoleHandshake RedisCluster Handshake node role.
RedisClusterNodeRoleNone None node role.
RedisClusterNodeRolePrimary RedisCluster Primary node role.
RedisClusterNodeRoleReplica RedisCluster Replica node role.
RedisClusterOK means the RedisCluster is in a good shape.
RedisClusterRebalancing means the RedisCluster is currently rebalancing slots and keys.
RedisClusterRollingUpdate means the RedisCluster is currently performing a rolling update of its nodes.
RedisClusterScaling means the RedisCluster is currently in a scaling stage.
ResourceKind represent the resource kind.
ResourcePlural is the id to identify plural resource.
ResourceSingular represents the id for identify singular resource.
ResourceVersion represent the resource version.
UnknownZone label for unknown zone.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
No description provided by the author
RedisCluster represents a Redis Cluster +kubebuilder:object:root=true +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:resource:scope=Namespaced,shortName=rdc +kubebuilder:subresource:scale:specpath=.spec.numberOfPrimaries,statuspath=.status.cluster.numberOfPrimariesReady,selectorpath=.status.cluster.labelSelectorPath +kubebuilder:subresource:status.
RedisClusterCondition represent the condition of the RedisCluster.
RedisClusterList implements list of RedisCluster.
RedisClusterNode represent a RedisCluster node.
RedisClusterSpec contains RedisCluster specification.
RedisClusterState represent the Redis Cluster status.
RedisClusterStatus contains RedisCluster status.
No description provided by the author
# Type aliases
ClusterStatus Redis Cluster status.
NodesPlacementInfo Redis Nodes placement mode information.
RedisClusterConditionType is the type of RedisClusterCondition.
RedisClusterNodeRole RedisCluster Node Role type.