Versions in this module Expand all Collapse all v0 v0.0.1 Apr 10, 2024 Changes in this version + func InstallOpenAPIV2(container *restful.Container, webServices []*restful.WebService) (*handler.OpenAPIService, *spec.Swagger, error) + func InstallOpenAPIV3(container *restful.Container, webServices []*restful.WebService) (*handler3.OpenAPIService, error) + func InstallRootAPIs(container *restful.Container) discovery.GroupManager + type CustomMetricsProvider struct + func NewCustomMetricsProvider(conf CustomMetricsProviderConfig) *CustomMetricsProvider + func (p *CustomMetricsProvider) GetMetricByName(ctx context.Context, name types.NamespacedName, info provider.CustomMetricInfo, ...) (*custom_metrics.MetricValue, error) + func (p *CustomMetricsProvider) GetMetricBySelector(ctx context.Context, namespace string, selector labels.Selector, ...) (*custom_metrics.MetricValueList, error) + func (p *CustomMetricsProvider) Install(container *restful.Container, discoveryGroupManager discovery.GroupManager) error + func (p *CustomMetricsProvider) ListAllMetrics() []provider.CustomMetricInfo + type CustomMetricsProviderConfig struct + CustomMetric Store[*v1alpha1.CustomMetric] + DynamicClient dynamic.Interface + RESTMapper apimeta.RESTMapper + type ExternalMetricProviderConfig struct + ExternalMetric Store[*v1alpha1.ExternalMetric] + type ExternalMetricsProvider struct + func NewExternalMetricsProvider(conf ExternalMetricProviderConfig) *ExternalMetricsProvider + func (p *ExternalMetricsProvider) GetExternalMetric(ctx context.Context, namespace string, metricSelector labels.Selector, ...) (*external_metrics.ExternalMetricValueList, error) + func (p *ExternalMetricsProvider) Install(container *restful.Container, discoveryGroupManager discovery.GroupManager) error + func (p *ExternalMetricsProvider) ListAllExternalMetrics() []provider.ExternalMetricInfo + type Store interface + GetByKey func(key string) (item T, exists bool, err error) + List func() []T + ListKeys func() []string + Resync func() error + func NewStore[T any](store cache.Store) Store[T]