Documentation ¶
Overview ¶
Package computeagent_mock is a generated GoMock package.
Index ¶
- type MockComputeAgentService
- func (m *MockComputeAgentService) AddNIC(arg0 context.Context, arg1 *computeagent.AddNICInternalRequest) (*computeagent.AddNICInternalResponse, error)
- func (m *MockComputeAgentService) AssignPCI(arg0 context.Context, arg1 *computeagent.AssignPCIInternalRequest) (*computeagent.AssignPCIInternalResponse, error)
- func (m *MockComputeAgentService) DeleteNIC(arg0 context.Context, arg1 *computeagent.DeleteNICInternalRequest) (*computeagent.DeleteNICInternalResponse, error)
- func (m *MockComputeAgentService) EXPECT() *MockComputeAgentServiceMockRecorder
- func (m *MockComputeAgentService) ModifyNIC(arg0 context.Context, arg1 *computeagent.ModifyNICInternalRequest) (*computeagent.ModifyNICInternalResponse, error)
- func (m *MockComputeAgentService) RemovePCI(arg0 context.Context, arg1 *computeagent.RemovePCIInternalRequest) (*computeagent.RemovePCIInternalResponse, error)
- type MockComputeAgentServiceMockRecorder
- func (mr *MockComputeAgentServiceMockRecorder) AddNIC(arg0, arg1 any) *gomock.Call
- func (mr *MockComputeAgentServiceMockRecorder) AssignPCI(arg0, arg1 any) *gomock.Call
- func (mr *MockComputeAgentServiceMockRecorder) DeleteNIC(arg0, arg1 any) *gomock.Call
- func (mr *MockComputeAgentServiceMockRecorder) ModifyNIC(arg0, arg1 any) *gomock.Call
- func (mr *MockComputeAgentServiceMockRecorder) RemovePCI(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockComputeAgentService ¶
type MockComputeAgentService struct {
// contains filtered or unexported fields
}
MockComputeAgentService is a mock of ComputeAgentService interface.
func NewMockComputeAgentService ¶
func NewMockComputeAgentService(ctrl *gomock.Controller) *MockComputeAgentService
NewMockComputeAgentService creates a new mock instance.
func (*MockComputeAgentService) AddNIC ¶
func (m *MockComputeAgentService) AddNIC(arg0 context.Context, arg1 *computeagent.AddNICInternalRequest) (*computeagent.AddNICInternalResponse, error)
AddNIC mocks base method.
func (*MockComputeAgentService) AssignPCI ¶
func (m *MockComputeAgentService) AssignPCI(arg0 context.Context, arg1 *computeagent.AssignPCIInternalRequest) (*computeagent.AssignPCIInternalResponse, error)
AssignPCI mocks base method.
func (*MockComputeAgentService) DeleteNIC ¶
func (m *MockComputeAgentService) DeleteNIC(arg0 context.Context, arg1 *computeagent.DeleteNICInternalRequest) (*computeagent.DeleteNICInternalResponse, error)
DeleteNIC mocks base method.
func (*MockComputeAgentService) EXPECT ¶
func (m *MockComputeAgentService) EXPECT() *MockComputeAgentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockComputeAgentService) ModifyNIC ¶
func (m *MockComputeAgentService) ModifyNIC(arg0 context.Context, arg1 *computeagent.ModifyNICInternalRequest) (*computeagent.ModifyNICInternalResponse, error)
ModifyNIC mocks base method.
func (*MockComputeAgentService) RemovePCI ¶
func (m *MockComputeAgentService) RemovePCI(arg0 context.Context, arg1 *computeagent.RemovePCIInternalRequest) (*computeagent.RemovePCIInternalResponse, error)
RemovePCI mocks base method.
type MockComputeAgentServiceMockRecorder ¶
type MockComputeAgentServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeAgentServiceMockRecorder is the mock recorder for MockComputeAgentService.
func (*MockComputeAgentServiceMockRecorder) AddNIC ¶
func (mr *MockComputeAgentServiceMockRecorder) AddNIC(arg0, arg1 any) *gomock.Call
AddNIC indicates an expected call of AddNIC.
func (*MockComputeAgentServiceMockRecorder) AssignPCI ¶
func (mr *MockComputeAgentServiceMockRecorder) AssignPCI(arg0, arg1 any) *gomock.Call
AssignPCI indicates an expected call of AssignPCI.
func (*MockComputeAgentServiceMockRecorder) DeleteNIC ¶
func (mr *MockComputeAgentServiceMockRecorder) DeleteNIC(arg0, arg1 any) *gomock.Call
DeleteNIC indicates an expected call of DeleteNIC.