Documentation ¶
Overview ¶
Package v1 provides routing and endpoints for the Custom Pod Autoscaler HTTP REST API version 1. Endpoints implemented as handlers, errors returned as valid JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Router chi.Router Config *config.Config Client resourceclient.Client Scaler scaling.Scaler GetMetricer metricget.GetMetricer GetEvaluationer evaluatecalc.GetEvaluationer }
API is the Custom Pod Autoscaler REST API, exposing endpoints to retrieve metrics/evaluations
Click to show internal directories.
Click to hide internal directories.