Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockV1
- func (m *MockV1) Close() error
- func (m *MockV1) EXPECT() *MockV1MockRecorder
- func (m *MockV1) ModelInfer(arg0 context.Context, arg1 *inference.ModelInferRequest, ...) (*inference.ModelInferResponse, error)
- func (m *MockV1) ModelReady(arg0 context.Context, arg1 *inference.ModelReadyRequest, ...) (*inference.ModelReadyResponse, error)
- func (m *MockV1) ServerReady(arg0 context.Context, arg1 *inference.ServerReadyRequest, ...) (*inference.ServerReadyResponse, error)
- type MockV1MockRecorder
- func (mr *MockV1MockRecorder) Close() *gomock.Call
- func (mr *MockV1MockRecorder) ModelInfer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) ModelReady(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockV1MockRecorder) ServerReady(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockV1 ¶
type MockV1 struct {
// contains filtered or unexported fields
}
MockV1 is a mock of V1 interface.
func NewMockV1 ¶
func NewMockV1(ctrl *gomock.Controller) *MockV1
NewMockV1 creates a new mock instance.
func (*MockV1) EXPECT ¶
func (m *MockV1) EXPECT() *MockV1MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockV1) ModelInfer ¶
func (m *MockV1) ModelInfer(arg0 context.Context, arg1 *inference.ModelInferRequest, arg2 ...grpc.CallOption) (*inference.ModelInferResponse, error)
ModelInfer mocks base method.
func (*MockV1) ModelReady ¶
func (m *MockV1) ModelReady(arg0 context.Context, arg1 *inference.ModelReadyRequest, arg2 ...grpc.CallOption) (*inference.ModelReadyResponse, error)
ModelReady mocks base method.
func (*MockV1) ServerReady ¶
func (m *MockV1) ServerReady(arg0 context.Context, arg1 *inference.ServerReadyRequest, arg2 ...grpc.CallOption) (*inference.ServerReadyResponse, error)
ServerReady mocks base method.
type MockV1MockRecorder ¶
type MockV1MockRecorder struct {
// contains filtered or unexported fields
}
MockV1MockRecorder is the mock recorder for MockV1.
func (*MockV1MockRecorder) Close ¶
func (mr *MockV1MockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockV1MockRecorder) ModelInfer ¶
func (mr *MockV1MockRecorder) ModelInfer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ModelInfer indicates an expected call of ModelInfer.
func (*MockV1MockRecorder) ModelReady ¶
func (mr *MockV1MockRecorder) ModelReady(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ModelReady indicates an expected call of ModelReady.
func (*MockV1MockRecorder) ServerReady ¶
func (mr *MockV1MockRecorder) ServerReady(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ServerReady indicates an expected call of ServerReady.
Click to show internal directories.
Click to hide internal directories.