Documentation
¶
Index ¶
- type Client
- func (_m *Client) AddModel(ctx context.Context, in *jams.AddModelRequest, opts ...grpc.CallOption) error
- func (_m *Client) DeleteModel(ctx context.Context, in *jams.DeleteModelRequest, opts ...grpc.CallOption) error
- func (_m *Client) GetModels(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*jams.GetModelsResponse, error)
- func (_m *Client) HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) error
- func (_m *Client) Predict(ctx context.Context, in *jams.PredictRequest, opts ...grpc.CallOption) (types.Prediction, error)
- func (_m *Client) UpdateModel(ctx context.Context, in *jams.UpdateModelRequest, opts ...grpc.CallOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) AddModel ¶
func (_m *Client) AddModel(ctx context.Context, in *jams.AddModelRequest, opts ...grpc.CallOption) error
AddModel provides a mock function with given fields: ctx, in, opts
func (*Client) DeleteModel ¶
func (_m *Client) DeleteModel(ctx context.Context, in *jams.DeleteModelRequest, opts ...grpc.CallOption) error
DeleteModel provides a mock function with given fields: ctx, in, opts
func (*Client) GetModels ¶
func (_m *Client) GetModels(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*jams.GetModelsResponse, error)
GetModels provides a mock function with given fields: ctx, in, opts
func (*Client) HealthCheck ¶
func (_m *Client) HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) error
HealthCheck provides a mock function with given fields: ctx, in, opts
func (*Client) Predict ¶
func (_m *Client) Predict(ctx context.Context, in *jams.PredictRequest, opts ...grpc.CallOption) (types.Prediction, error)
Predict provides a mock function with given fields: ctx, in, opts
func (*Client) UpdateModel ¶
func (_m *Client) UpdateModel(ctx context.Context, in *jams.UpdateModelRequest, opts ...grpc.CallOption) error
UpdateModel provides a mock function with given fields: ctx, in, opts