mockarmresources

package
v0.0.0-...-ad53ef2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 12 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