mocks

package
v0.0.0-...-b2170da Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInterface

type AppInterface struct {
	mock.Mock
}

AppInterface is an autogenerated mock type for the AppInterface type

func (*AppInterface) BrainList

func (_m *AppInterface) BrainList() ([]entity.BrainInterface, error)

BrainList provides a mock function with given fields:

func (*AppInterface) CreateBrain

func (_m *AppInterface) CreateBrain(name string, description string) (entity.BrainInterface, error)

CreateBrain provides a mock function with given fields: name, description

func (*AppInterface) DeleteBrain

func (_m *AppInterface) DeleteBrain(id int64) error

DeleteBrain provides a mock function with given fields: id

func (*AppInterface) GetBrainByReference

func (_m *AppInterface) GetBrainByReference(reference string) (entity.BrainInterface, error)

GetBrainByReference provides a mock function with given fields: reference

func (*AppInterface) GetClassByID

func (_m *AppInterface) GetClassByID(classID int64) (entity.ClassInterface, error)

GetClassByID provides a mock function with given fields: classID

func (*AppInterface) HumanizedPredict

func (_m *AppInterface) HumanizedPredict(brainID int64, text string) (entity.HumanizedPrediction, error)

HumanizedPredict provides a mock function with given fields: brainID, text

func (*AppInterface) Predict

func (_m *AppInterface) Predict(brainID int64, text string) (entity.Prediction, error)

Predict provides a mock function with given fields: brainID, text

func (*AppInterface) Train

func (_m *AppInterface) Train(brainID int64, samples []entity.Sample) error

Train provides a mock function with given fields: brainID, samples

Jump to

Keyboard shortcuts

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