Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlInterface ¶
type ControlInterface interface {
ResconcileAutoScaler(ta *v1alpha1.TidbClusterAutoScaler) error
}
func NewDefaultAutoScalerControl ¶
func NewDefaultAutoScalerControl(asm autoscaler.AutoScalerManager) ControlInterface
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(deps *controller.Dependencies) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
type FakeAutoScalerControl ¶
type FakeAutoScalerControl struct {
// contains filtered or unexported fields
}
func NewFakeAutoScalerControl ¶
func NewFakeAutoScalerControl() *FakeAutoScalerControl
func (*FakeAutoScalerControl) ResconcileAutoScaler ¶
func (c *FakeAutoScalerControl) ResconcileAutoScaler(ta *v1alpha1.TidbClusterAutoScaler) error
func (*FakeAutoScalerControl) SetReconcileAutoScalerError ¶
func (c *FakeAutoScalerControl) SetReconcileAutoScalerError(err error)
Click to show internal directories.
Click to hide internal directories.