blobstortest

package
v0.38.5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewObject

func NewObject(sz uint64) *objectSDK.Object

NewObject creates a regular object of specified size with a random payload.

func TestAll

func TestAll(t *testing.T, cons Constructor, min, max uint64)

func TestControl

func TestControl(t *testing.T, cons Constructor, min, max uint64)

TestControl checks correctness of a read-only mode. cons must return a storage which is NOT opened.

func TestDelete

func TestDelete(t *testing.T, cons Constructor, min, max uint64)

func TestExists

func TestExists(t *testing.T, cons Constructor, min, max uint64)

func TestGet

func TestGet(t *testing.T, cons Constructor, min, max uint64)

func TestGetRange

func TestGetRange(t *testing.T, cons Constructor, min, max uint64)

func TestInfo

func TestInfo(t *testing.T, cons Constructor, expectedType string, expectedPath string)

func TestIterate

func TestIterate(t *testing.T, cons Constructor, min, max uint64)

Types

type Constructor

type Constructor = func(t *testing.T) common.Storage

Constructor constructs blobstor component. Each call must create a component using different file-system path.

Jump to

Keyboard shortcuts

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