scaler

package
v1.25.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScalerProcess

type ScalerProcess interface {
	//scale deployment
	ScaleDeployment(namespace, name string, instance uint) error

	//scale application
	ScaleApplication(namespace, name string, instance uint) error
}

ScalerProcess through the api interface to the bcs scheduler, to scale up, scale down the scaler't target ref deployment application

func NewBcsMesosScalerController

func NewBcsMesosScalerController(config *config.Config) ScalerProcess

Jump to

Keyboard shortcuts

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