test

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func NewHandler

func NewHandler() *Handler

func (*Handler) Run

Run runs the defined tests

func (*Handler) TestAuthorization

func (h *Handler) TestAuthorization(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)

TestAuthorization checks that S3 server requires X-Pydio-User Header to be set

func (*Handler) TestEtags

func (h *Handler) TestEtags(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)

TestEtags checks various cases regarding dynamic etag computing when it is empty

func (*Handler) TestEvents

func (h *Handler) TestEvents(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)

TestEvents checks that metadata sent using the client is propagated to the corresponding s3 event

Jump to

Keyboard shortcuts

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