apim_testsupport

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApimServiceId

func ApimServiceId() string

func ApimServiceInfo

func ApimServiceInfo(serviceUrl string) armmodel.ApimServiceInfo

func ApimServiceListResponse

func ApimServiceListResponse(gatewayUrl string) azarmapim.ServiceClientListResponse

func ListServiceUrl

func ListServiceUrl() string

Types

type MockApimNamedValueSvc

type MockApimNamedValueSvc struct {
	mock.Mock
}

func NewMockApimNamedValueSvc

func NewMockApimNamedValueSvc() *MockApimNamedValueSvc

func (*MockApimNamedValueSvc) ExpectGetResourceRoles

func (m *MockApimNamedValueSvc) ExpectGetResourceRoles(serviceInfo armmodel.ApimServiceInfo, retActionRoles map[string][]string)

func (*MockApimNamedValueSvc) GetResourceRoles

func (*MockApimNamedValueSvc) UpdateResourceRole

type MockApimServiceClient

type MockApimServiceClient struct {
	mock.Mock
}

func NewMockApimServiceClient

func NewMockApimServiceClient() *MockApimServiceClient

func (*MockApimServiceClient) ExpectNewListPager

func (m *MockApimServiceClient) ExpectNewListPager(pages ...azarmapim.ServiceClientListResponse)

type MockArmApimSvc

type MockArmApimSvc struct {
	mock.Mock
}

func NewMockArmApimSvc

func NewMockArmApimSvc() *MockArmApimSvc

func (*MockArmApimSvc) ExpectGetApimServiceInfo

func (m *MockArmApimSvc) ExpectGetApimServiceInfo(serviceInfo armmodel.ApimServiceInfo)

func (*MockArmApimSvc) GetApimServiceInfo

func (m *MockArmApimSvc) GetApimServiceInfo(serviceUrl string) (armmodel.ApimServiceInfo, error)

type MockNamedValuesClient

type MockNamedValuesClient struct {
	mock.Mock
}

func NewMockNamedValuesClient

func NewMockNamedValuesClient() *MockNamedValuesClient

func (*MockNamedValuesClient) BeginUpdate

func (*MockNamedValuesClient) NewListByServicePager

Jump to

Keyboard shortcuts

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