scale

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Logger        zerolog.Logger
	Scale         scale.Scale
	PolicyBackend state.PolicyBackend
	ScaleBackend  state.ScaleBackend
}

func (*Server) GetScaleStatus

func (s *Server) GetScaleStatus(w http.ResponseWriter, r *http.Request)

func (*Server) GetScaleStatusInfo

func (s *Server) GetScaleStatusInfo(w http.ResponseWriter, r *http.Request)

func (*Server) PostScaleIn

func (s *Server) PostScaleIn(w http.ResponseWriter, r *http.Request)

func (*Server) PostScaleOut

func (s *Server) PostScaleOut(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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