teststorage

package
v0.50.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestStorage

type TestStorage struct {
	*tsdb.DB
	// contains filtered or unexported fields
}

func New

func New(t testutil.T) *TestStorage

New returns a new TestStorage for testing purposes that removes all associated files on closing.

func (TestStorage) AppendExemplar

func (TestStorage) Close

func (s TestStorage) Close() error

func (TestStorage) ExemplarAppender

func (s TestStorage) ExemplarAppender() storage.ExemplarAppender

func (TestStorage) ExemplarQueryable

func (s TestStorage) ExemplarQueryable() storage.ExemplarQueryable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL