store_test

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAll

func TestAll(ctx context.Context, ktx store.Store) error

TestAll runs all tests.

func TestObjectStore

func TestObjectStore(
	rctx context.Context,
	ktx store.Store,
	cbs ...TestObjectStoreFn,
) error

TestObjectStore tests the object store.

func WithVLogger

func WithVLogger(le *logrus.Entry) func(objStore object.ObjectStore) (object.ObjectStore, error)

WithVLogger attaches a vlogger to the object store.

Types

type TestObjectStoreFn

type TestObjectStoreFn func(objStore object.ObjectStore) (object.ObjectStore, error)

TestObjectStoreFn is a test function for TestObjectStore.

Jump to

Keyboard shortcuts

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