Versions in this module Expand all Collapse all v0 v0.3.0 May 6, 2022 Changes in this version + func NewQueryBuilder(metric *metricquery.Metric) querybuilder.QueryBuilder + type GeneralMetricNamer struct + Metric *metricquery.Metric + func (gmn *GeneralMetricNamer) AddSelectorRequirement(requirement labels.Requirement) + func (gmn *GeneralMetricNamer) BuildUniqueKey() string + func (gmn *GeneralMetricNamer) QueryBuilder() querybuilder.QueryBuilder + func (gmn *GeneralMetricNamer) Validate() error + type MetricNamer interface + AddSelectorRequirement func(requirement labels.Requirement) + BuildUniqueKey func() string + QueryBuilder func() querybuilder.QueryBuilder + Validate func() error + func ContainerMetricNamer(clusterid, kind, namespace, workloadName, containername, metricName string, ...) MetricNamer + func ResourceToContainerMetricNamer(clusterid, namespace, workloadName, containername string, ...) MetricNamer + func ResourceToWorkloadMetricNamer(clusterid string, target *corev1.ObjectReference, ...) MetricNamer + func WorkloadMetricNamer(clusterid string, target *corev1.ObjectReference, metricName string, ...) MetricNamer