Documentation
¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockDutServiceClient
- func (m *MockDutServiceClient) Cache(arg0 context.Context, arg1 *api.CacheRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
- func (m *MockDutServiceClient) DetectDeviceConfigId(arg0 context.Context, arg1 *api.DetectDeviceConfigIdRequest, ...) (api.DutService_DetectDeviceConfigIdClient, error)
- func (m *MockDutServiceClient) EXPECT() *MockDutServiceClientMockRecorder
- func (m *MockDutServiceClient) ExecCommand(arg0 context.Context, arg1 *api.ExecCommandRequest, arg2 ...grpc.CallOption) (api.DutService_ExecCommandClient, error)
- func (m *MockDutServiceClient) FetchCrashes(arg0 context.Context, arg1 *api.FetchCrashesRequest, arg2 ...grpc.CallOption) (api.DutService_FetchCrashesClient, error)
- func (m *MockDutServiceClient) FetchFile(arg0 context.Context, arg1 *api.FetchFileRequest, arg2 ...grpc.CallOption) (api.DutService_FetchFileClient, error)
- func (m *MockDutServiceClient) ForceReconnect(arg0 context.Context, arg1 *api.ForceReconnectRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
- func (m *MockDutServiceClient) Restart(arg0 context.Context, arg1 *api.RestartRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
- type MockDutServiceClientMockRecorder
- func (mr *MockDutServiceClientMockRecorder) Cache(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) DetectDeviceConfigId(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) ExecCommand(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) FetchCrashes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) FetchFile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) ForceReconnect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDutServiceClientMockRecorder) Restart(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockDutService_ExecCommandClient
- func (m *MockDutService_ExecCommandClient) CloseSend() error
- func (m *MockDutService_ExecCommandClient) Context() context.Context
- func (m *MockDutService_ExecCommandClient) EXPECT() *MockDutService_ExecCommandClientMockRecorder
- func (m *MockDutService_ExecCommandClient) Header() (metadata.MD, error)
- func (m *MockDutService_ExecCommandClient) Recv() (*api.ExecCommandResponse, error)
- func (m *MockDutService_ExecCommandClient) RecvMsg(arg0 interface{}) error
- func (m *MockDutService_ExecCommandClient) SendMsg(arg0 interface{}) error
- func (m *MockDutService_ExecCommandClient) Trailer() metadata.MD
- type MockDutService_ExecCommandClientMockRecorder
- func (mr *MockDutService_ExecCommandClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) Context() *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) Header() *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockDutService_ExecCommandClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDutServiceClient ¶
type MockDutServiceClient struct {
// contains filtered or unexported fields
}
MockDutServiceClient is a mock of DutServiceClient interface.
func NewMockDutServiceClient ¶
func NewMockDutServiceClient(ctrl *gomock.Controller) *MockDutServiceClient
NewMockDutServiceClient creates a new mock instance.
func (*MockDutServiceClient) Cache ¶
func (m *MockDutServiceClient) Cache(arg0 context.Context, arg1 *api.CacheRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
Cache mocks base method.
func (*MockDutServiceClient) DetectDeviceConfigId ¶
func (m *MockDutServiceClient) DetectDeviceConfigId(arg0 context.Context, arg1 *api.DetectDeviceConfigIdRequest, arg2 ...grpc.CallOption) (api.DutService_DetectDeviceConfigIdClient, error)
DetectDeviceConfigId mocks base method.
func (*MockDutServiceClient) EXPECT ¶
func (m *MockDutServiceClient) EXPECT() *MockDutServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDutServiceClient) ExecCommand ¶
func (m *MockDutServiceClient) ExecCommand(arg0 context.Context, arg1 *api.ExecCommandRequest, arg2 ...grpc.CallOption) (api.DutService_ExecCommandClient, error)
ExecCommand mocks base method.
func (*MockDutServiceClient) FetchCrashes ¶
func (m *MockDutServiceClient) FetchCrashes(arg0 context.Context, arg1 *api.FetchCrashesRequest, arg2 ...grpc.CallOption) (api.DutService_FetchCrashesClient, error)
FetchCrashes mocks base method.
func (*MockDutServiceClient) FetchFile ¶
func (m *MockDutServiceClient) FetchFile(arg0 context.Context, arg1 *api.FetchFileRequest, arg2 ...grpc.CallOption) (api.DutService_FetchFileClient, error)
FetchFile mocks base method.
func (*MockDutServiceClient) ForceReconnect ¶
func (m *MockDutServiceClient) ForceReconnect(arg0 context.Context, arg1 *api.ForceReconnectRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
ForceReconnect mocks base method.
func (*MockDutServiceClient) Restart ¶
func (m *MockDutServiceClient) Restart(arg0 context.Context, arg1 *api.RestartRequest, arg2 ...grpc.CallOption) (*longrunning.Operation, error)
Restart mocks base method.
type MockDutServiceClientMockRecorder ¶
type MockDutServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDutServiceClientMockRecorder is the mock recorder for MockDutServiceClient.
func (*MockDutServiceClientMockRecorder) Cache ¶
func (mr *MockDutServiceClientMockRecorder) Cache(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Cache indicates an expected call of Cache.
func (*MockDutServiceClientMockRecorder) DetectDeviceConfigId ¶
func (mr *MockDutServiceClientMockRecorder) DetectDeviceConfigId(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DetectDeviceConfigId indicates an expected call of DetectDeviceConfigId.
func (*MockDutServiceClientMockRecorder) ExecCommand ¶
func (mr *MockDutServiceClientMockRecorder) ExecCommand(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ExecCommand indicates an expected call of ExecCommand.
func (*MockDutServiceClientMockRecorder) FetchCrashes ¶
func (mr *MockDutServiceClientMockRecorder) FetchCrashes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FetchCrashes indicates an expected call of FetchCrashes.
func (*MockDutServiceClientMockRecorder) FetchFile ¶
func (mr *MockDutServiceClientMockRecorder) FetchFile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FetchFile indicates an expected call of FetchFile.
func (*MockDutServiceClientMockRecorder) ForceReconnect ¶
func (mr *MockDutServiceClientMockRecorder) ForceReconnect(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ForceReconnect indicates an expected call of ForceReconnect.
func (*MockDutServiceClientMockRecorder) Restart ¶
func (mr *MockDutServiceClientMockRecorder) Restart(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Restart indicates an expected call of Restart.
type MockDutService_ExecCommandClient ¶
type MockDutService_ExecCommandClient struct {
// contains filtered or unexported fields
}
MockDutService_ExecCommandClient is a mock of DutService_ExecCommandClient interface.
func NewMockDutService_ExecCommandClient ¶
func NewMockDutService_ExecCommandClient(ctrl *gomock.Controller) *MockDutService_ExecCommandClient
NewMockDutService_ExecCommandClient creates a new mock instance.
func (*MockDutService_ExecCommandClient) CloseSend ¶
func (m *MockDutService_ExecCommandClient) CloseSend() error
CloseSend mocks base method.
func (*MockDutService_ExecCommandClient) Context ¶
func (m *MockDutService_ExecCommandClient) Context() context.Context
Context mocks base method.
func (*MockDutService_ExecCommandClient) EXPECT ¶
func (m *MockDutService_ExecCommandClient) EXPECT() *MockDutService_ExecCommandClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDutService_ExecCommandClient) Header ¶
func (m *MockDutService_ExecCommandClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockDutService_ExecCommandClient) Recv ¶
func (m *MockDutService_ExecCommandClient) Recv() (*api.ExecCommandResponse, error)
Recv mocks base method.
func (*MockDutService_ExecCommandClient) RecvMsg ¶
func (m *MockDutService_ExecCommandClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockDutService_ExecCommandClient) SendMsg ¶
func (m *MockDutService_ExecCommandClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockDutService_ExecCommandClient) Trailer ¶
func (m *MockDutService_ExecCommandClient) Trailer() metadata.MD
Trailer mocks base method.
type MockDutService_ExecCommandClientMockRecorder ¶
type MockDutService_ExecCommandClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDutService_ExecCommandClientMockRecorder is the mock recorder for MockDutService_ExecCommandClient.
func (*MockDutService_ExecCommandClientMockRecorder) CloseSend ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockDutService_ExecCommandClientMockRecorder) Context ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockDutService_ExecCommandClientMockRecorder) Header ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockDutService_ExecCommandClientMockRecorder) Recv ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockDutService_ExecCommandClientMockRecorder) RecvMsg ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockDutService_ExecCommandClientMockRecorder) SendMsg ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDutService_ExecCommandClientMockRecorder) Trailer ¶
func (mr *MockDutService_ExecCommandClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.