Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestStorage ¶
func New ¶
func New(t testutil.T) *TestStorage
New returns a new TestStorage for testing purposes that removes all associated files on closing.
func NewWithError ¶ added in v0.52.0
func NewWithError() (*TestStorage, error)
NewWithError returns a new TestStorage for user facing tests, which reports errors directly.
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
Click to show internal directories.
Click to hide internal directories.