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.
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) ListServicePlans() ([]cfstore.ServicePlan, error)
- func (fake *FakeCFDataClient) ListServicePlansCallCount() int
- func (fake *FakeCFDataClient) ListServicePlansReturns(result1 []cfstore.ServicePlan, result2 error)
- func (fake *FakeCFDataClient) ListServicePlansReturnsOnCall(i int, result1 []cfstore.ServicePlan, result2 error)
- func (fake *FakeCFDataClient) ListServices() ([]cfstore.Service, error)
- func (fake *FakeCFDataClient) ListServicesCallCount() int
- func (fake *FakeCFDataClient) ListServicesReturns(result1 []cfstore.Service, result2 error)
- func (fake *FakeCFDataClient) ListServicesReturnsOnCall(i int, result1 []cfstore.Service, result2 error)
- type FakeComposeClient
- func (fake *FakeComposeClient) GetAuditEvents(params composeapi.AuditEventsParams) (*[]composeapi.AuditEvent, []error)
- func (fake *FakeComposeClient) GetAuditEventsArgsForCall(i int) composeapi.AuditEventsParams
- func (fake *FakeComposeClient) GetAuditEventsCallCount() int
- func (fake *FakeComposeClient) GetAuditEventsReturns(result1 *[]composeapi.AuditEvent, result2 []error)
- func (fake *FakeComposeClient) GetAuditEventsReturnsOnCall(i int, result1 *[]composeapi.AuditEvent, result2 []error)
- func (fake *FakeComposeClient) Invocations() map[string][][]interface{}
- 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) ForecastBillableEventRows(events []eventio.UsageEvent, filter eventio.EventFilter) (eventio.BillableEventRows, error)
- func (fake *FakeEventStore) ForecastBillableEventRowsArgsForCall(i int) ([]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(filter eventio.EventFilter) (eventio.BillableEventRows, error)
- func (fake *FakeEventStore) GetBillableEventRowsArgsForCall(i int) 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) 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.PricingPlanFilter) ([]eventio.PricingPlan, error)
- func (fake *FakeEventStore) GetPricingPlansArgsForCall(i int) eventio.PricingPlanFilter
- 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) 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) 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() ([]cfstore.ServicePlan, error)
ListServicesStub func() ([]cfstore.Service, error)
// contains filtered or unexported fields
}
func (*FakeCFDataClient) Invocations ¶ added in v0.32.0
func (fake *FakeCFDataClient) Invocations() map[string][][]interface{}
func (*FakeCFDataClient) ListServicePlans ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlans() ([]cfstore.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 []cfstore.ServicePlan, result2 error)
func (*FakeCFDataClient) ListServicePlansReturnsOnCall ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicePlansReturnsOnCall(i int, result1 []cfstore.ServicePlan, result2 error)
func (*FakeCFDataClient) ListServices ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServices() ([]cfstore.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 []cfstore.Service, result2 error)
func (*FakeCFDataClient) ListServicesReturnsOnCall ¶ added in v0.32.0
func (fake *FakeCFDataClient) ListServicesReturnsOnCall(i int, result1 []cfstore.Service, result2 error)
type FakeComposeClient ¶
type FakeComposeClient struct {
GetAuditEventsStub func(params composeapi.AuditEventsParams) (*[]composeapi.AuditEvent, []error)
// contains filtered or unexported fields
}
func (*FakeComposeClient) GetAuditEvents ¶
func (fake *FakeComposeClient) GetAuditEvents(params composeapi.AuditEventsParams) (*[]composeapi.AuditEvent, []error)
func (*FakeComposeClient) GetAuditEventsArgsForCall ¶
func (fake *FakeComposeClient) GetAuditEventsArgsForCall(i int) composeapi.AuditEventsParams
func (*FakeComposeClient) GetAuditEventsCallCount ¶
func (fake *FakeComposeClient) GetAuditEventsCallCount() int
func (*FakeComposeClient) GetAuditEventsReturns ¶
func (fake *FakeComposeClient) GetAuditEventsReturns(result1 *[]composeapi.AuditEvent, result2 []error)
func (*FakeComposeClient) GetAuditEventsReturnsOnCall ¶
func (fake *FakeComposeClient) GetAuditEventsReturnsOnCall(i int, result1 *[]composeapi.AuditEvent, result2 []error)
func (*FakeComposeClient) Invocations ¶
func (fake *FakeComposeClient) Invocations() map[string][][]interface{}
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.PricingPlanFilter) ([]eventio.PricingPlan, 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(filter eventio.EventFilter) (eventio.BillableEventRows, error)
GetBillableEventsStub func(filter eventio.EventFilter) ([]eventio.BillableEvent, error)
ForecastBillableEventRowsStub func(events []eventio.UsageEvent, filter eventio.EventFilter) (eventio.BillableEventRows, error)
ForecastBillableEventsStub func(events []eventio.UsageEvent, filter eventio.EventFilter) ([]eventio.BillableEvent, error)
// contains filtered or unexported fields
}
func (*FakeEventStore) ForecastBillableEventRows ¶
func (fake *FakeEventStore) ForecastBillableEventRows(events []eventio.UsageEvent, filter eventio.EventFilter) (eventio.BillableEventRows, error)
func (*FakeEventStore) ForecastBillableEventRowsArgsForCall ¶
func (fake *FakeEventStore) ForecastBillableEventRowsArgsForCall(i int) ([]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(filter eventio.EventFilter) (eventio.BillableEventRows, error)
func (*FakeEventStore) GetBillableEventRowsArgsForCall ¶
func (fake *FakeEventStore) GetBillableEventRowsArgsForCall(i int) 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) 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.PricingPlanFilter) ([]eventio.PricingPlan, error)
func (*FakeEventStore) GetPricingPlansArgsForCall ¶ added in v0.24.0
func (fake *FakeEventStore) GetPricingPlansArgsForCall(i int) eventio.PricingPlanFilter
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) 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) 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.