armtestsupport

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ApiVersion = "2021-04-01"
View Source
const ApimAppId = "test_apim_app_id"
View Source
const ApimResourceGroupName = "test_apim_resource_group_name"
View Source
const ApimServiceGatewayUrl = "https://my_apim_service_name.azure-api.net"
View Source
const ApimServiceName = "test_apim_service_name"
View Source
const AzureSubscriptionsBaseUrl = "https://management.azure.com/subscriptions"
View Source
const Issuer = "https://staratatest.io"

Variables

This section is empty.

Functions

func FakeTokenCredentialHttpClient

func FakeTokenCredentialHttpClient(issuer string) *testsupport.MockHTTPClient

FakeTokenCredentialHttpClient creates a http client that returns a fake access token from a fake token endpoint that is determined by a fake well_known endpoint.

func NewFakeCountBasedPagerBuilder

func NewFakeCountBasedPagerBuilder[T any](numPages int) *fakeCountBasedPagerBuilder[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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