Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodExecutor ¶
type PodExecutor struct {
// contains filtered or unexported fields
}
func NewPodExecutor ¶
func NewPodExecutor() (*PodExecutor, error)
func (*PodExecutor) SetGlobalSysVar ¶
func (p *PodExecutor) SetGlobalSysVar(namespace, podName string, query string) error
type SQLRunner ¶
type SQLRunner struct {
// contains filtered or unexported fields
}
func (*SQLRunner) CheckReadOnly ¶
func (s *SQLRunner) CheckReadOnly() (corev1.ConditionStatus, error)
func (*SQLRunner) CheckSlaveStatusWithRetry ¶
func (s *SQLRunner) CheckSlaveStatusWithRetry(retry uint32) (isLagged, isReplicating corev1.ConditionStatus, err error)
func (*SQLRunner) GetGlobalVariable ¶
Click to show internal directories.
Click to hide internal directories.