autoscaler

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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) Name added in v1.4.5

func (c *Controller) Name() string

Name returns the name of the 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL