v1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2019 License: MPL-2.0 Imports: 11 Imported by: 0

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(l zerolog.Logger, strict bool, backend backend.PolicyBackend, c *api.Client) *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)

type ScaleReq

type ScaleReq struct {
	Count int `json:"count"`
}

type ScaleResp

type ScaleResp struct {
	EvalID string `json:"eval_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL