Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBasicScaler ¶
func RunBasicScaler( environmentID string, providers []*resource.ResourceProvider, consumers []resource.ResourceConsumer, providerManager resource.ProviderManager, ) (*models.ScalerRunInfo, error)
Types ¶
type EnvironmentScaler ¶
type L0EnvironmentScaler ¶
type L0EnvironmentScaler struct {
// contains filtered or unexported fields
}
func NewL0EnvironmentScaler ¶
func NewL0EnvironmentScaler(c resource.ConsumerGetter, p resource.ProviderManager) *L0EnvironmentScaler
func (*L0EnvironmentScaler) Scale ¶
func (r *L0EnvironmentScaler) Scale(environmentID string) (*models.ScalerRunInfo, error)
func (*L0EnvironmentScaler) ScheduleRun ¶
func (r *L0EnvironmentScaler) ScheduleRun(environmentID string, delay time.Duration)
Directories ¶
Path | Synopsis |
---|---|
Package mock_scheduler is a generated GoMock package.
|
Package mock_scheduler is a generated GoMock package. |
mock_resource
Package mock_resource is a generated GoMock package.
|
Package mock_resource is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.