test

package
v4.4.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: AGPL-3.0 Imports: 27 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 {
	test.UnimplementedTesterServer
}

func NewHandler

func NewHandler() *Handler

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) Run

Run runs the defined tests

func (*Handler) TestAuthorization

func (h *Handler) TestAuthorization(ctx context.Context, oc nodes.StorageClient, 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

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

func (*Handler) TestEvents

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

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

func (*Handler) TestNodesClient

func (h *Handler) TestNodesClient(ctx context.Context) (*test.TestResult, error)

Jump to

Keyboard shortcuts

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