container

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	Name      string
	Size      uint64
	BlobCount int64
	Oldest    time.Time
	Newest    time.Time
}

Stats holds the computed stats

type StatsGatherer

type StatsGatherer struct {
	// contains filtered or unexported fields
}

StatsGatherer simple implementation

func NewStatsGatherer

func NewStatsGatherer(accountName, accountKey string) (*StatsGatherer, error)

NewStatsGatherer creates a new StatsGatherer

func (*StatsGatherer) GatherStatistics

func (c *StatsGatherer) GatherStatistics() ([]Stats, error)

GatherStatistics Compute stats for all containers

Jump to

Keyboard shortcuts

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