Documentation
¶
Overview ¶
Package requesthandlers provides functions for building test request handlers.
Index ¶
- func BuildAllowedWithCustomActionsHandlers(t *testing.T) []testserver.TestRequestHandler
- func BuildAllowedWithGitalyHandlers(t *testing.T, gitalyAddress string) []testserver.TestRequestHandler
- func BuildAllowedWithGitalyHandlersAndRetryConfig(t *testing.T, gitalyAddress string, retryConfig map[string]interface{}) []testserver.TestRequestHandler
- func BuildDisallowedByAPIHandlers(t *testing.T) []testserver.TestRequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAllowedWithCustomActionsHandlers ¶
func BuildAllowedWithCustomActionsHandlers(t *testing.T) []testserver.TestRequestHandler
BuildAllowedWithCustomActionsHandlers returns test request handlers for allowed API calls with custom actions.
func BuildAllowedWithGitalyHandlers ¶
func BuildAllowedWithGitalyHandlers(t *testing.T, gitalyAddress string) []testserver.TestRequestHandler
BuildAllowedWithGitalyHandlers returns test request handlers for allowed API calls with Gitaly.
func BuildAllowedWithGitalyHandlersAndRetryConfig ¶ added in v14.46.0
func BuildAllowedWithGitalyHandlersAndRetryConfig(t *testing.T, gitalyAddress string, retryConfig map[string]interface{}) []testserver.TestRequestHandler
BuildAllowedWithGitalyHandlersAndRetryConfig returns test request handlers for allowed API calls with Gitaly and retry config.
func BuildDisallowedByAPIHandlers ¶ added in v14.36.0
func BuildDisallowedByAPIHandlers(t *testing.T) []testserver.TestRequestHandler
BuildDisallowedByAPIHandlers returns test request handlers for disallowed API calls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.