requesthandlers

package
v14.36.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 5 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 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