mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

type Iterator struct {
	mock.Mock
}

Iterator is an autogenerated mock type for the Iterator type

func (*Iterator) Close

func (_m *Iterator) Close() error

Close provides a mock function with given fields:

func (*Iterator) Scan

func (_m *Iterator) Scan(dest ...interface{}) bool

Scan provides a mock function with given fields: dest

type Query

type Query struct {
	mock.Mock
}

Query is an autogenerated mock type for the Query type

func (*Query) Bind

func (_m *Query) Bind(v ...interface{}) cassandra.Query

Bind provides a mock function with given fields: v

func (*Query) Consistency

func (_m *Query) Consistency(level cassandra.Consistency) cassandra.Query

Consistency provides a mock function with given fields: level

func (*Query) Exec

func (_m *Query) Exec() error

Exec provides a mock function with given fields:

func (*Query) Iter

func (_m *Query) Iter() cassandra.Iterator

Iter provides a mock function with given fields:

func (*Query) PageSize

func (_m *Query) PageSize(n int) cassandra.Query

PageSize provides a mock function with given fields: n

func (*Query) ScanCAS

func (_m *Query) ScanCAS(dest ...interface{}) (bool, error)

ScanCAS provides a mock function with given fields: dest

func (*Query) String

func (_m *Query) String() string

String provides a mock function with given fields:

type Session

type Session struct {
	mock.Mock
}

Session is an autogenerated mock type for the Session type

func (*Session) Close

func (_m *Session) Close()

Close provides a mock function with given fields:

func (*Session) Query

func (_m *Session) Query(stmt string, values ...interface{}) cassandra.Query

Query provides a mock function with given fields: stmt, values

Jump to

Keyboard shortcuts

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