Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scale ¶
type Scale struct {
// contains filtered or unexported fields
}
func NewScaleServer ¶
func NewScaleServer(strict bool, cfg *ScaleConfig) *Scale
func (*Scale) InJobGroup ¶
func (s *Scale) InJobGroup(w http.ResponseWriter, r *http.Request)
func (*Scale) OutJobGroup ¶
func (s *Scale) OutJobGroup(w http.ResponseWriter, r *http.Request)
func (*Scale) StatusInfo ¶ added in v0.1.0
func (s *Scale) StatusInfo(w http.ResponseWriter, r *http.Request)
func (*Scale) StatusList ¶ added in v0.1.0
func (s *Scale) StatusList(w http.ResponseWriter, r *http.Request)
type ScaleConfig ¶ added in v0.2.0
type ScaleConfig struct { Logger zerolog.Logger Policy policyBackend.PolicyBackend Scale scale.Scale State stateBackend.Backend }
ScaleConfig is a convenience for setting up the scale server. These objects are centrally built and passed to the server.
Click to show internal directories.
Click to hide internal directories.