azureMetricClient

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2018 License: MIT Imports: 15 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL