Documentation ¶
Index ¶
- type AutoScalerClientApi
- func (*AutoScalerClientApi) DeleteErrorTidb(url string, name string, namesp string, addr string) error
- func (*AutoScalerClientApi) DeleteTidb(url string, name string, namesp string, instances []string, weight string) ([]string, error)
- func (*AutoScalerClientApi) GetAllTidb(url string) (string, error)
- func (*AutoScalerClientApi) PostAddTidb(url string, name string, namesp string, scalertype string) error
- type HttpApiClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalerClientApi ¶
type AutoScalerClientApi struct{}
func (*AutoScalerClientApi) DeleteErrorTidb ¶
func (*AutoScalerClientApi) DeleteTidb ¶
func (*AutoScalerClientApi) GetAllTidb ¶
func (*AutoScalerClientApi) GetAllTidb(url string) (string, error)
func (*AutoScalerClientApi) PostAddTidb ¶
type HttpApiClient ¶
type HttpApiClient interface { PostAddTidb(url string, name string, namesp string, scalertype string) error DeleteTidb(url string, name string, namesp string, instances []string, weight string) ([]string, error) GetAllTidb(url string) (string, error) DeleteErrorTidb(url string, name string, namesp string, addr string) error }
func NewAutoScalerClientApi ¶
func NewAutoScalerClientApi() HttpApiClient
Click to show internal directories.
Click to hide internal directories.