requesthandlers

package
v14.47.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package requesthandlers provides functions for building test request handlers.

Index

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.

Jump to

Keyboard shortcuts

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