test

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(t *testing.T, kind string, config stow.Config)

All runs a generic suite of tests for Stow storage implementations. Passing the kind name and a configuration is enough, because implementations should have registered themselves via stow.Register. Locations should be empty.

func BigFileUpload

func BigFileUpload(t *testing.T, kind string, config stow.Config, fileSize int64)

func ContainerPreSignRequest

func ContainerPreSignRequest(
	t *testing.T, kind string, config stow.Config, requestPreparer PresignedRequestPreparer,
)

func ExistingContainerDoesNotProduceAnError

func ExistingContainerDoesNotProduceAnError(t *testing.T, kind string, config stow.Config)

Types

type PresignedRequestPreparer

type PresignedRequestPreparer func(method stow.ClientMethod, r *http.Request) error

Jump to

Keyboard shortcuts

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