Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Name() string
- func (h *Handler) Run(ctx context.Context, req *test.RunTestsRequest) (*test.RunTestsResponse, error)
- func (h *Handler) TestAuthorization(ctx context.Context, oc nodes.StorageClient, req *test.RunTestsRequest, ...) (*test.TestResult, error)
- func (h *Handler) TestEtags(ctx context.Context, oc nodes.StorageClient, req *test.RunTestsRequest, ...) (*test.TestResult, error)
- func (h *Handler) TestEvents(ctx context.Context, oc nodes.StorageClient, req *test.RunTestsRequest, ...) (*test.TestResult, error)
- func (h *Handler) TestNodesClient(ctx context.Context) (*test.TestResult, error)
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) Run ¶
func (h *Handler) Run(ctx context.Context, req *test.RunTestsRequest) (*test.RunTestsResponse, error)
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 ¶
func (h *Handler) TestEtags(ctx context.Context, oc nodes.StorageClient, 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, 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 ¶
Click to show internal directories.
Click to hide internal directories.