Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureMetricClient ¶
type AzureMetricClient struct {
// contains filtered or unexported fields
}
AzureMetricClient is used to make requests to Azure Monitor
func NewAzureMetricClient ¶
func NewAzureMetricClient() AzureMetricClient
NewAzureMetricClient creates a client for making requests to Azure Monitor
func (AzureMetricClient) GetAzureMetric ¶
func (c AzureMetricClient) GetAzureMetric(metricSelector labels.Selector) (external_metrics.ExternalMetricValue, error)
GetAzureMetric calls Azure Monitor endpoint and returns a metric based on label selectors
Click to show internal directories.
Click to hide internal directories.