Documentation ¶
Index ¶
- func NewAzureProvider(client dynamic.Interface, mapper apimeta.RESTMapper, ...) provider.MetricsProvider
- type AzureProvider
- func (p *AzureProvider) GetExternalMetric(namespace string, metricName string, metricSelector labels.Selector) (*external_metrics.ExternalMetricValueList, error)
- func (p *AzureProvider) GetNamespacedMetricByName(groupResource schema.GroupResource, namespace string, name string, ...) (*custom_metrics.MetricValue, error)
- func (p *AzureProvider) GetNamespacedMetricBySelector(groupResource schema.GroupResource, namespace string, selector labels.Selector, ...) (*custom_metrics.MetricValueList, error)
- func (p *AzureProvider) GetRootScopedMetricByName(groupResource schema.GroupResource, name string, metricName string) (*custom_metrics.MetricValue, error)
- func (p *AzureProvider) GetRootScopedMetricBySelector(groupResource schema.GroupResource, selector labels.Selector, ...) (*custom_metrics.MetricValueList, error)
- func (p *AzureProvider) ListAllExternalMetrics() []provider.ExternalMetricInfo
- func (p *AzureProvider) ListAllMetrics() []provider.CustomMetricInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureProvider ¶
func NewAzureProvider(client dynamic.Interface, mapper apimeta.RESTMapper, azMetricClient azureMetricClient.AzureMetricClient) provider.MetricsProvider
Types ¶
type AzureProvider ¶
type AzureProvider struct {
// contains filtered or unexported fields
}
func (*AzureProvider) GetExternalMetric ¶
func (p *AzureProvider) GetExternalMetric(namespace string, metricName string, metricSelector labels.Selector) (*external_metrics.ExternalMetricValueList, error)
func (*AzureProvider) GetNamespacedMetricByName ¶
func (p *AzureProvider) GetNamespacedMetricByName(groupResource schema.GroupResource, namespace string, name string, metricName string) (*custom_metrics.MetricValue, error)
not implemented
func (*AzureProvider) GetNamespacedMetricBySelector ¶
func (p *AzureProvider) GetNamespacedMetricBySelector(groupResource schema.GroupResource, namespace string, selector labels.Selector, metricName string) (*custom_metrics.MetricValueList, error)
not implemented
func (*AzureProvider) GetRootScopedMetricByName ¶
func (p *AzureProvider) GetRootScopedMetricByName(groupResource schema.GroupResource, name string, metricName string) (*custom_metrics.MetricValue, error)
Custom metric interface methods
not implemented
func (*AzureProvider) GetRootScopedMetricBySelector ¶
func (p *AzureProvider) GetRootScopedMetricBySelector(groupResource schema.GroupResource, selector labels.Selector, metricName string) (*custom_metrics.MetricValueList, error)
not implemented
func (*AzureProvider) ListAllExternalMetrics ¶
func (p *AzureProvider) ListAllExternalMetrics() []provider.ExternalMetricInfo
func (*AzureProvider) ListAllMetrics ¶
func (p *AzureProvider) ListAllMetrics() []provider.CustomMetricInfo
Click to show internal directories.
Click to hide internal directories.