Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: client_v1.go
Generated by this command:
mockgen -destination mocks/client_v1_mock.go -source client_v1.go -package mocks
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 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ModelReady(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockV1MockRecorder) ServerReady(arg0, arg1 any, arg2 ...any) *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 any, arg2 ...any) *gomock.Call
ModelInfer indicates an expected call of ModelInfer.
func (*MockV1MockRecorder) ModelReady ¶
func (mr *MockV1MockRecorder) ModelReady(arg0, arg1 any, arg2 ...any) *gomock.Call
ModelReady indicates an expected call of ModelReady.
func (*MockV1MockRecorder) ServerReady ¶
func (mr *MockV1MockRecorder) ServerReady(arg0, arg1 any, arg2 ...any) *gomock.Call
ServerReady indicates an expected call of ServerReady.
Click to show internal directories.
Click to hide internal directories.