mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScoring

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

MockScoring is a mock of Scoring interface.

func NewMockScoring

func NewMockScoring(ctrl *gomock.Controller) *MockScoring

NewMockScoring creates a new mock instance.

func (*MockScoring) EXPECT

func (m *MockScoring) EXPECT() *MockScoringMockRecorder

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

func (*MockScoring) GetResource

func (m *MockScoring) GetResource(arg0 string) (map[string]interface{}, error)

GetResource mocks base method.

func (*MockScoring) GetScore

func (m *MockScoring) GetScore(arg0 string) (float64, error)

GetScore mocks base method.

func (*MockScoring) GetScoreWithResource

func (m *MockScoring) GetScoreWithResource(arg0 map[string]interface{}) (float64, error)

GetScoreWithResource mocks base method.

type MockScoringMockRecorder

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

MockScoringMockRecorder is the mock recorder for MockScoring.

func (*MockScoringMockRecorder) GetResource

func (mr *MockScoringMockRecorder) GetResource(arg0 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource.

func (*MockScoringMockRecorder) GetScore

func (mr *MockScoringMockRecorder) GetScore(arg0 interface{}) *gomock.Call

GetScore indicates an expected call of GetScore.

func (*MockScoringMockRecorder) GetScoreWithResource

func (mr *MockScoringMockRecorder) GetScoreWithResource(arg0 interface{}) *gomock.Call

GetScoreWithResource indicates an expected call of GetScoreWithResource.

Jump to

Keyboard shortcuts

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