testutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MockOpenIDConfiguration is a mock OpenID configuration response
	// language=JSON.
	MockOpenIDConfiguration = `` /* 316-byte string literal not displayed */

	// MockTokenResponse is a mock token response
	//nolint:gosec // This is a mock token response.
	// language=JSON.
	MockTokenResponse = `` /* 224-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func MockTransport

func MockTransport(
	next http.RoundTripper,
	resourceGraphResponse armresourcegraph.QueryResponse,
	metricsResponse azmetrics.MetricResults,
) promhttp.RoundTripperFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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