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: ? 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

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