Versions in this module Expand all Collapse all v0 v0.2.0 Dec 23, 2020 Changes in this version + func Restart(sentinelStsName, namespace string, clientset *kubernetes.Clientset, ...) error + func Sync(slavePodName, masterPodName, containerName, namespace string, port int, ...) error + type MasterPod struct + NumSlaves int + Slaves []*SlavePod + func (m *MasterPod) GetPodName() string + func (m *MasterPod) PrettyPrint() + func (m *MasterPod) String() string + type RedisPod struct + ContainerName string + Flags string + IP string + Name string + Pod *corev1.Pod + Port int + PortForwarder *common.PortForwarder + RoleReported string + func NewRedisPod(podName, containerName, namespace string, port int, ...) (*RedisPod, error) + func (r *RedisPod) IsSlave() (bool, error) + type SentinelPod struct + func NewSentinelPod(sentinelPodName string, sentinelContainerName string, namespace string, ...) (*SentinelPod, error) + func (s *SentinelPod) Check(name string) error + func (s *SentinelPod) Failover(name string) error + func (s *SentinelPod) Info() error + func (s *SentinelPod) Master(name string) error + func (s *SentinelPod) Masters() error + type SlavePod struct + func (s *SlavePod) GetDescription() (string, error) + func (s *SlavePod) GetSyncStatus() (slaveSyncInfo, error)