mock_azure

package
v5.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_azure is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) CreateOrUpdateNetworkSecurityGroup

func (m *MockAPI) CreateOrUpdateNetworkSecurityGroup(ctx context.Context, resourceGroupName, networkSecurityGroupName string, securityGroup network.SecurityGroup) error

CreateOrUpdateNetworkSecurityGroup mocks base method

func (*MockAPI) DeleteDeployment

func (m *MockAPI) DeleteDeployment(ctx context.Context, resourceGroupName, deploymentName string) error

DeleteDeployment mocks base method

func (*MockAPI) DeleteVMSS

func (m *MockAPI) DeleteVMSS(ctx context.Context, resourceGroupName, vmssName string) error

DeleteVMSS mocks base method

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) GetVMSS

func (m *MockAPI) GetVMSS(ctx context.Context, resourceGroupName, vmssName string) (azure.VMSS, error)

GetVMSS mocks base method

func (*MockAPI) ListNetworkSecurityGroups

func (m *MockAPI) ListNetworkSecurityGroups(ctx context.Context, resourceGroupName string) (azure.SecurityGroups, error)

ListNetworkSecurityGroups mocks base method

func (*MockAPI) ListPublicIPs

func (m *MockAPI) ListPublicIPs(ctx context.Context, resourceGroupName string) ([]string, error)

ListPublicIPs mocks base method

func (*MockAPI) ListVMSSNodes

func (m *MockAPI) ListVMSSNodes(ctx context.Context, resourceGroupName, vmssName string) (azure.VMSSNodes, error)

ListVMSSNodes mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) CreateOrUpdateNetworkSecurityGroup

func (mr *MockAPIMockRecorder) CreateOrUpdateNetworkSecurityGroup(ctx, resourceGroupName, networkSecurityGroupName, securityGroup interface{}) *gomock.Call

CreateOrUpdateNetworkSecurityGroup indicates an expected call of CreateOrUpdateNetworkSecurityGroup

func (*MockAPIMockRecorder) DeleteDeployment

func (mr *MockAPIMockRecorder) DeleteDeployment(ctx, resourceGroupName, deploymentName interface{}) *gomock.Call

DeleteDeployment indicates an expected call of DeleteDeployment

func (*MockAPIMockRecorder) DeleteVMSS

func (mr *MockAPIMockRecorder) DeleteVMSS(ctx, resourceGroupName, vmssName interface{}) *gomock.Call

DeleteVMSS indicates an expected call of DeleteVMSS

func (*MockAPIMockRecorder) GetVMSS

func (mr *MockAPIMockRecorder) GetVMSS(ctx, resourceGroupName, vmssName interface{}) *gomock.Call

GetVMSS indicates an expected call of GetVMSS

func (*MockAPIMockRecorder) ListNetworkSecurityGroups

func (mr *MockAPIMockRecorder) ListNetworkSecurityGroups(ctx, resourceGroupName interface{}) *gomock.Call

ListNetworkSecurityGroups indicates an expected call of ListNetworkSecurityGroups

func (*MockAPIMockRecorder) ListPublicIPs

func (mr *MockAPIMockRecorder) ListPublicIPs(ctx, resourceGroupName interface{}) *gomock.Call

ListPublicIPs indicates an expected call of ListPublicIPs

func (*MockAPIMockRecorder) ListVMSSNodes

func (mr *MockAPIMockRecorder) ListVMSSNodes(ctx, resourceGroupName, vmssName interface{}) *gomock.Call

ListVMSSNodes indicates an expected call of ListVMSSNodes

Jump to

Keyboard shortcuts

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