type AvailableAPIsGetter …
func PeriodicallyInvalidate(cache AvailableAPIsGetter, interval time.Duration, stopCh <-chan struct{ … }
func NewForConfig(baseConfig *rest.Config, mapper meta.RESTMapper, availableAPIs AvailableAPIsGetter) CustomMetricsClient { … }
type multiClient …
func (c *multiClient) getPreferredClient() (CustomMetricsClient, error) { … }
func (c *multiClient) RootScopedMetrics() MetricsInterface { … }
func (c *multiClient) NamespacedMetrics(namespace string) MetricsInterface { … }
type multiClientInterface …
func (m *multiClientInterface) GetForObject(groupKind schema.GroupKind, name string, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValue, error) { … }
func (m *multiClientInterface) GetForObjects(groupKind schema.GroupKind, selector labels.Selector, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValueList, error) { … }