mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataNodeQueryClient

type DataNodeQueryClient struct {
	mock.Mock
}

DataNodeQueryClient is an autogenerated mock type for the DataNodeQueryClient type

func (*DataNodeQueryClient) Query

func (_m *DataNodeQueryClient) Query(ctx context.Context, requestID string, host topology.Host, query common.AQLQuery, hll bool) (common.AQLQueryResult, error)

Query provides a mock function with given fields: ctx, requestID, host, query, hll

func (*DataNodeQueryClient) QueryRaw

func (_m *DataNodeQueryClient) QueryRaw(ctx context.Context, requestID string, host topology.Host, query common.AQLQuery) ([]byte, error)

QueryRaw provides a mock function with given fields: ctx, requestID, host, query

type Peer

type Peer struct {
	mock.Mock
}

Peer is an autogenerated mock type for the Peer type

func (*Peer) BorrowConnection

func (_m *Peer) BorrowConnection(fn client.WithConnectionFn) error

BorrowConnection provides a mock function with given fields: fn

func (*Peer) Close

func (_m *Peer) Close()

Close provides a mock function with given fields:

func (*Peer) Host

func (_m *Peer) Host() topology.Host

Host provides a mock function with given fields:

type PeerSource

type PeerSource struct {
	mock.Mock
}

PeerSource is an autogenerated mock type for the PeerSource type

func (*PeerSource) BorrowConnection

func (_m *PeerSource) BorrowConnection(hostIDs []string, fn client.WithConnectionFn) error

BorrowConnection provides a mock function with given fields: hostIDs, fn

func (*PeerSource) Close

func (_m *PeerSource) Close()

Close provides a mock function with given fields:

Jump to

Keyboard shortcuts

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