fakes

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 FakeEventDB

type FakeEventDB struct {
	GetCFAuditEventsStub func(db.RawEventFilter) ([]cfclient.Event, error)

	GetCFEventCountStub func() (int64, error)

	GetLatestCFEventTimeStub func() (*time.Time, error)

	GetUnshippedCFAuditEventsForShipperStub func(string) ([]cfclient.Event, error)

	InitStub func() error

	StoreCFAuditEventsStub func([]cfclient.Event) error

	UpdateShipperCursorStub func(string, string, string) error
	// contains filtered or unexported fields
}

func (*FakeEventDB) GetCFAuditEvents

func (fake *FakeEventDB) GetCFAuditEvents(arg1 db.RawEventFilter) ([]cfclient.Event, error)

func (*FakeEventDB) GetCFAuditEventsArgsForCall

func (fake *FakeEventDB) GetCFAuditEventsArgsForCall(i int) db.RawEventFilter

func (*FakeEventDB) GetCFAuditEventsCallCount

func (fake *FakeEventDB) GetCFAuditEventsCallCount() int

func (*FakeEventDB) GetCFAuditEventsCalls

func (fake *FakeEventDB) GetCFAuditEventsCalls(stub func(db.RawEventFilter) ([]cfclient.Event, error))

func (*FakeEventDB) GetCFAuditEventsReturns

func (fake *FakeEventDB) GetCFAuditEventsReturns(result1 []cfclient.Event, result2 error)

func (*FakeEventDB) GetCFAuditEventsReturnsOnCall

func (fake *FakeEventDB) GetCFAuditEventsReturnsOnCall(i int, result1 []cfclient.Event, result2 error)

func (*FakeEventDB) GetCFEventCount

func (fake *FakeEventDB) GetCFEventCount() (int64, error)

func (*FakeEventDB) GetCFEventCountCallCount

func (fake *FakeEventDB) GetCFEventCountCallCount() int

func (*FakeEventDB) GetCFEventCountCalls

func (fake *FakeEventDB) GetCFEventCountCalls(stub func() (int64, error))

func (*FakeEventDB) GetCFEventCountReturns

func (fake *FakeEventDB) GetCFEventCountReturns(result1 int64, result2 error)

func (*FakeEventDB) GetCFEventCountReturnsOnCall

func (fake *FakeEventDB) GetCFEventCountReturnsOnCall(i int, result1 int64, result2 error)

func (*FakeEventDB) GetLatestCFEventTime

func (fake *FakeEventDB) GetLatestCFEventTime() (*time.Time, error)

func (*FakeEventDB) GetLatestCFEventTimeCallCount

func (fake *FakeEventDB) GetLatestCFEventTimeCallCount() int

func (*FakeEventDB) GetLatestCFEventTimeCalls

func (fake *FakeEventDB) GetLatestCFEventTimeCalls(stub func() (*time.Time, error))

func (*FakeEventDB) GetLatestCFEventTimeReturns

func (fake *FakeEventDB) GetLatestCFEventTimeReturns(result1 *time.Time, result2 error)

func (*FakeEventDB) GetLatestCFEventTimeReturnsOnCall

func (fake *FakeEventDB) GetLatestCFEventTimeReturnsOnCall(i int, result1 *time.Time, result2 error)

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipper

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipper(arg1 string) ([]cfclient.Event, error)

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipperArgsForCall

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipperArgsForCall(i int) string

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipperCallCount

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipperCallCount() int

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipperCalls

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipperCalls(stub func(string) ([]cfclient.Event, error))

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipperReturns

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipperReturns(result1 []cfclient.Event, result2 error)

func (*FakeEventDB) GetUnshippedCFAuditEventsForShipperReturnsOnCall

func (fake *FakeEventDB) GetUnshippedCFAuditEventsForShipperReturnsOnCall(i int, result1 []cfclient.Event, result2 error)

func (*FakeEventDB) Init

func (fake *FakeEventDB) Init() error

func (*FakeEventDB) InitCallCount

func (fake *FakeEventDB) InitCallCount() int

func (*FakeEventDB) InitCalls

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

func (*FakeEventDB) InitReturns

func (fake *FakeEventDB) InitReturns(result1 error)

func (*FakeEventDB) InitReturnsOnCall

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

func (*FakeEventDB) Invocations

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

func (*FakeEventDB) StoreCFAuditEvents

func (fake *FakeEventDB) StoreCFAuditEvents(arg1 []cfclient.Event) error

func (*FakeEventDB) StoreCFAuditEventsArgsForCall

func (fake *FakeEventDB) StoreCFAuditEventsArgsForCall(i int) []cfclient.Event

func (*FakeEventDB) StoreCFAuditEventsCallCount

func (fake *FakeEventDB) StoreCFAuditEventsCallCount() int

func (*FakeEventDB) StoreCFAuditEventsCalls

func (fake *FakeEventDB) StoreCFAuditEventsCalls(stub func([]cfclient.Event) error)

func (*FakeEventDB) StoreCFAuditEventsReturns

func (fake *FakeEventDB) StoreCFAuditEventsReturns(result1 error)

func (*FakeEventDB) StoreCFAuditEventsReturnsOnCall

func (fake *FakeEventDB) StoreCFAuditEventsReturnsOnCall(i int, result1 error)

func (*FakeEventDB) UpdateShipperCursor

func (fake *FakeEventDB) UpdateShipperCursor(arg1 string, arg2 string, arg3 string) error

func (*FakeEventDB) UpdateShipperCursorArgsForCall

func (fake *FakeEventDB) UpdateShipperCursorArgsForCall(i int) (string, string, string)

func (*FakeEventDB) UpdateShipperCursorCallCount

func (fake *FakeEventDB) UpdateShipperCursorCallCount() int

func (*FakeEventDB) UpdateShipperCursorCalls

func (fake *FakeEventDB) UpdateShipperCursorCalls(stub func(string, string, string) error)

func (*FakeEventDB) UpdateShipperCursorReturns

func (fake *FakeEventDB) UpdateShipperCursorReturns(result1 error)

func (*FakeEventDB) UpdateShipperCursorReturnsOnCall

func (fake *FakeEventDB) UpdateShipperCursorReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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