autoscaler

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 22 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(recorder record.EventRecorder, asm autoscaler.AutoScalerManager) ControlInterface

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(
	kubeCli kubernetes.Interface,
	cli versioned.Interface,
	informerFactory informers.SharedInformerFactory,
	kubeInformerFactory kubeinformers.SharedInformerFactory,
) *Controller

func (*Controller) Run

func (tac *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 (tac *FakeAutoScalerControl) ResconcileAutoScaler(ta *v1alpha1.TidbClusterAutoScaler) error

func (*FakeAutoScalerControl) SetReconcileAutoScalerError

func (tac *FakeAutoScalerControl) SetReconcileAutoScalerError(err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳