Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalMetricsClient ¶
type ExternalMetricsClient interface { NamespacedMetricsGetter }
ExternalMetricsClient is a client for fetching external metrics.
func New ¶
func New(client rest.Interface) ExternalMetricsClient
func NewForConfig ¶
func NewForConfig(c *rest.Config) (ExternalMetricsClient, error)
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) ExternalMetricsClient
type MetricsInterface ¶
type MetricsInterface interface { // List fetches the metric for the given namespace that maches the given // metricSelector. List(metricName string, metricSelector labels.Selector) (*v1beta1.ExternalMetricValueList, error) }
MetricsInterface provides access to external metrics.
type NamespacedMetricsGetter ¶
type NamespacedMetricsGetter interface {
NamespacedMetrics(namespace string) MetricsInterface
}
NamespacedMetricsGetter provides access to an interface for fetching metrics in a particular namespace.
Click to show internal directories.
Click to hide internal directories.