influxdb/storage/retention.go

13 lines
300 B
Go
Raw Normal View History

2018-10-05 16:57:49 +00:00
package storage
import (
"context"
"github.com/influxdata/influxdb/v2"
2018-10-05 16:57:49 +00:00
)
// A BucketFinder is responsible for providing access to buckets via a filter.
type BucketFinder interface {
FindBuckets(context.Context, influxdb.BucketFilter, ...influxdb.FindOptions) ([]*influxdb.Bucket, int, error)
2018-10-05 16:57:49 +00:00
}