eventiofakes

package
v0.135.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeBillableEventRows

type FakeBillableEventRows struct {
	CloseStub func() error

	ErrStub func() error

	EventStub func() (*eventio.BillableEvent, error)

	EventJSONStub func() ([]byte, error)

	NextStub func() bool
	// contains filtered or unexported fields
}

func (*FakeBillableEventRows) Close

func (fake *FakeBillableEventRows) Close() error

func (*FakeBillableEventRows) CloseCallCount

func (fake *FakeBillableEventRows) CloseCallCount() int

func (*FakeBillableEventRows) CloseCalls

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

func (*FakeBillableEventRows) CloseReturns

func (fake *FakeBillableEventRows) CloseReturns(result1 error)

func (*FakeBillableEventRows) CloseReturnsOnCall

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

func (*FakeBillableEventRows) Err

func (fake *FakeBillableEventRows) Err() error

func (*FakeBillableEventRows) ErrCallCount

func (fake *FakeBillableEventRows) ErrCallCount() int

func (*FakeBillableEventRows) ErrCalls

func (fake *FakeBillableEventRows) ErrCalls(stub func() error)

func (*FakeBillableEventRows) ErrReturns

func (fake *FakeBillableEventRows) ErrReturns(result1 error)

func (*FakeBillableEventRows) ErrReturnsOnCall

func (fake *FakeBillableEventRows) ErrReturnsOnCall(i int, result1 error)

func (*FakeBillableEventRows) Event

func (*FakeBillableEventRows) EventCallCount

func (fake *FakeBillableEventRows) EventCallCount() int

func (*FakeBillableEventRows) EventCalls

func (fake *FakeBillableEventRows) EventCalls(stub func() (*eventio.BillableEvent, error))

func (*FakeBillableEventRows) EventJSON

func (fake *FakeBillableEventRows) EventJSON() ([]byte, error)

func (*FakeBillableEventRows) EventJSONCallCount

func (fake *FakeBillableEventRows) EventJSONCallCount() int

func (*FakeBillableEventRows) EventJSONCalls

func (fake *FakeBillableEventRows) EventJSONCalls(stub func() ([]byte, error))

func (*FakeBillableEventRows) EventJSONReturns

func (fake *FakeBillableEventRows) EventJSONReturns(result1 []byte, result2 error)

func (*FakeBillableEventRows) EventJSONReturnsOnCall

func (fake *FakeBillableEventRows) EventJSONReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeBillableEventRows) EventReturns

func (fake *FakeBillableEventRows) EventReturns(result1 *eventio.BillableEvent, result2 error)

func (*FakeBillableEventRows) EventReturnsOnCall

func (fake *FakeBillableEventRows) EventReturnsOnCall(i int, result1 *eventio.BillableEvent, result2 error)

func (*FakeBillableEventRows) Invocations

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

func (*FakeBillableEventRows) Next

func (fake *FakeBillableEventRows) Next() bool

func (*FakeBillableEventRows) NextCallCount

func (fake *FakeBillableEventRows) NextCallCount() int

func (*FakeBillableEventRows) NextCalls

func (fake *FakeBillableEventRows) NextCalls(stub func() bool)

func (*FakeBillableEventRows) NextReturns

func (fake *FakeBillableEventRows) NextReturns(result1 bool)

func (*FakeBillableEventRows) NextReturnsOnCall

func (fake *FakeBillableEventRows) NextReturnsOnCall(i int, result1 bool)

type FakeEventFetcher

type FakeEventFetcher struct {
	FetchEventsStub func(context.Context, *eventio.RawEvent) ([]eventio.RawEvent, error)

	KindStub func() string
	// contains filtered or unexported fields
}

func (*FakeEventFetcher) FetchEvents

func (fake *FakeEventFetcher) FetchEvents(arg1 context.Context, arg2 *eventio.RawEvent) ([]eventio.RawEvent, error)

func (*FakeEventFetcher) FetchEventsArgsForCall

func (fake *FakeEventFetcher) FetchEventsArgsForCall(i int) (context.Context, *eventio.RawEvent)

func (*FakeEventFetcher) FetchEventsCallCount

func (fake *FakeEventFetcher) FetchEventsCallCount() int

func (*FakeEventFetcher) FetchEventsCalls

func (fake *FakeEventFetcher) FetchEventsCalls(stub func(context.Context, *eventio.RawEvent) ([]eventio.RawEvent, error))

func (*FakeEventFetcher) FetchEventsReturns

func (fake *FakeEventFetcher) FetchEventsReturns(result1 []eventio.RawEvent, result2 error)

func (*FakeEventFetcher) FetchEventsReturnsOnCall

func (fake *FakeEventFetcher) FetchEventsReturnsOnCall(i int, result1 []eventio.RawEvent, result2 error)

func (*FakeEventFetcher) Invocations

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

func (*FakeEventFetcher) Kind

func (fake *FakeEventFetcher) Kind() string

func (*FakeEventFetcher) KindCallCount

func (fake *FakeEventFetcher) KindCallCount() int

func (*FakeEventFetcher) KindCalls

func (fake *FakeEventFetcher) KindCalls(stub func() string)

func (*FakeEventFetcher) KindReturns

func (fake *FakeEventFetcher) KindReturns(result1 string)

func (*FakeEventFetcher) KindReturnsOnCall

func (fake *FakeEventFetcher) KindReturnsOnCall(i int, result1 string)

type FakeEventStore

type FakeEventStore struct {
	ConsolidateStub func(eventio.EventFilter) error

	ConsolidateAllStub func() error

	ConsolidateFullMonthsStub func(string, string) error

	ForecastBillableEventRowsStub func(context.Context, []eventio.UsageEvent, eventio.EventFilter) (eventio.BillableEventRows, error)

	ForecastBillableEventsStub func([]eventio.UsageEvent, eventio.EventFilter) ([]eventio.BillableEvent, error)

	GetBillableEventRowsStub func(context.Context, eventio.EventFilter) (eventio.BillableEventRows, error)

	GetBillableEventsStub func(eventio.EventFilter) ([]eventio.BillableEvent, error)

	GetConsolidatedBillableEventRowsStub func(context.Context, eventio.EventFilter) (eventio.BillableEventRows, error)

	GetConsolidatedBillableEventsStub func(eventio.EventFilter) ([]eventio.BillableEvent, error)

	GetCurrencyRatesStub func(eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error)

	GetEventsStub func(eventio.RawEventFilter) ([]eventio.RawEvent, error)

	GetPricingPlansStub func(eventio.TimeRangeFilter) ([]eventio.PricingPlan, error)

	GetTotalCostStub func() ([]eventio.TotalCost, error)

	GetUsageEventRowsStub func(eventio.EventFilter) (eventio.UsageEventRows, error)

	GetUsageEventsStub func(eventio.EventFilter) ([]eventio.UsageEvent, error)

	GetVATRatesStub func(eventio.TimeRangeFilter) ([]eventio.VATRate, error)

	InitStub func() error

	IsRangeConsolidatedStub func(eventio.EventFilter) (bool, error)

	PingStub func() error

	RecordPeriodicMetricsStub func() error

	RefreshStub func() error

	StoreEventsStub func([]eventio.RawEvent) error
	// contains filtered or unexported fields
}

func (*FakeEventStore) Consolidate

func (fake *FakeEventStore) Consolidate(arg1 eventio.EventFilter) error

func (*FakeEventStore) ConsolidateAll

func (fake *FakeEventStore) ConsolidateAll() error

func (*FakeEventStore) ConsolidateAllCallCount

func (fake *FakeEventStore) ConsolidateAllCallCount() int

func (*FakeEventStore) ConsolidateAllCalls

func (fake *FakeEventStore) ConsolidateAllCalls(stub func() error)

func (*FakeEventStore) ConsolidateAllReturns

func (fake *FakeEventStore) ConsolidateAllReturns(result1 error)

func (*FakeEventStore) ConsolidateAllReturnsOnCall

func (fake *FakeEventStore) ConsolidateAllReturnsOnCall(i int, result1 error)

func (*FakeEventStore) ConsolidateArgsForCall

func (fake *FakeEventStore) ConsolidateArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) ConsolidateCallCount

func (fake *FakeEventStore) ConsolidateCallCount() int

func (*FakeEventStore) ConsolidateCalls

func (fake *FakeEventStore) ConsolidateCalls(stub func(eventio.EventFilter) error)

func (*FakeEventStore) ConsolidateFullMonths

func (fake *FakeEventStore) ConsolidateFullMonths(arg1 string, arg2 string) error

func (*FakeEventStore) ConsolidateFullMonthsArgsForCall

func (fake *FakeEventStore) ConsolidateFullMonthsArgsForCall(i int) (string, string)

func (*FakeEventStore) ConsolidateFullMonthsCallCount

func (fake *FakeEventStore) ConsolidateFullMonthsCallCount() int

func (*FakeEventStore) ConsolidateFullMonthsCalls

func (fake *FakeEventStore) ConsolidateFullMonthsCalls(stub func(string, string) error)

func (*FakeEventStore) ConsolidateFullMonthsReturns

func (fake *FakeEventStore) ConsolidateFullMonthsReturns(result1 error)

func (*FakeEventStore) ConsolidateFullMonthsReturnsOnCall

func (fake *FakeEventStore) ConsolidateFullMonthsReturnsOnCall(i int, result1 error)

func (*FakeEventStore) ConsolidateReturns

func (fake *FakeEventStore) ConsolidateReturns(result1 error)

func (*FakeEventStore) ConsolidateReturnsOnCall

func (fake *FakeEventStore) ConsolidateReturnsOnCall(i int, result1 error)

func (*FakeEventStore) ForecastBillableEventRows

func (fake *FakeEventStore) ForecastBillableEventRows(arg1 context.Context, arg2 []eventio.UsageEvent, arg3 eventio.EventFilter) (eventio.BillableEventRows, error)

func (*FakeEventStore) ForecastBillableEventRowsArgsForCall

func (fake *FakeEventStore) ForecastBillableEventRowsArgsForCall(i int) (context.Context, []eventio.UsageEvent, eventio.EventFilter)

func (*FakeEventStore) ForecastBillableEventRowsCallCount

func (fake *FakeEventStore) ForecastBillableEventRowsCallCount() int

func (*FakeEventStore) ForecastBillableEventRowsCalls

func (fake *FakeEventStore) ForecastBillableEventRowsCalls(stub func(context.Context, []eventio.UsageEvent, eventio.EventFilter) (eventio.BillableEventRows, error))

func (*FakeEventStore) ForecastBillableEventRowsReturns

func (fake *FakeEventStore) ForecastBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) ForecastBillableEventRowsReturnsOnCall

func (fake *FakeEventStore) ForecastBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) ForecastBillableEvents

func (fake *FakeEventStore) ForecastBillableEvents(arg1 []eventio.UsageEvent, arg2 eventio.EventFilter) ([]eventio.BillableEvent, error)

func (*FakeEventStore) ForecastBillableEventsArgsForCall

func (fake *FakeEventStore) ForecastBillableEventsArgsForCall(i int) ([]eventio.UsageEvent, eventio.EventFilter)

func (*FakeEventStore) ForecastBillableEventsCallCount

func (fake *FakeEventStore) ForecastBillableEventsCallCount() int

func (*FakeEventStore) ForecastBillableEventsCalls

func (fake *FakeEventStore) ForecastBillableEventsCalls(stub func([]eventio.UsageEvent, eventio.EventFilter) ([]eventio.BillableEvent, error))

func (*FakeEventStore) ForecastBillableEventsReturns

func (fake *FakeEventStore) ForecastBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) ForecastBillableEventsReturnsOnCall

func (fake *FakeEventStore) ForecastBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) GetBillableEventRows

func (fake *FakeEventStore) GetBillableEventRows(arg1 context.Context, arg2 eventio.EventFilter) (eventio.BillableEventRows, error)

func (*FakeEventStore) GetBillableEventRowsArgsForCall

func (fake *FakeEventStore) GetBillableEventRowsArgsForCall(i int) (context.Context, eventio.EventFilter)

func (*FakeEventStore) GetBillableEventRowsCallCount

func (fake *FakeEventStore) GetBillableEventRowsCallCount() int

func (*FakeEventStore) GetBillableEventRowsCalls

func (fake *FakeEventStore) GetBillableEventRowsCalls(stub func(context.Context, eventio.EventFilter) (eventio.BillableEventRows, error))

func (*FakeEventStore) GetBillableEventRowsReturns

func (fake *FakeEventStore) GetBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) GetBillableEventRowsReturnsOnCall

func (fake *FakeEventStore) GetBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) GetBillableEvents

func (fake *FakeEventStore) GetBillableEvents(arg1 eventio.EventFilter) ([]eventio.BillableEvent, error)

func (*FakeEventStore) GetBillableEventsArgsForCall

func (fake *FakeEventStore) GetBillableEventsArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) GetBillableEventsCallCount

func (fake *FakeEventStore) GetBillableEventsCallCount() int

func (*FakeEventStore) GetBillableEventsCalls

func (fake *FakeEventStore) GetBillableEventsCalls(stub func(eventio.EventFilter) ([]eventio.BillableEvent, error))

func (*FakeEventStore) GetBillableEventsReturns

func (fake *FakeEventStore) GetBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) GetBillableEventsReturnsOnCall

func (fake *FakeEventStore) GetBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) GetConsolidatedBillableEventRows

func (fake *FakeEventStore) GetConsolidatedBillableEventRows(arg1 context.Context, arg2 eventio.EventFilter) (eventio.BillableEventRows, error)

func (*FakeEventStore) GetConsolidatedBillableEventRowsArgsForCall

func (fake *FakeEventStore) GetConsolidatedBillableEventRowsArgsForCall(i int) (context.Context, eventio.EventFilter)

func (*FakeEventStore) GetConsolidatedBillableEventRowsCallCount

func (fake *FakeEventStore) GetConsolidatedBillableEventRowsCallCount() int

func (*FakeEventStore) GetConsolidatedBillableEventRowsCalls

func (fake *FakeEventStore) GetConsolidatedBillableEventRowsCalls(stub func(context.Context, eventio.EventFilter) (eventio.BillableEventRows, error))

func (*FakeEventStore) GetConsolidatedBillableEventRowsReturns

func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) GetConsolidatedBillableEventRowsReturnsOnCall

func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)

func (*FakeEventStore) GetConsolidatedBillableEvents

func (fake *FakeEventStore) GetConsolidatedBillableEvents(arg1 eventio.EventFilter) ([]eventio.BillableEvent, error)

func (*FakeEventStore) GetConsolidatedBillableEventsArgsForCall

func (fake *FakeEventStore) GetConsolidatedBillableEventsArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) GetConsolidatedBillableEventsCallCount

func (fake *FakeEventStore) GetConsolidatedBillableEventsCallCount() int

func (*FakeEventStore) GetConsolidatedBillableEventsCalls

func (fake *FakeEventStore) GetConsolidatedBillableEventsCalls(stub func(eventio.EventFilter) ([]eventio.BillableEvent, error))

func (*FakeEventStore) GetConsolidatedBillableEventsReturns

func (fake *FakeEventStore) GetConsolidatedBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) GetConsolidatedBillableEventsReturnsOnCall

func (fake *FakeEventStore) GetConsolidatedBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)

func (*FakeEventStore) GetCurrencyRates

func (fake *FakeEventStore) GetCurrencyRates(arg1 eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error)

func (*FakeEventStore) GetCurrencyRatesArgsForCall

func (fake *FakeEventStore) GetCurrencyRatesArgsForCall(i int) eventio.TimeRangeFilter

func (*FakeEventStore) GetCurrencyRatesCallCount

func (fake *FakeEventStore) GetCurrencyRatesCallCount() int

func (*FakeEventStore) GetCurrencyRatesCalls

func (fake *FakeEventStore) GetCurrencyRatesCalls(stub func(eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error))

func (*FakeEventStore) GetCurrencyRatesReturns

func (fake *FakeEventStore) GetCurrencyRatesReturns(result1 []eventio.CurrencyRate, result2 error)

func (*FakeEventStore) GetCurrencyRatesReturnsOnCall

func (fake *FakeEventStore) GetCurrencyRatesReturnsOnCall(i int, result1 []eventio.CurrencyRate, result2 error)

func (*FakeEventStore) GetEvents

func (fake *FakeEventStore) GetEvents(arg1 eventio.RawEventFilter) ([]eventio.RawEvent, error)

func (*FakeEventStore) GetEventsArgsForCall

func (fake *FakeEventStore) GetEventsArgsForCall(i int) eventio.RawEventFilter

func (*FakeEventStore) GetEventsCallCount

func (fake *FakeEventStore) GetEventsCallCount() int

func (*FakeEventStore) GetEventsCalls

func (fake *FakeEventStore) GetEventsCalls(stub func(eventio.RawEventFilter) ([]eventio.RawEvent, error))

func (*FakeEventStore) GetEventsReturns

func (fake *FakeEventStore) GetEventsReturns(result1 []eventio.RawEvent, result2 error)

func (*FakeEventStore) GetEventsReturnsOnCall

func (fake *FakeEventStore) GetEventsReturnsOnCall(i int, result1 []eventio.RawEvent, result2 error)

func (*FakeEventStore) GetPricingPlans

func (fake *FakeEventStore) GetPricingPlans(arg1 eventio.TimeRangeFilter) ([]eventio.PricingPlan, error)

func (*FakeEventStore) GetPricingPlansArgsForCall

func (fake *FakeEventStore) GetPricingPlansArgsForCall(i int) eventio.TimeRangeFilter

func (*FakeEventStore) GetPricingPlansCallCount

func (fake *FakeEventStore) GetPricingPlansCallCount() int

func (*FakeEventStore) GetPricingPlansCalls

func (fake *FakeEventStore) GetPricingPlansCalls(stub func(eventio.TimeRangeFilter) ([]eventio.PricingPlan, error))

func (*FakeEventStore) GetPricingPlansReturns

func (fake *FakeEventStore) GetPricingPlansReturns(result1 []eventio.PricingPlan, result2 error)

func (*FakeEventStore) GetPricingPlansReturnsOnCall

func (fake *FakeEventStore) GetPricingPlansReturnsOnCall(i int, result1 []eventio.PricingPlan, result2 error)

func (*FakeEventStore) GetTotalCost

func (fake *FakeEventStore) GetTotalCost() ([]eventio.TotalCost, error)

func (*FakeEventStore) GetTotalCostCallCount

func (fake *FakeEventStore) GetTotalCostCallCount() int

func (*FakeEventStore) GetTotalCostCalls

func (fake *FakeEventStore) GetTotalCostCalls(stub func() ([]eventio.TotalCost, error))

func (*FakeEventStore) GetTotalCostReturns

func (fake *FakeEventStore) GetTotalCostReturns(result1 []eventio.TotalCost, result2 error)

func (*FakeEventStore) GetTotalCostReturnsOnCall

func (fake *FakeEventStore) GetTotalCostReturnsOnCall(i int, result1 []eventio.TotalCost, result2 error)

func (*FakeEventStore) GetUsageEventRows

func (fake *FakeEventStore) GetUsageEventRows(arg1 eventio.EventFilter) (eventio.UsageEventRows, error)

func (*FakeEventStore) GetUsageEventRowsArgsForCall

func (fake *FakeEventStore) GetUsageEventRowsArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) GetUsageEventRowsCallCount

func (fake *FakeEventStore) GetUsageEventRowsCallCount() int

func (*FakeEventStore) GetUsageEventRowsCalls

func (fake *FakeEventStore) GetUsageEventRowsCalls(stub func(eventio.EventFilter) (eventio.UsageEventRows, error))

func (*FakeEventStore) GetUsageEventRowsReturns

func (fake *FakeEventStore) GetUsageEventRowsReturns(result1 eventio.UsageEventRows, result2 error)

func (*FakeEventStore) GetUsageEventRowsReturnsOnCall

func (fake *FakeEventStore) GetUsageEventRowsReturnsOnCall(i int, result1 eventio.UsageEventRows, result2 error)

func (*FakeEventStore) GetUsageEvents

func (fake *FakeEventStore) GetUsageEvents(arg1 eventio.EventFilter) ([]eventio.UsageEvent, error)

func (*FakeEventStore) GetUsageEventsArgsForCall

func (fake *FakeEventStore) GetUsageEventsArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) GetUsageEventsCallCount

func (fake *FakeEventStore) GetUsageEventsCallCount() int

func (*FakeEventStore) GetUsageEventsCalls

func (fake *FakeEventStore) GetUsageEventsCalls(stub func(eventio.EventFilter) ([]eventio.UsageEvent, error))

func (*FakeEventStore) GetUsageEventsReturns

func (fake *FakeEventStore) GetUsageEventsReturns(result1 []eventio.UsageEvent, result2 error)

func (*FakeEventStore) GetUsageEventsReturnsOnCall

func (fake *FakeEventStore) GetUsageEventsReturnsOnCall(i int, result1 []eventio.UsageEvent, result2 error)

func (*FakeEventStore) GetVATRates

func (fake *FakeEventStore) GetVATRates(arg1 eventio.TimeRangeFilter) ([]eventio.VATRate, error)

func (*FakeEventStore) GetVATRatesArgsForCall

func (fake *FakeEventStore) GetVATRatesArgsForCall(i int) eventio.TimeRangeFilter

func (*FakeEventStore) GetVATRatesCallCount

func (fake *FakeEventStore) GetVATRatesCallCount() int

func (*FakeEventStore) GetVATRatesCalls

func (fake *FakeEventStore) GetVATRatesCalls(stub func(eventio.TimeRangeFilter) ([]eventio.VATRate, error))

func (*FakeEventStore) GetVATRatesReturns

func (fake *FakeEventStore) GetVATRatesReturns(result1 []eventio.VATRate, result2 error)

func (*FakeEventStore) GetVATRatesReturnsOnCall

func (fake *FakeEventStore) GetVATRatesReturnsOnCall(i int, result1 []eventio.VATRate, result2 error)

func (*FakeEventStore) Init

func (fake *FakeEventStore) Init() error

func (*FakeEventStore) InitCallCount

func (fake *FakeEventStore) InitCallCount() int

func (*FakeEventStore) InitCalls

func (fake *FakeEventStore) InitCalls(stub func() error)

func (*FakeEventStore) InitReturns

func (fake *FakeEventStore) InitReturns(result1 error)

func (*FakeEventStore) InitReturnsOnCall

func (fake *FakeEventStore) InitReturnsOnCall(i int, result1 error)

func (*FakeEventStore) Invocations

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

func (*FakeEventStore) IsRangeConsolidated

func (fake *FakeEventStore) IsRangeConsolidated(arg1 eventio.EventFilter) (bool, error)

func (*FakeEventStore) IsRangeConsolidatedArgsForCall

func (fake *FakeEventStore) IsRangeConsolidatedArgsForCall(i int) eventio.EventFilter

func (*FakeEventStore) IsRangeConsolidatedCallCount

func (fake *FakeEventStore) IsRangeConsolidatedCallCount() int

func (*FakeEventStore) IsRangeConsolidatedCalls

func (fake *FakeEventStore) IsRangeConsolidatedCalls(stub func(eventio.EventFilter) (bool, error))

func (*FakeEventStore) IsRangeConsolidatedReturns

func (fake *FakeEventStore) IsRangeConsolidatedReturns(result1 bool, result2 error)

func (*FakeEventStore) IsRangeConsolidatedReturnsOnCall

func (fake *FakeEventStore) IsRangeConsolidatedReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeEventStore) Ping

func (fake *FakeEventStore) Ping() error

func (*FakeEventStore) PingCallCount

func (fake *FakeEventStore) PingCallCount() int

func (*FakeEventStore) PingCalls

func (fake *FakeEventStore) PingCalls(stub func() error)

func (*FakeEventStore) PingReturns

func (fake *FakeEventStore) PingReturns(result1 error)

func (*FakeEventStore) PingReturnsOnCall

func (fake *FakeEventStore) PingReturnsOnCall(i int, result1 error)

func (*FakeEventStore) RecordPeriodicMetrics

func (fake *FakeEventStore) RecordPeriodicMetrics() error

func (*FakeEventStore) RecordPeriodicMetricsCallCount

func (fake *FakeEventStore) RecordPeriodicMetricsCallCount() int

func (*FakeEventStore) RecordPeriodicMetricsCalls

func (fake *FakeEventStore) RecordPeriodicMetricsCalls(stub func() error)

func (*FakeEventStore) RecordPeriodicMetricsReturns

func (fake *FakeEventStore) RecordPeriodicMetricsReturns(result1 error)

func (*FakeEventStore) RecordPeriodicMetricsReturnsOnCall

func (fake *FakeEventStore) RecordPeriodicMetricsReturnsOnCall(i int, result1 error)

func (*FakeEventStore) Refresh

func (fake *FakeEventStore) Refresh() error

func (*FakeEventStore) RefreshCallCount

func (fake *FakeEventStore) RefreshCallCount() int

func (*FakeEventStore) RefreshCalls

func (fake *FakeEventStore) RefreshCalls(stub func() error)

func (*FakeEventStore) RefreshReturns

func (fake *FakeEventStore) RefreshReturns(result1 error)

func (*FakeEventStore) RefreshReturnsOnCall

func (fake *FakeEventStore) RefreshReturnsOnCall(i int, result1 error)

func (*FakeEventStore) StoreEvents

func (fake *FakeEventStore) StoreEvents(arg1 []eventio.RawEvent) error

func (*FakeEventStore) StoreEventsArgsForCall

func (fake *FakeEventStore) StoreEventsArgsForCall(i int) []eventio.RawEvent

func (*FakeEventStore) StoreEventsCallCount

func (fake *FakeEventStore) StoreEventsCallCount() int

func (*FakeEventStore) StoreEventsCalls

func (fake *FakeEventStore) StoreEventsCalls(stub func([]eventio.RawEvent) error)

func (*FakeEventStore) StoreEventsReturns

func (fake *FakeEventStore) StoreEventsReturns(result1 error)

func (*FakeEventStore) StoreEventsReturnsOnCall

func (fake *FakeEventStore) StoreEventsReturnsOnCall(i int, result1 error)

type FakeUsageEventRows

type FakeUsageEventRows struct {
	CloseStub func() error

	ErrStub func() error

	EventStub func() (*eventio.UsageEvent, error)

	EventJSONStub func() ([]byte, error)

	NextStub func() bool
	// contains filtered or unexported fields
}

func (*FakeUsageEventRows) Close

func (fake *FakeUsageEventRows) Close() error

func (*FakeUsageEventRows) CloseCallCount

func (fake *FakeUsageEventRows) CloseCallCount() int

func (*FakeUsageEventRows) CloseCalls

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

func (*FakeUsageEventRows) CloseReturns

func (fake *FakeUsageEventRows) CloseReturns(result1 error)

func (*FakeUsageEventRows) CloseReturnsOnCall

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

func (*FakeUsageEventRows) Err

func (fake *FakeUsageEventRows) Err() error

func (*FakeUsageEventRows) ErrCallCount

func (fake *FakeUsageEventRows) ErrCallCount() int

func (*FakeUsageEventRows) ErrCalls

func (fake *FakeUsageEventRows) ErrCalls(stub func() error)

func (*FakeUsageEventRows) ErrReturns

func (fake *FakeUsageEventRows) ErrReturns(result1 error)

func (*FakeUsageEventRows) ErrReturnsOnCall

func (fake *FakeUsageEventRows) ErrReturnsOnCall(i int, result1 error)

func (*FakeUsageEventRows) Event

func (fake *FakeUsageEventRows) Event() (*eventio.UsageEvent, error)

func (*FakeUsageEventRows) EventCallCount

func (fake *FakeUsageEventRows) EventCallCount() int

func (*FakeUsageEventRows) EventCalls

func (fake *FakeUsageEventRows) EventCalls(stub func() (*eventio.UsageEvent, error))

func (*FakeUsageEventRows) EventJSON

func (fake *FakeUsageEventRows) EventJSON() ([]byte, error)

func (*FakeUsageEventRows) EventJSONCallCount

func (fake *FakeUsageEventRows) EventJSONCallCount() int

func (*FakeUsageEventRows) EventJSONCalls

func (fake *FakeUsageEventRows) EventJSONCalls(stub func() ([]byte, error))

func (*FakeUsageEventRows) EventJSONReturns

func (fake *FakeUsageEventRows) EventJSONReturns(result1 []byte, result2 error)

func (*FakeUsageEventRows) EventJSONReturnsOnCall

func (fake *FakeUsageEventRows) EventJSONReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeUsageEventRows) EventReturns

func (fake *FakeUsageEventRows) EventReturns(result1 *eventio.UsageEvent, result2 error)

func (*FakeUsageEventRows) EventReturnsOnCall

func (fake *FakeUsageEventRows) EventReturnsOnCall(i int, result1 *eventio.UsageEvent, result2 error)

func (*FakeUsageEventRows) Invocations

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

func (*FakeUsageEventRows) Next

func (fake *FakeUsageEventRows) Next() bool

func (*FakeUsageEventRows) NextCallCount

func (fake *FakeUsageEventRows) NextCallCount() int

func (*FakeUsageEventRows) NextCalls

func (fake *FakeUsageEventRows) NextCalls(stub func() bool)

func (*FakeUsageEventRows) NextReturns

func (fake *FakeUsageEventRows) NextReturns(result1 bool)

func (*FakeUsageEventRows) NextReturnsOnCall

func (fake *FakeUsageEventRows) NextReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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