Documentation ¶
Index ¶
Constants ¶
View Source
const MinElements = 6
View Source
const RedisPort = 6379
View Source
const Timeout = 2
Variables ¶
This section is empty.
Functions ¶
func QueryRedis ¶
func QueryRedis(pfwd *portforwarder.PortForwarder, namespace string, podName string, podPort int) (RedisInfo, ClusterNodes, ClusterSlots, error)
Types ¶
type ClusterNodes ¶ added in v0.0.2
ClusterNodes is a type that holds the result from one query
func NewClusterNodes ¶ added in v0.0.2
func NewClusterNodes(cliData string) ClusterNodes
func (*ClusterNodes) GetFlagsSelf ¶ added in v0.0.2
func (n *ClusterNodes) GetFlagsSelf() string
GetFlagsSelf returns the status field for self
type ClusterSlots ¶ added in v0.0.2
type ClusterSlots []redis.ClusterSlot
Click to show internal directories.
Click to hide internal directories.