github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/pkg/chunk/bucket_client.go (about)

     1  package chunk
     2  
     3  import (
     4  	"context"
     5  	"time"
     6  )
     7  
     8  // BucketClient is used to enforce retention on chunk buckets.
     9  type BucketClient interface {
    10  	DeleteChunksBefore(ctx context.Context, ts time.Time) error
    11  }