Documentation
¶
Index ¶
Constants ¶
View Source
const (
HistoryCapacity = 30
)
Variables ¶
This section is empty.
Functions ¶
func BuildSample ¶
func BuildSample(stats dockercontainer.StatsResponse) containertypes.StatsHistorySample
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Record ¶
func (s *Store) Record(containerID string, sample containertypes.StatsHistorySample, includeHistory bool, recordedAt time.Time) []containertypes.StatsHistorySample
Click to show internal directories.
Click to hide internal directories.