Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: pkg/azure/azureClientWrapper/azureClientWrapper.go
Generated by this command:
mockgen -source=pkg/azure/azureClientWrapper/azureClientWrapper.go -destination mocks/pkg/azure/azureClientWrapper/azureClientWrapper.go
Package mock_azureClientWrapper is a generated GoMock package.
Index ¶
- type MockAzureClient
- func (m *MockAzureClient) EXPECT() *MockAzureClientMockRecorder
- func (m *MockAzureClient) ListClustersInSubscription(arg0 context.Context) ([]*armcontainerservice.ManagedCluster, error)
- func (m *MockAzureClient) ListMachineTypesByLocation(arg0 context.Context, arg1 string) ([]*armcompute.VirtualMachineSize, error)
- func (m *MockAzureClient) ListPrices(arg0 context.Context, arg1 *sdk.RetailPricesClientListOptions) ([]*sdk.ResourceSKU, error)
- func (m *MockAzureClient) ListVirtualMachineScaleSetsFromResourceGroup(arg0 context.Context, arg1 string) ([]*armcompute.VirtualMachineScaleSet, error)
- func (m *MockAzureClient) ListVirtualMachineScaleSetsOwnedVms(arg0 context.Context, arg1, arg2 string) ([]*armcompute.VirtualMachineScaleSetVM, error)
- type MockAzureClientMockRecorder
- func (mr *MockAzureClientMockRecorder) ListClustersInSubscription(arg0 any) *gomock.Call
- func (mr *MockAzureClientMockRecorder) ListMachineTypesByLocation(arg0, arg1 any) *gomock.Call
- func (mr *MockAzureClientMockRecorder) ListPrices(arg0, arg1 any) *gomock.Call
- func (mr *MockAzureClientMockRecorder) ListVirtualMachineScaleSetsFromResourceGroup(arg0, arg1 any) *gomock.Call
- func (mr *MockAzureClientMockRecorder) ListVirtualMachineScaleSetsOwnedVms(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAzureClient ¶
type MockAzureClient struct {
// contains filtered or unexported fields
}
MockAzureClient is a mock of AzureClient interface.
func NewMockAzureClient ¶
func NewMockAzureClient(ctrl *gomock.Controller) *MockAzureClient
NewMockAzureClient creates a new mock instance.
func (*MockAzureClient) EXPECT ¶
func (m *MockAzureClient) EXPECT() *MockAzureClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAzureClient) ListClustersInSubscription ¶
func (m *MockAzureClient) ListClustersInSubscription(arg0 context.Context) ([]*armcontainerservice.ManagedCluster, error)
ListClustersInSubscription mocks base method.
func (*MockAzureClient) ListMachineTypesByLocation ¶
func (m *MockAzureClient) ListMachineTypesByLocation(arg0 context.Context, arg1 string) ([]*armcompute.VirtualMachineSize, error)
ListMachineTypesByLocation mocks base method.
func (*MockAzureClient) ListPrices ¶
func (m *MockAzureClient) ListPrices(arg0 context.Context, arg1 *sdk.RetailPricesClientListOptions) ([]*sdk.ResourceSKU, error)
ListPrices mocks base method.
func (*MockAzureClient) ListVirtualMachineScaleSetsFromResourceGroup ¶
func (m *MockAzureClient) ListVirtualMachineScaleSetsFromResourceGroup(arg0 context.Context, arg1 string) ([]*armcompute.VirtualMachineScaleSet, error)
ListVirtualMachineScaleSetsFromResourceGroup mocks base method.
func (*MockAzureClient) ListVirtualMachineScaleSetsOwnedVms ¶
func (m *MockAzureClient) ListVirtualMachineScaleSetsOwnedVms(arg0 context.Context, arg1, arg2 string) ([]*armcompute.VirtualMachineScaleSetVM, error)
ListVirtualMachineScaleSetsOwnedVms mocks base method.
type MockAzureClientMockRecorder ¶
type MockAzureClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAzureClientMockRecorder is the mock recorder for MockAzureClient.
func (*MockAzureClientMockRecorder) ListClustersInSubscription ¶
func (mr *MockAzureClientMockRecorder) ListClustersInSubscription(arg0 any) *gomock.Call
ListClustersInSubscription indicates an expected call of ListClustersInSubscription.
func (*MockAzureClientMockRecorder) ListMachineTypesByLocation ¶
func (mr *MockAzureClientMockRecorder) ListMachineTypesByLocation(arg0, arg1 any) *gomock.Call
ListMachineTypesByLocation indicates an expected call of ListMachineTypesByLocation.
func (*MockAzureClientMockRecorder) ListPrices ¶
func (mr *MockAzureClientMockRecorder) ListPrices(arg0, arg1 any) *gomock.Call
ListPrices indicates an expected call of ListPrices.
func (*MockAzureClientMockRecorder) ListVirtualMachineScaleSetsFromResourceGroup ¶
func (mr *MockAzureClientMockRecorder) ListVirtualMachineScaleSetsFromResourceGroup(arg0, arg1 any) *gomock.Call
ListVirtualMachineScaleSetsFromResourceGroup indicates an expected call of ListVirtualMachineScaleSetsFromResourceGroup.
func (*MockAzureClientMockRecorder) ListVirtualMachineScaleSetsOwnedVms ¶
func (mr *MockAzureClientMockRecorder) ListVirtualMachineScaleSetsOwnedVms(arg0, arg1, arg2 any) *gomock.Call
ListVirtualMachineScaleSetsOwnedVms indicates an expected call of ListVirtualMachineScaleSetsOwnedVms.