Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryStorage ¶
type InMemoryStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New( maxAge time.Duration, backend storage.StorageDriver, ) *InMemoryStorage
func (*InMemoryStorage) AddStats ¶
func (self *InMemoryStorage) AddStats(ref info.ContainerReference, stats *info.ContainerStats) error
func (*InMemoryStorage) Close ¶
func (self *InMemoryStorage) Close() error
func (*InMemoryStorage) RecentStats ¶
func (self *InMemoryStorage) RecentStats(name string, start, end time.Time, maxStats int) ([]*info.ContainerStats, error)
Click to show internal directories.
Click to hide internal directories.