Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Get(connectionID string) (Snapshot, bool)
Put(connectionID string, workloads []model.Workload, observedAt time.Time)
Delete(connectionID string)
}
Cache stores workload inventory by connection. Implementations may keep the inventory in memory or persist it in another store without changing the server or API layers.
Click to show internal directories.
Click to hide internal directories.