mock

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: May 5, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batcher

type Batcher struct {
	mock.Mock
	PutChan chan bool
}

func (*Batcher) Dispose

func (m *Batcher) Dispose()

func (*Batcher) Flush

func (m *Batcher) Flush() error

func (*Batcher) Get

func (m *Batcher) Get() ([]interface{}, error)

func (*Batcher) IsDisposed

func (m *Batcher) IsDisposed() bool

func (*Batcher) Put

func (m *Batcher) Put(items interface{}) error

type RangeTree

type RangeTree struct {
	mock.Mock
}

func (*RangeTree) Add

func (m *RangeTree) Add(entries ...rangetree.Entry) rangetree.Entries

func (*RangeTree) Apply

func (m *RangeTree) Apply(interval rangetree.Interval, fn func(rangetree.Entry) bool)

func (*RangeTree) Delete

func (m *RangeTree) Delete(entries ...rangetree.Entry) rangetree.Entries

func (*RangeTree) Get

func (m *RangeTree) Get(entries ...rangetree.Entry) rangetree.Entries

func (*RangeTree) InsertAtDimension

func (m *RangeTree) InsertAtDimension(dimension uint64, index,
	number int64) (rangetree.Entries, rangetree.Entries)

func (*RangeTree) Len

func (m *RangeTree) Len() uint64

func (*RangeTree) Query

func (m *RangeTree) Query(interval rangetree.Interval) rangetree.Entries

Jump to

Keyboard shortcuts

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