testgitlab

package
v19.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertAgentToken

func AssertAgentToken(t *testing.T, r *http.Request, agentToken api.AgentToken)

AssertAgentToken asserts that the request contains the expected agent token header.

func SetupClient

func SetupClient(t *testing.T, backendPath, pattern string, handler func(http.ResponseWriter, *http.Request), opts ...gitlab.ClientOption) *gitlab.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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