Documentation ¶
Overview ¶
Package mock_app is a generated GoMock package.
Index ¶
- type MockChangeable
- type MockChangeableMockRecorder
- type MockMongoClient
- func (m *MockMongoClient) AddImageClassification(imagePath string, probabilities []string) error
- func (m *MockMongoClient) EXPECT() *MockMongoClientMockRecorder
- func (m *MockMongoClient) GetAllImageClassifications() ([]mongo.ImageClassification, error)
- func (m *MockMongoClient) GetImageClassification(imagePath string) (mongo.ImageClassification, error)
- type MockMongoClientMockRecorder
- type MockTensorFlowClient
- type MockTensorFlowClientMockRecorder
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 ¶
func (m *MockChangeable) EXPECT() *MockChangeableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockMongoClient) EXPECT() *MockMongoClientMockRecorder
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 ¶
func (m *MockTensorFlowClient) EXPECT() *MockTensorFlowClientMockRecorder
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.