Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RDTStore ¶
type RDTStore interface { RDTStoreInterface Name() string Run(stop <-chan struct{}) }
RDTStore describe common interface for rdt resource state inherit from state store
func NewRdtStoreManager ¶
func NewRdtStoreManager(cacheTTL time.Duration, config *types.MetricsRdtConfig, cgStore cgstore.CgroupStoreInterface, cpuLock sync.Locker) RDTStore
NewRdtStoreManager new rdt store manager
type RDTStoreInterface ¶
type RDTStoreInterface interface { GetRDTResourceRangeStats(key string, start, end time.Time, count int) ([]*RdtMetrics, error) GetRDTResourceRecentState(key string) (*RdtMetrics, error) ListRDTResourceRangeStats(start, end time.Time, count int) (map[string][]*RdtMetrics, error) ListRDTResourceRecentStats() ([]*RdtMetrics, error) }
RDTStoreInterface describe special interface for rdt resource state
Click to show internal directories.
Click to hide internal directories.