Documentation ¶
Overview ¶
Package mock_compute is a generated GoMock package.
Index ¶
- type MockDiskEncryptionSetsClient
- type MockDiskEncryptionSetsClientMockRecorder
- type MockDisksClient
- type MockDisksClientMockRecorder
- type MockResourceSkusClient
- type MockResourceSkusClientMockRecorder
- type MockUsageClient
- type MockUsageClientMockRecorder
- type MockVirtualMachineScaleSetVMsClient
- func (m *MockVirtualMachineScaleSetVMsClient) EXPECT() *MockVirtualMachineScaleSetVMsClientMockRecorder
- func (m *MockVirtualMachineScaleSetVMsClient) GetInstanceView(arg0 context.Context, arg1, arg2, arg3 string) (compute.VirtualMachineScaleSetVMInstanceView, error)
- func (m *MockVirtualMachineScaleSetVMsClient) List(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) ([]compute.VirtualMachineScaleSetVM, error)
- func (m *MockVirtualMachineScaleSetVMsClient) RunCommandAndWait(arg0 context.Context, arg1, arg2, arg3 string, arg4 compute.RunCommandInput) error
- type MockVirtualMachineScaleSetVMsClientMockRecorder
- func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) GetInstanceView(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) List(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) RunCommandAndWait(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- type MockVirtualMachineScaleSetsClient
- func (m *MockVirtualMachineScaleSetsClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string) error
- func (m *MockVirtualMachineScaleSetsClient) EXPECT() *MockVirtualMachineScaleSetsClientMockRecorder
- func (m *MockVirtualMachineScaleSetsClient) List(arg0 context.Context, arg1 string) ([]compute.VirtualMachineScaleSet, error)
- type MockVirtualMachineScaleSetsClientMockRecorder
- type MockVirtualMachinesClient
- func (m *MockVirtualMachinesClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2 string, arg3 compute.VirtualMachine) error
- func (m *MockVirtualMachinesClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string, arg3 *bool) error
- func (m *MockVirtualMachinesClient) EXPECT() *MockVirtualMachinesClientMockRecorder
- func (m *MockVirtualMachinesClient) Get(arg0 context.Context, arg1, arg2 string, arg3 compute.InstanceViewTypes) (compute.VirtualMachine, error)
- func (m *MockVirtualMachinesClient) GetSerialConsoleForVM(arg0 context.Context, arg1, arg2 string, arg3 io.Writer) error
- func (m *MockVirtualMachinesClient) List(arg0 context.Context, arg1 string) ([]compute.VirtualMachine, error)
- func (m *MockVirtualMachinesClient) RedeployAndWait(arg0 context.Context, arg1, arg2 string) error
- func (m *MockVirtualMachinesClient) StartAndWait(arg0 context.Context, arg1, arg2 string) error
- func (m *MockVirtualMachinesClient) StopAndWait(arg0 context.Context, arg1, arg2 string, arg3 bool) error
- type MockVirtualMachinesClientMockRecorder
- func (mr *MockVirtualMachinesClientMockRecorder) CreateOrUpdateAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) DeleteAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) Get(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) GetSerialConsoleForVM(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) List(arg0, arg1 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) RedeployAndWait(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) StartAndWait(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockVirtualMachinesClientMockRecorder) StopAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiskEncryptionSetsClient ¶
type MockDiskEncryptionSetsClient struct {
// contains filtered or unexported fields
}
MockDiskEncryptionSetsClient is a mock of DiskEncryptionSetsClient interface.
func NewMockDiskEncryptionSetsClient ¶
func NewMockDiskEncryptionSetsClient(ctrl *gomock.Controller) *MockDiskEncryptionSetsClient
NewMockDiskEncryptionSetsClient creates a new mock instance.
func (*MockDiskEncryptionSetsClient) EXPECT ¶
func (m *MockDiskEncryptionSetsClient) EXPECT() *MockDiskEncryptionSetsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiskEncryptionSetsClient) Get ¶
func (m *MockDiskEncryptionSetsClient) Get(arg0 context.Context, arg1, arg2 string) (compute.DiskEncryptionSet, error)
Get mocks base method.
type MockDiskEncryptionSetsClientMockRecorder ¶
type MockDiskEncryptionSetsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDiskEncryptionSetsClientMockRecorder is the mock recorder for MockDiskEncryptionSetsClient.
type MockDisksClient ¶
type MockDisksClient struct {
// contains filtered or unexported fields
}
MockDisksClient is a mock of DisksClient interface.
func NewMockDisksClient ¶
func NewMockDisksClient(ctrl *gomock.Controller) *MockDisksClient
NewMockDisksClient creates a new mock instance.
func (*MockDisksClient) DeleteAndWait ¶
func (m *MockDisksClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string) error
DeleteAndWait mocks base method.
func (*MockDisksClient) EXPECT ¶
func (m *MockDisksClient) EXPECT() *MockDisksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDisksClientMockRecorder ¶
type MockDisksClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDisksClientMockRecorder is the mock recorder for MockDisksClient.
func (*MockDisksClientMockRecorder) DeleteAndWait ¶
func (mr *MockDisksClientMockRecorder) DeleteAndWait(arg0, arg1, arg2 any) *gomock.Call
DeleteAndWait indicates an expected call of DeleteAndWait.
type MockResourceSkusClient ¶
type MockResourceSkusClient struct {
// contains filtered or unexported fields
}
MockResourceSkusClient is a mock of ResourceSkusClient interface.
func NewMockResourceSkusClient ¶
func NewMockResourceSkusClient(ctrl *gomock.Controller) *MockResourceSkusClient
NewMockResourceSkusClient creates a new mock instance.
func (*MockResourceSkusClient) EXPECT ¶
func (m *MockResourceSkusClient) EXPECT() *MockResourceSkusClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceSkusClient) List ¶
func (m *MockResourceSkusClient) List(arg0 context.Context, arg1 string) ([]compute.ResourceSku, error)
List mocks base method.
type MockResourceSkusClientMockRecorder ¶
type MockResourceSkusClientMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceSkusClientMockRecorder is the mock recorder for MockResourceSkusClient.
type MockUsageClient ¶
type MockUsageClient struct {
// contains filtered or unexported fields
}
MockUsageClient is a mock of UsageClient interface.
func NewMockUsageClient ¶
func NewMockUsageClient(ctrl *gomock.Controller) *MockUsageClient
NewMockUsageClient creates a new mock instance.
func (*MockUsageClient) EXPECT ¶
func (m *MockUsageClient) EXPECT() *MockUsageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUsageClientMockRecorder ¶
type MockUsageClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUsageClientMockRecorder is the mock recorder for MockUsageClient.
type MockVirtualMachineScaleSetVMsClient ¶
type MockVirtualMachineScaleSetVMsClient struct {
// contains filtered or unexported fields
}
MockVirtualMachineScaleSetVMsClient is a mock of VirtualMachineScaleSetVMsClient interface.
func NewMockVirtualMachineScaleSetVMsClient ¶
func NewMockVirtualMachineScaleSetVMsClient(ctrl *gomock.Controller) *MockVirtualMachineScaleSetVMsClient
NewMockVirtualMachineScaleSetVMsClient creates a new mock instance.
func (*MockVirtualMachineScaleSetVMsClient) EXPECT ¶
func (m *MockVirtualMachineScaleSetVMsClient) EXPECT() *MockVirtualMachineScaleSetVMsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVirtualMachineScaleSetVMsClient) GetInstanceView ¶
func (m *MockVirtualMachineScaleSetVMsClient) GetInstanceView(arg0 context.Context, arg1, arg2, arg3 string) (compute.VirtualMachineScaleSetVMInstanceView, error)
GetInstanceView mocks base method.
func (*MockVirtualMachineScaleSetVMsClient) List ¶
func (m *MockVirtualMachineScaleSetVMsClient) List(arg0 context.Context, arg1, arg2, arg3, arg4, arg5 string) ([]compute.VirtualMachineScaleSetVM, error)
List mocks base method.
func (*MockVirtualMachineScaleSetVMsClient) RunCommandAndWait ¶
func (m *MockVirtualMachineScaleSetVMsClient) RunCommandAndWait(arg0 context.Context, arg1, arg2, arg3 string, arg4 compute.RunCommandInput) error
RunCommandAndWait mocks base method.
type MockVirtualMachineScaleSetVMsClientMockRecorder ¶
type MockVirtualMachineScaleSetVMsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualMachineScaleSetVMsClientMockRecorder is the mock recorder for MockVirtualMachineScaleSetVMsClient.
func (*MockVirtualMachineScaleSetVMsClientMockRecorder) GetInstanceView ¶
func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) GetInstanceView(arg0, arg1, arg2, arg3 any) *gomock.Call
GetInstanceView indicates an expected call of GetInstanceView.
func (*MockVirtualMachineScaleSetVMsClientMockRecorder) List ¶
func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) List(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
List indicates an expected call of List.
func (*MockVirtualMachineScaleSetVMsClientMockRecorder) RunCommandAndWait ¶
func (mr *MockVirtualMachineScaleSetVMsClientMockRecorder) RunCommandAndWait(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
RunCommandAndWait indicates an expected call of RunCommandAndWait.
type MockVirtualMachineScaleSetsClient ¶
type MockVirtualMachineScaleSetsClient struct {
// contains filtered or unexported fields
}
MockVirtualMachineScaleSetsClient is a mock of VirtualMachineScaleSetsClient interface.
func NewMockVirtualMachineScaleSetsClient ¶
func NewMockVirtualMachineScaleSetsClient(ctrl *gomock.Controller) *MockVirtualMachineScaleSetsClient
NewMockVirtualMachineScaleSetsClient creates a new mock instance.
func (*MockVirtualMachineScaleSetsClient) DeleteAndWait ¶
func (m *MockVirtualMachineScaleSetsClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string) error
DeleteAndWait mocks base method.
func (*MockVirtualMachineScaleSetsClient) EXPECT ¶
func (m *MockVirtualMachineScaleSetsClient) EXPECT() *MockVirtualMachineScaleSetsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVirtualMachineScaleSetsClient) List ¶
func (m *MockVirtualMachineScaleSetsClient) List(arg0 context.Context, arg1 string) ([]compute.VirtualMachineScaleSet, error)
List mocks base method.
type MockVirtualMachineScaleSetsClientMockRecorder ¶
type MockVirtualMachineScaleSetsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualMachineScaleSetsClientMockRecorder is the mock recorder for MockVirtualMachineScaleSetsClient.
func (*MockVirtualMachineScaleSetsClientMockRecorder) DeleteAndWait ¶
func (mr *MockVirtualMachineScaleSetsClientMockRecorder) DeleteAndWait(arg0, arg1, arg2 any) *gomock.Call
DeleteAndWait indicates an expected call of DeleteAndWait.
type MockVirtualMachinesClient ¶
type MockVirtualMachinesClient struct {
// contains filtered or unexported fields
}
MockVirtualMachinesClient is a mock of VirtualMachinesClient interface.
func NewMockVirtualMachinesClient ¶
func NewMockVirtualMachinesClient(ctrl *gomock.Controller) *MockVirtualMachinesClient
NewMockVirtualMachinesClient creates a new mock instance.
func (*MockVirtualMachinesClient) CreateOrUpdateAndWait ¶
func (m *MockVirtualMachinesClient) CreateOrUpdateAndWait(arg0 context.Context, arg1, arg2 string, arg3 compute.VirtualMachine) error
CreateOrUpdateAndWait mocks base method.
func (*MockVirtualMachinesClient) DeleteAndWait ¶
func (m *MockVirtualMachinesClient) DeleteAndWait(arg0 context.Context, arg1, arg2 string, arg3 *bool) error
DeleteAndWait mocks base method.
func (*MockVirtualMachinesClient) EXPECT ¶
func (m *MockVirtualMachinesClient) EXPECT() *MockVirtualMachinesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVirtualMachinesClient) Get ¶
func (m *MockVirtualMachinesClient) Get(arg0 context.Context, arg1, arg2 string, arg3 compute.InstanceViewTypes) (compute.VirtualMachine, error)
Get mocks base method.
func (*MockVirtualMachinesClient) GetSerialConsoleForVM ¶
func (m *MockVirtualMachinesClient) GetSerialConsoleForVM(arg0 context.Context, arg1, arg2 string, arg3 io.Writer) error
GetSerialConsoleForVM mocks base method.
func (*MockVirtualMachinesClient) List ¶
func (m *MockVirtualMachinesClient) List(arg0 context.Context, arg1 string) ([]compute.VirtualMachine, error)
List mocks base method.
func (*MockVirtualMachinesClient) RedeployAndWait ¶
func (m *MockVirtualMachinesClient) RedeployAndWait(arg0 context.Context, arg1, arg2 string) error
RedeployAndWait mocks base method.
func (*MockVirtualMachinesClient) StartAndWait ¶
func (m *MockVirtualMachinesClient) StartAndWait(arg0 context.Context, arg1, arg2 string) error
StartAndWait mocks base method.
func (*MockVirtualMachinesClient) StopAndWait ¶
func (m *MockVirtualMachinesClient) StopAndWait(arg0 context.Context, arg1, arg2 string, arg3 bool) error
StopAndWait mocks base method.
type MockVirtualMachinesClientMockRecorder ¶
type MockVirtualMachinesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVirtualMachinesClientMockRecorder is the mock recorder for MockVirtualMachinesClient.
func (*MockVirtualMachinesClientMockRecorder) CreateOrUpdateAndWait ¶
func (mr *MockVirtualMachinesClientMockRecorder) CreateOrUpdateAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
CreateOrUpdateAndWait indicates an expected call of CreateOrUpdateAndWait.
func (*MockVirtualMachinesClientMockRecorder) DeleteAndWait ¶
func (mr *MockVirtualMachinesClientMockRecorder) DeleteAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
DeleteAndWait indicates an expected call of DeleteAndWait.
func (*MockVirtualMachinesClientMockRecorder) Get ¶
func (mr *MockVirtualMachinesClientMockRecorder) Get(arg0, arg1, arg2, arg3 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockVirtualMachinesClientMockRecorder) GetSerialConsoleForVM ¶
func (mr *MockVirtualMachinesClientMockRecorder) GetSerialConsoleForVM(arg0, arg1, arg2, arg3 any) *gomock.Call
GetSerialConsoleForVM indicates an expected call of GetSerialConsoleForVM.
func (*MockVirtualMachinesClientMockRecorder) List ¶
func (mr *MockVirtualMachinesClientMockRecorder) List(arg0, arg1 any) *gomock.Call
List indicates an expected call of List.
func (*MockVirtualMachinesClientMockRecorder) RedeployAndWait ¶
func (mr *MockVirtualMachinesClientMockRecorder) RedeployAndWait(arg0, arg1, arg2 any) *gomock.Call
RedeployAndWait indicates an expected call of RedeployAndWait.
func (*MockVirtualMachinesClientMockRecorder) StartAndWait ¶
func (mr *MockVirtualMachinesClientMockRecorder) StartAndWait(arg0, arg1, arg2 any) *gomock.Call
StartAndWait indicates an expected call of StartAndWait.
func (*MockVirtualMachinesClientMockRecorder) StopAndWait ¶
func (mr *MockVirtualMachinesClientMockRecorder) StopAndWait(arg0, arg1, arg2, arg3 any) *gomock.Call
StopAndWait indicates an expected call of StopAndWait.