mocks

package
v0.0.0-...-024b6c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL