scaler

package
v1.28.0-alpha.56 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 {
	// ScaleDeployment TODO
	// scale deployment
	ScaleDeployment(namespace, name string, instance uint) error

	// ScaleApplication TODO
	// 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

NewBcsMesosScalerController xxx

Jump to

Keyboard shortcuts

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