Documentation ¶
Index ¶
- type BugsDB
- func (_m *BugsDB) GenerateRunId(ts time.Time) string
- func (_m *BugsDB) GetAllRecognizedRunIds(ctx context.Context) (map[string]bool, error)
- func (_m *BugsDB) GetClientsFromDB(ctx context.Context) (map[types.RecognizedClient]map[types.IssueSource]map[string]bool, error)
- func (_m *BugsDB) GetCountsFromDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, ...) (*types.IssueCountsData, error)
- func (_m *BugsDB) GetQueryDataFromDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, ...) ([]*types.QueryData, error)
- func (_m *BugsDB) PutInDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, ...) error
- func (_m *BugsDB) StoreRunId(ctx context.Context, runId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugsDB ¶
BugsDB is an autogenerated mock type for the BugsDB type
func NewBugsDB ¶
NewBugsDB creates a new instance of BugsDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BugsDB) GenerateRunId ¶
GenerateRunId provides a mock function with given fields: ts
func (*BugsDB) GetAllRecognizedRunIds ¶
GetAllRecognizedRunIds provides a mock function with given fields: ctx
func (*BugsDB) GetClientsFromDB ¶
func (_m *BugsDB) GetClientsFromDB(ctx context.Context) (map[types.RecognizedClient]map[types.IssueSource]map[string]bool, error)
GetClientsFromDB provides a mock function with given fields: ctx
func (*BugsDB) GetCountsFromDB ¶
func (_m *BugsDB) GetCountsFromDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, query string) (*types.IssueCountsData, error)
GetCountsFromDB provides a mock function with given fields: ctx, client, source, query
func (*BugsDB) GetQueryDataFromDB ¶
func (_m *BugsDB) GetQueryDataFromDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, query string) ([]*types.QueryData, error)
GetQueryDataFromDB provides a mock function with given fields: ctx, client, source, query
func (*BugsDB) PutInDB ¶
func (_m *BugsDB) PutInDB(ctx context.Context, client types.RecognizedClient, source types.IssueSource, query string, runId string, countsData *types.IssueCountsData) error
PutInDB provides a mock function with given fields: ctx, client, source, query, runId, countsData