Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Run(ctx context.Context, req *test.RunTestsRequest, resp *test.RunTestsResponse) error
- func (h *Handler) TestAuthorization(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)
- func (h *Handler) TestEtags(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)
- func (h *Handler) TestEvents(ctx context.Context, req *test.RunTestsRequest, dsConf *object.DataSource) (*test.TestResult, error)
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 ¶
func (h *Handler) Run(ctx context.Context, req *test.RunTestsRequest, resp *test.RunTestsResponse) error
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
Click to show internal directories.
Click to hide internal directories.