mocks

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 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 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