mock_app

package
v0.0.0-...-d54de9c Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_app is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChangeable

type MockChangeable struct {
	// contains filtered or unexported fields
}

MockChangeable is a mock of Changeable interface.

func NewMockChangeable

func NewMockChangeable(ctrl *gomock.Controller) *MockChangeable

NewMockChangeable creates a new mock instance.

func (*MockChangeable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChangeable) Set

func (m *MockChangeable) Set(x, y int, c color.Color)

Set mocks base method.

type MockChangeableMockRecorder

type MockChangeableMockRecorder struct {
	// contains filtered or unexported fields
}

MockChangeableMockRecorder is the mock recorder for MockChangeable.

func (*MockChangeableMockRecorder) Set

func (mr *MockChangeableMockRecorder) Set(x, y, c interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockMongoClient

type MockMongoClient struct {
	// contains filtered or unexported fields
}

MockMongoClient is a mock of MongoClient interface.

func NewMockMongoClient

func NewMockMongoClient(ctrl *gomock.Controller) *MockMongoClient

NewMockMongoClient creates a new mock instance.

func (*MockMongoClient) AddImageClassification

func (m *MockMongoClient) AddImageClassification(imagePath string, probabilities []string) error

AddImageClassification mocks base method.

func (*MockMongoClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMongoClient) GetAllImageClassifications

func (m *MockMongoClient) GetAllImageClassifications() ([]mongo.ImageClassification, error)

GetAllImageClassifications mocks base method.

func (*MockMongoClient) GetImageClassification

func (m *MockMongoClient) GetImageClassification(imagePath string) (mongo.ImageClassification, error)

GetImageClassification mocks base method.

type MockMongoClientMockRecorder

type MockMongoClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockMongoClientMockRecorder is the mock recorder for MockMongoClient.

func (*MockMongoClientMockRecorder) AddImageClassification

func (mr *MockMongoClientMockRecorder) AddImageClassification(imagePath, probabilities interface{}) *gomock.Call

AddImageClassification indicates an expected call of AddImageClassification.

func (*MockMongoClientMockRecorder) GetAllImageClassifications

func (mr *MockMongoClientMockRecorder) GetAllImageClassifications() *gomock.Call

GetAllImageClassifications indicates an expected call of GetAllImageClassifications.

func (*MockMongoClientMockRecorder) GetImageClassification

func (mr *MockMongoClientMockRecorder) GetImageClassification(imagePath interface{}) *gomock.Call

GetImageClassification indicates an expected call of GetImageClassification.

type MockTensorFlowClient

type MockTensorFlowClient struct {
	// contains filtered or unexported fields
}

MockTensorFlowClient is a mock of TensorFlowClient interface.

func NewMockTensorFlowClient

func NewMockTensorFlowClient(ctrl *gomock.Controller) *MockTensorFlowClient

NewMockTensorFlowClient creates a new mock instance.

func (*MockTensorFlowClient) ClassifyImage

func (m *MockTensorFlowClient) ClassifyImage(image image.Image) ([]tensorflowAPI.Label, []float32, [][]float32, error)

ClassifyImage mocks base method.

func (*MockTensorFlowClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockTensorFlowClientMockRecorder

type MockTensorFlowClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockTensorFlowClientMockRecorder is the mock recorder for MockTensorFlowClient.

func (*MockTensorFlowClientMockRecorder) ClassifyImage

func (mr *MockTensorFlowClientMockRecorder) ClassifyImage(image interface{}) *gomock.Call

ClassifyImage indicates an expected call of ClassifyImage.

Jump to

Keyboard shortcuts

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