emitterfakes

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeInfluxDBClient

type FakeInfluxDBClient struct {
	CloseStub func() error

	PingStub func(time.Duration) (time.Duration, string, error)

	QueryStub func(client.Query) (*client.Response, error)

	QueryAsChunkStub func(client.Query) (*client.ChunkedResponse, error)

	WriteStub func(client.BatchPoints) error
	// contains filtered or unexported fields
}

func (*FakeInfluxDBClient) Close

func (fake *FakeInfluxDBClient) Close() error

func (*FakeInfluxDBClient) CloseCallCount

func (fake *FakeInfluxDBClient) CloseCallCount() int

func (*FakeInfluxDBClient) CloseCalls

func (fake *FakeInfluxDBClient) CloseCalls(stub func() error)

func (*FakeInfluxDBClient) CloseReturns

func (fake *FakeInfluxDBClient) CloseReturns(result1 error)

func (*FakeInfluxDBClient) CloseReturnsOnCall

func (fake *FakeInfluxDBClient) CloseReturnsOnCall(i int, result1 error)

func (*FakeInfluxDBClient) Invocations

func (fake *FakeInfluxDBClient) Invocations() map[string][][]interface{}

func (*FakeInfluxDBClient) Ping

func (fake *FakeInfluxDBClient) Ping(arg1 time.Duration) (time.Duration, string, error)

func (*FakeInfluxDBClient) PingArgsForCall

func (fake *FakeInfluxDBClient) PingArgsForCall(i int) time.Duration

func (*FakeInfluxDBClient) PingCallCount

func (fake *FakeInfluxDBClient) PingCallCount() int

func (*FakeInfluxDBClient) PingCalls

func (fake *FakeInfluxDBClient) PingCalls(stub func(time.Duration) (time.Duration, string, error))

func (*FakeInfluxDBClient) PingReturns

func (fake *FakeInfluxDBClient) PingReturns(result1 time.Duration, result2 string, result3 error)

func (*FakeInfluxDBClient) PingReturnsOnCall

func (fake *FakeInfluxDBClient) PingReturnsOnCall(i int, result1 time.Duration, result2 string, result3 error)

func (*FakeInfluxDBClient) Query

func (fake *FakeInfluxDBClient) Query(arg1 client.Query) (*client.Response, error)

func (*FakeInfluxDBClient) QueryArgsForCall

func (fake *FakeInfluxDBClient) QueryArgsForCall(i int) client.Query

func (*FakeInfluxDBClient) QueryAsChunk

func (fake *FakeInfluxDBClient) QueryAsChunk(arg1 client.Query) (*client.ChunkedResponse, error)

func (*FakeInfluxDBClient) QueryAsChunkArgsForCall

func (fake *FakeInfluxDBClient) QueryAsChunkArgsForCall(i int) client.Query

func (*FakeInfluxDBClient) QueryAsChunkCallCount

func (fake *FakeInfluxDBClient) QueryAsChunkCallCount() int

func (*FakeInfluxDBClient) QueryAsChunkCalls

func (fake *FakeInfluxDBClient) QueryAsChunkCalls(stub func(client.Query) (*client.ChunkedResponse, error))

func (*FakeInfluxDBClient) QueryAsChunkReturns

func (fake *FakeInfluxDBClient) QueryAsChunkReturns(result1 *client.ChunkedResponse, result2 error)

func (*FakeInfluxDBClient) QueryAsChunkReturnsOnCall

func (fake *FakeInfluxDBClient) QueryAsChunkReturnsOnCall(i int, result1 *client.ChunkedResponse, result2 error)

func (*FakeInfluxDBClient) QueryCallCount

func (fake *FakeInfluxDBClient) QueryCallCount() int

func (*FakeInfluxDBClient) QueryCalls

func (fake *FakeInfluxDBClient) QueryCalls(stub func(client.Query) (*client.Response, error))

func (*FakeInfluxDBClient) QueryReturns

func (fake *FakeInfluxDBClient) QueryReturns(result1 *client.Response, result2 error)

func (*FakeInfluxDBClient) QueryReturnsOnCall

func (fake *FakeInfluxDBClient) QueryReturnsOnCall(i int, result1 *client.Response, result2 error)

func (*FakeInfluxDBClient) Write

func (fake *FakeInfluxDBClient) Write(arg1 client.BatchPoints) error

func (*FakeInfluxDBClient) WriteArgsForCall

func (fake *FakeInfluxDBClient) WriteArgsForCall(i int) client.BatchPoints

func (*FakeInfluxDBClient) WriteCallCount

func (fake *FakeInfluxDBClient) WriteCallCount() int

func (*FakeInfluxDBClient) WriteCalls

func (fake *FakeInfluxDBClient) WriteCalls(stub func(client.BatchPoints) error)

func (*FakeInfluxDBClient) WriteReturns

func (fake *FakeInfluxDBClient) WriteReturns(result1 error)

func (*FakeInfluxDBClient) WriteReturnsOnCall

func (fake *FakeInfluxDBClient) WriteReturnsOnCall(i int, result1 error)

type FakePrometheusGarbageCollectable

type FakePrometheusGarbageCollectable struct {
	WorkerContainersStub func() *prometheus.GaugeVec

	WorkerContainersLabelsStub func() map[string]map[string]prometheus.Labels

	WorkerTasksStub func() *prometheus.GaugeVec

	WorkerTasksLabelsStub func() map[string]map[string]prometheus.Labels

	WorkerVolumesStub func() *prometheus.GaugeVec

	WorkerVolumesLabelsStub func() map[string]map[string]prometheus.Labels
	// contains filtered or unexported fields
}

func (*FakePrometheusGarbageCollectable) Invocations

func (fake *FakePrometheusGarbageCollectable) Invocations() map[string][][]interface{}

func (*FakePrometheusGarbageCollectable) WorkerContainers

func (fake *FakePrometheusGarbageCollectable) WorkerContainers() *prometheus.GaugeVec

func (*FakePrometheusGarbageCollectable) WorkerContainersCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerContainersCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerContainersCalls

func (fake *FakePrometheusGarbageCollectable) WorkerContainersCalls(stub func() *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerContainersLabels

func (fake *FakePrometheusGarbageCollectable) WorkerContainersLabels() map[string]map[string]prometheus.Labels

func (*FakePrometheusGarbageCollectable) WorkerContainersLabelsCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerContainersLabelsCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerContainersLabelsCalls

func (fake *FakePrometheusGarbageCollectable) WorkerContainersLabelsCalls(stub func() map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerContainersLabelsReturns

func (fake *FakePrometheusGarbageCollectable) WorkerContainersLabelsReturns(result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerContainersLabelsReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerContainersLabelsReturnsOnCall(i int, result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerContainersReturns

func (fake *FakePrometheusGarbageCollectable) WorkerContainersReturns(result1 *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerContainersReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerContainersReturnsOnCall(i int, result1 *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerTasks

func (*FakePrometheusGarbageCollectable) WorkerTasksCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerTasksCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerTasksCalls

func (fake *FakePrometheusGarbageCollectable) WorkerTasksCalls(stub func() *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerTasksLabels

func (fake *FakePrometheusGarbageCollectable) WorkerTasksLabels() map[string]map[string]prometheus.Labels

func (*FakePrometheusGarbageCollectable) WorkerTasksLabelsCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerTasksLabelsCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerTasksLabelsCalls

func (fake *FakePrometheusGarbageCollectable) WorkerTasksLabelsCalls(stub func() map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerTasksLabelsReturns

func (fake *FakePrometheusGarbageCollectable) WorkerTasksLabelsReturns(result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerTasksLabelsReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerTasksLabelsReturnsOnCall(i int, result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerTasksReturns

func (fake *FakePrometheusGarbageCollectable) WorkerTasksReturns(result1 *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerTasksReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerTasksReturnsOnCall(i int, result1 *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerVolumes

func (fake *FakePrometheusGarbageCollectable) WorkerVolumes() *prometheus.GaugeVec

func (*FakePrometheusGarbageCollectable) WorkerVolumesCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerVolumesCalls

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesCalls(stub func() *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerVolumesLabels

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesLabels() map[string]map[string]prometheus.Labels

func (*FakePrometheusGarbageCollectable) WorkerVolumesLabelsCallCount

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesLabelsCallCount() int

func (*FakePrometheusGarbageCollectable) WorkerVolumesLabelsCalls

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesLabelsCalls(stub func() map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerVolumesLabelsReturns

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesLabelsReturns(result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerVolumesLabelsReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesLabelsReturnsOnCall(i int, result1 map[string]map[string]prometheus.Labels)

func (*FakePrometheusGarbageCollectable) WorkerVolumesReturns

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesReturns(result1 *prometheus.GaugeVec)

func (*FakePrometheusGarbageCollectable) WorkerVolumesReturnsOnCall

func (fake *FakePrometheusGarbageCollectable) WorkerVolumesReturnsOnCall(i int, result1 *prometheus.GaugeVec)

Jump to

Keyboard shortcuts

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