azure

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package azure is a generated GoMock package.

Package azure is a generated GoMock package.

Package azure is a generated GoMock package.

Package azure is a generated GoMock package.

Package azure is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateResourceGroup

func (m *MockClient) CreateResourceGroup(ctx context.Context, resourceGroupName, location string) error

CreateResourceGroup mocks base method.

func (*MockClient) CreateVirtualNetwork

func (m *MockClient) CreateVirtualNetwork(ctx context.Context, resourceGroupName, virtualNetworkName, cidrBlock, location string) error

CreateVirtualNetwork mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetAzureInstanceTypesForRegion

func (m *MockClient) GetAzureInstanceTypesForRegion(ctx context.Context, region string) ([]*models.AzureInstanceType, error)

GetAzureInstanceTypesForRegion mocks base method.

func (*MockClient) GetAzureRegions

func (m *MockClient) GetAzureRegions(ctx context.Context) ([]*models.AzureLocation, error)

GetAzureRegions mocks base method.

func (*MockClient) ListResourceGroups

func (m *MockClient) ListResourceGroups(ctx context.Context, location string) ([]*models.AzureResourceGroup, error)

ListResourceGroups mocks base method.

func (*MockClient) ListVirtualNetworks

func (m *MockClient) ListVirtualNetworks(ctx context.Context, resourceGroup, location string) ([]*models.AzureVirtualNetwork, error)

ListVirtualNetworks mocks base method.

func (*MockClient) VerifyAccount

func (m *MockClient) VerifyAccount(ctx context.Context) error

VerifyAccount mocks base method.

type MockClientAPI

type MockClientAPI struct {
	// contains filtered or unexported fields
}

MockClientAPI is a mock of ClientAPI interface.

func NewMockClientAPI

func NewMockClientAPI(ctrl *gomock.Controller) *MockClientAPI

NewMockClientAPI creates a new mock instance.

func (*MockClientAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientAPI) Get

Get mocks base method.

func (*MockClientAPI) List

List mocks base method.

func (*MockClientAPI) ListComplete

ListComplete mocks base method.

func (*MockClientAPI) ListLocations

func (m *MockClientAPI) ListLocations(arg0 context.Context, arg1 string) (subscriptions.LocationListResult, error)

ListLocations mocks base method.

type MockClientAPIMockRecorder

type MockClientAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientAPIMockRecorder is the mock recorder for MockClientAPI.

func (*MockClientAPIMockRecorder) Get

func (mr *MockClientAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockClientAPIMockRecorder) List

func (mr *MockClientAPIMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientAPIMockRecorder) ListComplete

func (mr *MockClientAPIMockRecorder) ListComplete(arg0 interface{}) *gomock.Call

ListComplete indicates an expected call of ListComplete.

func (*MockClientAPIMockRecorder) ListLocations

func (mr *MockClientAPIMockRecorder) ListLocations(arg0, arg1 interface{}) *gomock.Call

ListLocations indicates an expected call of ListLocations.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateResourceGroup

func (mr *MockClientMockRecorder) CreateResourceGroup(ctx, resourceGroupName, location interface{}) *gomock.Call

CreateResourceGroup indicates an expected call of CreateResourceGroup.

func (*MockClientMockRecorder) CreateVirtualNetwork

func (mr *MockClientMockRecorder) CreateVirtualNetwork(ctx, resourceGroupName, virtualNetworkName, cidrBlock, location interface{}) *gomock.Call

CreateVirtualNetwork indicates an expected call of CreateVirtualNetwork.

func (*MockClientMockRecorder) GetAzureInstanceTypesForRegion

func (mr *MockClientMockRecorder) GetAzureInstanceTypesForRegion(ctx, region interface{}) *gomock.Call

GetAzureInstanceTypesForRegion indicates an expected call of GetAzureInstanceTypesForRegion.

func (*MockClientMockRecorder) GetAzureRegions

func (mr *MockClientMockRecorder) GetAzureRegions(ctx interface{}) *gomock.Call

GetAzureRegions indicates an expected call of GetAzureRegions.

func (*MockClientMockRecorder) ListResourceGroups

func (mr *MockClientMockRecorder) ListResourceGroups(ctx, location interface{}) *gomock.Call

ListResourceGroups indicates an expected call of ListResourceGroups.

func (*MockClientMockRecorder) ListVirtualNetworks

func (mr *MockClientMockRecorder) ListVirtualNetworks(ctx, resourceGroup, location interface{}) *gomock.Call

ListVirtualNetworks indicates an expected call of ListVirtualNetworks.

func (*MockClientMockRecorder) VerifyAccount

func (mr *MockClientMockRecorder) VerifyAccount(ctx interface{}) *gomock.Call

VerifyAccount indicates an expected call of VerifyAccount.

type MockGroupsClientAPI

type MockGroupsClientAPI struct {
	// contains filtered or unexported fields
}

MockGroupsClientAPI is a mock of GroupsClientAPI interface.

func NewMockGroupsClientAPI

func NewMockGroupsClientAPI(ctrl *gomock.Controller) *MockGroupsClientAPI

NewMockGroupsClientAPI creates a new mock instance.

func (*MockGroupsClientAPI) CheckExistence

func (m *MockGroupsClientAPI) CheckExistence(arg0 context.Context, arg1 string) (autorest.Response, error)

CheckExistence mocks base method.

func (*MockGroupsClientAPI) CreateOrUpdate

func (m *MockGroupsClientAPI) CreateOrUpdate(arg0 context.Context, arg1 string, arg2 resources.Group) (resources.Group, error)

CreateOrUpdate mocks base method.

func (*MockGroupsClientAPI) Delete

Delete mocks base method.

func (*MockGroupsClientAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGroupsClientAPI) ExportTemplate

ExportTemplate mocks base method.

func (*MockGroupsClientAPI) Get

Get mocks base method.

func (*MockGroupsClientAPI) List

List mocks base method.

func (*MockGroupsClientAPI) ListComplete

func (m *MockGroupsClientAPI) ListComplete(arg0 context.Context, arg1 string, arg2 *int32) (resources.GroupListResultIterator, error)

ListComplete mocks base method.

func (*MockGroupsClientAPI) Update

Update mocks base method.

type MockGroupsClientAPIMockRecorder

type MockGroupsClientAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockGroupsClientAPIMockRecorder is the mock recorder for MockGroupsClientAPI.

func (*MockGroupsClientAPIMockRecorder) CheckExistence

func (mr *MockGroupsClientAPIMockRecorder) CheckExistence(arg0, arg1 interface{}) *gomock.Call

CheckExistence indicates an expected call of CheckExistence.

func (*MockGroupsClientAPIMockRecorder) CreateOrUpdate

func (mr *MockGroupsClientAPIMockRecorder) CreateOrUpdate(arg0, arg1, arg2 interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate.

func (*MockGroupsClientAPIMockRecorder) Delete

func (mr *MockGroupsClientAPIMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockGroupsClientAPIMockRecorder) ExportTemplate

func (mr *MockGroupsClientAPIMockRecorder) ExportTemplate(arg0, arg1, arg2 interface{}) *gomock.Call

ExportTemplate indicates an expected call of ExportTemplate.

func (*MockGroupsClientAPIMockRecorder) Get

func (mr *MockGroupsClientAPIMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockGroupsClientAPIMockRecorder) List

func (mr *MockGroupsClientAPIMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockGroupsClientAPIMockRecorder) ListComplete

func (mr *MockGroupsClientAPIMockRecorder) ListComplete(arg0, arg1, arg2 interface{}) *gomock.Call

ListComplete indicates an expected call of ListComplete.

func (*MockGroupsClientAPIMockRecorder) Update

func (mr *MockGroupsClientAPIMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockResourceSkusClientAPI

type MockResourceSkusClientAPI struct {
	// contains filtered or unexported fields
}

MockResourceSkusClientAPI is a mock of ResourceSkusClientAPI interface.

func NewMockResourceSkusClientAPI

func NewMockResourceSkusClientAPI(ctrl *gomock.Controller) *MockResourceSkusClientAPI

NewMockResourceSkusClientAPI creates a new mock instance.

func (*MockResourceSkusClientAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResourceSkusClientAPI) List

List mocks base method.

func (*MockResourceSkusClientAPI) ListComplete

ListComplete mocks base method.

type MockResourceSkusClientAPIMockRecorder

type MockResourceSkusClientAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockResourceSkusClientAPIMockRecorder is the mock recorder for MockResourceSkusClientAPI.

func (*MockResourceSkusClientAPIMockRecorder) List

func (mr *MockResourceSkusClientAPIMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceSkusClientAPIMockRecorder) ListComplete

func (mr *MockResourceSkusClientAPIMockRecorder) ListComplete(arg0, arg1 interface{}) *gomock.Call

ListComplete indicates an expected call of ListComplete.

type MockVirtualNetworksClientAPI

type MockVirtualNetworksClientAPI struct {
	// contains filtered or unexported fields
}

MockVirtualNetworksClientAPI is a mock of VirtualNetworksClientAPI interface.

func NewMockVirtualNetworksClientAPI

func NewMockVirtualNetworksClientAPI(ctrl *gomock.Controller) *MockVirtualNetworksClientAPI

NewMockVirtualNetworksClientAPI creates a new mock instance.

func (*MockVirtualNetworksClientAPI) CheckIPAddressAvailability

func (m *MockVirtualNetworksClientAPI) CheckIPAddressAvailability(arg0 context.Context, arg1, arg2, arg3 string) (network.IPAddressAvailabilityResult, error)

CheckIPAddressAvailability mocks base method.

func (*MockVirtualNetworksClientAPI) CreateOrUpdate

CreateOrUpdate mocks base method.

func (*MockVirtualNetworksClientAPI) Delete

Delete mocks base method.

func (*MockVirtualNetworksClientAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVirtualNetworksClientAPI) Get

Get mocks base method.

func (*MockVirtualNetworksClientAPI) List

List mocks base method.

func (*MockVirtualNetworksClientAPI) ListAll

ListAll mocks base method.

func (*MockVirtualNetworksClientAPI) ListAllComplete

ListAllComplete mocks base method.

func (*MockVirtualNetworksClientAPI) ListComplete

ListComplete mocks base method.

func (*MockVirtualNetworksClientAPI) ListUsage

ListUsage mocks base method.

func (*MockVirtualNetworksClientAPI) ListUsageComplete

ListUsageComplete mocks base method.

func (*MockVirtualNetworksClientAPI) UpdateTags

UpdateTags mocks base method.

type MockVirtualNetworksClientAPIMockRecorder

type MockVirtualNetworksClientAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockVirtualNetworksClientAPIMockRecorder is the mock recorder for MockVirtualNetworksClientAPI.

func (*MockVirtualNetworksClientAPIMockRecorder) CheckIPAddressAvailability

func (mr *MockVirtualNetworksClientAPIMockRecorder) CheckIPAddressAvailability(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CheckIPAddressAvailability indicates an expected call of CheckIPAddressAvailability.

func (*MockVirtualNetworksClientAPIMockRecorder) CreateOrUpdate

func (mr *MockVirtualNetworksClientAPIMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate.

func (*MockVirtualNetworksClientAPIMockRecorder) Delete

func (mr *MockVirtualNetworksClientAPIMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVirtualNetworksClientAPIMockRecorder) Get

func (mr *MockVirtualNetworksClientAPIMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVirtualNetworksClientAPIMockRecorder) List

func (mr *MockVirtualNetworksClientAPIMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockVirtualNetworksClientAPIMockRecorder) ListAll

func (mr *MockVirtualNetworksClientAPIMockRecorder) ListAll(arg0 interface{}) *gomock.Call

ListAll indicates an expected call of ListAll.

func (*MockVirtualNetworksClientAPIMockRecorder) ListAllComplete

func (mr *MockVirtualNetworksClientAPIMockRecorder) ListAllComplete(arg0 interface{}) *gomock.Call

ListAllComplete indicates an expected call of ListAllComplete.

func (*MockVirtualNetworksClientAPIMockRecorder) ListComplete

func (mr *MockVirtualNetworksClientAPIMockRecorder) ListComplete(arg0, arg1 interface{}) *gomock.Call

ListComplete indicates an expected call of ListComplete.

func (*MockVirtualNetworksClientAPIMockRecorder) ListUsage

func (mr *MockVirtualNetworksClientAPIMockRecorder) ListUsage(arg0, arg1, arg2 interface{}) *gomock.Call

ListUsage indicates an expected call of ListUsage.

func (*MockVirtualNetworksClientAPIMockRecorder) ListUsageComplete

func (mr *MockVirtualNetworksClientAPIMockRecorder) ListUsageComplete(arg0, arg1, arg2 interface{}) *gomock.Call

ListUsageComplete indicates an expected call of ListUsageComplete.

func (*MockVirtualNetworksClientAPIMockRecorder) UpdateTags

func (mr *MockVirtualNetworksClientAPIMockRecorder) UpdateTags(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateTags indicates an expected call of UpdateTags.

Jump to

Keyboard shortcuts

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