Help us shape the future of Go! Take the 2026 Go Developer Survey

mockarmresources

package
v1.37.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAzResourceListMock

func AddAzResourceListMock(
	c *mockhttp.MockHttpClient,
	matchResourceGroupName *string,
	result []*armresources.GenericResourceExpanded,
)

func AddResourceGroupListMock

func AddResourceGroupListMock(c *mockhttp.MockHttpClient, subscriptionId string, results []*armresources.ResourceGroup)

func IsGetSubscription

func IsGetSubscription(request *http.Request, subscription string) bool

func IsListLocations

func IsListLocations(request *http.Request, subscription string) bool

func IsListSubscriptions

func IsListSubscriptions(request *http.Request) bool

func IsListTenants

func IsListTenants(request *http.Request) bool

func MockGetSubscription

func MockGetSubscription(mockHttp *mockhttp.MockHttpClient, subscription string, response armsubscriptions.Subscription)

func MockListLocations

func MockListLocations(
	mockHttp *mockhttp.MockHttpClient,
	subscription string,
	response armsubscriptions.LocationListResult)

func MockListSubscriptions

func MockListSubscriptions(mockHttp *mockhttp.MockHttpClient, response armsubscriptions.SubscriptionListResult)

func MockListTenants

func MockListTenants(mockHttp *mockhttp.MockHttpClient, response armsubscriptions.TenantListResult)

Types

This section is empty.

Jump to

Keyboard shortcuts

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