Documentation
¶
Index ¶
Constants ¶
View Source
const APINameCtxKey ctxValue = "apiName"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activator ¶
func New ¶
func New( istioClient istionetworkingclient.VirtualServiceInterface, deploymentInformer cache.SharedIndexInformer, virtualServiceInformer cache.SharedIndexInformer, autoscalerClient autoscaler.Client, reporter StatsReporter, logger *zap.SugaredLogger, ) Activator
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(act Activator, logger *zap.SugaredLogger) *Handler
type PrometheusStatsReporter ¶ added in v0.39.0
type PrometheusStatsReporter struct {
// contains filtered or unexported fields
}
func NewPrometheusStatsReporter ¶ added in v0.39.0
func NewPrometheusStatsReporter() *PrometheusStatsReporter
func (*PrometheusStatsReporter) AddAPI ¶ added in v0.39.0
func (r *PrometheusStatsReporter) AddAPI(apiName string)
func (*PrometheusStatsReporter) RemoveAPI ¶ added in v0.39.0
func (r *PrometheusStatsReporter) RemoveAPI(apiName string)
func (*PrometheusStatsReporter) ServeHTTP ¶ added in v0.39.0
func (r *PrometheusStatsReporter) ServeHTTP(w http.ResponseWriter, req *http.Request)
type StatsReporter ¶ added in v0.39.0
Click to show internal directories.
Click to hide internal directories.