Documentation ¶
Index ¶
- func GetValidLabel(name string) string
- type IManagedMetricsHandler
- type InfoMappings
- type ManagedMetricsHandler
- func (m *ManagedMetricsHandler) RegisterAndAddMetricStoreForGVR(ctx context.Context, metricName string, gvr schema.GroupVersionResource, ...) chan struct{}
- func (m *ManagedMetricsHandler) RemoveMetricStore(name string)
- func (m *ManagedMetricsHandler) ServeHTTP(writer http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValidLabel ¶
Types ¶
type IManagedMetricsHandler ¶
type InfoMappings ¶
type ManagedMetricsHandler ¶
type ManagedMetricsHandler struct { Client dynamic.Interface // contains filtered or unexported fields }
func NewManagedMetricsHandler ¶
func NewManagedMetricsHandler(dc dynamic.Interface) ManagedMetricsHandler
func NewManagedMetricsHandlerWithStore ¶ added in v0.2.0
func NewManagedMetricsHandlerWithStore(dc dynamic.Interface, storeHandler func([]string, func(interface{}) []metric.FamilyInterface, context.Context, dynamic.Interface, string, schema.GroupVersionResource, string) store.IXMetricsStore) ManagedMetricsHandler
func (*ManagedMetricsHandler) RegisterAndAddMetricStoreForGVR ¶
func (m *ManagedMetricsHandler) RegisterAndAddMetricStoreForGVR(ctx context.Context, metricName string, gvr schema.GroupVersionResource, namespace string) chan struct{}
func (*ManagedMetricsHandler) RemoveMetricStore ¶
func (m *ManagedMetricsHandler) RemoveMetricStore(name string)
func (*ManagedMetricsHandler) ServeHTTP ¶
func (m *ManagedMetricsHandler) ServeHTTP(writer http.ResponseWriter, r *http.Request)
nolint: errcheck
Click to show internal directories.
Click to hide internal directories.