Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPredictionServiceClient ¶
type MockPredictionServiceClient struct {
// contains filtered or unexported fields
}
MockPredictionServiceClient is a mock of PredictionServiceClient interface.
func NewMockPredictionServiceClient ¶
func NewMockPredictionServiceClient(ctrl *gomock.Controller) *MockPredictionServiceClient
NewMockPredictionServiceClient creates a new mock instance.
func (*MockPredictionServiceClient) EXPECT ¶
func (m *MockPredictionServiceClient) EXPECT() *MockPredictionServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPredictionServiceClient) Predict ¶
func (m *MockPredictionServiceClient) Predict(ctx context.Context, in *tfserving.PredictRequest, opts ...grpc.CallOption) (*tfserving.PredictResponse, error)
Predict mocks base method.
type MockPredictionServiceClientMockRecorder ¶
type MockPredictionServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPredictionServiceClientMockRecorder is the mock recorder for MockPredictionServiceClient.
func (*MockPredictionServiceClientMockRecorder) Predict ¶
func (mr *MockPredictionServiceClientMockRecorder) Predict(ctx, in interface{}, opts ...interface{}) *gomock.Call
Predict indicates an expected call of Predict.
type MockPredictionServiceServer ¶
type MockPredictionServiceServer struct {
// contains filtered or unexported fields
}
MockPredictionServiceServer is a mock of PredictionServiceServer interface.
func NewMockPredictionServiceServer ¶
func NewMockPredictionServiceServer(ctrl *gomock.Controller) *MockPredictionServiceServer
NewMockPredictionServiceServer creates a new mock instance.
func (*MockPredictionServiceServer) EXPECT ¶
func (m *MockPredictionServiceServer) EXPECT() *MockPredictionServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPredictionServiceServer) Predict ¶
func (m *MockPredictionServiceServer) Predict(arg0 context.Context, arg1 *tfserving.PredictRequest) (*tfserving.PredictResponse, error)
Predict mocks base method.
type MockPredictionServiceServerMockRecorder ¶
type MockPredictionServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPredictionServiceServerMockRecorder is the mock recorder for MockPredictionServiceServer.
func (*MockPredictionServiceServerMockRecorder) Predict ¶
func (mr *MockPredictionServiceServerMockRecorder) Predict(arg0, arg1 interface{}) *gomock.Call
Predict indicates an expected call of Predict.
type MockUnsafePredictionServiceServer ¶
type MockUnsafePredictionServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafePredictionServiceServer is a mock of UnsafePredictionServiceServer interface.
func NewMockUnsafePredictionServiceServer ¶
func NewMockUnsafePredictionServiceServer(ctrl *gomock.Controller) *MockUnsafePredictionServiceServer
NewMockUnsafePredictionServiceServer creates a new mock instance.
func (*MockUnsafePredictionServiceServer) EXPECT ¶
func (m *MockUnsafePredictionServiceServer) EXPECT() *MockUnsafePredictionServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafePredictionServiceServerMockRecorder ¶
type MockUnsafePredictionServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafePredictionServiceServerMockRecorder is the mock recorder for MockUnsafePredictionServiceServer.