fetchersfakes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 9 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 FakeFetcher

type FakeFetcher struct {
	FetchInstanceDataStub func(lager.Logger, string, map[int]cf.Instance) (map[int]interface{}, error)
	// contains filtered or unexported fields
}

func (*FakeFetcher) FetchInstanceData

func (fake *FakeFetcher) FetchInstanceData(arg1 lager.Logger, arg2 string, arg3 map[int]cf.Instance) (map[int]interface{}, error)

func (*FakeFetcher) FetchInstanceDataArgsForCall

func (fake *FakeFetcher) FetchInstanceDataArgsForCall(i int) (lager.Logger, string, map[int]cf.Instance)

func (*FakeFetcher) FetchInstanceDataCallCount

func (fake *FakeFetcher) FetchInstanceDataCallCount() int

func (*FakeFetcher) FetchInstanceDataCalls

func (fake *FakeFetcher) FetchInstanceDataCalls(stub func(lager.Logger, string, map[int]cf.Instance) (map[int]interface{}, error))

func (*FakeFetcher) FetchInstanceDataReturns

func (fake *FakeFetcher) FetchInstanceDataReturns(result1 map[int]interface{}, result2 error)

func (*FakeFetcher) FetchInstanceDataReturnsOnCall

func (fake *FakeFetcher) FetchInstanceDataReturnsOnCall(i int, result1 map[int]interface{}, result2 error)

func (*FakeFetcher) Invocations

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

type FakeLogCacheClient

type FakeLogCacheClient struct {
	PromQLStub func(context.Context, string, ...client.PromQLOption) (*logcache_v1.PromQL_InstantQueryResult, error)

	PromQLRangeStub func(context.Context, string, ...client.PromQLOption) (*logcache_v1.PromQL_RangeQueryResult, error)

	ReadStub func(context.Context, string, time.Time, ...client.ReadOption) ([]*loggregator_v2.Envelope, error)
	// contains filtered or unexported fields
}

func (*FakeLogCacheClient) Invocations

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

func (*FakeLogCacheClient) PromQL

func (*FakeLogCacheClient) PromQLArgsForCall

func (fake *FakeLogCacheClient) PromQLArgsForCall(i int) (context.Context, string, []client.PromQLOption)

func (*FakeLogCacheClient) PromQLCallCount

func (fake *FakeLogCacheClient) PromQLCallCount() int

func (*FakeLogCacheClient) PromQLCalls

func (*FakeLogCacheClient) PromQLRange

func (*FakeLogCacheClient) PromQLRangeArgsForCall

func (fake *FakeLogCacheClient) PromQLRangeArgsForCall(i int) (context.Context, string, []client.PromQLOption)

func (*FakeLogCacheClient) PromQLRangeCallCount

func (fake *FakeLogCacheClient) PromQLRangeCallCount() int

func (*FakeLogCacheClient) PromQLRangeCalls

func (*FakeLogCacheClient) PromQLRangeReturns

func (fake *FakeLogCacheClient) PromQLRangeReturns(result1 *logcache_v1.PromQL_RangeQueryResult, result2 error)

func (*FakeLogCacheClient) PromQLRangeReturnsOnCall

func (fake *FakeLogCacheClient) PromQLRangeReturnsOnCall(i int, result1 *logcache_v1.PromQL_RangeQueryResult, result2 error)

func (*FakeLogCacheClient) PromQLReturns

func (fake *FakeLogCacheClient) PromQLReturns(result1 *logcache_v1.PromQL_InstantQueryResult, result2 error)

func (*FakeLogCacheClient) PromQLReturnsOnCall

func (fake *FakeLogCacheClient) PromQLReturnsOnCall(i int, result1 *logcache_v1.PromQL_InstantQueryResult, result2 error)

func (*FakeLogCacheClient) Read

func (fake *FakeLogCacheClient) Read(arg1 context.Context, arg2 string, arg3 time.Time, arg4 ...client.ReadOption) ([]*loggregator_v2.Envelope, error)

func (*FakeLogCacheClient) ReadArgsForCall

func (fake *FakeLogCacheClient) ReadArgsForCall(i int) (context.Context, string, time.Time, []client.ReadOption)

func (*FakeLogCacheClient) ReadCallCount

func (fake *FakeLogCacheClient) ReadCallCount() int

func (*FakeLogCacheClient) ReadCalls

func (*FakeLogCacheClient) ReadReturns

func (fake *FakeLogCacheClient) ReadReturns(result1 []*loggregator_v2.Envelope, result2 error)

func (*FakeLogCacheClient) ReadReturnsOnCall

func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_v2.Envelope, result2 error)

Jump to

Keyboard shortcuts

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