memory

package
v0.0.0-...-64361d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL