Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTransport
- func (m *MockTransport) Delete(arg0 selectors.Key, arg1 []selectors.FieldValueScore) (selectors.ChangeSet, error)
- func (m *MockTransport) EXPECT() *MockTransportMockRecorder
- func (m *MockTransport) Hash() uint32
- func (m *MockTransport) Host() string
- func (m *MockTransport) Insert(arg0 selectors.Key, arg1 []selectors.FieldValueScore) (selectors.ChangeSet, error)
- func (m *MockTransport) Keys() ([]selectors.Key, error)
- func (m *MockTransport) Members(arg0 selectors.Key) ([]selectors.Field, error)
- func (m *MockTransport) Score(arg0 selectors.Key, arg1 selectors.Field) (selectors.Presence, error)
- func (m *MockTransport) Select(arg0 selectors.Key, arg1 selectors.Field) (selectors.FieldValueScore, error)
- func (m *MockTransport) Size(arg0 selectors.Key) (int64, error)
- type MockTransportMockRecorder
- func (mr *MockTransportMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransportMockRecorder) Hash() *gomock.Call
- func (mr *MockTransportMockRecorder) Host() *gomock.Call
- func (mr *MockTransportMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransportMockRecorder) Keys() *gomock.Call
- func (mr *MockTransportMockRecorder) Members(arg0 interface{}) *gomock.Call
- func (mr *MockTransportMockRecorder) Score(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransportMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTransportMockRecorder) Size(arg0 interface{}) *gomock.Call
- type MockTransportStrategy
- type MockTransportStrategyMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTransport ¶
type MockTransport struct {
// contains filtered or unexported fields
}
MockTransport is a mock of Transport interface
func NewMockTransport ¶
func NewMockTransport(ctrl *gomock.Controller) *MockTransport
NewMockTransport creates a new mock instance
func (*MockTransport) Delete ¶
func (m *MockTransport) Delete(arg0 selectors.Key, arg1 []selectors.FieldValueScore) (selectors.ChangeSet, error)
Delete mocks base method
func (*MockTransport) EXPECT ¶
func (m *MockTransport) EXPECT() *MockTransportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTransport) Insert ¶
func (m *MockTransport) Insert(arg0 selectors.Key, arg1 []selectors.FieldValueScore) (selectors.ChangeSet, error)
Insert mocks base method
func (*MockTransport) Keys ¶
func (m *MockTransport) Keys() ([]selectors.Key, error)
Keys mocks base method
func (*MockTransport) Select ¶
func (m *MockTransport) Select(arg0 selectors.Key, arg1 selectors.Field) (selectors.FieldValueScore, error)
Select mocks base method
type MockTransportMockRecorder ¶
type MockTransportMockRecorder struct {
// contains filtered or unexported fields
}
MockTransportMockRecorder is the mock recorder for MockTransport
func (*MockTransportMockRecorder) Delete ¶
func (mr *MockTransportMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTransportMockRecorder) Hash ¶
func (mr *MockTransportMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash
func (*MockTransportMockRecorder) Host ¶
func (mr *MockTransportMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host
func (*MockTransportMockRecorder) Insert ¶
func (mr *MockTransportMockRecorder) Insert(arg0, arg1 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockTransportMockRecorder) Keys ¶
func (mr *MockTransportMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys
func (*MockTransportMockRecorder) Members ¶
func (mr *MockTransportMockRecorder) Members(arg0 interface{}) *gomock.Call
Members indicates an expected call of Members
func (*MockTransportMockRecorder) Score ¶
func (mr *MockTransportMockRecorder) Score(arg0, arg1 interface{}) *gomock.Call
Score indicates an expected call of Score
func (*MockTransportMockRecorder) Select ¶
func (mr *MockTransportMockRecorder) Select(arg0, arg1 interface{}) *gomock.Call
Select indicates an expected call of Select
func (*MockTransportMockRecorder) Size ¶
func (mr *MockTransportMockRecorder) Size(arg0 interface{}) *gomock.Call
Size indicates an expected call of Size
type MockTransportStrategy ¶
type MockTransportStrategy struct {
// contains filtered or unexported fields
}
MockTransportStrategy is a mock of TransportStrategy interface
func NewMockTransportStrategy ¶
func NewMockTransportStrategy(ctrl *gomock.Controller) *MockTransportStrategy
NewMockTransportStrategy creates a new mock instance
func (*MockTransportStrategy) Apply ¶
func (m *MockTransportStrategy) Apply(arg0 string) api.Transport
Apply mocks base method
func (*MockTransportStrategy) EXPECT ¶
func (m *MockTransportStrategy) EXPECT() *MockTransportStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTransportStrategyMockRecorder ¶
type MockTransportStrategyMockRecorder struct {
// contains filtered or unexported fields
}
MockTransportStrategyMockRecorder is the mock recorder for MockTransportStrategy
func (*MockTransportStrategyMockRecorder) Apply ¶
func (mr *MockTransportStrategyMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply