mocks

package
v0.6.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Close

func (_m *Client) Close() error

Close provides a mock function with given fields:

func (*Client) Ping

func (_m *Client) Ping(timeout time.Duration) (time.Duration, string, error)

Ping provides a mock function with given fields: timeout

func (*Client) Query

func (_m *Client) Query(q client.Query) (*client.Response, error)

Query provides a mock function with given fields: q

func (*Client) QueryAsChunk

func (_m *Client) QueryAsChunk(q client.Query) (*client.ChunkedResponse, error)

QueryAsChunk provides a mock function with given fields: q

func (*Client) Write

func (_m *Client) Write(bp client.BatchPoints) error

Write provides a mock function with given fields: bp

Jump to

Keyboard shortcuts

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