Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { ListTables(ctx context.Context) ([]string, error) ListFiles(ctx context.Context, tableName string) ([]IndexFile, error) GetFile(ctx context.Context, tableName, fileName string) (io.ReadCloser, error) PutFile(ctx context.Context, tableName, fileName string, file io.ReadSeeker) error DeleteFile(ctx context.Context, tableName, fileName string) error IsFileNotFoundErr(err error) bool Stop() }
Client is used to manage boltdb index files in object storage, when using boltdb-shipper.
func NewIndexStorageClient ¶
func NewIndexStorageClient(objectClient chunk.ObjectClient, storagePrefix string) Client
Click to show internal directories.
Click to hide internal directories.