teststorage

package
v0.0.0-...-7f40fda Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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