Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveScheduleNotFoundError ¶
type ActiveScheduleNotFoundError struct { }
func (*ActiveScheduleNotFoundError) Error ¶
func (ase *ActiveScheduleNotFoundError) Error() string
type AppNotFoundError ¶
type AppNotFoundError struct { }
type ScalingEngine ¶
type ScalingEngine interface { Scale(appId string, trigger *models.Trigger) (*models.AppScalingResult, error) ComputeNewInstances(currentInstances int, adjustment string) (int, error) SetActiveSchedule(appId string, schedule *models.ActiveSchedule) error RemoveActiveSchedule(appId string, scheduleId string) error }
func NewScalingEngine ¶
type StripedLock ¶
type StripedLock struct {
// contains filtered or unexported fields
}
func NewStripedLock ¶
func NewStripedLock(capacity int) *StripedLock
Click to show internal directories.
Click to hide internal directories.