objectstoretest

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package objectstoretest contains reusable object store contract tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertSignedURLerContract

func AssertSignedURLerContract(t testing.TB, signer objectstore.SignedURLer, ref objectstore.Ref)

AssertSignedURLerContract verifies common signed URL behavior.

func AssertStoreContract

func AssertStoreContract(t testing.TB, newStore StoreFactory)

AssertStoreContract verifies behavior shared by object store implementations.

Types

type StoreFactory

type StoreFactory func(testing.TB) objectstore.Store

StoreFactory builds a fresh object store for one contract test run.

Jump to

Keyboard shortcuts

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