Documentation ¶
Index ¶
- Constants
- func AutoscalerList(scalers autoscaler.Autoscalers) func(w http.ResponseWriter, r *http.Request)
- func Events(eventChannel chan *logrus.Entry) func(w http.ResponseWriter, r *http.Request)
- func GetRouter(core *core.Core, eventChannel chan *logrus.Entry) *mux.Router
- func Handle(scalers *autoscaler.Autoscalers) func(w http.ResponseWriter, r *http.Request)
- func Health() func(w http.ResponseWriter, r *http.Request)
- type AutoscalerResponse
- type CollectionResponse
- type HealthResponse
- type NotFound
Constants ¶
View Source
const DIRECTION_DOWN = false
View Source
const DIRECTION_UP = true
Variables ¶
This section is empty.
Functions ¶
func AutoscalerList ¶
func AutoscalerList(scalers autoscaler.Autoscalers) func(w http.ResponseWriter, r *http.Request)
func Handle ¶
func Handle(scalers *autoscaler.Autoscalers) func(w http.ResponseWriter, r *http.Request)
Types ¶
type AutoscalerResponse ¶
type AutoscalerResponse struct {
Name string `json:"name"`
}
type CollectionResponse ¶
type CollectionResponse struct {
Data interface{} `json:"data"`
}
type HealthResponse ¶
Click to show internal directories.
Click to hide internal directories.