Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsCache ¶
type MetricsCache struct {
// contains filtered or unexported fields
}
func NewMetricsCache ¶
func NewMetricsCache() MetricsCache
func (*MetricsCache) Delete ¶
func (mc *MetricsCache) Delete(scaledObjectIdentifier string)
func (*MetricsCache) ReadRecord ¶
func (mc *MetricsCache) ReadRecord(scaledObjectIdentifier, metricName string) (MetricsRecord, bool)
func (*MetricsCache) StoreRecords ¶
func (mc *MetricsCache) StoreRecords(scaledObjectIdentifier string, metricsRecords map[string]MetricsRecord)
type MetricsRecord ¶
type MetricsRecord struct { IsActive bool Metric []external_metrics.ExternalMetricValue ScalerError error }
Click to show internal directories.
Click to hide internal directories.