Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TiProxyClient ¶
type TiProxyClient interface {
// IsHealthy checks if the TiProxy is healthy.
IsHealthy(ctx context.Context) (bool, error)
// SetLabels sets the labels for TiProxy.
SetLabels(ctx context.Context, labels map[string]string) error
}
TiProxyClient is the interface that knows how to control tiproxy clusters.
func NewTiProxyClient ¶
NewTiProxyClient returns a new TiProxyClient.
Click to show internal directories.
Click to hide internal directories.