Documentation
¶
Index ¶
- func NewScaleStateBackend() state.ScaleBackend
- type ScaleBackend
- func (s *ScaleBackend) GetScalingActivities() (map[uuid.UUID]*state.ScalingActivity, error)
- func (s *ScaleBackend) GetScalingActivity(id uuid.UUID) (*state.ScalingActivity, error)
- func (s *ScaleBackend) RunStateGarbageCollection()
- func (s *ScaleBackend) WriteRequest(req *state.ScalingRequest) error
- func (s *ScaleBackend) WriteRequestEvent(message *state.ScalingUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewScaleStateBackend ¶
func NewScaleStateBackend() state.ScaleBackend
Types ¶
type ScaleBackend ¶
type ScaleBackend struct {
// contains filtered or unexported fields
}
func (*ScaleBackend) GetScalingActivities ¶
func (s *ScaleBackend) GetScalingActivities() (map[uuid.UUID]*state.ScalingActivity, error)
GetScalingActivities satisfies the GetScalingActivities function on the state.ScaleBackend interface.
func (*ScaleBackend) GetScalingActivity ¶
func (s *ScaleBackend) GetScalingActivity(id uuid.UUID) (*state.ScalingActivity, error)
GetScalingActivity satisfies the GetScalingActivity function on the state.ScaleBackend interface.
func (*ScaleBackend) RunStateGarbageCollection ¶
func (s *ScaleBackend) RunStateGarbageCollection()
RunStateGarbageCollection satisfies the RunStateGarbageCollection function on the state.ScaleBackend interface.
func (*ScaleBackend) WriteRequest ¶
func (s *ScaleBackend) WriteRequest(req *state.ScalingRequest) error
WriteRequest satisfies the WriteRequest function on the state.ScaleBackend interface.
func (*ScaleBackend) WriteRequestEvent ¶
func (s *ScaleBackend) WriteRequestEvent(message *state.ScalingUpdate) error
WriteRequestEvent satisfies the WriteRequestEvent function on the state.ScaleBackend interface.
Click to show internal directories.
Click to hide internal directories.