Documentation ¶
Overview ¶
Package mock_virtualmachinescalesetvmclient is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) BeginUpdate(ctx context.Context, resourceGroupName, vmScaleSetName, instanceID string, ...) (*runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientUpdateResponse], ...)
- func (m *MockInterface) Delete(ctx context.Context, ...) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(ctx context.Context, ...) (*armcompute.VirtualMachineScaleSetVM, error)
- func (m *MockInterface) GetInstanceView(ctx context.Context, resourceGroupName, vmScaleSetName, instanceID string) (*armcompute.VirtualMachineScaleSetVMInstanceView, error)
- func (m *MockInterface) List(ctx context.Context, resourceGroupName, parentResourceName string) ([]*armcompute.VirtualMachineScaleSetVM, error)
- func (m *MockInterface) ListVMInstanceView(ctx context.Context, resourceGroupName, parentResourceName string) ([]*armcompute.VirtualMachineScaleSetVM, error)
- func (m *MockInterface) Update(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string, ...) (*armcompute.VirtualMachineScaleSetVM, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) BeginUpdate(ctx, resourceGroupName, vmScaleSetName, instanceID, parameters, options any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Delete(ctx, resourceGroupName, parentResourceName, resourceName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Get(ctx, resourceGroupName, parentResourceName, resourceName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetInstanceView(ctx, resourceGroupName, vmScaleSetName, instanceID any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) List(ctx, resourceGroupName, parentResourceName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListVMInstanceView(ctx, resourceGroupName, parentResourceName any) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Update(ctx, resourceGroupName, VMScaleSetName, instanceID, parameters any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) BeginUpdate ¶
func (m *MockInterface) BeginUpdate(ctx context.Context, resourceGroupName, vmScaleSetName, instanceID string, parameters armcompute.VirtualMachineScaleSetVM, options *armcompute.VirtualMachineScaleSetVMsClientBeginUpdateOptions) (*runtime.Poller[armcompute.VirtualMachineScaleSetVMsClientUpdateResponse], error)
BeginUpdate mocks base method.
func (*MockInterface) Delete ¶
func (m *MockInterface) Delete(ctx context.Context, resourceGroupName, parentResourceName, resourceName string) error
Delete mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Get ¶
func (m *MockInterface) Get(ctx context.Context, resourceGroupName, parentResourceName, resourceName string) (*armcompute.VirtualMachineScaleSetVM, error)
Get mocks base method.
func (*MockInterface) GetInstanceView ¶
func (m *MockInterface) GetInstanceView(ctx context.Context, resourceGroupName, vmScaleSetName, instanceID string) (*armcompute.VirtualMachineScaleSetVMInstanceView, error)
GetInstanceView mocks base method.
func (*MockInterface) List ¶
func (m *MockInterface) List(ctx context.Context, resourceGroupName, parentResourceName string) ([]*armcompute.VirtualMachineScaleSetVM, error)
List mocks base method.
func (*MockInterface) ListVMInstanceView ¶
func (m *MockInterface) ListVMInstanceView(ctx context.Context, resourceGroupName, parentResourceName string) ([]*armcompute.VirtualMachineScaleSetVM, error)
ListVMInstanceView mocks base method.
func (*MockInterface) Update ¶
func (m *MockInterface) Update(ctx context.Context, resourceGroupName, VMScaleSetName, instanceID string, parameters armcompute.VirtualMachineScaleSetVM) (*armcompute.VirtualMachineScaleSetVM, error)
Update mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) BeginUpdate ¶
func (mr *MockInterfaceMockRecorder) BeginUpdate(ctx, resourceGroupName, vmScaleSetName, instanceID, parameters, options any) *gomock.Call
BeginUpdate indicates an expected call of BeginUpdate.
func (*MockInterfaceMockRecorder) Delete ¶
func (mr *MockInterfaceMockRecorder) Delete(ctx, resourceGroupName, parentResourceName, resourceName any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(ctx, resourceGroupName, parentResourceName, resourceName any) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) GetInstanceView ¶
func (mr *MockInterfaceMockRecorder) GetInstanceView(ctx, resourceGroupName, vmScaleSetName, instanceID any) *gomock.Call
GetInstanceView indicates an expected call of GetInstanceView.
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List(ctx, resourceGroupName, parentResourceName any) *gomock.Call
List indicates an expected call of List.
func (*MockInterfaceMockRecorder) ListVMInstanceView ¶
func (mr *MockInterfaceMockRecorder) ListVMInstanceView(ctx, resourceGroupName, parentResourceName any) *gomock.Call
ListVMInstanceView indicates an expected call of ListVMInstanceView.