2018-10-05 16:57:49 +00:00
|
|
|
package storage
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2020-04-03 17:39:20 +00:00
|
|
|
"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 {
|
2019-03-29 19:27:43 +00:00
|
|
|
FindBuckets(context.Context, influxdb.BucketFilter, ...influxdb.FindOptions) ([]*influxdb.Bucket, int, error)
|
2018-10-05 16:57:49 +00:00
|
|
|
}
|