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
Click to show internal directories.
Click to hide internal directories.