2019-03-06 15:54:48 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package accounting
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"github.com/skyrings/skyring-common/tools/uuid"
|
|
|
|
)
|
|
|
|
|
2019-04-02 19:21:18 +01:00
|
|
|
// BucketStorageTally holds data about a bucket tally
|
|
|
|
type BucketStorageTally struct {
|
|
|
|
BucketName string
|
|
|
|
ProjectID uuid.UUID
|
|
|
|
IntervalStart time.Time
|
|
|
|
|
2019-09-13 14:51:41 +01:00
|
|
|
ObjectCount int64
|
|
|
|
|
2019-04-02 19:21:18 +01:00
|
|
|
InlineSegmentCount int64
|
|
|
|
RemoteSegmentCount int64
|
|
|
|
|
|
|
|
InlineBytes int64
|
|
|
|
RemoteBytes int64
|
|
|
|
MetadataSize int64
|
|
|
|
}
|