mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	mock.Mock
}

Filter is an autogenerated mock type for the Filter type

func (*Filter) Add

func (_m *Filter) Add(ctx context.Context, id []byte) bool

Add provides a mock function with given fields: ctx, id

func (*Filter) Contains

func (_m *Filter) Contains(ctx context.Context, id []byte) bool

Contains provides a mock function with given fields: ctx, id

func (*Filter) OnAdd

func (_m *Filter) OnAdd(ctx context.Context, id []byte) *Filter_Add

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

type Filter_Add struct {
	*mock.Call
}

func (Filter_Add) Return

func (_m Filter_Add) Return(evicted bool) *Filter_Add

type Filter_Contains

type Filter_Contains struct {
	*mock.Call
}

func (Filter_Contains) Return

func (_m Filter_Contains) Return(_a0 bool) *Filter_Contains

Jump to

Keyboard shortcuts

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