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.
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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) Authorize(c echo.Context) error
- func (fake *FakeAuthenticator) AuthorizeArgsForCall(i int) echo.Context
- func (fake *FakeAuthenticator) AuthorizeCallCount() int
- func (fake *FakeAuthenticator) AuthorizeReturns(result1 error)
- func (fake *FakeAuthenticator) AuthorizeReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthenticator) Exchange(c echo.Context) error
- func (fake *FakeAuthenticator) ExchangeArgsForCall(i int) echo.Context
- func (fake *FakeAuthenticator) ExchangeCallCount() int
- func (fake *FakeAuthenticator) ExchangeReturns(result1 error)
- func (fake *FakeAuthenticator) ExchangeReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- func (fake *FakeAuthenticator) NewAuthorizer(arg1 string) (auth.Authorizer, error)
- func (fake *FakeAuthenticator) NewAuthorizerArgsForCall(i int) string
- func (fake *FakeAuthenticator) NewAuthorizerCallCount() int
- func (fake *FakeAuthenticator) NewAuthorizerReturns(result1 auth.Authorizer, result2 error)
- func (fake *FakeAuthenticator) NewAuthorizerReturnsOnCall(i int, result1 auth.Authorizer, result2 error)
- type FakeAuthorizer
- func (fake *FakeAuthorizer) Admin() (bool, error)
- func (fake *FakeAuthorizer) AdminCallCount() int
- func (fake *FakeAuthorizer) AdminReturns(result1 bool, result2 error)
- func (fake *FakeAuthorizer) AdminReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAuthorizer) HasBillingAccess(arg1 []string) (bool, error)
- func (fake *FakeAuthorizer) HasBillingAccessArgsForCall(i int) []string
- func (fake *FakeAuthorizer) HasBillingAccessCallCount() int
- func (fake *FakeAuthorizer) HasBillingAccessReturns(result1 bool, result2 error)
- func (fake *FakeAuthorizer) HasBillingAccessReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
- type FakeBillableEventRows
- func (fake *FakeBillableEventRows) Close() error
- func (fake *FakeBillableEventRows) CloseCallCount() int
- func (fake *FakeBillableEventRows) CloseReturns(result1 error)
- func (fake *FakeBillableEventRows) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeBillableEventRows) Err() error
- func (fake *FakeBillableEventRows) ErrCallCount() int
- func (fake *FakeBillableEventRows) ErrReturns(result1 error)
- func (fake *FakeBillableEventRows) ErrReturnsOnCall(i int, result1 error)
- func (fake *FakeBillableEventRows) Event() (*eventio.BillableEvent, error)
- func (fake *FakeBillableEventRows) EventCallCount() int
- func (fake *FakeBillableEventRows) EventJSON() ([]byte, error)
- func (fake *FakeBillableEventRows) EventJSONCallCount() int
- func (fake *FakeBillableEventRows) EventJSONReturns(result1 []byte, result2 error)
- func (fake *FakeBillableEventRows) EventJSONReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeBillableEventRows) EventReturns(result1 *eventio.BillableEvent, result2 error)
- func (fake *FakeBillableEventRows) EventReturnsOnCall(i int, result1 *eventio.BillableEvent, result2 error)
- func (fake *FakeBillableEventRows) Invocations() map[string][][]interface{}
- func (fake *FakeBillableEventRows) Next() bool
- func (fake *FakeBillableEventRows) NextCallCount() int
- func (fake *FakeBillableEventRows) NextReturns(result1 bool)
- func (fake *FakeBillableEventRows) NextReturnsOnCall(i int, result1 bool)
- type FakeCFDataClient
- func (fake *FakeCFDataClient) Invocations() map[string][][]interface{}
- func (fake *FakeCFDataClient) ListOrgs() ([]cfclient.Org, error)
- func (fake *FakeCFDataClient) ListOrgsCallCount() int
- func (fake *FakeCFDataClient) ListOrgsReturns(result1 []cfclient.Org, result2 error)
- func (fake *FakeCFDataClient) ListOrgsReturnsOnCall(i int, result1 []cfclient.Org, result2 error)
- func (fake *FakeCFDataClient) ListServicePlans() ([]cfclient.ServicePlan, error)
- func (fake *FakeCFDataClient) ListServicePlansCallCount() int
- func (fake *FakeCFDataClient) ListServicePlansReturns(result1 []cfclient.ServicePlan, result2 error)
- func (fake *FakeCFDataClient) ListServicePlansReturnsOnCall(i int, result1 []cfclient.ServicePlan, result2 error)
- func (fake *FakeCFDataClient) ListServices() ([]cfclient.Service, error)
- func (fake *FakeCFDataClient) ListServicesCallCount() int
- func (fake *FakeCFDataClient) ListServicesReturns(result1 []cfclient.Service, result2 error)
- func (fake *FakeCFDataClient) ListServicesReturnsOnCall(i int, result1 []cfclient.Service, result2 error)
- func (fake *FakeCFDataClient) ListSpaces() ([]cfclient.Space, error)
- func (fake *FakeCFDataClient) ListSpacesCallCount() int
- func (fake *FakeCFDataClient) ListSpacesReturns(result1 []cfclient.Space, result2 error)
- func (fake *FakeCFDataClient) ListSpacesReturnsOnCall(i int, result1 []cfclient.Space, result2 error)
- type FakeEventFetcher
- func (fake *FakeEventFetcher) FetchEvents(ctx context.Context, lastKnownEvent *eventio.RawEvent) ([]eventio.RawEvent, error)
- func (fake *FakeEventFetcher) FetchEventsArgsForCall(i int) (context.Context, *eventio.RawEvent)
- func (fake *FakeEventFetcher) FetchEventsCallCount() int
- func (fake *FakeEventFetcher) FetchEventsReturns(result1 []eventio.RawEvent, result2 error)
- func (fake *FakeEventFetcher) FetchEventsReturnsOnCall(i int, result1 []eventio.RawEvent, result2 error)
- func (fake *FakeEventFetcher) Invocations() map[string][][]interface{}
- func (fake *FakeEventFetcher) Kind() string
- func (fake *FakeEventFetcher) KindCallCount() int
- func (fake *FakeEventFetcher) KindReturns(result1 string)
- func (fake *FakeEventFetcher) KindReturnsOnCall(i int, result1 string)
- type FakeEventStore
- func (fake *FakeEventStore) Consolidate(filter eventio.EventFilter) error
- func (fake *FakeEventStore) ConsolidateAll() error
- func (fake *FakeEventStore) ConsolidateAllCallCount() int
- func (fake *FakeEventStore) ConsolidateAllReturns(result1 error)
- func (fake *FakeEventStore) ConsolidateAllReturnsOnCall(i int, result1 error)
- func (fake *FakeEventStore) ConsolidateArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) ConsolidateCallCount() int
- func (fake *FakeEventStore) ConsolidateFullMonths(startAt string, endAt string) error
- func (fake *FakeEventStore) ConsolidateFullMonthsArgsForCall(i int) (string, string)
- func (fake *FakeEventStore) ConsolidateFullMonthsCallCount() int
- func (fake *FakeEventStore) ConsolidateFullMonthsReturns(result1 error)
- func (fake *FakeEventStore) ConsolidateFullMonthsReturnsOnCall(i int, result1 error)
- func (fake *FakeEventStore) ConsolidateReturns(result1 error)
- func (fake *FakeEventStore) ConsolidateReturnsOnCall(i int, result1 error)
- func (fake *FakeEventStore) ForecastBillableEventRows(ctx context.Context, events []eventio.UsageEvent, filter eventio.EventFilter) (eventio.BillableEventRows, error)
- func (fake *FakeEventStore) ForecastBillableEventRowsArgsForCall(i int) (context.Context, []eventio.UsageEvent, eventio.EventFilter)
- func (fake *FakeEventStore) ForecastBillableEventRowsCallCount() int
- func (fake *FakeEventStore) ForecastBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) ForecastBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) ForecastBillableEvents(events []eventio.UsageEvent, filter eventio.EventFilter) ([]eventio.BillableEvent, error)
- func (fake *FakeEventStore) ForecastBillableEventsArgsForCall(i int) ([]eventio.UsageEvent, eventio.EventFilter)
- func (fake *FakeEventStore) ForecastBillableEventsCallCount() int
- func (fake *FakeEventStore) ForecastBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) ForecastBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) GetBillableEventRows(ctx context.Context, filter eventio.EventFilter) (eventio.BillableEventRows, error)
- func (fake *FakeEventStore) GetBillableEventRowsArgsForCall(i int) (context.Context, eventio.EventFilter)
- func (fake *FakeEventStore) GetBillableEventRowsCallCount() int
- func (fake *FakeEventStore) GetBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) GetBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) GetBillableEvents(filter eventio.EventFilter) ([]eventio.BillableEvent, error)
- func (fake *FakeEventStore) GetBillableEventsArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) GetBillableEventsCallCount() int
- func (fake *FakeEventStore) GetBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) GetBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) GetConsolidatedBillableEventRows(ctx context.Context, filter eventio.EventFilter) (eventio.BillableEventRows, error)
- func (fake *FakeEventStore) GetConsolidatedBillableEventRowsArgsForCall(i int) (context.Context, eventio.EventFilter)
- func (fake *FakeEventStore) GetConsolidatedBillableEventRowsCallCount() int
- func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)
- func (fake *FakeEventStore) GetConsolidatedBillableEvents(filter eventio.EventFilter) ([]eventio.BillableEvent, error)
- func (fake *FakeEventStore) GetConsolidatedBillableEventsArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) GetConsolidatedBillableEventsCallCount() int
- func (fake *FakeEventStore) GetConsolidatedBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) GetConsolidatedBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)
- func (fake *FakeEventStore) GetCurrencyRates(filter eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error)
- func (fake *FakeEventStore) GetCurrencyRatesArgsForCall(i int) eventio.TimeRangeFilter
- func (fake *FakeEventStore) GetCurrencyRatesCallCount() int
- func (fake *FakeEventStore) GetCurrencyRatesReturns(result1 []eventio.CurrencyRate, result2 error)
- func (fake *FakeEventStore) GetCurrencyRatesReturnsOnCall(i int, result1 []eventio.CurrencyRate, result2 error)
- func (fake *FakeEventStore) GetEvents(filter eventio.RawEventFilter) ([]eventio.RawEvent, error)
- func (fake *FakeEventStore) GetEventsArgsForCall(i int) eventio.RawEventFilter
- func (fake *FakeEventStore) GetEventsCallCount() int
- func (fake *FakeEventStore) GetEventsReturns(result1 []eventio.RawEvent, result2 error)
- func (fake *FakeEventStore) GetEventsReturnsOnCall(i int, result1 []eventio.RawEvent, result2 error)
- func (fake *FakeEventStore) GetPricingPlans(filter eventio.TimeRangeFilter) ([]eventio.PricingPlan, error)
- func (fake *FakeEventStore) GetPricingPlansArgsForCall(i int) eventio.TimeRangeFilter
- func (fake *FakeEventStore) GetPricingPlansCallCount() int
- func (fake *FakeEventStore) GetPricingPlansReturns(result1 []eventio.PricingPlan, result2 error)
- func (fake *FakeEventStore) GetPricingPlansReturnsOnCall(i int, result1 []eventio.PricingPlan, result2 error)
- func (fake *FakeEventStore) GetUsageEventRows(filter eventio.EventFilter) (eventio.UsageEventRows, error)
- func (fake *FakeEventStore) GetUsageEventRowsArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) GetUsageEventRowsCallCount() int
- func (fake *FakeEventStore) GetUsageEventRowsReturns(result1 eventio.UsageEventRows, result2 error)
- func (fake *FakeEventStore) GetUsageEventRowsReturnsOnCall(i int, result1 eventio.UsageEventRows, result2 error)
- func (fake *FakeEventStore) GetUsageEvents(filter eventio.EventFilter) ([]eventio.UsageEvent, error)
- func (fake *FakeEventStore) GetUsageEventsArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) GetUsageEventsCallCount() int
- func (fake *FakeEventStore) GetUsageEventsReturns(result1 []eventio.UsageEvent, result2 error)
- func (fake *FakeEventStore) GetUsageEventsReturnsOnCall(i int, result1 []eventio.UsageEvent, result2 error)
- func (fake *FakeEventStore) GetVATRates(filter eventio.TimeRangeFilter) ([]eventio.VATRate, error)
- func (fake *FakeEventStore) GetVATRatesArgsForCall(i int) eventio.TimeRangeFilter
- func (fake *FakeEventStore) GetVATRatesCallCount() int
- func (fake *FakeEventStore) GetVATRatesReturns(result1 []eventio.VATRate, result2 error)
- func (fake *FakeEventStore) GetVATRatesReturnsOnCall(i int, result1 []eventio.VATRate, result2 error)
- func (fake *FakeEventStore) Init() error
- func (fake *FakeEventStore) InitCallCount() int
- func (fake *FakeEventStore) InitReturns(result1 error)
- func (fake *FakeEventStore) InitReturnsOnCall(i int, result1 error)
- func (fake *FakeEventStore) Invocations() map[string][][]interface{}
- func (fake *FakeEventStore) IsRangeConsolidated(filter eventio.EventFilter) (bool, error)
- func (fake *FakeEventStore) IsRangeConsolidatedArgsForCall(i int) eventio.EventFilter
- func (fake *FakeEventStore) IsRangeConsolidatedCallCount() int
- func (fake *FakeEventStore) IsRangeConsolidatedReturns(result1 bool, result2 error)
- func (fake *FakeEventStore) IsRangeConsolidatedReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeEventStore) Refresh() error
- func (fake *FakeEventStore) RefreshCallCount() int
- func (fake *FakeEventStore) RefreshReturns(result1 error)
- func (fake *FakeEventStore) RefreshReturnsOnCall(i int, result1 error)
- func (fake *FakeEventStore) StoreEvents(events []eventio.RawEvent) error
- func (fake *FakeEventStore) StoreEventsArgsForCall(i int) []eventio.RawEvent
- func (fake *FakeEventStore) StoreEventsCallCount() int
- func (fake *FakeEventStore) StoreEventsReturns(result1 error)
- func (fake *FakeEventStore) StoreEventsReturnsOnCall(i int, result1 error)
- type FakeUsageEventRows
- func (fake *FakeUsageEventRows) Close() error
- func (fake *FakeUsageEventRows) CloseCallCount() int
- func (fake *FakeUsageEventRows) CloseReturns(result1 error)
- func (fake *FakeUsageEventRows) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeUsageEventRows) Err() error
- func (fake *FakeUsageEventRows) ErrCallCount() int
- func (fake *FakeUsageEventRows) ErrReturns(result1 error)
- func (fake *FakeUsageEventRows) ErrReturnsOnCall(i int, result1 error)
- func (fake *FakeUsageEventRows) Event() (*eventio.UsageEvent, error)
- func (fake *FakeUsageEventRows) EventCallCount() int
- func (fake *FakeUsageEventRows) EventJSON() ([]byte, error)
- func (fake *FakeUsageEventRows) EventJSONCallCount() int
- func (fake *FakeUsageEventRows) EventJSONReturns(result1 []byte, result2 error)
- func (fake *FakeUsageEventRows) EventJSONReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeUsageEventRows) EventReturns(result1 *eventio.UsageEvent, result2 error)
- func (fake *FakeUsageEventRows) EventReturnsOnCall(i int, result1 *eventio.UsageEvent, result2 error)
- func (fake *FakeUsageEventRows) Invocations() map[string][][]interface{}
- func (fake *FakeUsageEventRows) Next() bool
- func (fake *FakeUsageEventRows) NextCallCount() int
- func (fake *FakeUsageEventRows) NextReturns(result1 bool)
- func (fake *FakeUsageEventRows) NextReturnsOnCall(i int, result1 bool)
- type FakeUsageEventsAPI
- func (fake *FakeUsageEventsAPI) Get(afterGUID string, count int, minAge time.Duration) (*cffetcher.UsageEventList, error)
- func (fake *FakeUsageEventsAPI) GetArgsForCall(i int) (string, int, time.Duration)
- func (fake *FakeUsageEventsAPI) GetCallCount() int
- func (fake *FakeUsageEventsAPI) GetReturns(result1 *cffetcher.UsageEventList, result2 error)
- func (fake *FakeUsageEventsAPI) GetReturnsOnCall(i int, result1 *cffetcher.UsageEventList, result2 error)
- func (fake *FakeUsageEventsAPI) Invocations() map[string][][]interface{}
- func (fake *FakeUsageEventsAPI) Type() string
- func (fake *FakeUsageEventsAPI) TypeCallCount() int
- func (fake *FakeUsageEventsAPI) TypeReturns(result1 string)
- func (fake *FakeUsageEventsAPI) TypeReturnsOnCall(i int, result1 string)
- type FakeUsageEventsClient
- func (fake *FakeUsageEventsClient) Get(path string) (*http.Response, error)
- func (fake *FakeUsageEventsClient) GetArgsForCall(i int) string
- func (fake *FakeUsageEventsClient) GetCallCount() int
- func (fake *FakeUsageEventsClient) GetReturns(result1 *http.Response, result2 error)
- func (fake *FakeUsageEventsClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeUsageEventsClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { ExchangeStub func(c echo.Context) error AuthorizeStub func(c echo.Context) error NewAuthorizerStub func(string) (auth.Authorizer, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) Authorize ¶
func (fake *FakeAuthenticator) Authorize(c echo.Context) error
func (*FakeAuthenticator) AuthorizeArgsForCall ¶
func (fake *FakeAuthenticator) AuthorizeArgsForCall(i int) echo.Context
func (*FakeAuthenticator) AuthorizeCallCount ¶
func (fake *FakeAuthenticator) AuthorizeCallCount() int
func (*FakeAuthenticator) AuthorizeReturns ¶
func (fake *FakeAuthenticator) AuthorizeReturns(result1 error)
func (*FakeAuthenticator) AuthorizeReturnsOnCall ¶
func (fake *FakeAuthenticator) AuthorizeReturnsOnCall(i int, result1 error)
func (*FakeAuthenticator) ExchangeArgsForCall ¶
func (fake *FakeAuthenticator) ExchangeArgsForCall(i int) echo.Context
func (*FakeAuthenticator) ExchangeCallCount ¶
func (fake *FakeAuthenticator) ExchangeCallCount() int
func (*FakeAuthenticator) ExchangeReturns ¶
func (fake *FakeAuthenticator) ExchangeReturns(result1 error)
func (*FakeAuthenticator) ExchangeReturnsOnCall ¶
func (fake *FakeAuthenticator) ExchangeReturnsOnCall(i int, result1 error)
func (*FakeAuthenticator) Invocations ¶
func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
func (*FakeAuthenticator) NewAuthorizer ¶
func (fake *FakeAuthenticator) NewAuthorizer(arg1 string) (auth.Authorizer, error)
func (*FakeAuthenticator) NewAuthorizerArgsForCall ¶
func (fake *FakeAuthenticator) NewAuthorizerArgsForCall(i int) string
func (*FakeAuthenticator) NewAuthorizerCallCount ¶
func (fake *FakeAuthenticator) NewAuthorizerCallCount() int
func (*FakeAuthenticator) NewAuthorizerReturns ¶
func (fake *FakeAuthenticator) NewAuthorizerReturns(result1 auth.Authorizer, result2 error)
func (*FakeAuthenticator) NewAuthorizerReturnsOnCall ¶
func (fake *FakeAuthenticator) NewAuthorizerReturnsOnCall(i int, result1 auth.Authorizer, result2 error)
type FakeAuthorizer ¶
type FakeAuthorizer struct { AdminStub func() (bool, error) HasBillingAccessStub func([]string) (bool, error) // contains filtered or unexported fields }
func (*FakeAuthorizer) Admin ¶
func (fake *FakeAuthorizer) Admin() (bool, error)
func (*FakeAuthorizer) AdminCallCount ¶
func (fake *FakeAuthorizer) AdminCallCount() int
func (*FakeAuthorizer) AdminReturns ¶
func (fake *FakeAuthorizer) AdminReturns(result1 bool, result2 error)
func (*FakeAuthorizer) AdminReturnsOnCall ¶
func (fake *FakeAuthorizer) AdminReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAuthorizer) HasBillingAccess ¶ added in v0.31.0
func (fake *FakeAuthorizer) HasBillingAccess(arg1 []string) (bool, error)
func (*FakeAuthorizer) HasBillingAccessArgsForCall ¶ added in v0.31.0
func (fake *FakeAuthorizer) HasBillingAccessArgsForCall(i int) []string
func (*FakeAuthorizer) HasBillingAccessCallCount ¶ added in v0.31.0
func (fake *FakeAuthorizer) HasBillingAccessCallCount() int
func (*FakeAuthorizer) HasBillingAccessReturns ¶ added in v0.31.0
func (fake *FakeAuthorizer) HasBillingAccessReturns(result1 bool, result2 error)
func (*FakeAuthorizer) HasBillingAccessReturnsOnCall ¶ added in v0.31.0
func (fake *FakeAuthorizer) HasBillingAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAuthorizer) Invocations ¶
func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
type FakeBillableEventRows ¶
type FakeBillableEventRows struct { NextStub func() bool CloseStub func() error ErrStub func() error EventJSONStub func() ([]byte, error) EventStub func() (*eventio.BillableEvent, error) // contains filtered or unexported fields }
func (*FakeBillableEventRows) Close ¶
func (fake *FakeBillableEventRows) Close() error
func (*FakeBillableEventRows) CloseCallCount ¶
func (fake *FakeBillableEventRows) CloseCallCount() int
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) ErrReturns ¶
func (fake *FakeBillableEventRows) ErrReturns(result1 error)
func (*FakeBillableEventRows) ErrReturnsOnCall ¶
func (fake *FakeBillableEventRows) ErrReturnsOnCall(i int, result1 error)
func (*FakeBillableEventRows) Event ¶
func (fake *FakeBillableEventRows) Event() (*eventio.BillableEvent, error)
func (*FakeBillableEventRows) EventCallCount ¶
func (fake *FakeBillableEventRows) EventCallCount() int
func (*FakeBillableEventRows) EventJSON ¶
func (fake *FakeBillableEventRows) EventJSON() ([]byte, error)
func (*FakeBillableEventRows) EventJSONCallCount ¶
func (fake *FakeBillableEventRows) EventJSONCallCount() int
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) NextReturns ¶
func (fake *FakeBillableEventRows) NextReturns(result1 bool)
func (*FakeBillableEventRows) NextReturnsOnCall ¶
func (fake *FakeBillableEventRows) NextReturnsOnCall(i int, result1 bool)
type FakeCFDataClient ¶ added in v0.32.0
type FakeCFDataClient struct { ListServicePlansStub func() ([]cfclient.ServicePlan, error) ListServicesStub func() ([]cfclient.Service, error) ListOrgsStub func() ([]cfclient.Org, error) ListSpacesStub func() ([]cfclient.Space, error) // contains filtered or unexported fields }
func (*FakeCFDataClient) Invocations ¶ added in v0.32.0
func (fake *FakeCFDataClient) Invocations() map[string][][]interface{}
func (*FakeCFDataClient) ListOrgs ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListOrgs() ([]cfclient.Org, error)
func (*FakeCFDataClient) ListOrgsCallCount ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListOrgsCallCount() int
func (*FakeCFDataClient) ListOrgsReturns ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListOrgsReturns(result1 []cfclient.Org, result2 error)
func (*FakeCFDataClient) ListOrgsReturnsOnCall ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListOrgsReturnsOnCall(i int, result1 []cfclient.Org, result2 error)
func (*FakeCFDataClient) ListServicePlans ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlans() ([]cfclient.ServicePlan, error)
func (*FakeCFDataClient) ListServicePlansCallCount ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlansCallCount() int
func (*FakeCFDataClient) ListServicePlansReturns ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlansReturns(result1 []cfclient.ServicePlan, result2 error)
func (*FakeCFDataClient) ListServicePlansReturnsOnCall ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlansReturnsOnCall(i int, result1 []cfclient.ServicePlan, result2 error)
func (*FakeCFDataClient) ListServices ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServices() ([]cfclient.Service, error)
func (*FakeCFDataClient) ListServicesCallCount ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicesCallCount() int
func (*FakeCFDataClient) ListServicesReturns ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicesReturns(result1 []cfclient.Service, result2 error)
func (*FakeCFDataClient) ListServicesReturnsOnCall ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicesReturnsOnCall(i int, result1 []cfclient.Service, result2 error)
func (*FakeCFDataClient) ListSpaces ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListSpaces() ([]cfclient.Space, error)
func (*FakeCFDataClient) ListSpacesCallCount ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListSpacesCallCount() int
func (*FakeCFDataClient) ListSpacesReturns ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListSpacesReturns(result1 []cfclient.Space, result2 error)
func (*FakeCFDataClient) ListSpacesReturnsOnCall ¶ added in v0.38.0
func (fake *FakeCFDataClient) ListSpacesReturnsOnCall(i int, result1 []cfclient.Space, result2 error)
type FakeEventFetcher ¶
type FakeEventFetcher struct { FetchEventsStub func(ctx context.Context, lastKnownEvent *eventio.RawEvent) ([]eventio.RawEvent, error) KindStub func() string // contains filtered or unexported fields }
func (*FakeEventFetcher) FetchEvents ¶
func (*FakeEventFetcher) FetchEventsArgsForCall ¶
func (*FakeEventFetcher) FetchEventsCallCount ¶
func (fake *FakeEventFetcher) FetchEventsCallCount() int
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) KindReturns ¶
func (fake *FakeEventFetcher) KindReturns(result1 string)
func (*FakeEventFetcher) KindReturnsOnCall ¶
func (fake *FakeEventFetcher) KindReturnsOnCall(i int, result1 string)
type FakeEventStore ¶
type FakeEventStore struct { InitStub func() error RefreshStub func() error GetPricingPlansStub func(filter eventio.TimeRangeFilter) ([]eventio.PricingPlan, error) GetCurrencyRatesStub func(filter eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error) GetVATRatesStub func(filter eventio.TimeRangeFilter) ([]eventio.VATRate, error) StoreEventsStub func(events []eventio.RawEvent) error GetEventsStub func(filter eventio.RawEventFilter) ([]eventio.RawEvent, error) GetUsageEventRowsStub func(filter eventio.EventFilter) (eventio.UsageEventRows, error) GetUsageEventsStub func(filter eventio.EventFilter) ([]eventio.UsageEvent, error) GetBillableEventRowsStub func(ctx context.Context, filter eventio.EventFilter) (eventio.BillableEventRows, error) GetBillableEventsStub func(filter eventio.EventFilter) ([]eventio.BillableEvent, error) ForecastBillableEventRowsStub func(ctx context.Context, events []eventio.UsageEvent, filter eventio.EventFilter) (eventio.BillableEventRows, error) ForecastBillableEventsStub func(events []eventio.UsageEvent, filter eventio.EventFilter) ([]eventio.BillableEvent, error) GetConsolidatedBillableEventRowsStub func(ctx context.Context, filter eventio.EventFilter) (eventio.BillableEventRows, error) GetConsolidatedBillableEventsStub func(filter eventio.EventFilter) ([]eventio.BillableEvent, error) IsRangeConsolidatedStub func(filter eventio.EventFilter) (bool, error) ConsolidateAllStub func() error ConsolidateFullMonthsStub func(startAt string, endAt string) error ConsolidateStub func(filter eventio.EventFilter) error // contains filtered or unexported fields }
func (*FakeEventStore) Consolidate ¶ added in v0.43.0
func (fake *FakeEventStore) Consolidate(filter eventio.EventFilter) error
func (*FakeEventStore) ConsolidateAll ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateAll() error
func (*FakeEventStore) ConsolidateAllCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateAllCallCount() int
func (*FakeEventStore) ConsolidateAllReturns ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateAllReturns(result1 error)
func (*FakeEventStore) ConsolidateAllReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateAllReturnsOnCall(i int, result1 error)
func (*FakeEventStore) ConsolidateArgsForCall ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateArgsForCall(i int) eventio.EventFilter
func (*FakeEventStore) ConsolidateCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateCallCount() int
func (*FakeEventStore) ConsolidateFullMonths ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateFullMonths(startAt string, endAt string) error
func (*FakeEventStore) ConsolidateFullMonthsArgsForCall ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateFullMonthsArgsForCall(i int) (string, string)
func (*FakeEventStore) ConsolidateFullMonthsCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateFullMonthsCallCount() int
func (*FakeEventStore) ConsolidateFullMonthsReturns ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateFullMonthsReturns(result1 error)
func (*FakeEventStore) ConsolidateFullMonthsReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateFullMonthsReturnsOnCall(i int, result1 error)
func (*FakeEventStore) ConsolidateReturns ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateReturns(result1 error)
func (*FakeEventStore) ConsolidateReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) ConsolidateReturnsOnCall(i int, result1 error)
func (*FakeEventStore) ForecastBillableEventRows ¶
func (fake *FakeEventStore) ForecastBillableEventRows(ctx context.Context, events []eventio.UsageEvent, filter 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) 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(events []eventio.UsageEvent, filter 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) 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(ctx context.Context, filter 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) 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(filter 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) 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 ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventRows(ctx context.Context, filter eventio.EventFilter) (eventio.BillableEventRows, error)
func (*FakeEventStore) GetConsolidatedBillableEventRowsArgsForCall ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventRowsArgsForCall(i int) (context.Context, eventio.EventFilter)
func (*FakeEventStore) GetConsolidatedBillableEventRowsCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventRowsCallCount() int
func (*FakeEventStore) GetConsolidatedBillableEventRowsReturns ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturns(result1 eventio.BillableEventRows, result2 error)
func (*FakeEventStore) GetConsolidatedBillableEventRowsReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventRowsReturnsOnCall(i int, result1 eventio.BillableEventRows, result2 error)
func (*FakeEventStore) GetConsolidatedBillableEvents ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEvents(filter eventio.EventFilter) ([]eventio.BillableEvent, error)
func (*FakeEventStore) GetConsolidatedBillableEventsArgsForCall ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventsArgsForCall(i int) eventio.EventFilter
func (*FakeEventStore) GetConsolidatedBillableEventsCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventsCallCount() int
func (*FakeEventStore) GetConsolidatedBillableEventsReturns ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventsReturns(result1 []eventio.BillableEvent, result2 error)
func (*FakeEventStore) GetConsolidatedBillableEventsReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) GetConsolidatedBillableEventsReturnsOnCall(i int, result1 []eventio.BillableEvent, result2 error)
func (*FakeEventStore) GetCurrencyRates ¶ added in v0.57.0
func (fake *FakeEventStore) GetCurrencyRates(filter eventio.TimeRangeFilter) ([]eventio.CurrencyRate, error)
func (*FakeEventStore) GetCurrencyRatesArgsForCall ¶ added in v0.57.0
func (fake *FakeEventStore) GetCurrencyRatesArgsForCall(i int) eventio.TimeRangeFilter
func (*FakeEventStore) GetCurrencyRatesCallCount ¶ added in v0.57.0
func (fake *FakeEventStore) GetCurrencyRatesCallCount() int
func (*FakeEventStore) GetCurrencyRatesReturns ¶ added in v0.57.0
func (fake *FakeEventStore) GetCurrencyRatesReturns(result1 []eventio.CurrencyRate, result2 error)
func (*FakeEventStore) GetCurrencyRatesReturnsOnCall ¶ added in v0.57.0
func (fake *FakeEventStore) GetCurrencyRatesReturnsOnCall(i int, result1 []eventio.CurrencyRate, result2 error)
func (*FakeEventStore) GetEvents ¶
func (fake *FakeEventStore) GetEvents(filter 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) 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 ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlans(filter eventio.TimeRangeFilter) ([]eventio.PricingPlan, error)
func (*FakeEventStore) GetPricingPlansArgsForCall ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlansArgsForCall(i int) eventio.TimeRangeFilter
func (*FakeEventStore) GetPricingPlansCallCount ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlansCallCount() int
func (*FakeEventStore) GetPricingPlansReturns ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlansReturns(result1 []eventio.PricingPlan, result2 error)
func (*FakeEventStore) GetPricingPlansReturnsOnCall ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlansReturnsOnCall(i int, result1 []eventio.PricingPlan, result2 error)
func (*FakeEventStore) GetUsageEventRows ¶
func (fake *FakeEventStore) GetUsageEventRows(filter 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) 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(filter 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) 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 ¶ added in v0.57.0
func (fake *FakeEventStore) GetVATRates(filter eventio.TimeRangeFilter) ([]eventio.VATRate, error)
func (*FakeEventStore) GetVATRatesArgsForCall ¶ added in v0.57.0
func (fake *FakeEventStore) GetVATRatesArgsForCall(i int) eventio.TimeRangeFilter
func (*FakeEventStore) GetVATRatesCallCount ¶ added in v0.57.0
func (fake *FakeEventStore) GetVATRatesCallCount() int
func (*FakeEventStore) GetVATRatesReturns ¶ added in v0.57.0
func (fake *FakeEventStore) GetVATRatesReturns(result1 []eventio.VATRate, result2 error)
func (*FakeEventStore) GetVATRatesReturnsOnCall ¶ added in v0.57.0
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) 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 ¶ added in v0.43.0
func (fake *FakeEventStore) IsRangeConsolidated(filter eventio.EventFilter) (bool, error)
func (*FakeEventStore) IsRangeConsolidatedArgsForCall ¶ added in v0.43.0
func (fake *FakeEventStore) IsRangeConsolidatedArgsForCall(i int) eventio.EventFilter
func (*FakeEventStore) IsRangeConsolidatedCallCount ¶ added in v0.43.0
func (fake *FakeEventStore) IsRangeConsolidatedCallCount() int
func (*FakeEventStore) IsRangeConsolidatedReturns ¶ added in v0.43.0
func (fake *FakeEventStore) IsRangeConsolidatedReturns(result1 bool, result2 error)
func (*FakeEventStore) IsRangeConsolidatedReturnsOnCall ¶ added in v0.43.0
func (fake *FakeEventStore) IsRangeConsolidatedReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeEventStore) Refresh ¶
func (fake *FakeEventStore) Refresh() error
func (*FakeEventStore) RefreshCallCount ¶
func (fake *FakeEventStore) RefreshCallCount() int
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(events []eventio.RawEvent) error
func (*FakeEventStore) StoreEventsArgsForCall ¶
func (fake *FakeEventStore) StoreEventsArgsForCall(i int) []eventio.RawEvent
func (*FakeEventStore) StoreEventsCallCount ¶
func (fake *FakeEventStore) StoreEventsCallCount() int
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 { NextStub func() bool CloseStub func() error ErrStub func() error EventJSONStub func() ([]byte, error) EventStub func() (*eventio.UsageEvent, error) // contains filtered or unexported fields }
func (*FakeUsageEventRows) Close ¶
func (fake *FakeUsageEventRows) Close() error
func (*FakeUsageEventRows) CloseCallCount ¶
func (fake *FakeUsageEventRows) CloseCallCount() int
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) 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) EventJSON ¶
func (fake *FakeUsageEventRows) EventJSON() ([]byte, error)
func (*FakeUsageEventRows) EventJSONCallCount ¶
func (fake *FakeUsageEventRows) EventJSONCallCount() int
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) NextReturns ¶
func (fake *FakeUsageEventRows) NextReturns(result1 bool)
func (*FakeUsageEventRows) NextReturnsOnCall ¶
func (fake *FakeUsageEventRows) NextReturnsOnCall(i int, result1 bool)
type FakeUsageEventsAPI ¶
type FakeUsageEventsAPI struct { GetStub func(afterGUID string, count int, minAge time.Duration) (*cffetcher.UsageEventList, error) TypeStub func() string // contains filtered or unexported fields }
func (*FakeUsageEventsAPI) Get ¶
func (fake *FakeUsageEventsAPI) Get(afterGUID string, count int, minAge time.Duration) (*cffetcher.UsageEventList, error)
func (*FakeUsageEventsAPI) GetArgsForCall ¶
func (*FakeUsageEventsAPI) GetCallCount ¶
func (fake *FakeUsageEventsAPI) GetCallCount() int
func (*FakeUsageEventsAPI) GetReturns ¶
func (fake *FakeUsageEventsAPI) GetReturns(result1 *cffetcher.UsageEventList, result2 error)
func (*FakeUsageEventsAPI) GetReturnsOnCall ¶
func (fake *FakeUsageEventsAPI) GetReturnsOnCall(i int, result1 *cffetcher.UsageEventList, result2 error)
func (*FakeUsageEventsAPI) Invocations ¶
func (fake *FakeUsageEventsAPI) Invocations() map[string][][]interface{}
func (*FakeUsageEventsAPI) Type ¶
func (fake *FakeUsageEventsAPI) Type() string
func (*FakeUsageEventsAPI) TypeCallCount ¶
func (fake *FakeUsageEventsAPI) TypeCallCount() int
func (*FakeUsageEventsAPI) TypeReturns ¶
func (fake *FakeUsageEventsAPI) TypeReturns(result1 string)
func (*FakeUsageEventsAPI) TypeReturnsOnCall ¶
func (fake *FakeUsageEventsAPI) TypeReturnsOnCall(i int, result1 string)
type FakeUsageEventsClient ¶
type FakeUsageEventsClient struct { GetStub func(path string) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeUsageEventsClient) Get ¶
func (fake *FakeUsageEventsClient) Get(path string) (*http.Response, error)
func (*FakeUsageEventsClient) GetArgsForCall ¶
func (fake *FakeUsageEventsClient) GetArgsForCall(i int) string
func (*FakeUsageEventsClient) GetCallCount ¶
func (fake *FakeUsageEventsClient) GetCallCount() int
func (*FakeUsageEventsClient) GetReturns ¶
func (fake *FakeUsageEventsClient) GetReturns(result1 *http.Response, result2 error)
func (*FakeUsageEventsClient) GetReturnsOnCall ¶
func (fake *FakeUsageEventsClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeUsageEventsClient) Invocations ¶
func (fake *FakeUsageEventsClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.