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