Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFarm
- func (m *MockFarm) Delete(arg0 selectors.Key, arg1 []selectors.FieldValueScore, arg2 selectors.Quorum) (selectors.ChangeSet, error)
- func (m *MockFarm) EXPECT() *MockFarmMockRecorder
- func (m *MockFarm) Insert(arg0 selectors.Key, arg1 []selectors.FieldValueScore, arg2 selectors.Quorum) (selectors.ChangeSet, error)
- func (m *MockFarm) Keys() ([]selectors.Key, error)
- func (m *MockFarm) Members(arg0 selectors.Key) ([]selectors.Field, error)
- func (m *MockFarm) Repair(arg0 []selectors.KeyFieldValue) error
- func (m *MockFarm) Score(arg0 selectors.Key, arg1 selectors.Field) (selectors.Presence, error)
- func (m *MockFarm) Select(arg0 selectors.Key, arg1 selectors.Field, arg2 selectors.Quorum) (selectors.FieldValueScore, error)
- func (m *MockFarm) Size(arg0 selectors.Key) (int64, error)
- type MockFarmMockRecorder
- func (mr *MockFarmMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Keys() *gomock.Call
- func (mr *MockFarmMockRecorder) Members(arg0 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Repair(arg0 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Score(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Select(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFarmMockRecorder) Size(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFarm ¶
type MockFarm struct {
// contains filtered or unexported fields
}
MockFarm is a mock of Farm interface
func NewMockFarm ¶
func NewMockFarm(ctrl *gomock.Controller) *MockFarm
NewMockFarm creates a new mock instance
func (*MockFarm) Delete ¶
func (m *MockFarm) Delete(arg0 selectors.Key, arg1 []selectors.FieldValueScore, arg2 selectors.Quorum) (selectors.ChangeSet, error)
Delete mocks base method
func (*MockFarm) EXPECT ¶
func (m *MockFarm) EXPECT() *MockFarmMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFarm) Insert ¶
func (m *MockFarm) Insert(arg0 selectors.Key, arg1 []selectors.FieldValueScore, arg2 selectors.Quorum) (selectors.ChangeSet, error)
Insert mocks base method
func (*MockFarm) Repair ¶
func (m *MockFarm) Repair(arg0 []selectors.KeyFieldValue) error
Repair mocks base method
type MockFarmMockRecorder ¶
type MockFarmMockRecorder struct {
// contains filtered or unexported fields
}
MockFarmMockRecorder is the mock recorder for MockFarm
func (*MockFarmMockRecorder) Delete ¶
func (mr *MockFarmMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFarmMockRecorder) Insert ¶
func (mr *MockFarmMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockFarmMockRecorder) Keys ¶
func (mr *MockFarmMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys
func (*MockFarmMockRecorder) Members ¶
func (mr *MockFarmMockRecorder) Members(arg0 interface{}) *gomock.Call
Members indicates an expected call of Members
func (*MockFarmMockRecorder) Repair ¶
func (mr *MockFarmMockRecorder) Repair(arg0 interface{}) *gomock.Call
Repair indicates an expected call of Repair
func (*MockFarmMockRecorder) Score ¶
func (mr *MockFarmMockRecorder) Score(arg0, arg1 interface{}) *gomock.Call
Score indicates an expected call of Score
func (*MockFarmMockRecorder) Select ¶
func (mr *MockFarmMockRecorder) Select(arg0, arg1, arg2 interface{}) *gomock.Call
Select indicates an expected call of Select
func (*MockFarmMockRecorder) Size ¶
func (mr *MockFarmMockRecorder) Size(arg0 interface{}) *gomock.Call
Size indicates an expected call of Size