Documentation ¶
Overview ¶
Package mock_azure is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) CreateOrUpdateNetworkSecurityGroup(ctx context.Context, resourceGroupName, networkSecurityGroupName string, ...) error
- func (m *MockAPI) DeleteDeployment(ctx context.Context, resourceGroupName, deploymentName string) error
- func (m *MockAPI) DeleteVMSS(ctx context.Context, resourceGroupName, vmssName string) error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetVMSS(ctx context.Context, resourceGroupName, vmssName string) (azure.VMSS, error)
- func (m *MockAPI) ListNetworkSecurityGroups(ctx context.Context, resourceGroupName string) (azure.SecurityGroups, error)
- func (m *MockAPI) ListPublicIPs(ctx context.Context, resourceGroupName string) ([]string, error)
- func (m *MockAPI) ListVMSSNodes(ctx context.Context, resourceGroupName, vmssName string) (azure.VMSSNodes, error)
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) CreateOrUpdateNetworkSecurityGroup(ctx, resourceGroupName, networkSecurityGroupName, securityGroup interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteDeployment(ctx, resourceGroupName, deploymentName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteVMSS(ctx, resourceGroupName, vmssName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetVMSS(ctx, resourceGroupName, vmssName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListNetworkSecurityGroups(ctx, resourceGroupName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListPublicIPs(ctx, resourceGroupName interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListVMSSNodes(ctx, resourceGroupName, vmssName interface{}) *gomock.Call
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 ¶
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 ¶
ListPublicIPs 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