Documentation ¶
Index ¶
- type Filter
- func (_m *Filter) Add(ctx context.Context, id []byte) bool
- func (_m *Filter) Contains(ctx context.Context, id []byte) bool
- func (_m *Filter) OnAdd(ctx context.Context, id []byte) *Filter_Add
- func (_m *Filter) OnAddMatch(matchers ...interface{}) *Filter_Add
- func (_m *Filter) OnContains(ctx context.Context, id []byte) *Filter_Contains
- func (_m *Filter) OnContainsMatch(matchers ...interface{}) *Filter_Contains
- type Filter_Add
- type Filter_Contains
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is an autogenerated mock type for the Filter type
func (*Filter) OnAddMatch ¶
func (_m *Filter) OnAddMatch(matchers ...interface{}) *Filter_Add
func (*Filter) OnContains ¶
func (_m *Filter) OnContains(ctx context.Context, id []byte) *Filter_Contains
func (*Filter) OnContainsMatch ¶
func (_m *Filter) OnContainsMatch(matchers ...interface{}) *Filter_Contains
type Filter_Add ¶
func (Filter_Add) Return ¶
func (_m Filter_Add) Return(evicted bool) *Filter_Add
type Filter_Contains ¶
func (Filter_Contains) Return ¶
func (_m Filter_Contains) Return(_a0 bool) *Filter_Contains
Click to show internal directories.
Click to hide internal directories.