Documentation
¶
Index ¶
- type DBTX
- func (_m *DBTX) EXPECT() *DBTX_Expecter
- func (_mock *DBTX) Exec(context1 context.Context, s string, ifaceVals ...interface{}) (pgconn.CommandTag, error)
- func (_mock *DBTX) Query(context1 context.Context, s string, ifaceVals ...interface{}) (pgx.Rows, error)
- func (_mock *DBTX) QueryRow(context1 context.Context, s string, ifaceVals ...interface{}) pgx.Row
- func (_mock *DBTX) SendBatch(context1 context.Context, batch *pgx.Batch) pgx.BatchResults
- type DBTX_Exec_Call
- type DBTX_Expecter
- func (_e *DBTX_Expecter) Exec(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_Exec_Call
- func (_e *DBTX_Expecter) Query(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_Query_Call
- func (_e *DBTX_Expecter) QueryRow(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_QueryRow_Call
- func (_e *DBTX_Expecter) SendBatch(context1 interface{}, batch interface{}) *DBTX_SendBatch_Call
- type DBTX_QueryRow_Call
- func (_c *DBTX_QueryRow_Call) Return(row pgx.Row) *DBTX_QueryRow_Call
- func (_c *DBTX_QueryRow_Call) Run(run func(context1 context.Context, s string, ifaceVals ...interface{})) *DBTX_QueryRow_Call
- func (_c *DBTX_QueryRow_Call) RunAndReturn(run func(context1 context.Context, s string, ifaceVals ...interface{}) pgx.Row) *DBTX_QueryRow_Call
- type DBTX_Query_Call
- type DBTX_SendBatch_Call
- func (_c *DBTX_SendBatch_Call) Return(batchResults pgx.BatchResults) *DBTX_SendBatch_Call
- func (_c *DBTX_SendBatch_Call) Run(run func(context1 context.Context, batch *pgx.Batch)) *DBTX_SendBatch_Call
- func (_c *DBTX_SendBatch_Call) RunAndReturn(run func(context1 context.Context, batch *pgx.Batch) pgx.BatchResults) *DBTX_SendBatch_Call
- type Store
- func (_mock *Store) AddAlert(ctx context.Context, arg database.AddAlertParams) error
- func (_mock *Store) AddCall(ctx context.Context, arg database.AddCallParams) error
- func (_mock *Store) AddLearnedTalkgroup(ctx context.Context, arg database.AddLearnedTalkgroupParams) (database.Talkgroup, error)
- func (_mock *Store) AddRefJournal(ctx context.Context, arg database.AddRefJournalParams) (int64, error)
- func (_mock *Store) AddToIncident(ctx context.Context, incidentID uuid.UUID, callIds []uuid.UUID, notes [][]byte) error
- func (_mock *Store) BulkSetTalkgroupTags(ctx context.Context, tgs database.TGTuplesU, tags []string) error
- func (_mock *Store) CallInIncident(ctx context.Context, incidentID uuid.UUID, callID uuid.UUID) (bool, error)
- func (_mock *Store) CleanupSweptCalls(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)
- func (_mock *Store) CopyIntoFsckTempTable(ctx context.Context, tableName string, ids iter.Seq[uuid.UUID], ...) (int64, error)
- func (_mock *Store) CountRefJournal(ctx context.Context, missing *bool, since *time.Time, until *time.Time) (int64, error)
- func (_mock *Store) CreateAPIKey(ctx context.Context, arg database.CreateAPIKeyParams) error
- func (_mock *Store) CreateFsckTempTable(ctx context.Context) (string, error)
- func (_mock *Store) CreateIncident(ctx context.Context, arg database.CreateIncidentParams) (database.Incident, error)
- func (_mock *Store) CreatePartition(ctx context.Context, parentTable string, partitionName string, start time.Time, ...) error
- func (_mock *Store) CreateShare(ctx context.Context, arg database.CreateShareParams) error
- func (_mock *Store) CreateSystem(ctx context.Context, iD int, name string, learned bool) error
- func (_mock *Store) CreateUser(ctx context.Context, arg database.CreateUserParams) (database.User, error)
- func (_mock *Store) CreateWebPushSubscription(ctx context.Context, arg database.CreateWebPushSubscriptionParams) error
- func (_mock *Store) DB() *database.Postgres
- func (_mock *Store) DBTX() database.DBTX
- func (_mock *Store) DeleteAPIKey(ctx context.Context, apiKey *string) error
- func (_mock *Store) DeleteCall(ctx context.Context, id uuid.UUID) error
- func (_mock *Store) DeleteExpiredPushSubscriptions(ctx context.Context) (int64, error)
- func (_mock *Store) DeleteIncident(ctx context.Context, id uuid.UUID) error
- func (_mock *Store) DeletePushSubscriptionByID(ctx context.Context, id int64) error
- func (_mock *Store) DeletePushSubscriptionBySub(ctx context.Context, subscription []byte) error
- func (_mock *Store) DeleteSetting(ctx context.Context, name string) error
- func (_mock *Store) DeleteShare(ctx context.Context, id string) error
- func (_mock *Store) DeleteSystem(ctx context.Context, id int) error
- func (_mock *Store) DeleteTalkgroup(ctx context.Context, systemID int32, tGID int32) error
- func (_mock *Store) DeleteUser(ctx context.Context, username string) error
- func (_mock *Store) DetachPartition(ctx context.Context, parentTable string, partitionName string) error
- func (_mock *Store) DetailedCountRefJournal(ctx context.Context) ([]database.DetailedCountRefJournalRow, error)
- func (_mock *Store) DisableUser(ctx context.Context, username string) error
- func (_mock *Store) DropPartition(ctx context.Context, partitionName string) error
- func (_mock *Store) DropRefJournal(ctx context.Context, id int64) error
- func (_mock *Store) DropTable(ctx context.Context, tableName string) error
- func (_m *Store) EXPECT() *Store_Expecter
- func (_mock *Store) FsckRefs(ctx context.Context, tableName string, backend string) (int64, error)
- func (_mock *Store) GetAPIKey(ctx context.Context, key *string, jwtID pgtype.UUID, kind int) (database.GetAPIKeyRow, error)
- func (_mock *Store) GetAlertByURLTag(ctx context.Context, urlTag *string) (database.Alert, error)
- func (_mock *Store) GetAllTalkgroupTags(ctx context.Context) ([]string, error)
- func (_mock *Store) GetAppPrefs(ctx context.Context, appName string, uid int) ([]byte, error)
- func (_mock *Store) GetAudioRefJournalCb(ctx context.Context, arg database.GetRefJournalParams, ...) error
- func (_mock *Store) GetCall(ctx context.Context, id uuid.UUID) (database.GetCallRow, error)
- func (_mock *Store) GetCallAudio(ctx context.Context, arg database.GetCallAudioParams) ([]database.GetCallAudioRow, error)
- func (_mock *Store) GetCallAudioByID(ctx context.Context, id uuid.UUID) (database.GetCallAudioByIDRow, error)
- func (_mock *Store) GetCallAudioCb(ctx context.Context, arg database.GetCallAudioParams, ...) error
- func (_mock *Store) GetCallAudioCount(ctx context.Context, arg database.GetCallAudioParams) (int64, error)
- func (_mock *Store) GetCallStatsByInterval(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByIntervalRow, error)
- func (_mock *Store) GetCallStatsByTalkgroup(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByTalkgroupRow, error)
- func (_mock *Store) GetCallSubmitter(ctx context.Context, id uuid.UUID) (*int32, error)
- func (_mock *Store) GetCalls(ctx context.Context, ids []uuid.UUID) ([]database.GetCallsRow, error)
- func (_mock *Store) GetDatabaseSize(ctx context.Context) (string, error)
- func (_mock *Store) GetIncident(ctx context.Context, id uuid.UUID) (database.GetIncidentRow, error)
- func (_mock *Store) GetIncidentCallCount(ctx context.Context, incidentID uuid.UUID) (int64, error)
- func (_mock *Store) GetIncidentCalls(ctx context.Context, iD uuid.UUID, offset int32, perPage *int32) ([]database.GetIncidentCallsRow, error)
- func (_mock *Store) GetIncidentOwner(ctx context.Context, id uuid.UUID) (int, error)
- func (_mock *Store) GetIncidentTalkgroups(ctx context.Context, incidentID uuid.UUID) ([]database.GetIncidentTalkgroupsRow, error)
- func (_mock *Store) GetPrunableAudioRefs(ctx context.Context, partitionStart time.Time, partitionEnd time.Time) ([]database.GetPrunableAudioRefsRow, error)
- func (_mock *Store) GetPushSubscriptions(ctx context.Context) ([]database.GetPushSubscriptionsRow, error)
- func (_mock *Store) GetRefJournal(ctx context.Context, arg database.GetRefJournalParams) ([]database.AudioRefJournal, error)
- func (_mock *Store) GetSetting(ctx context.Context, name string) ([]byte, error)
- func (_mock *Store) GetShare(ctx context.Context, id string) (database.Share, error)
- func (_mock *Store) GetSharesP(ctx context.Context, arg database.GetSharesPParams) ([]database.GetSharesPRow, error)
- func (_mock *Store) GetSharesPCount(ctx context.Context, ownerID *int32) (int64, error)
- func (_mock *Store) GetSweptCallsWithRef(ctx context.Context) ([]database.GetSweptCallsWithRefRow, error)
- func (_mock *Store) GetSystemName(ctx context.Context, systemID int) (string, error)
- func (_mock *Store) GetSystemSubscriptions(ctx context.Context, userID int) ([]int32, error)
- func (_mock *Store) GetTablePartitions(ctx context.Context, schemaName string, tableName string) ([]database.PartitionResult, error)
- func (_mock *Store) GetTalkgroup(ctx context.Context, systemID int32, tGID int32) (database.GetTalkgroupRow, error)
- func (_mock *Store) GetTalkgroupIDsByTags(ctx context.Context, allTags []string, anyTags []string, notAnyTags []string) ([]database.GetTalkgroupIDsByTagsRow, error)
- func (_mock *Store) GetTalkgroupSubscriptions(ctx context.Context, userID int) ([]database.GetTalkgroupSubscriptionsRow, error)
- func (_mock *Store) GetTalkgroupTags(ctx context.Context, systemID int32, tGID int32) ([]string, error)
- func (_mock *Store) GetTalkgroups(ctx context.Context, system *int32, withIgnored bool, filter *string) ([]database.GetTalkgroupsRow, error)
- func (_mock *Store) GetTalkgroupsBySysTGID(ctx context.Context, ids database.TGTuplesU) ([]database.GetTalkgroupsRow, error)
- func (_mock *Store) GetTalkgroupsCount(ctx context.Context, system *int32, withIgnored bool, filter *string) (int64, error)
- func (_mock *Store) GetTalkgroupsP(ctx context.Context, arg database.GetTalkgroupsPParams) ([]database.GetTalkgroupsPRow, error)
- func (_mock *Store) GetTalkgroupsWithAllTags(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAllTagsRow, error)
- func (_mock *Store) GetTalkgroupsWithAnyTags(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAnyTagsRow, error)
- func (_mock *Store) GetTranscriptsContext(ctx context.Context, arg database.GetTranscriptsContextParams) ([]database.GetTranscriptsContextRow, error)
- func (_mock *Store) GetUserByID(ctx context.Context, id int) (database.User, error)
- func (_mock *Store) GetUserByUsername(ctx context.Context, username string) (database.User, error)
- func (_mock *Store) GetUsers(ctx context.Context) ([]database.User, error)
- func (_mock *Store) GetWebPushSubscriptionsSubscribed(ctx context.Context, systemID int32, tGID int32) ([]database.GetWebPushSubscriptionsSubscribedRow, error)
- func (_mock *Store) InTx(context1 context.Context, fn func(database.Store) error) error
- func (_mock *Store) IncrementRefJournal(ctx context.Context, id int64) error
- func (_mock *Store) ListCallsCount(ctx context.Context, arg database.ListCallsCountParams) (int64, error)
- func (_mock *Store) ListCallsP(ctx context.Context, arg database.ListCallsPParams) ([]database.ListCallsPRow, error)
- func (_mock *Store) ListIncidentsCount(ctx context.Context, start *time.Time, end *time.Time, filter *string) (int64, error)
- func (_mock *Store) ListIncidentsP(ctx context.Context, arg database.ListIncidentsPParams) ([]database.ListIncidentsPRow, error)
- func (_mock *Store) PoolTx(ctx context.Context, opts pgx.TxOptions) (*database.Postgres, pgx.Tx, error)
- func (_mock *Store) PruneAlerts(ctx context.Context, before time.Time) (int64, error)
- func (_mock *Store) PruneShares(ctx context.Context) error
- func (_mock *Store) RecordUserLogin(ctx context.Context, username string, lastLoginAt *time.Time, ...) error
- func (_mock *Store) RemoveFromIncident(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID) error
- func (_mock *Store) RestoreTalkgroupVersion(ctx context.Context, versionIds int) (database.Talkgroup, error)
- func (_mock *Store) SetAppPrefs(ctx context.Context, appName string, prefs []byte, uid int) error
- func (_mock *Store) SetCallAudio(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error
- func (_mock *Store) SetCallTranscript(ctx context.Context, iD uuid.UUID, transcript *string) (database.SetCallTranscriptRow, error)
- func (_mock *Store) SetRefJournalPrune(ctx context.Context, iD int64, pruneAfter *time.Time) error
- func (_mock *Store) SetSetting(ctx context.Context, name string, updatedBy *int32, value []byte) error
- func (_mock *Store) SetSweptAudioAndClearRef(ctx context.Context, audioBlob []byte, iD uuid.UUID) error
- func (_mock *Store) SetSweptCallAudio(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error
- func (_mock *Store) SetTalkgroupTags(ctx context.Context, tags []string, systemID int32, tGID int32) error
- func (_mock *Store) StoreDeletedTGVersion(ctx context.Context, systemID *int32, tGID *int32, submitter *int32) error
- func (_mock *Store) StoreTGVersion(ctx context.Context, arg []database.StoreTGVersionParams) *database.StoreTGVersionBatchResults
- func (_mock *Store) SubscribeSystems(ctx context.Context, userID int, systemIds []int32) error
- func (_mock *Store) SubscribeTalkgroups(ctx context.Context, userID int, systemIds []int32, tgids []int32) error
- func (_mock *Store) SweepCalls(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)
- func (_mock *Store) UnsubscribeAllSystems(ctx context.Context, userID int) (int64, error)
- func (_mock *Store) UnsubscribeAllTalkgroups(ctx context.Context, userID int) (int64, error)
- func (_mock *Store) UnsubscribeSystems(ctx context.Context, userID int, systemIds []int32) (int64, error)
- func (_mock *Store) UnsubscribeTGsInSystems(ctx context.Context, userID int, systemIds []int32) (int64, error)
- func (_mock *Store) UnsubscribeTalkgroups(ctx context.Context, userID int, tgs []database.TGID) (int64, error)
- func (_mock *Store) UpdateCallIncidentNotes(ctx context.Context, notes []byte, incidentID uuid.UUID, callID uuid.UUID) error
- func (_mock *Store) UpdateIncident(ctx context.Context, arg database.UpdateIncidentParams) (database.Incident, error)
- func (_mock *Store) UpdatePassword(ctx context.Context, username string, password string) error
- func (_mock *Store) UpdatePushSubscription(ctx context.Context, newSubscription []byte, userID int, ...) (int64, error)
- func (_mock *Store) UpdateTalkgroup(ctx context.Context, arg database.UpdateTalkgroupParams) (database.Talkgroup, error)
- func (_mock *Store) UpdateUser(ctx context.Context, arg database.UpdateUserParams) (database.User, error)
- func (_mock *Store) UpsertTalkgroup(ctx context.Context, arg []database.UpsertTalkgroupParams) *database.UpsertTalkgroupBatchResults
- type Store_AddAlert_Call
- func (_c *Store_AddAlert_Call) Return(err error) *Store_AddAlert_Call
- func (_c *Store_AddAlert_Call) Run(run func(ctx context.Context, arg database.AddAlertParams)) *Store_AddAlert_Call
- func (_c *Store_AddAlert_Call) RunAndReturn(run func(ctx context.Context, arg database.AddAlertParams) error) *Store_AddAlert_Call
- type Store_AddCall_Call
- func (_c *Store_AddCall_Call) Return(err error) *Store_AddCall_Call
- func (_c *Store_AddCall_Call) Run(run func(ctx context.Context, arg database.AddCallParams)) *Store_AddCall_Call
- func (_c *Store_AddCall_Call) RunAndReturn(run func(ctx context.Context, arg database.AddCallParams) error) *Store_AddCall_Call
- type Store_AddLearnedTalkgroup_Call
- func (_c *Store_AddLearnedTalkgroup_Call) Return(talkgroup database.Talkgroup, err error) *Store_AddLearnedTalkgroup_Call
- func (_c *Store_AddLearnedTalkgroup_Call) Run(run func(ctx context.Context, arg database.AddLearnedTalkgroupParams)) *Store_AddLearnedTalkgroup_Call
- func (_c *Store_AddLearnedTalkgroup_Call) RunAndReturn(...) *Store_AddLearnedTalkgroup_Call
- type Store_AddRefJournal_Call
- func (_c *Store_AddRefJournal_Call) Return(n int64, err error) *Store_AddRefJournal_Call
- func (_c *Store_AddRefJournal_Call) Run(run func(ctx context.Context, arg database.AddRefJournalParams)) *Store_AddRefJournal_Call
- func (_c *Store_AddRefJournal_Call) RunAndReturn(run func(ctx context.Context, arg database.AddRefJournalParams) (int64, error)) *Store_AddRefJournal_Call
- type Store_AddToIncident_Call
- type Store_BulkSetTalkgroupTags_Call
- func (_c *Store_BulkSetTalkgroupTags_Call) Return(err error) *Store_BulkSetTalkgroupTags_Call
- func (_c *Store_BulkSetTalkgroupTags_Call) Run(run func(ctx context.Context, tgs database.TGTuplesU, tags []string)) *Store_BulkSetTalkgroupTags_Call
- func (_c *Store_BulkSetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, tgs database.TGTuplesU, tags []string) error) *Store_BulkSetTalkgroupTags_Call
- type Store_CallInIncident_Call
- func (_c *Store_CallInIncident_Call) Return(b bool, err error) *Store_CallInIncident_Call
- func (_c *Store_CallInIncident_Call) Run(run func(ctx context.Context, incidentID uuid.UUID, callID uuid.UUID)) *Store_CallInIncident_Call
- func (_c *Store_CallInIncident_Call) RunAndReturn(...) *Store_CallInIncident_Call
- type Store_CleanupSweptCalls_Call
- func (_c *Store_CleanupSweptCalls_Call) Return(n int64, err error) *Store_CleanupSweptCalls_Call
- func (_c *Store_CleanupSweptCalls_Call) Run(run func(ctx context.Context, rangeStart time.Time, rangeEnd time.Time)) *Store_CleanupSweptCalls_Call
- func (_c *Store_CleanupSweptCalls_Call) RunAndReturn(...) *Store_CleanupSweptCalls_Call
- type Store_CopyIntoFsckTempTable_Call
- func (_c *Store_CopyIntoFsckTempTable_Call) Return(copied int64, err error) *Store_CopyIntoFsckTempTable_Call
- func (_c *Store_CopyIntoFsckTempTable_Call) Run(run func(ctx context.Context, tableName string, ids iter.Seq[uuid.UUID], ...)) *Store_CopyIntoFsckTempTable_Call
- func (_c *Store_CopyIntoFsckTempTable_Call) RunAndReturn(...) *Store_CopyIntoFsckTempTable_Call
- type Store_CountRefJournal_Call
- type Store_CreateAPIKey_Call
- func (_c *Store_CreateAPIKey_Call) Return(err error) *Store_CreateAPIKey_Call
- func (_c *Store_CreateAPIKey_Call) Run(run func(ctx context.Context, arg database.CreateAPIKeyParams)) *Store_CreateAPIKey_Call
- func (_c *Store_CreateAPIKey_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateAPIKeyParams) error) *Store_CreateAPIKey_Call
- type Store_CreateFsckTempTable_Call
- func (_c *Store_CreateFsckTempTable_Call) Return(tableName string, err error) *Store_CreateFsckTempTable_Call
- func (_c *Store_CreateFsckTempTable_Call) Run(run func(ctx context.Context)) *Store_CreateFsckTempTable_Call
- func (_c *Store_CreateFsckTempTable_Call) RunAndReturn(run func(ctx context.Context) (string, error)) *Store_CreateFsckTempTable_Call
- type Store_CreateIncident_Call
- func (_c *Store_CreateIncident_Call) Return(incident database.Incident, err error) *Store_CreateIncident_Call
- func (_c *Store_CreateIncident_Call) Run(run func(ctx context.Context, arg database.CreateIncidentParams)) *Store_CreateIncident_Call
- func (_c *Store_CreateIncident_Call) RunAndReturn(...) *Store_CreateIncident_Call
- type Store_CreatePartition_Call
- type Store_CreateShare_Call
- func (_c *Store_CreateShare_Call) Return(err error) *Store_CreateShare_Call
- func (_c *Store_CreateShare_Call) Run(run func(ctx context.Context, arg database.CreateShareParams)) *Store_CreateShare_Call
- func (_c *Store_CreateShare_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateShareParams) error) *Store_CreateShare_Call
- type Store_CreateSystem_Call
- func (_c *Store_CreateSystem_Call) Return(err error) *Store_CreateSystem_Call
- func (_c *Store_CreateSystem_Call) Run(run func(ctx context.Context, iD int, name string, learned bool)) *Store_CreateSystem_Call
- func (_c *Store_CreateSystem_Call) RunAndReturn(run func(ctx context.Context, iD int, name string, learned bool) error) *Store_CreateSystem_Call
- type Store_CreateUser_Call
- type Store_CreateWebPushSubscription_Call
- func (_c *Store_CreateWebPushSubscription_Call) Return(err error) *Store_CreateWebPushSubscription_Call
- func (_c *Store_CreateWebPushSubscription_Call) Run(run func(ctx context.Context, arg database.CreateWebPushSubscriptionParams)) *Store_CreateWebPushSubscription_Call
- func (_c *Store_CreateWebPushSubscription_Call) RunAndReturn(...) *Store_CreateWebPushSubscription_Call
- type Store_DBTX_Call
- type Store_DB_Call
- type Store_DeleteAPIKey_Call
- func (_c *Store_DeleteAPIKey_Call) Return(err error) *Store_DeleteAPIKey_Call
- func (_c *Store_DeleteAPIKey_Call) Run(run func(ctx context.Context, apiKey *string)) *Store_DeleteAPIKey_Call
- func (_c *Store_DeleteAPIKey_Call) RunAndReturn(run func(ctx context.Context, apiKey *string) error) *Store_DeleteAPIKey_Call
- type Store_DeleteCall_Call
- type Store_DeleteExpiredPushSubscriptions_Call
- func (_c *Store_DeleteExpiredPushSubscriptions_Call) Return(n int64, err error) *Store_DeleteExpiredPushSubscriptions_Call
- func (_c *Store_DeleteExpiredPushSubscriptions_Call) Run(run func(ctx context.Context)) *Store_DeleteExpiredPushSubscriptions_Call
- func (_c *Store_DeleteExpiredPushSubscriptions_Call) RunAndReturn(run func(ctx context.Context) (int64, error)) *Store_DeleteExpiredPushSubscriptions_Call
- type Store_DeleteIncident_Call
- func (_c *Store_DeleteIncident_Call) Return(err error) *Store_DeleteIncident_Call
- func (_c *Store_DeleteIncident_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_DeleteIncident_Call
- func (_c *Store_DeleteIncident_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) error) *Store_DeleteIncident_Call
- type Store_DeletePushSubscriptionByID_Call
- func (_c *Store_DeletePushSubscriptionByID_Call) Return(err error) *Store_DeletePushSubscriptionByID_Call
- func (_c *Store_DeletePushSubscriptionByID_Call) Run(run func(ctx context.Context, id int64)) *Store_DeletePushSubscriptionByID_Call
- func (_c *Store_DeletePushSubscriptionByID_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_DeletePushSubscriptionByID_Call
- type Store_DeletePushSubscriptionBySub_Call
- func (_c *Store_DeletePushSubscriptionBySub_Call) Return(err error) *Store_DeletePushSubscriptionBySub_Call
- func (_c *Store_DeletePushSubscriptionBySub_Call) Run(run func(ctx context.Context, subscription []byte)) *Store_DeletePushSubscriptionBySub_Call
- func (_c *Store_DeletePushSubscriptionBySub_Call) RunAndReturn(run func(ctx context.Context, subscription []byte) error) *Store_DeletePushSubscriptionBySub_Call
- type Store_DeleteSetting_Call
- func (_c *Store_DeleteSetting_Call) Return(err error) *Store_DeleteSetting_Call
- func (_c *Store_DeleteSetting_Call) Run(run func(ctx context.Context, name string)) *Store_DeleteSetting_Call
- func (_c *Store_DeleteSetting_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Store_DeleteSetting_Call
- type Store_DeleteShare_Call
- type Store_DeleteSystem_Call
- type Store_DeleteTalkgroup_Call
- func (_c *Store_DeleteTalkgroup_Call) Return(err error) *Store_DeleteTalkgroup_Call
- func (_c *Store_DeleteTalkgroup_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_DeleteTalkgroup_Call
- func (_c *Store_DeleteTalkgroup_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) error) *Store_DeleteTalkgroup_Call
- type Store_DeleteUser_Call
- func (_c *Store_DeleteUser_Call) Return(err error) *Store_DeleteUser_Call
- func (_c *Store_DeleteUser_Call) Run(run func(ctx context.Context, username string)) *Store_DeleteUser_Call
- func (_c *Store_DeleteUser_Call) RunAndReturn(run func(ctx context.Context, username string) error) *Store_DeleteUser_Call
- type Store_DetachPartition_Call
- func (_c *Store_DetachPartition_Call) Return(err error) *Store_DetachPartition_Call
- func (_c *Store_DetachPartition_Call) Run(run func(ctx context.Context, parentTable string, partitionName string)) *Store_DetachPartition_Call
- func (_c *Store_DetachPartition_Call) RunAndReturn(run func(ctx context.Context, parentTable string, partitionName string) error) *Store_DetachPartition_Call
- type Store_DetailedCountRefJournal_Call
- func (_c *Store_DetailedCountRefJournal_Call) Return(detailedCountRefJournalRows []database.DetailedCountRefJournalRow, err error) *Store_DetailedCountRefJournal_Call
- func (_c *Store_DetailedCountRefJournal_Call) Run(run func(ctx context.Context)) *Store_DetailedCountRefJournal_Call
- func (_c *Store_DetailedCountRefJournal_Call) RunAndReturn(run func(ctx context.Context) ([]database.DetailedCountRefJournalRow, error)) *Store_DetailedCountRefJournal_Call
- type Store_DisableUser_Call
- func (_c *Store_DisableUser_Call) Return(err error) *Store_DisableUser_Call
- func (_c *Store_DisableUser_Call) Run(run func(ctx context.Context, username string)) *Store_DisableUser_Call
- func (_c *Store_DisableUser_Call) RunAndReturn(run func(ctx context.Context, username string) error) *Store_DisableUser_Call
- type Store_DropPartition_Call
- func (_c *Store_DropPartition_Call) Return(err error) *Store_DropPartition_Call
- func (_c *Store_DropPartition_Call) Run(run func(ctx context.Context, partitionName string)) *Store_DropPartition_Call
- func (_c *Store_DropPartition_Call) RunAndReturn(run func(ctx context.Context, partitionName string) error) *Store_DropPartition_Call
- type Store_DropRefJournal_Call
- func (_c *Store_DropRefJournal_Call) Return(err error) *Store_DropRefJournal_Call
- func (_c *Store_DropRefJournal_Call) Run(run func(ctx context.Context, id int64)) *Store_DropRefJournal_Call
- func (_c *Store_DropRefJournal_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_DropRefJournal_Call
- type Store_DropTable_Call
- func (_c *Store_DropTable_Call) Return(err error) *Store_DropTable_Call
- func (_c *Store_DropTable_Call) Run(run func(ctx context.Context, tableName string)) *Store_DropTable_Call
- func (_c *Store_DropTable_Call) RunAndReturn(run func(ctx context.Context, tableName string) error) *Store_DropTable_Call
- type Store_Expecter
- func (_e *Store_Expecter) AddAlert(ctx interface{}, arg interface{}) *Store_AddAlert_Call
- func (_e *Store_Expecter) AddCall(ctx interface{}, arg interface{}) *Store_AddCall_Call
- func (_e *Store_Expecter) AddLearnedTalkgroup(ctx interface{}, arg interface{}) *Store_AddLearnedTalkgroup_Call
- func (_e *Store_Expecter) AddRefJournal(ctx interface{}, arg interface{}) *Store_AddRefJournal_Call
- func (_e *Store_Expecter) AddToIncident(ctx interface{}, incidentID interface{}, callIds interface{}, ...) *Store_AddToIncident_Call
- func (_e *Store_Expecter) BulkSetTalkgroupTags(ctx interface{}, tgs interface{}, tags interface{}) *Store_BulkSetTalkgroupTags_Call
- func (_e *Store_Expecter) CallInIncident(ctx interface{}, incidentID interface{}, callID interface{}) *Store_CallInIncident_Call
- func (_e *Store_Expecter) CleanupSweptCalls(ctx interface{}, rangeStart interface{}, rangeEnd interface{}) *Store_CleanupSweptCalls_Call
- func (_e *Store_Expecter) CopyIntoFsckTempTable(ctx interface{}, tableName interface{}, ids interface{}, ...) *Store_CopyIntoFsckTempTable_Call
- func (_e *Store_Expecter) CountRefJournal(ctx interface{}, missing interface{}, since interface{}, until interface{}) *Store_CountRefJournal_Call
- func (_e *Store_Expecter) CreateAPIKey(ctx interface{}, arg interface{}) *Store_CreateAPIKey_Call
- func (_e *Store_Expecter) CreateFsckTempTable(ctx interface{}) *Store_CreateFsckTempTable_Call
- func (_e *Store_Expecter) CreateIncident(ctx interface{}, arg interface{}) *Store_CreateIncident_Call
- func (_e *Store_Expecter) CreatePartition(ctx interface{}, parentTable interface{}, partitionName interface{}, ...) *Store_CreatePartition_Call
- func (_e *Store_Expecter) CreateShare(ctx interface{}, arg interface{}) *Store_CreateShare_Call
- func (_e *Store_Expecter) CreateSystem(ctx interface{}, iD interface{}, name interface{}, learned interface{}) *Store_CreateSystem_Call
- func (_e *Store_Expecter) CreateUser(ctx interface{}, arg interface{}) *Store_CreateUser_Call
- func (_e *Store_Expecter) CreateWebPushSubscription(ctx interface{}, arg interface{}) *Store_CreateWebPushSubscription_Call
- func (_e *Store_Expecter) DB() *Store_DB_Call
- func (_e *Store_Expecter) DBTX() *Store_DBTX_Call
- func (_e *Store_Expecter) DeleteAPIKey(ctx interface{}, apiKey interface{}) *Store_DeleteAPIKey_Call
- func (_e *Store_Expecter) DeleteCall(ctx interface{}, id interface{}) *Store_DeleteCall_Call
- func (_e *Store_Expecter) DeleteExpiredPushSubscriptions(ctx interface{}) *Store_DeleteExpiredPushSubscriptions_Call
- func (_e *Store_Expecter) DeleteIncident(ctx interface{}, id interface{}) *Store_DeleteIncident_Call
- func (_e *Store_Expecter) DeletePushSubscriptionByID(ctx interface{}, id interface{}) *Store_DeletePushSubscriptionByID_Call
- func (_e *Store_Expecter) DeletePushSubscriptionBySub(ctx interface{}, subscription interface{}) *Store_DeletePushSubscriptionBySub_Call
- func (_e *Store_Expecter) DeleteSetting(ctx interface{}, name interface{}) *Store_DeleteSetting_Call
- func (_e *Store_Expecter) DeleteShare(ctx interface{}, id interface{}) *Store_DeleteShare_Call
- func (_e *Store_Expecter) DeleteSystem(ctx interface{}, id interface{}) *Store_DeleteSystem_Call
- func (_e *Store_Expecter) DeleteTalkgroup(ctx interface{}, systemID interface{}, tGID interface{}) *Store_DeleteTalkgroup_Call
- func (_e *Store_Expecter) DeleteUser(ctx interface{}, username interface{}) *Store_DeleteUser_Call
- func (_e *Store_Expecter) DetachPartition(ctx interface{}, parentTable interface{}, partitionName interface{}) *Store_DetachPartition_Call
- func (_e *Store_Expecter) DetailedCountRefJournal(ctx interface{}) *Store_DetailedCountRefJournal_Call
- func (_e *Store_Expecter) DisableUser(ctx interface{}, username interface{}) *Store_DisableUser_Call
- func (_e *Store_Expecter) DropPartition(ctx interface{}, partitionName interface{}) *Store_DropPartition_Call
- func (_e *Store_Expecter) DropRefJournal(ctx interface{}, id interface{}) *Store_DropRefJournal_Call
- func (_e *Store_Expecter) DropTable(ctx interface{}, tableName interface{}) *Store_DropTable_Call
- func (_e *Store_Expecter) FsckRefs(ctx interface{}, tableName interface{}, backend interface{}) *Store_FsckRefs_Call
- func (_e *Store_Expecter) GetAPIKey(ctx interface{}, key interface{}, jwtID interface{}, kind interface{}) *Store_GetAPIKey_Call
- func (_e *Store_Expecter) GetAlertByURLTag(ctx interface{}, urlTag interface{}) *Store_GetAlertByURLTag_Call
- func (_e *Store_Expecter) GetAllTalkgroupTags(ctx interface{}) *Store_GetAllTalkgroupTags_Call
- func (_e *Store_Expecter) GetAppPrefs(ctx interface{}, appName interface{}, uid interface{}) *Store_GetAppPrefs_Call
- func (_e *Store_Expecter) GetAudioRefJournalCb(ctx interface{}, arg interface{}, sendEntry interface{}) *Store_GetAudioRefJournalCb_Call
- func (_e *Store_Expecter) GetCall(ctx interface{}, id interface{}) *Store_GetCall_Call
- func (_e *Store_Expecter) GetCallAudio(ctx interface{}, arg interface{}) *Store_GetCallAudio_Call
- func (_e *Store_Expecter) GetCallAudioByID(ctx interface{}, id interface{}) *Store_GetCallAudioByID_Call
- func (_e *Store_Expecter) GetCallAudioCb(ctx interface{}, arg interface{}, cb interface{}) *Store_GetCallAudioCb_Call
- func (_e *Store_Expecter) GetCallAudioCount(ctx interface{}, arg interface{}) *Store_GetCallAudioCount_Call
- func (_e *Store_Expecter) GetCallStatsByInterval(ctx interface{}, truncField interface{}, start interface{}, end interface{}) *Store_GetCallStatsByInterval_Call
- func (_e *Store_Expecter) GetCallStatsByTalkgroup(ctx interface{}, truncField interface{}, start interface{}, end interface{}) *Store_GetCallStatsByTalkgroup_Call
- func (_e *Store_Expecter) GetCallSubmitter(ctx interface{}, id interface{}) *Store_GetCallSubmitter_Call
- func (_e *Store_Expecter) GetCalls(ctx interface{}, ids interface{}) *Store_GetCalls_Call
- func (_e *Store_Expecter) GetDatabaseSize(ctx interface{}) *Store_GetDatabaseSize_Call
- func (_e *Store_Expecter) GetIncident(ctx interface{}, id interface{}) *Store_GetIncident_Call
- func (_e *Store_Expecter) GetIncidentCallCount(ctx interface{}, incidentID interface{}) *Store_GetIncidentCallCount_Call
- func (_e *Store_Expecter) GetIncidentCalls(ctx interface{}, iD interface{}, offset interface{}, perPage interface{}) *Store_GetIncidentCalls_Call
- func (_e *Store_Expecter) GetIncidentOwner(ctx interface{}, id interface{}) *Store_GetIncidentOwner_Call
- func (_e *Store_Expecter) GetIncidentTalkgroups(ctx interface{}, incidentID interface{}) *Store_GetIncidentTalkgroups_Call
- func (_e *Store_Expecter) GetPrunableAudioRefs(ctx interface{}, partitionStart interface{}, partitionEnd interface{}) *Store_GetPrunableAudioRefs_Call
- func (_e *Store_Expecter) GetPushSubscriptions(ctx interface{}) *Store_GetPushSubscriptions_Call
- func (_e *Store_Expecter) GetRefJournal(ctx interface{}, arg interface{}) *Store_GetRefJournal_Call
- func (_e *Store_Expecter) GetSetting(ctx interface{}, name interface{}) *Store_GetSetting_Call
- func (_e *Store_Expecter) GetShare(ctx interface{}, id interface{}) *Store_GetShare_Call
- func (_e *Store_Expecter) GetSharesP(ctx interface{}, arg interface{}) *Store_GetSharesP_Call
- func (_e *Store_Expecter) GetSharesPCount(ctx interface{}, ownerID interface{}) *Store_GetSharesPCount_Call
- func (_e *Store_Expecter) GetSweptCallsWithRef(ctx interface{}) *Store_GetSweptCallsWithRef_Call
- func (_e *Store_Expecter) GetSystemName(ctx interface{}, systemID interface{}) *Store_GetSystemName_Call
- func (_e *Store_Expecter) GetSystemSubscriptions(ctx interface{}, userID interface{}) *Store_GetSystemSubscriptions_Call
- func (_e *Store_Expecter) GetTablePartitions(ctx interface{}, schemaName interface{}, tableName interface{}) *Store_GetTablePartitions_Call
- func (_e *Store_Expecter) GetTalkgroup(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetTalkgroup_Call
- func (_e *Store_Expecter) GetTalkgroupIDsByTags(ctx interface{}, allTags interface{}, anyTags interface{}, ...) *Store_GetTalkgroupIDsByTags_Call
- func (_e *Store_Expecter) GetTalkgroupSubscriptions(ctx interface{}, userID interface{}) *Store_GetTalkgroupSubscriptions_Call
- func (_e *Store_Expecter) GetTalkgroupTags(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetTalkgroupTags_Call
- func (_e *Store_Expecter) GetTalkgroups(ctx interface{}, system interface{}, withIgnored interface{}, ...) *Store_GetTalkgroups_Call
- func (_e *Store_Expecter) GetTalkgroupsBySysTGID(ctx interface{}, ids interface{}) *Store_GetTalkgroupsBySysTGID_Call
- func (_e *Store_Expecter) GetTalkgroupsCount(ctx interface{}, system interface{}, withIgnored interface{}, ...) *Store_GetTalkgroupsCount_Call
- func (_e *Store_Expecter) GetTalkgroupsP(ctx interface{}, arg interface{}) *Store_GetTalkgroupsP_Call
- func (_e *Store_Expecter) GetTalkgroupsWithAllTags(ctx interface{}, tags interface{}) *Store_GetTalkgroupsWithAllTags_Call
- func (_e *Store_Expecter) GetTalkgroupsWithAnyTags(ctx interface{}, tags interface{}) *Store_GetTalkgroupsWithAnyTags_Call
- func (_e *Store_Expecter) GetTranscriptsContext(ctx interface{}, arg interface{}) *Store_GetTranscriptsContext_Call
- func (_e *Store_Expecter) GetUserByID(ctx interface{}, id interface{}) *Store_GetUserByID_Call
- func (_e *Store_Expecter) GetUserByUsername(ctx interface{}, username interface{}) *Store_GetUserByUsername_Call
- func (_e *Store_Expecter) GetUsers(ctx interface{}) *Store_GetUsers_Call
- func (_e *Store_Expecter) GetWebPushSubscriptionsSubscribed(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetWebPushSubscriptionsSubscribed_Call
- func (_e *Store_Expecter) InTx(context1 interface{}, fn interface{}) *Store_InTx_Call
- func (_e *Store_Expecter) IncrementRefJournal(ctx interface{}, id interface{}) *Store_IncrementRefJournal_Call
- func (_e *Store_Expecter) ListCallsCount(ctx interface{}, arg interface{}) *Store_ListCallsCount_Call
- func (_e *Store_Expecter) ListCallsP(ctx interface{}, arg interface{}) *Store_ListCallsP_Call
- func (_e *Store_Expecter) ListIncidentsCount(ctx interface{}, start interface{}, end interface{}, filter interface{}) *Store_ListIncidentsCount_Call
- func (_e *Store_Expecter) ListIncidentsP(ctx interface{}, arg interface{}) *Store_ListIncidentsP_Call
- func (_e *Store_Expecter) PoolTx(ctx interface{}, opts interface{}) *Store_PoolTx_Call
- func (_e *Store_Expecter) PruneAlerts(ctx interface{}, before interface{}) *Store_PruneAlerts_Call
- func (_e *Store_Expecter) PruneShares(ctx interface{}) *Store_PruneShares_Call
- func (_e *Store_Expecter) RecordUserLogin(ctx interface{}, username interface{}, lastLoginAt interface{}, ...) *Store_RecordUserLogin_Call
- func (_e *Store_Expecter) RemoveFromIncident(ctx interface{}, iD interface{}, callIds interface{}) *Store_RemoveFromIncident_Call
- func (_e *Store_Expecter) RestoreTalkgroupVersion(ctx interface{}, versionIds interface{}) *Store_RestoreTalkgroupVersion_Call
- func (_e *Store_Expecter) SetAppPrefs(ctx interface{}, appName interface{}, prefs interface{}, uid interface{}) *Store_SetAppPrefs_Call
- func (_e *Store_Expecter) SetCallAudio(ctx interface{}, iD interface{}, audioRef interface{}, audioBlob interface{}) *Store_SetCallAudio_Call
- func (_e *Store_Expecter) SetCallTranscript(ctx interface{}, iD interface{}, transcript interface{}) *Store_SetCallTranscript_Call
- func (_e *Store_Expecter) SetRefJournalPrune(ctx interface{}, iD interface{}, pruneAfter interface{}) *Store_SetRefJournalPrune_Call
- func (_e *Store_Expecter) SetSetting(ctx interface{}, name interface{}, updatedBy interface{}, value interface{}) *Store_SetSetting_Call
- func (_e *Store_Expecter) SetSweptAudioAndClearRef(ctx interface{}, audioBlob interface{}, iD interface{}) *Store_SetSweptAudioAndClearRef_Call
- func (_e *Store_Expecter) SetSweptCallAudio(ctx interface{}, iD interface{}, audioRef interface{}, audioBlob interface{}) *Store_SetSweptCallAudio_Call
- func (_e *Store_Expecter) SetTalkgroupTags(ctx interface{}, tags interface{}, systemID interface{}, tGID interface{}) *Store_SetTalkgroupTags_Call
- func (_e *Store_Expecter) StoreDeletedTGVersion(ctx interface{}, systemID interface{}, tGID interface{}, submitter interface{}) *Store_StoreDeletedTGVersion_Call
- func (_e *Store_Expecter) StoreTGVersion(ctx interface{}, arg interface{}) *Store_StoreTGVersion_Call
- func (_e *Store_Expecter) SubscribeSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_SubscribeSystems_Call
- func (_e *Store_Expecter) SubscribeTalkgroups(ctx interface{}, userID interface{}, systemIds interface{}, tgids interface{}) *Store_SubscribeTalkgroups_Call
- func (_e *Store_Expecter) SweepCalls(ctx interface{}, rangeStart interface{}, rangeEnd interface{}) *Store_SweepCalls_Call
- func (_e *Store_Expecter) UnsubscribeAllSystems(ctx interface{}, userID interface{}) *Store_UnsubscribeAllSystems_Call
- func (_e *Store_Expecter) UnsubscribeAllTalkgroups(ctx interface{}, userID interface{}) *Store_UnsubscribeAllTalkgroups_Call
- func (_e *Store_Expecter) UnsubscribeSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_UnsubscribeSystems_Call
- func (_e *Store_Expecter) UnsubscribeTGsInSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_UnsubscribeTGsInSystems_Call
- func (_e *Store_Expecter) UnsubscribeTalkgroups(ctx interface{}, userID interface{}, tgs interface{}) *Store_UnsubscribeTalkgroups_Call
- func (_e *Store_Expecter) UpdateCallIncidentNotes(ctx interface{}, notes interface{}, incidentID interface{}, callID interface{}) *Store_UpdateCallIncidentNotes_Call
- func (_e *Store_Expecter) UpdateIncident(ctx interface{}, arg interface{}) *Store_UpdateIncident_Call
- func (_e *Store_Expecter) UpdatePassword(ctx interface{}, username interface{}, password interface{}) *Store_UpdatePassword_Call
- func (_e *Store_Expecter) UpdatePushSubscription(ctx interface{}, newSubscription interface{}, userID interface{}, ...) *Store_UpdatePushSubscription_Call
- func (_e *Store_Expecter) UpdateTalkgroup(ctx interface{}, arg interface{}) *Store_UpdateTalkgroup_Call
- func (_e *Store_Expecter) UpdateUser(ctx interface{}, arg interface{}) *Store_UpdateUser_Call
- func (_e *Store_Expecter) UpsertTalkgroup(ctx interface{}, arg interface{}) *Store_UpsertTalkgroup_Call
- type Store_FsckRefs_Call
- func (_c *Store_FsckRefs_Call) Return(callsDangling int64, err error) *Store_FsckRefs_Call
- func (_c *Store_FsckRefs_Call) Run(run func(ctx context.Context, tableName string, backend string)) *Store_FsckRefs_Call
- func (_c *Store_FsckRefs_Call) RunAndReturn(run func(ctx context.Context, tableName string, backend string) (int64, error)) *Store_FsckRefs_Call
- type Store_GetAPIKey_Call
- func (_c *Store_GetAPIKey_Call) Return(getAPIKeyRow database.GetAPIKeyRow, err error) *Store_GetAPIKey_Call
- func (_c *Store_GetAPIKey_Call) Run(run func(ctx context.Context, key *string, jwtID pgtype.UUID, kind int)) *Store_GetAPIKey_Call
- func (_c *Store_GetAPIKey_Call) RunAndReturn(...) *Store_GetAPIKey_Call
- type Store_GetAlertByURLTag_Call
- func (_c *Store_GetAlertByURLTag_Call) Return(alert database.Alert, err error) *Store_GetAlertByURLTag_Call
- func (_c *Store_GetAlertByURLTag_Call) Run(run func(ctx context.Context, urlTag *string)) *Store_GetAlertByURLTag_Call
- func (_c *Store_GetAlertByURLTag_Call) RunAndReturn(run func(ctx context.Context, urlTag *string) (database.Alert, error)) *Store_GetAlertByURLTag_Call
- type Store_GetAllTalkgroupTags_Call
- func (_c *Store_GetAllTalkgroupTags_Call) Return(strings []string, err error) *Store_GetAllTalkgroupTags_Call
- func (_c *Store_GetAllTalkgroupTags_Call) Run(run func(ctx context.Context)) *Store_GetAllTalkgroupTags_Call
- func (_c *Store_GetAllTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *Store_GetAllTalkgroupTags_Call
- type Store_GetAppPrefs_Call
- func (_c *Store_GetAppPrefs_Call) Return(bytes []byte, err error) *Store_GetAppPrefs_Call
- func (_c *Store_GetAppPrefs_Call) Run(run func(ctx context.Context, appName string, uid int)) *Store_GetAppPrefs_Call
- func (_c *Store_GetAppPrefs_Call) RunAndReturn(run func(ctx context.Context, appName string, uid int) ([]byte, error)) *Store_GetAppPrefs_Call
- type Store_GetAudioRefJournalCb_Call
- func (_c *Store_GetAudioRefJournalCb_Call) Return(err error) *Store_GetAudioRefJournalCb_Call
- func (_c *Store_GetAudioRefJournalCb_Call) Run(run func(ctx context.Context, arg database.GetRefJournalParams, ...)) *Store_GetAudioRefJournalCb_Call
- func (_c *Store_GetAudioRefJournalCb_Call) RunAndReturn(run func(ctx context.Context, arg database.GetRefJournalParams, ...) error) *Store_GetAudioRefJournalCb_Call
- type Store_GetCallAudioByID_Call
- func (_c *Store_GetCallAudioByID_Call) Return(getCallAudioByIDRow database.GetCallAudioByIDRow, err error) *Store_GetCallAudioByID_Call
- func (_c *Store_GetCallAudioByID_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCallAudioByID_Call
- func (_c *Store_GetCallAudioByID_Call) RunAndReturn(...) *Store_GetCallAudioByID_Call
- type Store_GetCallAudioCb_Call
- func (_c *Store_GetCallAudioCb_Call) Return(err error) *Store_GetCallAudioCb_Call
- func (_c *Store_GetCallAudioCb_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams, ...)) *Store_GetCallAudioCb_Call
- func (_c *Store_GetCallAudioCb_Call) RunAndReturn(run func(ctx context.Context, arg database.GetCallAudioParams, ...) error) *Store_GetCallAudioCb_Call
- type Store_GetCallAudioCount_Call
- func (_c *Store_GetCallAudioCount_Call) Return(n int64, err error) *Store_GetCallAudioCount_Call
- func (_c *Store_GetCallAudioCount_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams)) *Store_GetCallAudioCount_Call
- func (_c *Store_GetCallAudioCount_Call) RunAndReturn(run func(ctx context.Context, arg database.GetCallAudioParams) (int64, error)) *Store_GetCallAudioCount_Call
- type Store_GetCallAudio_Call
- func (_c *Store_GetCallAudio_Call) Return(getCallAudioRows []database.GetCallAudioRow, err error) *Store_GetCallAudio_Call
- func (_c *Store_GetCallAudio_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams)) *Store_GetCallAudio_Call
- func (_c *Store_GetCallAudio_Call) RunAndReturn(...) *Store_GetCallAudio_Call
- type Store_GetCallStatsByInterval_Call
- func (_c *Store_GetCallStatsByInterval_Call) Return(getCallStatsByIntervalRows []database.GetCallStatsByIntervalRow, err error) *Store_GetCallStatsByInterval_Call
- func (_c *Store_GetCallStatsByInterval_Call) Run(...) *Store_GetCallStatsByInterval_Call
- func (_c *Store_GetCallStatsByInterval_Call) RunAndReturn(...) *Store_GetCallStatsByInterval_Call
- type Store_GetCallStatsByTalkgroup_Call
- func (_c *Store_GetCallStatsByTalkgroup_Call) Return(getCallStatsByTalkgroupRows []database.GetCallStatsByTalkgroupRow, err error) *Store_GetCallStatsByTalkgroup_Call
- func (_c *Store_GetCallStatsByTalkgroup_Call) Run(...) *Store_GetCallStatsByTalkgroup_Call
- func (_c *Store_GetCallStatsByTalkgroup_Call) RunAndReturn(...) *Store_GetCallStatsByTalkgroup_Call
- type Store_GetCallSubmitter_Call
- func (_c *Store_GetCallSubmitter_Call) Return(n *int32, err error) *Store_GetCallSubmitter_Call
- func (_c *Store_GetCallSubmitter_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCallSubmitter_Call
- func (_c *Store_GetCallSubmitter_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (*int32, error)) *Store_GetCallSubmitter_Call
- type Store_GetCall_Call
- func (_c *Store_GetCall_Call) Return(getCallRow database.GetCallRow, err error) *Store_GetCall_Call
- func (_c *Store_GetCall_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCall_Call
- func (_c *Store_GetCall_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (database.GetCallRow, error)) *Store_GetCall_Call
- type Store_GetCalls_Call
- func (_c *Store_GetCalls_Call) Return(getCallsRows []database.GetCallsRow, err error) *Store_GetCalls_Call
- func (_c *Store_GetCalls_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *Store_GetCalls_Call
- func (_c *Store_GetCalls_Call) RunAndReturn(run func(ctx context.Context, ids []uuid.UUID) ([]database.GetCallsRow, error)) *Store_GetCalls_Call
- type Store_GetDatabaseSize_Call
- func (_c *Store_GetDatabaseSize_Call) Return(s string, err error) *Store_GetDatabaseSize_Call
- func (_c *Store_GetDatabaseSize_Call) Run(run func(ctx context.Context)) *Store_GetDatabaseSize_Call
- func (_c *Store_GetDatabaseSize_Call) RunAndReturn(run func(ctx context.Context) (string, error)) *Store_GetDatabaseSize_Call
- type Store_GetIncidentCallCount_Call
- func (_c *Store_GetIncidentCallCount_Call) Return(n int64, err error) *Store_GetIncidentCallCount_Call
- func (_c *Store_GetIncidentCallCount_Call) Run(run func(ctx context.Context, incidentID uuid.UUID)) *Store_GetIncidentCallCount_Call
- func (_c *Store_GetIncidentCallCount_Call) RunAndReturn(run func(ctx context.Context, incidentID uuid.UUID) (int64, error)) *Store_GetIncidentCallCount_Call
- type Store_GetIncidentCalls_Call
- func (_c *Store_GetIncidentCalls_Call) Return(getIncidentCallsRows []database.GetIncidentCallsRow, err error) *Store_GetIncidentCalls_Call
- func (_c *Store_GetIncidentCalls_Call) Run(run func(ctx context.Context, iD uuid.UUID, offset int32, perPage *int32)) *Store_GetIncidentCalls_Call
- func (_c *Store_GetIncidentCalls_Call) RunAndReturn(...) *Store_GetIncidentCalls_Call
- type Store_GetIncidentOwner_Call
- func (_c *Store_GetIncidentOwner_Call) Return(n int, err error) *Store_GetIncidentOwner_Call
- func (_c *Store_GetIncidentOwner_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetIncidentOwner_Call
- func (_c *Store_GetIncidentOwner_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (int, error)) *Store_GetIncidentOwner_Call
- type Store_GetIncidentTalkgroups_Call
- func (_c *Store_GetIncidentTalkgroups_Call) Return(getIncidentTalkgroupsRows []database.GetIncidentTalkgroupsRow, err error) *Store_GetIncidentTalkgroups_Call
- func (_c *Store_GetIncidentTalkgroups_Call) Run(run func(ctx context.Context, incidentID uuid.UUID)) *Store_GetIncidentTalkgroups_Call
- func (_c *Store_GetIncidentTalkgroups_Call) RunAndReturn(...) *Store_GetIncidentTalkgroups_Call
- type Store_GetIncident_Call
- func (_c *Store_GetIncident_Call) Return(getIncidentRow database.GetIncidentRow, err error) *Store_GetIncident_Call
- func (_c *Store_GetIncident_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetIncident_Call
- func (_c *Store_GetIncident_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (database.GetIncidentRow, error)) *Store_GetIncident_Call
- type Store_GetPrunableAudioRefs_Call
- func (_c *Store_GetPrunableAudioRefs_Call) Return(getPrunableAudioRefsRows []database.GetPrunableAudioRefsRow, err error) *Store_GetPrunableAudioRefs_Call
- func (_c *Store_GetPrunableAudioRefs_Call) Run(...) *Store_GetPrunableAudioRefs_Call
- func (_c *Store_GetPrunableAudioRefs_Call) RunAndReturn(...) *Store_GetPrunableAudioRefs_Call
- type Store_GetPushSubscriptions_Call
- func (_c *Store_GetPushSubscriptions_Call) Return(getPushSubscriptionsRows []database.GetPushSubscriptionsRow, err error) *Store_GetPushSubscriptions_Call
- func (_c *Store_GetPushSubscriptions_Call) Run(run func(ctx context.Context)) *Store_GetPushSubscriptions_Call
- func (_c *Store_GetPushSubscriptions_Call) RunAndReturn(run func(ctx context.Context) ([]database.GetPushSubscriptionsRow, error)) *Store_GetPushSubscriptions_Call
- type Store_GetRefJournal_Call
- func (_c *Store_GetRefJournal_Call) Return(audioRefJournals []database.AudioRefJournal, err error) *Store_GetRefJournal_Call
- func (_c *Store_GetRefJournal_Call) Run(run func(ctx context.Context, arg database.GetRefJournalParams)) *Store_GetRefJournal_Call
- func (_c *Store_GetRefJournal_Call) RunAndReturn(...) *Store_GetRefJournal_Call
- type Store_GetSetting_Call
- func (_c *Store_GetSetting_Call) Return(bytes []byte, err error) *Store_GetSetting_Call
- func (_c *Store_GetSetting_Call) Run(run func(ctx context.Context, name string)) *Store_GetSetting_Call
- func (_c *Store_GetSetting_Call) RunAndReturn(run func(ctx context.Context, name string) ([]byte, error)) *Store_GetSetting_Call
- type Store_GetShare_Call
- func (_c *Store_GetShare_Call) Return(share database.Share, err error) *Store_GetShare_Call
- func (_c *Store_GetShare_Call) Run(run func(ctx context.Context, id string)) *Store_GetShare_Call
- func (_c *Store_GetShare_Call) RunAndReturn(run func(ctx context.Context, id string) (database.Share, error)) *Store_GetShare_Call
- type Store_GetSharesPCount_Call
- func (_c *Store_GetSharesPCount_Call) Return(n int64, err error) *Store_GetSharesPCount_Call
- func (_c *Store_GetSharesPCount_Call) Run(run func(ctx context.Context, ownerID *int32)) *Store_GetSharesPCount_Call
- func (_c *Store_GetSharesPCount_Call) RunAndReturn(run func(ctx context.Context, ownerID *int32) (int64, error)) *Store_GetSharesPCount_Call
- type Store_GetSharesP_Call
- func (_c *Store_GetSharesP_Call) Return(getSharesPRows []database.GetSharesPRow, err error) *Store_GetSharesP_Call
- func (_c *Store_GetSharesP_Call) Run(run func(ctx context.Context, arg database.GetSharesPParams)) *Store_GetSharesP_Call
- func (_c *Store_GetSharesP_Call) RunAndReturn(...) *Store_GetSharesP_Call
- type Store_GetSweptCallsWithRef_Call
- func (_c *Store_GetSweptCallsWithRef_Call) Return(getSweptCallsWithRefRows []database.GetSweptCallsWithRefRow, err error) *Store_GetSweptCallsWithRef_Call
- func (_c *Store_GetSweptCallsWithRef_Call) Run(run func(ctx context.Context)) *Store_GetSweptCallsWithRef_Call
- func (_c *Store_GetSweptCallsWithRef_Call) RunAndReturn(run func(ctx context.Context) ([]database.GetSweptCallsWithRefRow, error)) *Store_GetSweptCallsWithRef_Call
- type Store_GetSystemName_Call
- func (_c *Store_GetSystemName_Call) Return(s string, err error) *Store_GetSystemName_Call
- func (_c *Store_GetSystemName_Call) Run(run func(ctx context.Context, systemID int)) *Store_GetSystemName_Call
- func (_c *Store_GetSystemName_Call) RunAndReturn(run func(ctx context.Context, systemID int) (string, error)) *Store_GetSystemName_Call
- type Store_GetSystemSubscriptions_Call
- func (_c *Store_GetSystemSubscriptions_Call) Return(int32s []int32, err error) *Store_GetSystemSubscriptions_Call
- func (_c *Store_GetSystemSubscriptions_Call) Run(run func(ctx context.Context, userID int)) *Store_GetSystemSubscriptions_Call
- func (_c *Store_GetSystemSubscriptions_Call) RunAndReturn(run func(ctx context.Context, userID int) ([]int32, error)) *Store_GetSystemSubscriptions_Call
- type Store_GetTablePartitions_Call
- func (_c *Store_GetTablePartitions_Call) Return(partitionResults []database.PartitionResult, err error) *Store_GetTablePartitions_Call
- func (_c *Store_GetTablePartitions_Call) Run(run func(ctx context.Context, schemaName string, tableName string)) *Store_GetTablePartitions_Call
- func (_c *Store_GetTablePartitions_Call) RunAndReturn(...) *Store_GetTablePartitions_Call
- type Store_GetTalkgroupIDsByTags_Call
- func (_c *Store_GetTalkgroupIDsByTags_Call) Return(getTalkgroupIDsByTagsRows []database.GetTalkgroupIDsByTagsRow, err error) *Store_GetTalkgroupIDsByTags_Call
- func (_c *Store_GetTalkgroupIDsByTags_Call) Run(...) *Store_GetTalkgroupIDsByTags_Call
- func (_c *Store_GetTalkgroupIDsByTags_Call) RunAndReturn(...) *Store_GetTalkgroupIDsByTags_Call
- type Store_GetTalkgroupSubscriptions_Call
- func (_c *Store_GetTalkgroupSubscriptions_Call) Return(getTalkgroupSubscriptionsRows []database.GetTalkgroupSubscriptionsRow, ...) *Store_GetTalkgroupSubscriptions_Call
- func (_c *Store_GetTalkgroupSubscriptions_Call) Run(run func(ctx context.Context, userID int)) *Store_GetTalkgroupSubscriptions_Call
- func (_c *Store_GetTalkgroupSubscriptions_Call) RunAndReturn(...) *Store_GetTalkgroupSubscriptions_Call
- type Store_GetTalkgroupTags_Call
- func (_c *Store_GetTalkgroupTags_Call) Return(strings []string, err error) *Store_GetTalkgroupTags_Call
- func (_c *Store_GetTalkgroupTags_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetTalkgroupTags_Call
- func (_c *Store_GetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) ([]string, error)) *Store_GetTalkgroupTags_Call
- type Store_GetTalkgroup_Call
- func (_c *Store_GetTalkgroup_Call) Return(getTalkgroupRow database.GetTalkgroupRow, err error) *Store_GetTalkgroup_Call
- func (_c *Store_GetTalkgroup_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetTalkgroup_Call
- func (_c *Store_GetTalkgroup_Call) RunAndReturn(...) *Store_GetTalkgroup_Call
- type Store_GetTalkgroupsBySysTGID_Call
- func (_c *Store_GetTalkgroupsBySysTGID_Call) Return(getTalkgroupsRows []database.GetTalkgroupsRow, err error) *Store_GetTalkgroupsBySysTGID_Call
- func (_c *Store_GetTalkgroupsBySysTGID_Call) Run(run func(ctx context.Context, ids database.TGTuplesU)) *Store_GetTalkgroupsBySysTGID_Call
- func (_c *Store_GetTalkgroupsBySysTGID_Call) RunAndReturn(...) *Store_GetTalkgroupsBySysTGID_Call
- type Store_GetTalkgroupsCount_Call
- func (_c *Store_GetTalkgroupsCount_Call) Return(n int64, err error) *Store_GetTalkgroupsCount_Call
- func (_c *Store_GetTalkgroupsCount_Call) Run(run func(ctx context.Context, system *int32, withIgnored bool, filter *string)) *Store_GetTalkgroupsCount_Call
- func (_c *Store_GetTalkgroupsCount_Call) RunAndReturn(...) *Store_GetTalkgroupsCount_Call
- type Store_GetTalkgroupsP_Call
- func (_c *Store_GetTalkgroupsP_Call) Return(getTalkgroupsPRows []database.GetTalkgroupsPRow, err error) *Store_GetTalkgroupsP_Call
- func (_c *Store_GetTalkgroupsP_Call) Run(run func(ctx context.Context, arg database.GetTalkgroupsPParams)) *Store_GetTalkgroupsP_Call
- func (_c *Store_GetTalkgroupsP_Call) RunAndReturn(...) *Store_GetTalkgroupsP_Call
- type Store_GetTalkgroupsWithAllTags_Call
- func (_c *Store_GetTalkgroupsWithAllTags_Call) Return(getTalkgroupsWithAllTagsRows []database.GetTalkgroupsWithAllTagsRow, err error) *Store_GetTalkgroupsWithAllTags_Call
- func (_c *Store_GetTalkgroupsWithAllTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_GetTalkgroupsWithAllTags_Call
- func (_c *Store_GetTalkgroupsWithAllTags_Call) RunAndReturn(...) *Store_GetTalkgroupsWithAllTags_Call
- type Store_GetTalkgroupsWithAnyTags_Call
- func (_c *Store_GetTalkgroupsWithAnyTags_Call) Return(getTalkgroupsWithAnyTagsRows []database.GetTalkgroupsWithAnyTagsRow, err error) *Store_GetTalkgroupsWithAnyTags_Call
- func (_c *Store_GetTalkgroupsWithAnyTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_GetTalkgroupsWithAnyTags_Call
- func (_c *Store_GetTalkgroupsWithAnyTags_Call) RunAndReturn(...) *Store_GetTalkgroupsWithAnyTags_Call
- type Store_GetTalkgroups_Call
- func (_c *Store_GetTalkgroups_Call) Return(getTalkgroupsRows []database.GetTalkgroupsRow, err error) *Store_GetTalkgroups_Call
- func (_c *Store_GetTalkgroups_Call) Run(run func(ctx context.Context, system *int32, withIgnored bool, filter *string)) *Store_GetTalkgroups_Call
- func (_c *Store_GetTalkgroups_Call) RunAndReturn(...) *Store_GetTalkgroups_Call
- type Store_GetTranscriptsContext_Call
- func (_c *Store_GetTranscriptsContext_Call) Return(getTranscriptsContextRows []database.GetTranscriptsContextRow, err error) *Store_GetTranscriptsContext_Call
- func (_c *Store_GetTranscriptsContext_Call) Run(run func(ctx context.Context, arg database.GetTranscriptsContextParams)) *Store_GetTranscriptsContext_Call
- func (_c *Store_GetTranscriptsContext_Call) RunAndReturn(...) *Store_GetTranscriptsContext_Call
- type Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) Return(user database.User, err error) *Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) Run(run func(ctx context.Context, id int)) *Store_GetUserByID_Call
- func (_c *Store_GetUserByID_Call) RunAndReturn(run func(ctx context.Context, id int) (database.User, error)) *Store_GetUserByID_Call
- type Store_GetUserByUsername_Call
- func (_c *Store_GetUserByUsername_Call) Return(user database.User, err error) *Store_GetUserByUsername_Call
- func (_c *Store_GetUserByUsername_Call) Run(run func(ctx context.Context, username string)) *Store_GetUserByUsername_Call
- func (_c *Store_GetUserByUsername_Call) RunAndReturn(run func(ctx context.Context, username string) (database.User, error)) *Store_GetUserByUsername_Call
- type Store_GetUsers_Call
- func (_c *Store_GetUsers_Call) Return(users []database.User, err error) *Store_GetUsers_Call
- func (_c *Store_GetUsers_Call) Run(run func(ctx context.Context)) *Store_GetUsers_Call
- func (_c *Store_GetUsers_Call) RunAndReturn(run func(ctx context.Context) ([]database.User, error)) *Store_GetUsers_Call
- type Store_GetWebPushSubscriptionsSubscribed_Call
- func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) Return(...) *Store_GetWebPushSubscriptionsSubscribed_Call
- func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetWebPushSubscriptionsSubscribed_Call
- func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) RunAndReturn(...) *Store_GetWebPushSubscriptionsSubscribed_Call
- type Store_InTx_Call
- func (_c *Store_InTx_Call) Return(err error) *Store_InTx_Call
- func (_c *Store_InTx_Call) Run(run func(context1 context.Context, fn func(database.Store) error)) *Store_InTx_Call
- func (_c *Store_InTx_Call) RunAndReturn(run func(context1 context.Context, fn func(database.Store) error) error) *Store_InTx_Call
- type Store_IncrementRefJournal_Call
- func (_c *Store_IncrementRefJournal_Call) Return(err error) *Store_IncrementRefJournal_Call
- func (_c *Store_IncrementRefJournal_Call) Run(run func(ctx context.Context, id int64)) *Store_IncrementRefJournal_Call
- func (_c *Store_IncrementRefJournal_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_IncrementRefJournal_Call
- type Store_ListCallsCount_Call
- func (_c *Store_ListCallsCount_Call) Return(n int64, err error) *Store_ListCallsCount_Call
- func (_c *Store_ListCallsCount_Call) Run(run func(ctx context.Context, arg database.ListCallsCountParams)) *Store_ListCallsCount_Call
- func (_c *Store_ListCallsCount_Call) RunAndReturn(...) *Store_ListCallsCount_Call
- type Store_ListCallsP_Call
- func (_c *Store_ListCallsP_Call) Return(listCallsPRows []database.ListCallsPRow, err error) *Store_ListCallsP_Call
- func (_c *Store_ListCallsP_Call) Run(run func(ctx context.Context, arg database.ListCallsPParams)) *Store_ListCallsP_Call
- func (_c *Store_ListCallsP_Call) RunAndReturn(...) *Store_ListCallsP_Call
- type Store_ListIncidentsCount_Call
- type Store_ListIncidentsP_Call
- func (_c *Store_ListIncidentsP_Call) Return(listIncidentsPRows []database.ListIncidentsPRow, err error) *Store_ListIncidentsP_Call
- func (_c *Store_ListIncidentsP_Call) Run(run func(ctx context.Context, arg database.ListIncidentsPParams)) *Store_ListIncidentsP_Call
- func (_c *Store_ListIncidentsP_Call) RunAndReturn(...) *Store_ListIncidentsP_Call
- type Store_PoolTx_Call
- type Store_PruneAlerts_Call
- func (_c *Store_PruneAlerts_Call) Return(n int64, err error) *Store_PruneAlerts_Call
- func (_c *Store_PruneAlerts_Call) Run(run func(ctx context.Context, before time.Time)) *Store_PruneAlerts_Call
- func (_c *Store_PruneAlerts_Call) RunAndReturn(run func(ctx context.Context, before time.Time) (int64, error)) *Store_PruneAlerts_Call
- type Store_PruneShares_Call
- type Store_RecordUserLogin_Call
- func (_c *Store_RecordUserLogin_Call) Return(err error) *Store_RecordUserLogin_Call
- func (_c *Store_RecordUserLogin_Call) Run(run func(ctx context.Context, username string, lastLoginAt *time.Time, ...)) *Store_RecordUserLogin_Call
- func (_c *Store_RecordUserLogin_Call) RunAndReturn(...) *Store_RecordUserLogin_Call
- type Store_RemoveFromIncident_Call
- func (_c *Store_RemoveFromIncident_Call) Return(err error) *Store_RemoveFromIncident_Call
- func (_c *Store_RemoveFromIncident_Call) Run(run func(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID)) *Store_RemoveFromIncident_Call
- func (_c *Store_RemoveFromIncident_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID) error) *Store_RemoveFromIncident_Call
- type Store_RestoreTalkgroupVersion_Call
- func (_c *Store_RestoreTalkgroupVersion_Call) Return(talkgroup database.Talkgroup, err error) *Store_RestoreTalkgroupVersion_Call
- func (_c *Store_RestoreTalkgroupVersion_Call) Run(run func(ctx context.Context, versionIds int)) *Store_RestoreTalkgroupVersion_Call
- func (_c *Store_RestoreTalkgroupVersion_Call) RunAndReturn(run func(ctx context.Context, versionIds int) (database.Talkgroup, error)) *Store_RestoreTalkgroupVersion_Call
- type Store_SetAppPrefs_Call
- func (_c *Store_SetAppPrefs_Call) Return(err error) *Store_SetAppPrefs_Call
- func (_c *Store_SetAppPrefs_Call) Run(run func(ctx context.Context, appName string, prefs []byte, uid int)) *Store_SetAppPrefs_Call
- func (_c *Store_SetAppPrefs_Call) RunAndReturn(run func(ctx context.Context, appName string, prefs []byte, uid int) error) *Store_SetAppPrefs_Call
- type Store_SetCallAudio_Call
- type Store_SetCallTranscript_Call
- func (_c *Store_SetCallTranscript_Call) Return(setCallTranscriptRow database.SetCallTranscriptRow, err error) *Store_SetCallTranscript_Call
- func (_c *Store_SetCallTranscript_Call) Run(run func(ctx context.Context, iD uuid.UUID, transcript *string)) *Store_SetCallTranscript_Call
- func (_c *Store_SetCallTranscript_Call) RunAndReturn(...) *Store_SetCallTranscript_Call
- type Store_SetRefJournalPrune_Call
- func (_c *Store_SetRefJournalPrune_Call) Return(err error) *Store_SetRefJournalPrune_Call
- func (_c *Store_SetRefJournalPrune_Call) Run(run func(ctx context.Context, iD int64, pruneAfter *time.Time)) *Store_SetRefJournalPrune_Call
- func (_c *Store_SetRefJournalPrune_Call) RunAndReturn(run func(ctx context.Context, iD int64, pruneAfter *time.Time) error) *Store_SetRefJournalPrune_Call
- type Store_SetSetting_Call
- type Store_SetSweptAudioAndClearRef_Call
- func (_c *Store_SetSweptAudioAndClearRef_Call) Return(err error) *Store_SetSweptAudioAndClearRef_Call
- func (_c *Store_SetSweptAudioAndClearRef_Call) Run(run func(ctx context.Context, audioBlob []byte, iD uuid.UUID)) *Store_SetSweptAudioAndClearRef_Call
- func (_c *Store_SetSweptAudioAndClearRef_Call) RunAndReturn(run func(ctx context.Context, audioBlob []byte, iD uuid.UUID) error) *Store_SetSweptAudioAndClearRef_Call
- type Store_SetSweptCallAudio_Call
- func (_c *Store_SetSweptCallAudio_Call) Return(err error) *Store_SetSweptCallAudio_Call
- func (_c *Store_SetSweptCallAudio_Call) Run(run func(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte)) *Store_SetSweptCallAudio_Call
- func (_c *Store_SetSweptCallAudio_Call) RunAndReturn(...) *Store_SetSweptCallAudio_Call
- type Store_SetTalkgroupTags_Call
- func (_c *Store_SetTalkgroupTags_Call) Return(err error) *Store_SetTalkgroupTags_Call
- func (_c *Store_SetTalkgroupTags_Call) Run(run func(ctx context.Context, tags []string, systemID int32, tGID int32)) *Store_SetTalkgroupTags_Call
- func (_c *Store_SetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, tags []string, systemID int32, tGID int32) error) *Store_SetTalkgroupTags_Call
- type Store_StoreDeletedTGVersion_Call
- func (_c *Store_StoreDeletedTGVersion_Call) Return(err error) *Store_StoreDeletedTGVersion_Call
- func (_c *Store_StoreDeletedTGVersion_Call) Run(run func(ctx context.Context, systemID *int32, tGID *int32, submitter *int32)) *Store_StoreDeletedTGVersion_Call
- func (_c *Store_StoreDeletedTGVersion_Call) RunAndReturn(...) *Store_StoreDeletedTGVersion_Call
- type Store_StoreTGVersion_Call
- func (_c *Store_StoreTGVersion_Call) Return(storeTGVersionBatchResults *database.StoreTGVersionBatchResults) *Store_StoreTGVersion_Call
- func (_c *Store_StoreTGVersion_Call) Run(run func(ctx context.Context, arg []database.StoreTGVersionParams)) *Store_StoreTGVersion_Call
- func (_c *Store_StoreTGVersion_Call) RunAndReturn(...) *Store_StoreTGVersion_Call
- type Store_SubscribeSystems_Call
- func (_c *Store_SubscribeSystems_Call) Return(err error) *Store_SubscribeSystems_Call
- func (_c *Store_SubscribeSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_SubscribeSystems_Call
- func (_c *Store_SubscribeSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) error) *Store_SubscribeSystems_Call
- type Store_SubscribeTalkgroups_Call
- func (_c *Store_SubscribeTalkgroups_Call) Return(err error) *Store_SubscribeTalkgroups_Call
- func (_c *Store_SubscribeTalkgroups_Call) Run(run func(ctx context.Context, userID int, systemIds []int32, tgids []int32)) *Store_SubscribeTalkgroups_Call
- func (_c *Store_SubscribeTalkgroups_Call) RunAndReturn(...) *Store_SubscribeTalkgroups_Call
- type Store_SweepCalls_Call
- type Store_UnsubscribeAllSystems_Call
- func (_c *Store_UnsubscribeAllSystems_Call) Return(n int64, err error) *Store_UnsubscribeAllSystems_Call
- func (_c *Store_UnsubscribeAllSystems_Call) Run(run func(ctx context.Context, userID int)) *Store_UnsubscribeAllSystems_Call
- func (_c *Store_UnsubscribeAllSystems_Call) RunAndReturn(run func(ctx context.Context, userID int) (int64, error)) *Store_UnsubscribeAllSystems_Call
- type Store_UnsubscribeAllTalkgroups_Call
- func (_c *Store_UnsubscribeAllTalkgroups_Call) Return(n int64, err error) *Store_UnsubscribeAllTalkgroups_Call
- func (_c *Store_UnsubscribeAllTalkgroups_Call) Run(run func(ctx context.Context, userID int)) *Store_UnsubscribeAllTalkgroups_Call
- func (_c *Store_UnsubscribeAllTalkgroups_Call) RunAndReturn(run func(ctx context.Context, userID int) (int64, error)) *Store_UnsubscribeAllTalkgroups_Call
- type Store_UnsubscribeSystems_Call
- func (_c *Store_UnsubscribeSystems_Call) Return(n int64, err error) *Store_UnsubscribeSystems_Call
- func (_c *Store_UnsubscribeSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_UnsubscribeSystems_Call
- func (_c *Store_UnsubscribeSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) (int64, error)) *Store_UnsubscribeSystems_Call
- type Store_UnsubscribeTGsInSystems_Call
- func (_c *Store_UnsubscribeTGsInSystems_Call) Return(n int64, err error) *Store_UnsubscribeTGsInSystems_Call
- func (_c *Store_UnsubscribeTGsInSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_UnsubscribeTGsInSystems_Call
- func (_c *Store_UnsubscribeTGsInSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) (int64, error)) *Store_UnsubscribeTGsInSystems_Call
- type Store_UnsubscribeTalkgroups_Call
- func (_c *Store_UnsubscribeTalkgroups_Call) Return(n int64, err error) *Store_UnsubscribeTalkgroups_Call
- func (_c *Store_UnsubscribeTalkgroups_Call) Run(run func(ctx context.Context, userID int, tgs []database.TGID)) *Store_UnsubscribeTalkgroups_Call
- func (_c *Store_UnsubscribeTalkgroups_Call) RunAndReturn(run func(ctx context.Context, userID int, tgs []database.TGID) (int64, error)) *Store_UnsubscribeTalkgroups_Call
- type Store_UpdateCallIncidentNotes_Call
- type Store_UpdateIncident_Call
- func (_c *Store_UpdateIncident_Call) Return(incident database.Incident, err error) *Store_UpdateIncident_Call
- func (_c *Store_UpdateIncident_Call) Run(run func(ctx context.Context, arg database.UpdateIncidentParams)) *Store_UpdateIncident_Call
- func (_c *Store_UpdateIncident_Call) RunAndReturn(...) *Store_UpdateIncident_Call
- type Store_UpdatePassword_Call
- func (_c *Store_UpdatePassword_Call) Return(err error) *Store_UpdatePassword_Call
- func (_c *Store_UpdatePassword_Call) Run(run func(ctx context.Context, username string, password string)) *Store_UpdatePassword_Call
- func (_c *Store_UpdatePassword_Call) RunAndReturn(run func(ctx context.Context, username string, password string) error) *Store_UpdatePassword_Call
- type Store_UpdatePushSubscription_Call
- func (_c *Store_UpdatePushSubscription_Call) Return(n int64, err error) *Store_UpdatePushSubscription_Call
- func (_c *Store_UpdatePushSubscription_Call) Run(run func(ctx context.Context, newSubscription []byte, userID int, ...)) *Store_UpdatePushSubscription_Call
- func (_c *Store_UpdatePushSubscription_Call) RunAndReturn(...) *Store_UpdatePushSubscription_Call
- type Store_UpdateTalkgroup_Call
- func (_c *Store_UpdateTalkgroup_Call) Return(talkgroup database.Talkgroup, err error) *Store_UpdateTalkgroup_Call
- func (_c *Store_UpdateTalkgroup_Call) Run(run func(ctx context.Context, arg database.UpdateTalkgroupParams)) *Store_UpdateTalkgroup_Call
- func (_c *Store_UpdateTalkgroup_Call) RunAndReturn(...) *Store_UpdateTalkgroup_Call
- type Store_UpdateUser_Call
- type Store_UpsertTalkgroup_Call
- func (_c *Store_UpsertTalkgroup_Call) Return(upsertTalkgroupBatchResults *database.UpsertTalkgroupBatchResults) *Store_UpsertTalkgroup_Call
- func (_c *Store_UpsertTalkgroup_Call) Run(run func(ctx context.Context, arg []database.UpsertTalkgroupParams)) *Store_UpsertTalkgroup_Call
- func (_c *Store_UpsertTalkgroup_Call) RunAndReturn(...) *Store_UpsertTalkgroup_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBTX ¶
DBTX is an autogenerated mock type for the DBTX type
func NewDBTX ¶
NewDBTX creates a new instance of DBTX. 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 (*DBTX) EXPECT ¶
func (_m *DBTX) EXPECT() *DBTX_Expecter
func (*DBTX) Exec ¶
func (_mock *DBTX) Exec(context1 context.Context, s string, ifaceVals ...interface{}) (pgconn.CommandTag, error)
Exec provides a mock function for the type DBTX
func (*DBTX) Query ¶
func (_mock *DBTX) Query(context1 context.Context, s string, ifaceVals ...interface{}) (pgx.Rows, error)
Query provides a mock function for the type DBTX
type DBTX_Exec_Call ¶
DBTX_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*DBTX_Exec_Call) Return ¶
func (_c *DBTX_Exec_Call) Return(commandTag pgconn.CommandTag, err error) *DBTX_Exec_Call
func (*DBTX_Exec_Call) Run ¶
func (_c *DBTX_Exec_Call) Run(run func(context1 context.Context, s string, ifaceVals ...interface{})) *DBTX_Exec_Call
func (*DBTX_Exec_Call) RunAndReturn ¶
func (_c *DBTX_Exec_Call) RunAndReturn(run func(context1 context.Context, s string, ifaceVals ...interface{}) (pgconn.CommandTag, error)) *DBTX_Exec_Call
type DBTX_Expecter ¶
type DBTX_Expecter struct {
// contains filtered or unexported fields
}
func (*DBTX_Expecter) Exec ¶
func (_e *DBTX_Expecter) Exec(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_Exec_Call
Exec is a helper method to define mock.On call
- context1 context.Context
- s string
- ifaceVals ...interface{}
func (*DBTX_Expecter) Query ¶
func (_e *DBTX_Expecter) Query(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_Query_Call
Query is a helper method to define mock.On call
- context1 context.Context
- s string
- ifaceVals ...interface{}
func (*DBTX_Expecter) QueryRow ¶
func (_e *DBTX_Expecter) QueryRow(context1 interface{}, s interface{}, ifaceVals ...interface{}) *DBTX_QueryRow_Call
QueryRow is a helper method to define mock.On call
- context1 context.Context
- s string
- ifaceVals ...interface{}
func (*DBTX_Expecter) SendBatch ¶
func (_e *DBTX_Expecter) SendBatch(context1 interface{}, batch interface{}) *DBTX_SendBatch_Call
SendBatch is a helper method to define mock.On call
- context1 context.Context
- batch *pgx.Batch
type DBTX_QueryRow_Call ¶
DBTX_QueryRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRow'
func (*DBTX_QueryRow_Call) Return ¶
func (_c *DBTX_QueryRow_Call) Return(row pgx.Row) *DBTX_QueryRow_Call
func (*DBTX_QueryRow_Call) Run ¶
func (_c *DBTX_QueryRow_Call) Run(run func(context1 context.Context, s string, ifaceVals ...interface{})) *DBTX_QueryRow_Call
func (*DBTX_QueryRow_Call) RunAndReturn ¶
func (_c *DBTX_QueryRow_Call) RunAndReturn(run func(context1 context.Context, s string, ifaceVals ...interface{}) pgx.Row) *DBTX_QueryRow_Call
type DBTX_Query_Call ¶
DBTX_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*DBTX_Query_Call) Return ¶
func (_c *DBTX_Query_Call) Return(rows pgx.Rows, err error) *DBTX_Query_Call
func (*DBTX_Query_Call) Run ¶
func (_c *DBTX_Query_Call) Run(run func(context1 context.Context, s string, ifaceVals ...interface{})) *DBTX_Query_Call
func (*DBTX_Query_Call) RunAndReturn ¶
func (_c *DBTX_Query_Call) RunAndReturn(run func(context1 context.Context, s string, ifaceVals ...interface{}) (pgx.Rows, error)) *DBTX_Query_Call
type DBTX_SendBatch_Call ¶
DBTX_SendBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendBatch'
func (*DBTX_SendBatch_Call) Return ¶
func (_c *DBTX_SendBatch_Call) Return(batchResults pgx.BatchResults) *DBTX_SendBatch_Call
func (*DBTX_SendBatch_Call) Run ¶
func (_c *DBTX_SendBatch_Call) Run(run func(context1 context.Context, batch *pgx.Batch)) *DBTX_SendBatch_Call
func (*DBTX_SendBatch_Call) RunAndReturn ¶
func (_c *DBTX_SendBatch_Call) RunAndReturn(run func(context1 context.Context, batch *pgx.Batch) pgx.BatchResults) *DBTX_SendBatch_Call
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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 (*Store) AddLearnedTalkgroup ¶
func (_mock *Store) AddLearnedTalkgroup(ctx context.Context, arg database.AddLearnedTalkgroupParams) (database.Talkgroup, error)
AddLearnedTalkgroup provides a mock function for the type Store
func (*Store) AddRefJournal ¶
func (_mock *Store) AddRefJournal(ctx context.Context, arg database.AddRefJournalParams) (int64, error)
AddRefJournal provides a mock function for the type Store
func (*Store) AddToIncident ¶
func (_mock *Store) AddToIncident(ctx context.Context, incidentID uuid.UUID, callIds []uuid.UUID, notes [][]byte) error
AddToIncident provides a mock function for the type Store
func (*Store) BulkSetTalkgroupTags ¶
func (_mock *Store) BulkSetTalkgroupTags(ctx context.Context, tgs database.TGTuplesU, tags []string) error
BulkSetTalkgroupTags provides a mock function for the type Store
func (*Store) CallInIncident ¶
func (_mock *Store) CallInIncident(ctx context.Context, incidentID uuid.UUID, callID uuid.UUID) (bool, error)
CallInIncident provides a mock function for the type Store
func (*Store) CleanupSweptCalls ¶
func (_mock *Store) CleanupSweptCalls(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)
CleanupSweptCalls provides a mock function for the type Store
func (*Store) CopyIntoFsckTempTable ¶
func (_mock *Store) CopyIntoFsckTempTable(ctx context.Context, tableName string, ids iter.Seq[uuid.UUID], progressChan chan<- int64) (int64, error)
CopyIntoFsckTempTable provides a mock function for the type Store
func (*Store) CountRefJournal ¶
func (_mock *Store) CountRefJournal(ctx context.Context, missing *bool, since *time.Time, until *time.Time) (int64, error)
CountRefJournal provides a mock function for the type Store
func (*Store) CreateAPIKey ¶
CreateAPIKey provides a mock function for the type Store
func (*Store) CreateFsckTempTable ¶
CreateFsckTempTable provides a mock function for the type Store
func (*Store) CreateIncident ¶
func (_mock *Store) CreateIncident(ctx context.Context, arg database.CreateIncidentParams) (database.Incident, error)
CreateIncident provides a mock function for the type Store
func (*Store) CreatePartition ¶
func (_mock *Store) CreatePartition(ctx context.Context, parentTable string, partitionName string, start time.Time, end time.Time) error
CreatePartition provides a mock function for the type Store
func (*Store) CreateShare ¶
CreateShare provides a mock function for the type Store
func (*Store) CreateSystem ¶
CreateSystem provides a mock function for the type Store
func (*Store) CreateUser ¶
func (_mock *Store) CreateUser(ctx context.Context, arg database.CreateUserParams) (database.User, error)
CreateUser provides a mock function for the type Store
func (*Store) CreateWebPushSubscription ¶
func (_mock *Store) CreateWebPushSubscription(ctx context.Context, arg database.CreateWebPushSubscriptionParams) error
CreateWebPushSubscription provides a mock function for the type Store
func (*Store) DeleteAPIKey ¶
DeleteAPIKey provides a mock function for the type Store
func (*Store) DeleteCall ¶
DeleteCall provides a mock function for the type Store
func (*Store) DeleteExpiredPushSubscriptions ¶
DeleteExpiredPushSubscriptions provides a mock function for the type Store
func (*Store) DeleteIncident ¶
DeleteIncident provides a mock function for the type Store
func (*Store) DeletePushSubscriptionByID ¶
DeletePushSubscriptionByID provides a mock function for the type Store
func (*Store) DeletePushSubscriptionBySub ¶
DeletePushSubscriptionBySub provides a mock function for the type Store
func (*Store) DeleteSetting ¶
DeleteSetting provides a mock function for the type Store
func (*Store) DeleteShare ¶
DeleteShare provides a mock function for the type Store
func (*Store) DeleteSystem ¶
DeleteSystem provides a mock function for the type Store
func (*Store) DeleteTalkgroup ¶
DeleteTalkgroup provides a mock function for the type Store
func (*Store) DeleteUser ¶
DeleteUser provides a mock function for the type Store
func (*Store) DetachPartition ¶
func (_mock *Store) DetachPartition(ctx context.Context, parentTable string, partitionName string) error
DetachPartition provides a mock function for the type Store
func (*Store) DetailedCountRefJournal ¶
func (_mock *Store) DetailedCountRefJournal(ctx context.Context) ([]database.DetailedCountRefJournalRow, error)
DetailedCountRefJournal provides a mock function for the type Store
func (*Store) DisableUser ¶
DisableUser provides a mock function for the type Store
func (*Store) DropPartition ¶
DropPartition provides a mock function for the type Store
func (*Store) DropRefJournal ¶
DropRefJournal provides a mock function for the type Store
func (*Store) EXPECT ¶
func (_m *Store) EXPECT() *Store_Expecter
func (*Store) GetAPIKey ¶
func (_mock *Store) GetAPIKey(ctx context.Context, key *string, jwtID pgtype.UUID, kind int) (database.GetAPIKeyRow, error)
GetAPIKey provides a mock function for the type Store
func (*Store) GetAlertByURLTag ¶
GetAlertByURLTag provides a mock function for the type Store
func (*Store) GetAllTalkgroupTags ¶
GetAllTalkgroupTags provides a mock function for the type Store
func (*Store) GetAppPrefs ¶
GetAppPrefs provides a mock function for the type Store
func (*Store) GetAudioRefJournalCb ¶
func (_mock *Store) GetAudioRefJournalCb(ctx context.Context, arg database.GetRefJournalParams, sendEntry func(database.AudioRefJournal)) error
GetAudioRefJournalCb provides a mock function for the type Store
func (*Store) GetCallAudio ¶
func (_mock *Store) GetCallAudio(ctx context.Context, arg database.GetCallAudioParams) ([]database.GetCallAudioRow, error)
GetCallAudio provides a mock function for the type Store
func (*Store) GetCallAudioByID ¶
func (_mock *Store) GetCallAudioByID(ctx context.Context, id uuid.UUID) (database.GetCallAudioByIDRow, error)
GetCallAudioByID provides a mock function for the type Store
func (*Store) GetCallAudioCb ¶
func (_mock *Store) GetCallAudioCb(ctx context.Context, arg database.GetCallAudioParams, cb func(*database.GetCallAudioRow) error) error
GetCallAudioCb provides a mock function for the type Store
func (*Store) GetCallAudioCount ¶
func (_mock *Store) GetCallAudioCount(ctx context.Context, arg database.GetCallAudioParams) (int64, error)
GetCallAudioCount provides a mock function for the type Store
func (*Store) GetCallStatsByInterval ¶
func (_mock *Store) GetCallStatsByInterval(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByIntervalRow, error)
GetCallStatsByInterval provides a mock function for the type Store
func (*Store) GetCallStatsByTalkgroup ¶
func (_mock *Store) GetCallStatsByTalkgroup(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByTalkgroupRow, error)
GetCallStatsByTalkgroup provides a mock function for the type Store
func (*Store) GetCallSubmitter ¶
GetCallSubmitter provides a mock function for the type Store
func (*Store) GetDatabaseSize ¶
GetDatabaseSize provides a mock function for the type Store
func (*Store) GetIncident ¶
GetIncident provides a mock function for the type Store
func (*Store) GetIncidentCallCount ¶
GetIncidentCallCount provides a mock function for the type Store
func (*Store) GetIncidentCalls ¶
func (_mock *Store) GetIncidentCalls(ctx context.Context, iD uuid.UUID, offset int32, perPage *int32) ([]database.GetIncidentCallsRow, error)
GetIncidentCalls provides a mock function for the type Store
func (*Store) GetIncidentOwner ¶
GetIncidentOwner provides a mock function for the type Store
func (*Store) GetIncidentTalkgroups ¶
func (_mock *Store) GetIncidentTalkgroups(ctx context.Context, incidentID uuid.UUID) ([]database.GetIncidentTalkgroupsRow, error)
GetIncidentTalkgroups provides a mock function for the type Store
func (*Store) GetPrunableAudioRefs ¶
func (_mock *Store) GetPrunableAudioRefs(ctx context.Context, partitionStart time.Time, partitionEnd time.Time) ([]database.GetPrunableAudioRefsRow, error)
GetPrunableAudioRefs provides a mock function for the type Store
func (*Store) GetPushSubscriptions ¶
func (_mock *Store) GetPushSubscriptions(ctx context.Context) ([]database.GetPushSubscriptionsRow, error)
GetPushSubscriptions provides a mock function for the type Store
func (*Store) GetRefJournal ¶
func (_mock *Store) GetRefJournal(ctx context.Context, arg database.GetRefJournalParams) ([]database.AudioRefJournal, error)
GetRefJournal provides a mock function for the type Store
func (*Store) GetSetting ¶
GetSetting provides a mock function for the type Store
func (*Store) GetSharesP ¶
func (_mock *Store) GetSharesP(ctx context.Context, arg database.GetSharesPParams) ([]database.GetSharesPRow, error)
GetSharesP provides a mock function for the type Store
func (*Store) GetSharesPCount ¶
GetSharesPCount provides a mock function for the type Store
func (*Store) GetSweptCallsWithRef ¶
func (_mock *Store) GetSweptCallsWithRef(ctx context.Context) ([]database.GetSweptCallsWithRefRow, error)
GetSweptCallsWithRef provides a mock function for the type Store
func (*Store) GetSystemName ¶
GetSystemName provides a mock function for the type Store
func (*Store) GetSystemSubscriptions ¶
GetSystemSubscriptions provides a mock function for the type Store
func (*Store) GetTablePartitions ¶
func (_mock *Store) GetTablePartitions(ctx context.Context, schemaName string, tableName string) ([]database.PartitionResult, error)
GetTablePartitions provides a mock function for the type Store
func (*Store) GetTalkgroup ¶
func (_mock *Store) GetTalkgroup(ctx context.Context, systemID int32, tGID int32) (database.GetTalkgroupRow, error)
GetTalkgroup provides a mock function for the type Store
func (*Store) GetTalkgroupIDsByTags ¶
func (_mock *Store) GetTalkgroupIDsByTags(ctx context.Context, allTags []string, anyTags []string, notAnyTags []string) ([]database.GetTalkgroupIDsByTagsRow, error)
GetTalkgroupIDsByTags provides a mock function for the type Store
func (*Store) GetTalkgroupSubscriptions ¶
func (_mock *Store) GetTalkgroupSubscriptions(ctx context.Context, userID int) ([]database.GetTalkgroupSubscriptionsRow, error)
GetTalkgroupSubscriptions provides a mock function for the type Store
func (*Store) GetTalkgroupTags ¶
func (_mock *Store) GetTalkgroupTags(ctx context.Context, systemID int32, tGID int32) ([]string, error)
GetTalkgroupTags provides a mock function for the type Store
func (*Store) GetTalkgroups ¶
func (_mock *Store) GetTalkgroups(ctx context.Context, system *int32, withIgnored bool, filter *string) ([]database.GetTalkgroupsRow, error)
GetTalkgroups provides a mock function for the type Store
func (*Store) GetTalkgroupsBySysTGID ¶
func (_mock *Store) GetTalkgroupsBySysTGID(ctx context.Context, ids database.TGTuplesU) ([]database.GetTalkgroupsRow, error)
GetTalkgroupsBySysTGID provides a mock function for the type Store
func (*Store) GetTalkgroupsCount ¶
func (_mock *Store) GetTalkgroupsCount(ctx context.Context, system *int32, withIgnored bool, filter *string) (int64, error)
GetTalkgroupsCount provides a mock function for the type Store
func (*Store) GetTalkgroupsP ¶
func (_mock *Store) GetTalkgroupsP(ctx context.Context, arg database.GetTalkgroupsPParams) ([]database.GetTalkgroupsPRow, error)
GetTalkgroupsP provides a mock function for the type Store
func (*Store) GetTalkgroupsWithAllTags ¶
func (_mock *Store) GetTalkgroupsWithAllTags(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAllTagsRow, error)
GetTalkgroupsWithAllTags provides a mock function for the type Store
func (*Store) GetTalkgroupsWithAnyTags ¶
func (_mock *Store) GetTalkgroupsWithAnyTags(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAnyTagsRow, error)
GetTalkgroupsWithAnyTags provides a mock function for the type Store
func (*Store) GetTranscriptsContext ¶
func (_mock *Store) GetTranscriptsContext(ctx context.Context, arg database.GetTranscriptsContextParams) ([]database.GetTranscriptsContextRow, error)
GetTranscriptsContext provides a mock function for the type Store
func (*Store) GetUserByID ¶
GetUserByID provides a mock function for the type Store
func (*Store) GetUserByUsername ¶
GetUserByUsername provides a mock function for the type Store
func (*Store) GetWebPushSubscriptionsSubscribed ¶
func (_mock *Store) GetWebPushSubscriptionsSubscribed(ctx context.Context, systemID int32, tGID int32) ([]database.GetWebPushSubscriptionsSubscribedRow, error)
GetWebPushSubscriptionsSubscribed provides a mock function for the type Store
func (*Store) IncrementRefJournal ¶
IncrementRefJournal provides a mock function for the type Store
func (*Store) ListCallsCount ¶
func (_mock *Store) ListCallsCount(ctx context.Context, arg database.ListCallsCountParams) (int64, error)
ListCallsCount provides a mock function for the type Store
func (*Store) ListCallsP ¶
func (_mock *Store) ListCallsP(ctx context.Context, arg database.ListCallsPParams) ([]database.ListCallsPRow, error)
ListCallsP provides a mock function for the type Store
func (*Store) ListIncidentsCount ¶
func (_mock *Store) ListIncidentsCount(ctx context.Context, start *time.Time, end *time.Time, filter *string) (int64, error)
ListIncidentsCount provides a mock function for the type Store
func (*Store) ListIncidentsP ¶
func (_mock *Store) ListIncidentsP(ctx context.Context, arg database.ListIncidentsPParams) ([]database.ListIncidentsPRow, error)
ListIncidentsP provides a mock function for the type Store
func (*Store) PoolTx ¶
func (_mock *Store) PoolTx(ctx context.Context, opts pgx.TxOptions) (*database.Postgres, pgx.Tx, error)
PoolTx provides a mock function for the type Store
func (*Store) PruneAlerts ¶
PruneAlerts provides a mock function for the type Store
func (*Store) PruneShares ¶
PruneShares provides a mock function for the type Store
func (*Store) RecordUserLogin ¶
func (_mock *Store) RecordUserLogin(ctx context.Context, username string, lastLoginAt *time.Time, lastLoginFrom *netip.Addr) error
RecordUserLogin provides a mock function for the type Store
func (*Store) RemoveFromIncident ¶
func (_mock *Store) RemoveFromIncident(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID) error
RemoveFromIncident provides a mock function for the type Store
func (*Store) RestoreTalkgroupVersion ¶
func (_mock *Store) RestoreTalkgroupVersion(ctx context.Context, versionIds int) (database.Talkgroup, error)
RestoreTalkgroupVersion provides a mock function for the type Store
func (*Store) SetAppPrefs ¶
SetAppPrefs provides a mock function for the type Store
func (*Store) SetCallAudio ¶
func (_mock *Store) SetCallAudio(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error
SetCallAudio provides a mock function for the type Store
func (*Store) SetCallTranscript ¶
func (_mock *Store) SetCallTranscript(ctx context.Context, iD uuid.UUID, transcript *string) (database.SetCallTranscriptRow, error)
SetCallTranscript provides a mock function for the type Store
func (*Store) SetRefJournalPrune ¶
SetRefJournalPrune provides a mock function for the type Store
func (*Store) SetSetting ¶
func (_mock *Store) SetSetting(ctx context.Context, name string, updatedBy *int32, value []byte) error
SetSetting provides a mock function for the type Store
func (*Store) SetSweptAudioAndClearRef ¶
func (_mock *Store) SetSweptAudioAndClearRef(ctx context.Context, audioBlob []byte, iD uuid.UUID) error
SetSweptAudioAndClearRef provides a mock function for the type Store
func (*Store) SetSweptCallAudio ¶
func (_mock *Store) SetSweptCallAudio(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error
SetSweptCallAudio provides a mock function for the type Store
func (*Store) SetTalkgroupTags ¶
func (_mock *Store) SetTalkgroupTags(ctx context.Context, tags []string, systemID int32, tGID int32) error
SetTalkgroupTags provides a mock function for the type Store
func (*Store) StoreDeletedTGVersion ¶
func (_mock *Store) StoreDeletedTGVersion(ctx context.Context, systemID *int32, tGID *int32, submitter *int32) error
StoreDeletedTGVersion provides a mock function for the type Store
func (*Store) StoreTGVersion ¶
func (_mock *Store) StoreTGVersion(ctx context.Context, arg []database.StoreTGVersionParams) *database.StoreTGVersionBatchResults
StoreTGVersion provides a mock function for the type Store
func (*Store) SubscribeSystems ¶
SubscribeSystems provides a mock function for the type Store
func (*Store) SubscribeTalkgroups ¶
func (_mock *Store) SubscribeTalkgroups(ctx context.Context, userID int, systemIds []int32, tgids []int32) error
SubscribeTalkgroups provides a mock function for the type Store
func (*Store) SweepCalls ¶
func (_mock *Store) SweepCalls(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)
SweepCalls provides a mock function for the type Store
func (*Store) UnsubscribeAllSystems ¶
UnsubscribeAllSystems provides a mock function for the type Store
func (*Store) UnsubscribeAllTalkgroups ¶
UnsubscribeAllTalkgroups provides a mock function for the type Store
func (*Store) UnsubscribeSystems ¶
func (_mock *Store) UnsubscribeSystems(ctx context.Context, userID int, systemIds []int32) (int64, error)
UnsubscribeSystems provides a mock function for the type Store
func (*Store) UnsubscribeTGsInSystems ¶
func (_mock *Store) UnsubscribeTGsInSystems(ctx context.Context, userID int, systemIds []int32) (int64, error)
UnsubscribeTGsInSystems provides a mock function for the type Store
func (*Store) UnsubscribeTalkgroups ¶
func (_mock *Store) UnsubscribeTalkgroups(ctx context.Context, userID int, tgs []database.TGID) (int64, error)
UnsubscribeTalkgroups provides a mock function for the type Store
func (*Store) UpdateCallIncidentNotes ¶
func (_mock *Store) UpdateCallIncidentNotes(ctx context.Context, notes []byte, incidentID uuid.UUID, callID uuid.UUID) error
UpdateCallIncidentNotes provides a mock function for the type Store
func (*Store) UpdateIncident ¶
func (_mock *Store) UpdateIncident(ctx context.Context, arg database.UpdateIncidentParams) (database.Incident, error)
UpdateIncident provides a mock function for the type Store
func (*Store) UpdatePassword ¶
UpdatePassword provides a mock function for the type Store
func (*Store) UpdatePushSubscription ¶
func (_mock *Store) UpdatePushSubscription(ctx context.Context, newSubscription []byte, userID int, oldSubscription []byte) (int64, error)
UpdatePushSubscription provides a mock function for the type Store
func (*Store) UpdateTalkgroup ¶
func (_mock *Store) UpdateTalkgroup(ctx context.Context, arg database.UpdateTalkgroupParams) (database.Talkgroup, error)
UpdateTalkgroup provides a mock function for the type Store
func (*Store) UpdateUser ¶
func (_mock *Store) UpdateUser(ctx context.Context, arg database.UpdateUserParams) (database.User, error)
UpdateUser provides a mock function for the type Store
func (*Store) UpsertTalkgroup ¶
func (_mock *Store) UpsertTalkgroup(ctx context.Context, arg []database.UpsertTalkgroupParams) *database.UpsertTalkgroupBatchResults
UpsertTalkgroup provides a mock function for the type Store
type Store_AddAlert_Call ¶
Store_AddAlert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAlert'
func (*Store_AddAlert_Call) Return ¶
func (_c *Store_AddAlert_Call) Return(err error) *Store_AddAlert_Call
func (*Store_AddAlert_Call) Run ¶
func (_c *Store_AddAlert_Call) Run(run func(ctx context.Context, arg database.AddAlertParams)) *Store_AddAlert_Call
func (*Store_AddAlert_Call) RunAndReturn ¶
func (_c *Store_AddAlert_Call) RunAndReturn(run func(ctx context.Context, arg database.AddAlertParams) error) *Store_AddAlert_Call
type Store_AddCall_Call ¶
Store_AddCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCall'
func (*Store_AddCall_Call) Return ¶
func (_c *Store_AddCall_Call) Return(err error) *Store_AddCall_Call
func (*Store_AddCall_Call) Run ¶
func (_c *Store_AddCall_Call) Run(run func(ctx context.Context, arg database.AddCallParams)) *Store_AddCall_Call
func (*Store_AddCall_Call) RunAndReturn ¶
func (_c *Store_AddCall_Call) RunAndReturn(run func(ctx context.Context, arg database.AddCallParams) error) *Store_AddCall_Call
type Store_AddLearnedTalkgroup_Call ¶
Store_AddLearnedTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLearnedTalkgroup'
func (*Store_AddLearnedTalkgroup_Call) Return ¶
func (_c *Store_AddLearnedTalkgroup_Call) Return(talkgroup database.Talkgroup, err error) *Store_AddLearnedTalkgroup_Call
func (*Store_AddLearnedTalkgroup_Call) Run ¶
func (_c *Store_AddLearnedTalkgroup_Call) Run(run func(ctx context.Context, arg database.AddLearnedTalkgroupParams)) *Store_AddLearnedTalkgroup_Call
func (*Store_AddLearnedTalkgroup_Call) RunAndReturn ¶
func (_c *Store_AddLearnedTalkgroup_Call) RunAndReturn(run func(ctx context.Context, arg database.AddLearnedTalkgroupParams) (database.Talkgroup, error)) *Store_AddLearnedTalkgroup_Call
type Store_AddRefJournal_Call ¶
Store_AddRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddRefJournal'
func (*Store_AddRefJournal_Call) Return ¶
func (_c *Store_AddRefJournal_Call) Return(n int64, err error) *Store_AddRefJournal_Call
func (*Store_AddRefJournal_Call) Run ¶
func (_c *Store_AddRefJournal_Call) Run(run func(ctx context.Context, arg database.AddRefJournalParams)) *Store_AddRefJournal_Call
func (*Store_AddRefJournal_Call) RunAndReturn ¶
func (_c *Store_AddRefJournal_Call) RunAndReturn(run func(ctx context.Context, arg database.AddRefJournalParams) (int64, error)) *Store_AddRefJournal_Call
type Store_AddToIncident_Call ¶
Store_AddToIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddToIncident'
func (*Store_AddToIncident_Call) Return ¶
func (_c *Store_AddToIncident_Call) Return(err error) *Store_AddToIncident_Call
func (*Store_AddToIncident_Call) Run ¶
func (_c *Store_AddToIncident_Call) Run(run func(ctx context.Context, incidentID uuid.UUID, callIds []uuid.UUID, notes [][]byte)) *Store_AddToIncident_Call
func (*Store_AddToIncident_Call) RunAndReturn ¶
func (_c *Store_AddToIncident_Call) RunAndReturn(run func(ctx context.Context, incidentID uuid.UUID, callIds []uuid.UUID, notes [][]byte) error) *Store_AddToIncident_Call
type Store_BulkSetTalkgroupTags_Call ¶
Store_BulkSetTalkgroupTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkSetTalkgroupTags'
func (*Store_BulkSetTalkgroupTags_Call) Return ¶
func (_c *Store_BulkSetTalkgroupTags_Call) Return(err error) *Store_BulkSetTalkgroupTags_Call
func (*Store_BulkSetTalkgroupTags_Call) Run ¶
func (_c *Store_BulkSetTalkgroupTags_Call) Run(run func(ctx context.Context, tgs database.TGTuplesU, tags []string)) *Store_BulkSetTalkgroupTags_Call
func (*Store_BulkSetTalkgroupTags_Call) RunAndReturn ¶
func (_c *Store_BulkSetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, tgs database.TGTuplesU, tags []string) error) *Store_BulkSetTalkgroupTags_Call
type Store_CallInIncident_Call ¶
Store_CallInIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallInIncident'
func (*Store_CallInIncident_Call) Return ¶
func (_c *Store_CallInIncident_Call) Return(b bool, err error) *Store_CallInIncident_Call
func (*Store_CallInIncident_Call) Run ¶
func (_c *Store_CallInIncident_Call) Run(run func(ctx context.Context, incidentID uuid.UUID, callID uuid.UUID)) *Store_CallInIncident_Call
func (*Store_CallInIncident_Call) RunAndReturn ¶
func (_c *Store_CallInIncident_Call) RunAndReturn(run func(ctx context.Context, incidentID uuid.UUID, callID uuid.UUID) (bool, error)) *Store_CallInIncident_Call
type Store_CleanupSweptCalls_Call ¶
Store_CleanupSweptCalls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanupSweptCalls'
func (*Store_CleanupSweptCalls_Call) Return ¶
func (_c *Store_CleanupSweptCalls_Call) Return(n int64, err error) *Store_CleanupSweptCalls_Call
func (*Store_CleanupSweptCalls_Call) Run ¶
func (_c *Store_CleanupSweptCalls_Call) Run(run func(ctx context.Context, rangeStart time.Time, rangeEnd time.Time)) *Store_CleanupSweptCalls_Call
func (*Store_CleanupSweptCalls_Call) RunAndReturn ¶
func (_c *Store_CleanupSweptCalls_Call) RunAndReturn(run func(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)) *Store_CleanupSweptCalls_Call
type Store_CopyIntoFsckTempTable_Call ¶
Store_CopyIntoFsckTempTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyIntoFsckTempTable'
func (*Store_CopyIntoFsckTempTable_Call) Return ¶
func (_c *Store_CopyIntoFsckTempTable_Call) Return(copied int64, err error) *Store_CopyIntoFsckTempTable_Call
func (*Store_CopyIntoFsckTempTable_Call) Run ¶
func (_c *Store_CopyIntoFsckTempTable_Call) Run(run func(ctx context.Context, tableName string, ids iter.Seq[uuid.UUID], progressChan chan<- int64)) *Store_CopyIntoFsckTempTable_Call
func (*Store_CopyIntoFsckTempTable_Call) RunAndReturn ¶
type Store_CountRefJournal_Call ¶
Store_CountRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountRefJournal'
func (*Store_CountRefJournal_Call) Return ¶
func (_c *Store_CountRefJournal_Call) Return(n int64, err error) *Store_CountRefJournal_Call
func (*Store_CountRefJournal_Call) Run ¶
func (_c *Store_CountRefJournal_Call) Run(run func(ctx context.Context, missing *bool, since *time.Time, until *time.Time)) *Store_CountRefJournal_Call
func (*Store_CountRefJournal_Call) RunAndReturn ¶
type Store_CreateAPIKey_Call ¶
Store_CreateAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAPIKey'
func (*Store_CreateAPIKey_Call) Return ¶
func (_c *Store_CreateAPIKey_Call) Return(err error) *Store_CreateAPIKey_Call
func (*Store_CreateAPIKey_Call) Run ¶
func (_c *Store_CreateAPIKey_Call) Run(run func(ctx context.Context, arg database.CreateAPIKeyParams)) *Store_CreateAPIKey_Call
func (*Store_CreateAPIKey_Call) RunAndReturn ¶
func (_c *Store_CreateAPIKey_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateAPIKeyParams) error) *Store_CreateAPIKey_Call
type Store_CreateFsckTempTable_Call ¶
Store_CreateFsckTempTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFsckTempTable'
func (*Store_CreateFsckTempTable_Call) Return ¶
func (_c *Store_CreateFsckTempTable_Call) Return(tableName string, err error) *Store_CreateFsckTempTable_Call
func (*Store_CreateFsckTempTable_Call) Run ¶
func (_c *Store_CreateFsckTempTable_Call) Run(run func(ctx context.Context)) *Store_CreateFsckTempTable_Call
func (*Store_CreateFsckTempTable_Call) RunAndReturn ¶
func (_c *Store_CreateFsckTempTable_Call) RunAndReturn(run func(ctx context.Context) (string, error)) *Store_CreateFsckTempTable_Call
type Store_CreateIncident_Call ¶
Store_CreateIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateIncident'
func (*Store_CreateIncident_Call) Return ¶
func (_c *Store_CreateIncident_Call) Return(incident database.Incident, err error) *Store_CreateIncident_Call
func (*Store_CreateIncident_Call) Run ¶
func (_c *Store_CreateIncident_Call) Run(run func(ctx context.Context, arg database.CreateIncidentParams)) *Store_CreateIncident_Call
func (*Store_CreateIncident_Call) RunAndReturn ¶
func (_c *Store_CreateIncident_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateIncidentParams) (database.Incident, error)) *Store_CreateIncident_Call
type Store_CreatePartition_Call ¶
Store_CreatePartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePartition'
func (*Store_CreatePartition_Call) Return ¶
func (_c *Store_CreatePartition_Call) Return(err error) *Store_CreatePartition_Call
func (*Store_CreatePartition_Call) Run ¶
func (_c *Store_CreatePartition_Call) Run(run func(ctx context.Context, parentTable string, partitionName string, start time.Time, end time.Time)) *Store_CreatePartition_Call
func (*Store_CreatePartition_Call) RunAndReturn ¶
type Store_CreateShare_Call ¶
type Store_CreateShare_Call struct {
}
Store_CreateShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateShare'
func (*Store_CreateShare_Call) Return ¶
func (_c *Store_CreateShare_Call) Return(err error) *Store_CreateShare_Call
func (*Store_CreateShare_Call) Run ¶
func (_c *Store_CreateShare_Call) Run(run func(ctx context.Context, arg database.CreateShareParams)) *Store_CreateShare_Call
func (*Store_CreateShare_Call) RunAndReturn ¶
func (_c *Store_CreateShare_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateShareParams) error) *Store_CreateShare_Call
type Store_CreateSystem_Call ¶
Store_CreateSystem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSystem'
func (*Store_CreateSystem_Call) Return ¶
func (_c *Store_CreateSystem_Call) Return(err error) *Store_CreateSystem_Call
func (*Store_CreateSystem_Call) Run ¶
func (_c *Store_CreateSystem_Call) Run(run func(ctx context.Context, iD int, name string, learned bool)) *Store_CreateSystem_Call
func (*Store_CreateSystem_Call) RunAndReturn ¶
func (_c *Store_CreateSystem_Call) RunAndReturn(run func(ctx context.Context, iD int, name string, learned bool) error) *Store_CreateSystem_Call
type Store_CreateUser_Call ¶
Store_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'
func (*Store_CreateUser_Call) Return ¶
func (_c *Store_CreateUser_Call) Return(user database.User, err error) *Store_CreateUser_Call
func (*Store_CreateUser_Call) Run ¶
func (_c *Store_CreateUser_Call) Run(run func(ctx context.Context, arg database.CreateUserParams)) *Store_CreateUser_Call
func (*Store_CreateUser_Call) RunAndReturn ¶
func (_c *Store_CreateUser_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateUserParams) (database.User, error)) *Store_CreateUser_Call
type Store_CreateWebPushSubscription_Call ¶
Store_CreateWebPushSubscription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWebPushSubscription'
func (*Store_CreateWebPushSubscription_Call) Return ¶
func (_c *Store_CreateWebPushSubscription_Call) Return(err error) *Store_CreateWebPushSubscription_Call
func (*Store_CreateWebPushSubscription_Call) Run ¶
func (_c *Store_CreateWebPushSubscription_Call) Run(run func(ctx context.Context, arg database.CreateWebPushSubscriptionParams)) *Store_CreateWebPushSubscription_Call
func (*Store_CreateWebPushSubscription_Call) RunAndReturn ¶
func (_c *Store_CreateWebPushSubscription_Call) RunAndReturn(run func(ctx context.Context, arg database.CreateWebPushSubscriptionParams) error) *Store_CreateWebPushSubscription_Call
type Store_DBTX_Call ¶
Store_DBTX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DBTX'
func (*Store_DBTX_Call) Return ¶
func (_c *Store_DBTX_Call) Return(dBTX database.DBTX) *Store_DBTX_Call
func (*Store_DBTX_Call) Run ¶
func (_c *Store_DBTX_Call) Run(run func()) *Store_DBTX_Call
func (*Store_DBTX_Call) RunAndReturn ¶
func (_c *Store_DBTX_Call) RunAndReturn(run func() database.DBTX) *Store_DBTX_Call
type Store_DB_Call ¶
Store_DB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DB'
func (*Store_DB_Call) Return ¶
func (_c *Store_DB_Call) Return(postgres *database.Postgres) *Store_DB_Call
func (*Store_DB_Call) Run ¶
func (_c *Store_DB_Call) Run(run func()) *Store_DB_Call
func (*Store_DB_Call) RunAndReturn ¶
func (_c *Store_DB_Call) RunAndReturn(run func() *database.Postgres) *Store_DB_Call
type Store_DeleteAPIKey_Call ¶
Store_DeleteAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAPIKey'
func (*Store_DeleteAPIKey_Call) Return ¶
func (_c *Store_DeleteAPIKey_Call) Return(err error) *Store_DeleteAPIKey_Call
func (*Store_DeleteAPIKey_Call) Run ¶
func (_c *Store_DeleteAPIKey_Call) Run(run func(ctx context.Context, apiKey *string)) *Store_DeleteAPIKey_Call
func (*Store_DeleteAPIKey_Call) RunAndReturn ¶
func (_c *Store_DeleteAPIKey_Call) RunAndReturn(run func(ctx context.Context, apiKey *string) error) *Store_DeleteAPIKey_Call
type Store_DeleteCall_Call ¶
Store_DeleteCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCall'
func (*Store_DeleteCall_Call) Return ¶
func (_c *Store_DeleteCall_Call) Return(err error) *Store_DeleteCall_Call
func (*Store_DeleteCall_Call) Run ¶
func (_c *Store_DeleteCall_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_DeleteCall_Call
func (*Store_DeleteCall_Call) RunAndReturn ¶
func (_c *Store_DeleteCall_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) error) *Store_DeleteCall_Call
type Store_DeleteExpiredPushSubscriptions_Call ¶
Store_DeleteExpiredPushSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteExpiredPushSubscriptions'
func (*Store_DeleteExpiredPushSubscriptions_Call) Return ¶
func (_c *Store_DeleteExpiredPushSubscriptions_Call) Return(n int64, err error) *Store_DeleteExpiredPushSubscriptions_Call
func (*Store_DeleteExpiredPushSubscriptions_Call) Run ¶
func (_c *Store_DeleteExpiredPushSubscriptions_Call) Run(run func(ctx context.Context)) *Store_DeleteExpiredPushSubscriptions_Call
func (*Store_DeleteExpiredPushSubscriptions_Call) RunAndReturn ¶
func (_c *Store_DeleteExpiredPushSubscriptions_Call) RunAndReturn(run func(ctx context.Context) (int64, error)) *Store_DeleteExpiredPushSubscriptions_Call
type Store_DeleteIncident_Call ¶
Store_DeleteIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteIncident'
func (*Store_DeleteIncident_Call) Return ¶
func (_c *Store_DeleteIncident_Call) Return(err error) *Store_DeleteIncident_Call
func (*Store_DeleteIncident_Call) Run ¶
func (_c *Store_DeleteIncident_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_DeleteIncident_Call
func (*Store_DeleteIncident_Call) RunAndReturn ¶
func (_c *Store_DeleteIncident_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) error) *Store_DeleteIncident_Call
type Store_DeletePushSubscriptionByID_Call ¶
Store_DeletePushSubscriptionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePushSubscriptionByID'
func (*Store_DeletePushSubscriptionByID_Call) Return ¶
func (_c *Store_DeletePushSubscriptionByID_Call) Return(err error) *Store_DeletePushSubscriptionByID_Call
func (*Store_DeletePushSubscriptionByID_Call) Run ¶
func (_c *Store_DeletePushSubscriptionByID_Call) Run(run func(ctx context.Context, id int64)) *Store_DeletePushSubscriptionByID_Call
func (*Store_DeletePushSubscriptionByID_Call) RunAndReturn ¶
func (_c *Store_DeletePushSubscriptionByID_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_DeletePushSubscriptionByID_Call
type Store_DeletePushSubscriptionBySub_Call ¶
Store_DeletePushSubscriptionBySub_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePushSubscriptionBySub'
func (*Store_DeletePushSubscriptionBySub_Call) Return ¶
func (_c *Store_DeletePushSubscriptionBySub_Call) Return(err error) *Store_DeletePushSubscriptionBySub_Call
func (*Store_DeletePushSubscriptionBySub_Call) Run ¶
func (_c *Store_DeletePushSubscriptionBySub_Call) Run(run func(ctx context.Context, subscription []byte)) *Store_DeletePushSubscriptionBySub_Call
func (*Store_DeletePushSubscriptionBySub_Call) RunAndReturn ¶
func (_c *Store_DeletePushSubscriptionBySub_Call) RunAndReturn(run func(ctx context.Context, subscription []byte) error) *Store_DeletePushSubscriptionBySub_Call
type Store_DeleteSetting_Call ¶
Store_DeleteSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSetting'
func (*Store_DeleteSetting_Call) Return ¶
func (_c *Store_DeleteSetting_Call) Return(err error) *Store_DeleteSetting_Call
func (*Store_DeleteSetting_Call) Run ¶
func (_c *Store_DeleteSetting_Call) Run(run func(ctx context.Context, name string)) *Store_DeleteSetting_Call
func (*Store_DeleteSetting_Call) RunAndReturn ¶
func (_c *Store_DeleteSetting_Call) RunAndReturn(run func(ctx context.Context, name string) error) *Store_DeleteSetting_Call
type Store_DeleteShare_Call ¶
type Store_DeleteShare_Call struct {
}
Store_DeleteShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteShare'
func (*Store_DeleteShare_Call) Return ¶
func (_c *Store_DeleteShare_Call) Return(err error) *Store_DeleteShare_Call
func (*Store_DeleteShare_Call) Run ¶
func (_c *Store_DeleteShare_Call) Run(run func(ctx context.Context, id string)) *Store_DeleteShare_Call
func (*Store_DeleteShare_Call) RunAndReturn ¶
func (_c *Store_DeleteShare_Call) RunAndReturn(run func(ctx context.Context, id string) error) *Store_DeleteShare_Call
type Store_DeleteSystem_Call ¶
Store_DeleteSystem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSystem'
func (*Store_DeleteSystem_Call) Return ¶
func (_c *Store_DeleteSystem_Call) Return(err error) *Store_DeleteSystem_Call
func (*Store_DeleteSystem_Call) Run ¶
func (_c *Store_DeleteSystem_Call) Run(run func(ctx context.Context, id int)) *Store_DeleteSystem_Call
func (*Store_DeleteSystem_Call) RunAndReturn ¶
func (_c *Store_DeleteSystem_Call) RunAndReturn(run func(ctx context.Context, id int) error) *Store_DeleteSystem_Call
type Store_DeleteTalkgroup_Call ¶
Store_DeleteTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTalkgroup'
func (*Store_DeleteTalkgroup_Call) Return ¶
func (_c *Store_DeleteTalkgroup_Call) Return(err error) *Store_DeleteTalkgroup_Call
func (*Store_DeleteTalkgroup_Call) Run ¶
func (_c *Store_DeleteTalkgroup_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_DeleteTalkgroup_Call
func (*Store_DeleteTalkgroup_Call) RunAndReturn ¶
func (_c *Store_DeleteTalkgroup_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) error) *Store_DeleteTalkgroup_Call
type Store_DeleteUser_Call ¶
Store_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'
func (*Store_DeleteUser_Call) Return ¶
func (_c *Store_DeleteUser_Call) Return(err error) *Store_DeleteUser_Call
func (*Store_DeleteUser_Call) Run ¶
func (_c *Store_DeleteUser_Call) Run(run func(ctx context.Context, username string)) *Store_DeleteUser_Call
func (*Store_DeleteUser_Call) RunAndReturn ¶
func (_c *Store_DeleteUser_Call) RunAndReturn(run func(ctx context.Context, username string) error) *Store_DeleteUser_Call
type Store_DetachPartition_Call ¶
Store_DetachPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetachPartition'
func (*Store_DetachPartition_Call) Return ¶
func (_c *Store_DetachPartition_Call) Return(err error) *Store_DetachPartition_Call
func (*Store_DetachPartition_Call) Run ¶
func (_c *Store_DetachPartition_Call) Run(run func(ctx context.Context, parentTable string, partitionName string)) *Store_DetachPartition_Call
func (*Store_DetachPartition_Call) RunAndReturn ¶
func (_c *Store_DetachPartition_Call) RunAndReturn(run func(ctx context.Context, parentTable string, partitionName string) error) *Store_DetachPartition_Call
type Store_DetailedCountRefJournal_Call ¶
Store_DetailedCountRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetailedCountRefJournal'
func (*Store_DetailedCountRefJournal_Call) Return ¶
func (_c *Store_DetailedCountRefJournal_Call) Return(detailedCountRefJournalRows []database.DetailedCountRefJournalRow, err error) *Store_DetailedCountRefJournal_Call
func (*Store_DetailedCountRefJournal_Call) Run ¶
func (_c *Store_DetailedCountRefJournal_Call) Run(run func(ctx context.Context)) *Store_DetailedCountRefJournal_Call
func (*Store_DetailedCountRefJournal_Call) RunAndReturn ¶
func (_c *Store_DetailedCountRefJournal_Call) RunAndReturn(run func(ctx context.Context) ([]database.DetailedCountRefJournalRow, error)) *Store_DetailedCountRefJournal_Call
type Store_DisableUser_Call ¶
Store_DisableUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisableUser'
func (*Store_DisableUser_Call) Return ¶
func (_c *Store_DisableUser_Call) Return(err error) *Store_DisableUser_Call
func (*Store_DisableUser_Call) Run ¶
func (_c *Store_DisableUser_Call) Run(run func(ctx context.Context, username string)) *Store_DisableUser_Call
func (*Store_DisableUser_Call) RunAndReturn ¶
func (_c *Store_DisableUser_Call) RunAndReturn(run func(ctx context.Context, username string) error) *Store_DisableUser_Call
type Store_DropPartition_Call ¶
Store_DropPartition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropPartition'
func (*Store_DropPartition_Call) Return ¶
func (_c *Store_DropPartition_Call) Return(err error) *Store_DropPartition_Call
func (*Store_DropPartition_Call) Run ¶
func (_c *Store_DropPartition_Call) Run(run func(ctx context.Context, partitionName string)) *Store_DropPartition_Call
func (*Store_DropPartition_Call) RunAndReturn ¶
func (_c *Store_DropPartition_Call) RunAndReturn(run func(ctx context.Context, partitionName string) error) *Store_DropPartition_Call
type Store_DropRefJournal_Call ¶
Store_DropRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropRefJournal'
func (*Store_DropRefJournal_Call) Return ¶
func (_c *Store_DropRefJournal_Call) Return(err error) *Store_DropRefJournal_Call
func (*Store_DropRefJournal_Call) Run ¶
func (_c *Store_DropRefJournal_Call) Run(run func(ctx context.Context, id int64)) *Store_DropRefJournal_Call
func (*Store_DropRefJournal_Call) RunAndReturn ¶
func (_c *Store_DropRefJournal_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_DropRefJournal_Call
type Store_DropTable_Call ¶
Store_DropTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropTable'
func (*Store_DropTable_Call) Return ¶
func (_c *Store_DropTable_Call) Return(err error) *Store_DropTable_Call
func (*Store_DropTable_Call) Run ¶
func (_c *Store_DropTable_Call) Run(run func(ctx context.Context, tableName string)) *Store_DropTable_Call
func (*Store_DropTable_Call) RunAndReturn ¶
func (_c *Store_DropTable_Call) RunAndReturn(run func(ctx context.Context, tableName string) error) *Store_DropTable_Call
type Store_Expecter ¶
type Store_Expecter struct {
// contains filtered or unexported fields
}
func (*Store_Expecter) AddAlert ¶
func (_e *Store_Expecter) AddAlert(ctx interface{}, arg interface{}) *Store_AddAlert_Call
AddAlert is a helper method to define mock.On call
- ctx context.Context
- arg database.AddAlertParams
func (*Store_Expecter) AddCall ¶
func (_e *Store_Expecter) AddCall(ctx interface{}, arg interface{}) *Store_AddCall_Call
AddCall is a helper method to define mock.On call
- ctx context.Context
- arg database.AddCallParams
func (*Store_Expecter) AddLearnedTalkgroup ¶
func (_e *Store_Expecter) AddLearnedTalkgroup(ctx interface{}, arg interface{}) *Store_AddLearnedTalkgroup_Call
AddLearnedTalkgroup is a helper method to define mock.On call
- ctx context.Context
- arg database.AddLearnedTalkgroupParams
func (*Store_Expecter) AddRefJournal ¶
func (_e *Store_Expecter) AddRefJournal(ctx interface{}, arg interface{}) *Store_AddRefJournal_Call
AddRefJournal is a helper method to define mock.On call
- ctx context.Context
- arg database.AddRefJournalParams
func (*Store_Expecter) AddToIncident ¶
func (_e *Store_Expecter) AddToIncident(ctx interface{}, incidentID interface{}, callIds interface{}, notes interface{}) *Store_AddToIncident_Call
AddToIncident is a helper method to define mock.On call
- ctx context.Context
- incidentID uuid.UUID
- callIds []uuid.UUID
- notes [][]byte
func (*Store_Expecter) BulkSetTalkgroupTags ¶
func (_e *Store_Expecter) BulkSetTalkgroupTags(ctx interface{}, tgs interface{}, tags interface{}) *Store_BulkSetTalkgroupTags_Call
BulkSetTalkgroupTags is a helper method to define mock.On call
- ctx context.Context
- tgs database.TGTuplesU
- tags []string
func (*Store_Expecter) CallInIncident ¶
func (_e *Store_Expecter) CallInIncident(ctx interface{}, incidentID interface{}, callID interface{}) *Store_CallInIncident_Call
CallInIncident is a helper method to define mock.On call
- ctx context.Context
- incidentID uuid.UUID
- callID uuid.UUID
func (*Store_Expecter) CleanupSweptCalls ¶
func (_e *Store_Expecter) CleanupSweptCalls(ctx interface{}, rangeStart interface{}, rangeEnd interface{}) *Store_CleanupSweptCalls_Call
CleanupSweptCalls is a helper method to define mock.On call
- ctx context.Context
- rangeStart time.Time
- rangeEnd time.Time
func (*Store_Expecter) CopyIntoFsckTempTable ¶
func (_e *Store_Expecter) CopyIntoFsckTempTable(ctx interface{}, tableName interface{}, ids interface{}, progressChan interface{}) *Store_CopyIntoFsckTempTable_Call
CopyIntoFsckTempTable is a helper method to define mock.On call
- ctx context.Context
- tableName string
- ids iter.Seq[uuid.UUID]
- progressChan chan<- int64
func (*Store_Expecter) CountRefJournal ¶
func (_e *Store_Expecter) CountRefJournal(ctx interface{}, missing interface{}, since interface{}, until interface{}) *Store_CountRefJournal_Call
CountRefJournal is a helper method to define mock.On call
- ctx context.Context
- missing *bool
- since *time.Time
- until *time.Time
func (*Store_Expecter) CreateAPIKey ¶
func (_e *Store_Expecter) CreateAPIKey(ctx interface{}, arg interface{}) *Store_CreateAPIKey_Call
CreateAPIKey is a helper method to define mock.On call
- ctx context.Context
- arg database.CreateAPIKeyParams
func (*Store_Expecter) CreateFsckTempTable ¶
func (_e *Store_Expecter) CreateFsckTempTable(ctx interface{}) *Store_CreateFsckTempTable_Call
CreateFsckTempTable is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) CreateIncident ¶
func (_e *Store_Expecter) CreateIncident(ctx interface{}, arg interface{}) *Store_CreateIncident_Call
CreateIncident is a helper method to define mock.On call
- ctx context.Context
- arg database.CreateIncidentParams
func (*Store_Expecter) CreatePartition ¶
func (_e *Store_Expecter) CreatePartition(ctx interface{}, parentTable interface{}, partitionName interface{}, start interface{}, end interface{}) *Store_CreatePartition_Call
CreatePartition is a helper method to define mock.On call
- ctx context.Context
- parentTable string
- partitionName string
- start time.Time
- end time.Time
func (*Store_Expecter) CreateShare ¶
func (_e *Store_Expecter) CreateShare(ctx interface{}, arg interface{}) *Store_CreateShare_Call
CreateShare is a helper method to define mock.On call
- ctx context.Context
- arg database.CreateShareParams
func (*Store_Expecter) CreateSystem ¶
func (_e *Store_Expecter) CreateSystem(ctx interface{}, iD interface{}, name interface{}, learned interface{}) *Store_CreateSystem_Call
CreateSystem is a helper method to define mock.On call
- ctx context.Context
- iD int
- name string
- learned bool
func (*Store_Expecter) CreateUser ¶
func (_e *Store_Expecter) CreateUser(ctx interface{}, arg interface{}) *Store_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- arg database.CreateUserParams
func (*Store_Expecter) CreateWebPushSubscription ¶
func (_e *Store_Expecter) CreateWebPushSubscription(ctx interface{}, arg interface{}) *Store_CreateWebPushSubscription_Call
CreateWebPushSubscription is a helper method to define mock.On call
- ctx context.Context
- arg database.CreateWebPushSubscriptionParams
func (*Store_Expecter) DB ¶
func (_e *Store_Expecter) DB() *Store_DB_Call
DB is a helper method to define mock.On call
func (*Store_Expecter) DBTX ¶
func (_e *Store_Expecter) DBTX() *Store_DBTX_Call
DBTX is a helper method to define mock.On call
func (*Store_Expecter) DeleteAPIKey ¶
func (_e *Store_Expecter) DeleteAPIKey(ctx interface{}, apiKey interface{}) *Store_DeleteAPIKey_Call
DeleteAPIKey is a helper method to define mock.On call
- ctx context.Context
- apiKey *string
func (*Store_Expecter) DeleteCall ¶
func (_e *Store_Expecter) DeleteCall(ctx interface{}, id interface{}) *Store_DeleteCall_Call
DeleteCall is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) DeleteExpiredPushSubscriptions ¶
func (_e *Store_Expecter) DeleteExpiredPushSubscriptions(ctx interface{}) *Store_DeleteExpiredPushSubscriptions_Call
DeleteExpiredPushSubscriptions is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) DeleteIncident ¶
func (_e *Store_Expecter) DeleteIncident(ctx interface{}, id interface{}) *Store_DeleteIncident_Call
DeleteIncident is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) DeletePushSubscriptionByID ¶
func (_e *Store_Expecter) DeletePushSubscriptionByID(ctx interface{}, id interface{}) *Store_DeletePushSubscriptionByID_Call
DeletePushSubscriptionByID is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*Store_Expecter) DeletePushSubscriptionBySub ¶
func (_e *Store_Expecter) DeletePushSubscriptionBySub(ctx interface{}, subscription interface{}) *Store_DeletePushSubscriptionBySub_Call
DeletePushSubscriptionBySub is a helper method to define mock.On call
- ctx context.Context
- subscription []byte
func (*Store_Expecter) DeleteSetting ¶
func (_e *Store_Expecter) DeleteSetting(ctx interface{}, name interface{}) *Store_DeleteSetting_Call
DeleteSetting is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Store_Expecter) DeleteShare ¶
func (_e *Store_Expecter) DeleteShare(ctx interface{}, id interface{}) *Store_DeleteShare_Call
DeleteShare is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Store_Expecter) DeleteSystem ¶
func (_e *Store_Expecter) DeleteSystem(ctx interface{}, id interface{}) *Store_DeleteSystem_Call
DeleteSystem is a helper method to define mock.On call
- ctx context.Context
- id int
func (*Store_Expecter) DeleteTalkgroup ¶
func (_e *Store_Expecter) DeleteTalkgroup(ctx interface{}, systemID interface{}, tGID interface{}) *Store_DeleteTalkgroup_Call
DeleteTalkgroup is a helper method to define mock.On call
- ctx context.Context
- systemID int32
- tGID int32
func (*Store_Expecter) DeleteUser ¶
func (_e *Store_Expecter) DeleteUser(ctx interface{}, username interface{}) *Store_DeleteUser_Call
DeleteUser is a helper method to define mock.On call
- ctx context.Context
- username string
func (*Store_Expecter) DetachPartition ¶
func (_e *Store_Expecter) DetachPartition(ctx interface{}, parentTable interface{}, partitionName interface{}) *Store_DetachPartition_Call
DetachPartition is a helper method to define mock.On call
- ctx context.Context
- parentTable string
- partitionName string
func (*Store_Expecter) DetailedCountRefJournal ¶
func (_e *Store_Expecter) DetailedCountRefJournal(ctx interface{}) *Store_DetailedCountRefJournal_Call
DetailedCountRefJournal is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) DisableUser ¶
func (_e *Store_Expecter) DisableUser(ctx interface{}, username interface{}) *Store_DisableUser_Call
DisableUser is a helper method to define mock.On call
- ctx context.Context
- username string
func (*Store_Expecter) DropPartition ¶
func (_e *Store_Expecter) DropPartition(ctx interface{}, partitionName interface{}) *Store_DropPartition_Call
DropPartition is a helper method to define mock.On call
- ctx context.Context
- partitionName string
func (*Store_Expecter) DropRefJournal ¶
func (_e *Store_Expecter) DropRefJournal(ctx interface{}, id interface{}) *Store_DropRefJournal_Call
DropRefJournal is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*Store_Expecter) DropTable ¶
func (_e *Store_Expecter) DropTable(ctx interface{}, tableName interface{}) *Store_DropTable_Call
DropTable is a helper method to define mock.On call
- ctx context.Context
- tableName string
func (*Store_Expecter) FsckRefs ¶
func (_e *Store_Expecter) FsckRefs(ctx interface{}, tableName interface{}, backend interface{}) *Store_FsckRefs_Call
FsckRefs is a helper method to define mock.On call
- ctx context.Context
- tableName string
- backend string
func (*Store_Expecter) GetAPIKey ¶
func (_e *Store_Expecter) GetAPIKey(ctx interface{}, key interface{}, jwtID interface{}, kind interface{}) *Store_GetAPIKey_Call
GetAPIKey is a helper method to define mock.On call
- ctx context.Context
- key *string
- jwtID pgtype.UUID
- kind int
func (*Store_Expecter) GetAlertByURLTag ¶
func (_e *Store_Expecter) GetAlertByURLTag(ctx interface{}, urlTag interface{}) *Store_GetAlertByURLTag_Call
GetAlertByURLTag is a helper method to define mock.On call
- ctx context.Context
- urlTag *string
func (*Store_Expecter) GetAllTalkgroupTags ¶
func (_e *Store_Expecter) GetAllTalkgroupTags(ctx interface{}) *Store_GetAllTalkgroupTags_Call
GetAllTalkgroupTags is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetAppPrefs ¶
func (_e *Store_Expecter) GetAppPrefs(ctx interface{}, appName interface{}, uid interface{}) *Store_GetAppPrefs_Call
GetAppPrefs is a helper method to define mock.On call
- ctx context.Context
- appName string
- uid int
func (*Store_Expecter) GetAudioRefJournalCb ¶
func (_e *Store_Expecter) GetAudioRefJournalCb(ctx interface{}, arg interface{}, sendEntry interface{}) *Store_GetAudioRefJournalCb_Call
GetAudioRefJournalCb is a helper method to define mock.On call
- ctx context.Context
- arg database.GetRefJournalParams
- sendEntry func(database.AudioRefJournal)
func (*Store_Expecter) GetCall ¶
func (_e *Store_Expecter) GetCall(ctx interface{}, id interface{}) *Store_GetCall_Call
GetCall is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) GetCallAudio ¶
func (_e *Store_Expecter) GetCallAudio(ctx interface{}, arg interface{}) *Store_GetCallAudio_Call
GetCallAudio is a helper method to define mock.On call
- ctx context.Context
- arg database.GetCallAudioParams
func (*Store_Expecter) GetCallAudioByID ¶
func (_e *Store_Expecter) GetCallAudioByID(ctx interface{}, id interface{}) *Store_GetCallAudioByID_Call
GetCallAudioByID is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) GetCallAudioCb ¶
func (_e *Store_Expecter) GetCallAudioCb(ctx interface{}, arg interface{}, cb interface{}) *Store_GetCallAudioCb_Call
GetCallAudioCb is a helper method to define mock.On call
- ctx context.Context
- arg database.GetCallAudioParams
- cb func(*database.GetCallAudioRow) error
func (*Store_Expecter) GetCallAudioCount ¶
func (_e *Store_Expecter) GetCallAudioCount(ctx interface{}, arg interface{}) *Store_GetCallAudioCount_Call
GetCallAudioCount is a helper method to define mock.On call
- ctx context.Context
- arg database.GetCallAudioParams
func (*Store_Expecter) GetCallStatsByInterval ¶
func (_e *Store_Expecter) GetCallStatsByInterval(ctx interface{}, truncField interface{}, start interface{}, end interface{}) *Store_GetCallStatsByInterval_Call
GetCallStatsByInterval is a helper method to define mock.On call
- ctx context.Context
- truncField string
- start *time.Time
- end *time.Time
func (*Store_Expecter) GetCallStatsByTalkgroup ¶
func (_e *Store_Expecter) GetCallStatsByTalkgroup(ctx interface{}, truncField interface{}, start interface{}, end interface{}) *Store_GetCallStatsByTalkgroup_Call
GetCallStatsByTalkgroup is a helper method to define mock.On call
- ctx context.Context
- truncField string
- start *time.Time
- end *time.Time
func (*Store_Expecter) GetCallSubmitter ¶
func (_e *Store_Expecter) GetCallSubmitter(ctx interface{}, id interface{}) *Store_GetCallSubmitter_Call
GetCallSubmitter is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) GetCalls ¶
func (_e *Store_Expecter) GetCalls(ctx interface{}, ids interface{}) *Store_GetCalls_Call
GetCalls is a helper method to define mock.On call
- ctx context.Context
- ids []uuid.UUID
func (*Store_Expecter) GetDatabaseSize ¶
func (_e *Store_Expecter) GetDatabaseSize(ctx interface{}) *Store_GetDatabaseSize_Call
GetDatabaseSize is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetIncident ¶
func (_e *Store_Expecter) GetIncident(ctx interface{}, id interface{}) *Store_GetIncident_Call
GetIncident is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) GetIncidentCallCount ¶
func (_e *Store_Expecter) GetIncidentCallCount(ctx interface{}, incidentID interface{}) *Store_GetIncidentCallCount_Call
GetIncidentCallCount is a helper method to define mock.On call
- ctx context.Context
- incidentID uuid.UUID
func (*Store_Expecter) GetIncidentCalls ¶
func (_e *Store_Expecter) GetIncidentCalls(ctx interface{}, iD interface{}, offset interface{}, perPage interface{}) *Store_GetIncidentCalls_Call
GetIncidentCalls is a helper method to define mock.On call
- ctx context.Context
- iD uuid.UUID
- offset int32
- perPage *int32
func (*Store_Expecter) GetIncidentOwner ¶
func (_e *Store_Expecter) GetIncidentOwner(ctx interface{}, id interface{}) *Store_GetIncidentOwner_Call
GetIncidentOwner is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*Store_Expecter) GetIncidentTalkgroups ¶
func (_e *Store_Expecter) GetIncidentTalkgroups(ctx interface{}, incidentID interface{}) *Store_GetIncidentTalkgroups_Call
GetIncidentTalkgroups is a helper method to define mock.On call
- ctx context.Context
- incidentID uuid.UUID
func (*Store_Expecter) GetPrunableAudioRefs ¶
func (_e *Store_Expecter) GetPrunableAudioRefs(ctx interface{}, partitionStart interface{}, partitionEnd interface{}) *Store_GetPrunableAudioRefs_Call
GetPrunableAudioRefs is a helper method to define mock.On call
- ctx context.Context
- partitionStart time.Time
- partitionEnd time.Time
func (*Store_Expecter) GetPushSubscriptions ¶
func (_e *Store_Expecter) GetPushSubscriptions(ctx interface{}) *Store_GetPushSubscriptions_Call
GetPushSubscriptions is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetRefJournal ¶
func (_e *Store_Expecter) GetRefJournal(ctx interface{}, arg interface{}) *Store_GetRefJournal_Call
GetRefJournal is a helper method to define mock.On call
- ctx context.Context
- arg database.GetRefJournalParams
func (*Store_Expecter) GetSetting ¶
func (_e *Store_Expecter) GetSetting(ctx interface{}, name interface{}) *Store_GetSetting_Call
GetSetting is a helper method to define mock.On call
- ctx context.Context
- name string
func (*Store_Expecter) GetShare ¶
func (_e *Store_Expecter) GetShare(ctx interface{}, id interface{}) *Store_GetShare_Call
GetShare is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Store_Expecter) GetSharesP ¶
func (_e *Store_Expecter) GetSharesP(ctx interface{}, arg interface{}) *Store_GetSharesP_Call
GetSharesP is a helper method to define mock.On call
- ctx context.Context
- arg database.GetSharesPParams
func (*Store_Expecter) GetSharesPCount ¶
func (_e *Store_Expecter) GetSharesPCount(ctx interface{}, ownerID interface{}) *Store_GetSharesPCount_Call
GetSharesPCount is a helper method to define mock.On call
- ctx context.Context
- ownerID *int32
func (*Store_Expecter) GetSweptCallsWithRef ¶
func (_e *Store_Expecter) GetSweptCallsWithRef(ctx interface{}) *Store_GetSweptCallsWithRef_Call
GetSweptCallsWithRef is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetSystemName ¶
func (_e *Store_Expecter) GetSystemName(ctx interface{}, systemID interface{}) *Store_GetSystemName_Call
GetSystemName is a helper method to define mock.On call
- ctx context.Context
- systemID int
func (*Store_Expecter) GetSystemSubscriptions ¶
func (_e *Store_Expecter) GetSystemSubscriptions(ctx interface{}, userID interface{}) *Store_GetSystemSubscriptions_Call
GetSystemSubscriptions is a helper method to define mock.On call
- ctx context.Context
- userID int
func (*Store_Expecter) GetTablePartitions ¶
func (_e *Store_Expecter) GetTablePartitions(ctx interface{}, schemaName interface{}, tableName interface{}) *Store_GetTablePartitions_Call
GetTablePartitions is a helper method to define mock.On call
- ctx context.Context
- schemaName string
- tableName string
func (*Store_Expecter) GetTalkgroup ¶
func (_e *Store_Expecter) GetTalkgroup(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetTalkgroup_Call
GetTalkgroup is a helper method to define mock.On call
- ctx context.Context
- systemID int32
- tGID int32
func (*Store_Expecter) GetTalkgroupIDsByTags ¶
func (_e *Store_Expecter) GetTalkgroupIDsByTags(ctx interface{}, allTags interface{}, anyTags interface{}, notAnyTags interface{}) *Store_GetTalkgroupIDsByTags_Call
GetTalkgroupIDsByTags is a helper method to define mock.On call
- ctx context.Context
- allTags []string
- anyTags []string
- notAnyTags []string
func (*Store_Expecter) GetTalkgroupSubscriptions ¶
func (_e *Store_Expecter) GetTalkgroupSubscriptions(ctx interface{}, userID interface{}) *Store_GetTalkgroupSubscriptions_Call
GetTalkgroupSubscriptions is a helper method to define mock.On call
- ctx context.Context
- userID int
func (*Store_Expecter) GetTalkgroupTags ¶
func (_e *Store_Expecter) GetTalkgroupTags(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetTalkgroupTags_Call
GetTalkgroupTags is a helper method to define mock.On call
- ctx context.Context
- systemID int32
- tGID int32
func (*Store_Expecter) GetTalkgroups ¶
func (_e *Store_Expecter) GetTalkgroups(ctx interface{}, system interface{}, withIgnored interface{}, filter interface{}) *Store_GetTalkgroups_Call
GetTalkgroups is a helper method to define mock.On call
- ctx context.Context
- system *int32
- withIgnored bool
- filter *string
func (*Store_Expecter) GetTalkgroupsBySysTGID ¶
func (_e *Store_Expecter) GetTalkgroupsBySysTGID(ctx interface{}, ids interface{}) *Store_GetTalkgroupsBySysTGID_Call
GetTalkgroupsBySysTGID is a helper method to define mock.On call
- ctx context.Context
- ids database.TGTuplesU
func (*Store_Expecter) GetTalkgroupsCount ¶
func (_e *Store_Expecter) GetTalkgroupsCount(ctx interface{}, system interface{}, withIgnored interface{}, filter interface{}) *Store_GetTalkgroupsCount_Call
GetTalkgroupsCount is a helper method to define mock.On call
- ctx context.Context
- system *int32
- withIgnored bool
- filter *string
func (*Store_Expecter) GetTalkgroupsP ¶
func (_e *Store_Expecter) GetTalkgroupsP(ctx interface{}, arg interface{}) *Store_GetTalkgroupsP_Call
GetTalkgroupsP is a helper method to define mock.On call
- ctx context.Context
- arg database.GetTalkgroupsPParams
func (*Store_Expecter) GetTalkgroupsWithAllTags ¶
func (_e *Store_Expecter) GetTalkgroupsWithAllTags(ctx interface{}, tags interface{}) *Store_GetTalkgroupsWithAllTags_Call
GetTalkgroupsWithAllTags is a helper method to define mock.On call
- ctx context.Context
- tags []string
func (*Store_Expecter) GetTalkgroupsWithAnyTags ¶
func (_e *Store_Expecter) GetTalkgroupsWithAnyTags(ctx interface{}, tags interface{}) *Store_GetTalkgroupsWithAnyTags_Call
GetTalkgroupsWithAnyTags is a helper method to define mock.On call
- ctx context.Context
- tags []string
func (*Store_Expecter) GetTranscriptsContext ¶
func (_e *Store_Expecter) GetTranscriptsContext(ctx interface{}, arg interface{}) *Store_GetTranscriptsContext_Call
GetTranscriptsContext is a helper method to define mock.On call
- ctx context.Context
- arg database.GetTranscriptsContextParams
func (*Store_Expecter) GetUserByID ¶
func (_e *Store_Expecter) GetUserByID(ctx interface{}, id interface{}) *Store_GetUserByID_Call
GetUserByID is a helper method to define mock.On call
- ctx context.Context
- id int
func (*Store_Expecter) GetUserByUsername ¶
func (_e *Store_Expecter) GetUserByUsername(ctx interface{}, username interface{}) *Store_GetUserByUsername_Call
GetUserByUsername is a helper method to define mock.On call
- ctx context.Context
- username string
func (*Store_Expecter) GetUsers ¶
func (_e *Store_Expecter) GetUsers(ctx interface{}) *Store_GetUsers_Call
GetUsers is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) GetWebPushSubscriptionsSubscribed ¶
func (_e *Store_Expecter) GetWebPushSubscriptionsSubscribed(ctx interface{}, systemID interface{}, tGID interface{}) *Store_GetWebPushSubscriptionsSubscribed_Call
GetWebPushSubscriptionsSubscribed is a helper method to define mock.On call
- ctx context.Context
- systemID int32
- tGID int32
func (*Store_Expecter) InTx ¶
func (_e *Store_Expecter) InTx(context1 interface{}, fn interface{}) *Store_InTx_Call
InTx is a helper method to define mock.On call
- context1 context.Context
- fn func(database.Store) error
func (*Store_Expecter) IncrementRefJournal ¶
func (_e *Store_Expecter) IncrementRefJournal(ctx interface{}, id interface{}) *Store_IncrementRefJournal_Call
IncrementRefJournal is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*Store_Expecter) ListCallsCount ¶
func (_e *Store_Expecter) ListCallsCount(ctx interface{}, arg interface{}) *Store_ListCallsCount_Call
ListCallsCount is a helper method to define mock.On call
- ctx context.Context
- arg database.ListCallsCountParams
func (*Store_Expecter) ListCallsP ¶
func (_e *Store_Expecter) ListCallsP(ctx interface{}, arg interface{}) *Store_ListCallsP_Call
ListCallsP is a helper method to define mock.On call
- ctx context.Context
- arg database.ListCallsPParams
func (*Store_Expecter) ListIncidentsCount ¶
func (_e *Store_Expecter) ListIncidentsCount(ctx interface{}, start interface{}, end interface{}, filter interface{}) *Store_ListIncidentsCount_Call
ListIncidentsCount is a helper method to define mock.On call
- ctx context.Context
- start *time.Time
- end *time.Time
- filter *string
func (*Store_Expecter) ListIncidentsP ¶
func (_e *Store_Expecter) ListIncidentsP(ctx interface{}, arg interface{}) *Store_ListIncidentsP_Call
ListIncidentsP is a helper method to define mock.On call
- ctx context.Context
- arg database.ListIncidentsPParams
func (*Store_Expecter) PoolTx ¶
func (_e *Store_Expecter) PoolTx(ctx interface{}, opts interface{}) *Store_PoolTx_Call
PoolTx is a helper method to define mock.On call
- ctx context.Context
- opts pgx.TxOptions
func (*Store_Expecter) PruneAlerts ¶
func (_e *Store_Expecter) PruneAlerts(ctx interface{}, before interface{}) *Store_PruneAlerts_Call
PruneAlerts is a helper method to define mock.On call
- ctx context.Context
- before time.Time
func (*Store_Expecter) PruneShares ¶
func (_e *Store_Expecter) PruneShares(ctx interface{}) *Store_PruneShares_Call
PruneShares is a helper method to define mock.On call
- ctx context.Context
func (*Store_Expecter) RecordUserLogin ¶
func (_e *Store_Expecter) RecordUserLogin(ctx interface{}, username interface{}, lastLoginAt interface{}, lastLoginFrom interface{}) *Store_RecordUserLogin_Call
RecordUserLogin is a helper method to define mock.On call
- ctx context.Context
- username string
- lastLoginAt *time.Time
- lastLoginFrom *netip.Addr
func (*Store_Expecter) RemoveFromIncident ¶
func (_e *Store_Expecter) RemoveFromIncident(ctx interface{}, iD interface{}, callIds interface{}) *Store_RemoveFromIncident_Call
RemoveFromIncident is a helper method to define mock.On call
- ctx context.Context
- iD uuid.UUID
- callIds []uuid.UUID
func (*Store_Expecter) RestoreTalkgroupVersion ¶
func (_e *Store_Expecter) RestoreTalkgroupVersion(ctx interface{}, versionIds interface{}) *Store_RestoreTalkgroupVersion_Call
RestoreTalkgroupVersion is a helper method to define mock.On call
- ctx context.Context
- versionIds int
func (*Store_Expecter) SetAppPrefs ¶
func (_e *Store_Expecter) SetAppPrefs(ctx interface{}, appName interface{}, prefs interface{}, uid interface{}) *Store_SetAppPrefs_Call
SetAppPrefs is a helper method to define mock.On call
- ctx context.Context
- appName string
- prefs []byte
- uid int
func (*Store_Expecter) SetCallAudio ¶
func (_e *Store_Expecter) SetCallAudio(ctx interface{}, iD interface{}, audioRef interface{}, audioBlob interface{}) *Store_SetCallAudio_Call
SetCallAudio is a helper method to define mock.On call
- ctx context.Context
- iD uuid.UUID
- audioRef []byte
- audioBlob []byte
func (*Store_Expecter) SetCallTranscript ¶
func (_e *Store_Expecter) SetCallTranscript(ctx interface{}, iD interface{}, transcript interface{}) *Store_SetCallTranscript_Call
SetCallTranscript is a helper method to define mock.On call
- ctx context.Context
- iD uuid.UUID
- transcript *string
func (*Store_Expecter) SetRefJournalPrune ¶
func (_e *Store_Expecter) SetRefJournalPrune(ctx interface{}, iD interface{}, pruneAfter interface{}) *Store_SetRefJournalPrune_Call
SetRefJournalPrune is a helper method to define mock.On call
- ctx context.Context
- iD int64
- pruneAfter *time.Time
func (*Store_Expecter) SetSetting ¶
func (_e *Store_Expecter) SetSetting(ctx interface{}, name interface{}, updatedBy interface{}, value interface{}) *Store_SetSetting_Call
SetSetting is a helper method to define mock.On call
- ctx context.Context
- name string
- updatedBy *int32
- value []byte
func (*Store_Expecter) SetSweptAudioAndClearRef ¶
func (_e *Store_Expecter) SetSweptAudioAndClearRef(ctx interface{}, audioBlob interface{}, iD interface{}) *Store_SetSweptAudioAndClearRef_Call
SetSweptAudioAndClearRef is a helper method to define mock.On call
- ctx context.Context
- audioBlob []byte
- iD uuid.UUID
func (*Store_Expecter) SetSweptCallAudio ¶
func (_e *Store_Expecter) SetSweptCallAudio(ctx interface{}, iD interface{}, audioRef interface{}, audioBlob interface{}) *Store_SetSweptCallAudio_Call
SetSweptCallAudio is a helper method to define mock.On call
- ctx context.Context
- iD uuid.UUID
- audioRef []byte
- audioBlob []byte
func (*Store_Expecter) SetTalkgroupTags ¶
func (_e *Store_Expecter) SetTalkgroupTags(ctx interface{}, tags interface{}, systemID interface{}, tGID interface{}) *Store_SetTalkgroupTags_Call
SetTalkgroupTags is a helper method to define mock.On call
- ctx context.Context
- tags []string
- systemID int32
- tGID int32
func (*Store_Expecter) StoreDeletedTGVersion ¶
func (_e *Store_Expecter) StoreDeletedTGVersion(ctx interface{}, systemID interface{}, tGID interface{}, submitter interface{}) *Store_StoreDeletedTGVersion_Call
StoreDeletedTGVersion is a helper method to define mock.On call
- ctx context.Context
- systemID *int32
- tGID *int32
- submitter *int32
func (*Store_Expecter) StoreTGVersion ¶
func (_e *Store_Expecter) StoreTGVersion(ctx interface{}, arg interface{}) *Store_StoreTGVersion_Call
StoreTGVersion is a helper method to define mock.On call
- ctx context.Context
- arg []database.StoreTGVersionParams
func (*Store_Expecter) SubscribeSystems ¶
func (_e *Store_Expecter) SubscribeSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_SubscribeSystems_Call
SubscribeSystems is a helper method to define mock.On call
- ctx context.Context
- userID int
- systemIds []int32
func (*Store_Expecter) SubscribeTalkgroups ¶
func (_e *Store_Expecter) SubscribeTalkgroups(ctx interface{}, userID interface{}, systemIds interface{}, tgids interface{}) *Store_SubscribeTalkgroups_Call
SubscribeTalkgroups is a helper method to define mock.On call
- ctx context.Context
- userID int
- systemIds []int32
- tgids []int32
func (*Store_Expecter) SweepCalls ¶
func (_e *Store_Expecter) SweepCalls(ctx interface{}, rangeStart interface{}, rangeEnd interface{}) *Store_SweepCalls_Call
SweepCalls is a helper method to define mock.On call
- ctx context.Context
- rangeStart time.Time
- rangeEnd time.Time
func (*Store_Expecter) UnsubscribeAllSystems ¶
func (_e *Store_Expecter) UnsubscribeAllSystems(ctx interface{}, userID interface{}) *Store_UnsubscribeAllSystems_Call
UnsubscribeAllSystems is a helper method to define mock.On call
- ctx context.Context
- userID int
func (*Store_Expecter) UnsubscribeAllTalkgroups ¶
func (_e *Store_Expecter) UnsubscribeAllTalkgroups(ctx interface{}, userID interface{}) *Store_UnsubscribeAllTalkgroups_Call
UnsubscribeAllTalkgroups is a helper method to define mock.On call
- ctx context.Context
- userID int
func (*Store_Expecter) UnsubscribeSystems ¶
func (_e *Store_Expecter) UnsubscribeSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_UnsubscribeSystems_Call
UnsubscribeSystems is a helper method to define mock.On call
- ctx context.Context
- userID int
- systemIds []int32
func (*Store_Expecter) UnsubscribeTGsInSystems ¶
func (_e *Store_Expecter) UnsubscribeTGsInSystems(ctx interface{}, userID interface{}, systemIds interface{}) *Store_UnsubscribeTGsInSystems_Call
UnsubscribeTGsInSystems is a helper method to define mock.On call
- ctx context.Context
- userID int
- systemIds []int32
func (*Store_Expecter) UnsubscribeTalkgroups ¶
func (_e *Store_Expecter) UnsubscribeTalkgroups(ctx interface{}, userID interface{}, tgs interface{}) *Store_UnsubscribeTalkgroups_Call
UnsubscribeTalkgroups is a helper method to define mock.On call
- ctx context.Context
- userID int
- tgs []database.TGID
func (*Store_Expecter) UpdateCallIncidentNotes ¶
func (_e *Store_Expecter) UpdateCallIncidentNotes(ctx interface{}, notes interface{}, incidentID interface{}, callID interface{}) *Store_UpdateCallIncidentNotes_Call
UpdateCallIncidentNotes is a helper method to define mock.On call
- ctx context.Context
- notes []byte
- incidentID uuid.UUID
- callID uuid.UUID
func (*Store_Expecter) UpdateIncident ¶
func (_e *Store_Expecter) UpdateIncident(ctx interface{}, arg interface{}) *Store_UpdateIncident_Call
UpdateIncident is a helper method to define mock.On call
- ctx context.Context
- arg database.UpdateIncidentParams
func (*Store_Expecter) UpdatePassword ¶
func (_e *Store_Expecter) UpdatePassword(ctx interface{}, username interface{}, password interface{}) *Store_UpdatePassword_Call
UpdatePassword is a helper method to define mock.On call
- ctx context.Context
- username string
- password string
func (*Store_Expecter) UpdatePushSubscription ¶
func (_e *Store_Expecter) UpdatePushSubscription(ctx interface{}, newSubscription interface{}, userID interface{}, oldSubscription interface{}) *Store_UpdatePushSubscription_Call
UpdatePushSubscription is a helper method to define mock.On call
- ctx context.Context
- newSubscription []byte
- userID int
- oldSubscription []byte
func (*Store_Expecter) UpdateTalkgroup ¶
func (_e *Store_Expecter) UpdateTalkgroup(ctx interface{}, arg interface{}) *Store_UpdateTalkgroup_Call
UpdateTalkgroup is a helper method to define mock.On call
- ctx context.Context
- arg database.UpdateTalkgroupParams
func (*Store_Expecter) UpdateUser ¶
func (_e *Store_Expecter) UpdateUser(ctx interface{}, arg interface{}) *Store_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- arg database.UpdateUserParams
func (*Store_Expecter) UpsertTalkgroup ¶
func (_e *Store_Expecter) UpsertTalkgroup(ctx interface{}, arg interface{}) *Store_UpsertTalkgroup_Call
UpsertTalkgroup is a helper method to define mock.On call
- ctx context.Context
- arg []database.UpsertTalkgroupParams
type Store_FsckRefs_Call ¶
Store_FsckRefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FsckRefs'
func (*Store_FsckRefs_Call) Return ¶
func (_c *Store_FsckRefs_Call) Return(callsDangling int64, err error) *Store_FsckRefs_Call
func (*Store_FsckRefs_Call) Run ¶
func (_c *Store_FsckRefs_Call) Run(run func(ctx context.Context, tableName string, backend string)) *Store_FsckRefs_Call
func (*Store_FsckRefs_Call) RunAndReturn ¶
func (_c *Store_FsckRefs_Call) RunAndReturn(run func(ctx context.Context, tableName string, backend string) (int64, error)) *Store_FsckRefs_Call
type Store_GetAPIKey_Call ¶
Store_GetAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIKey'
func (*Store_GetAPIKey_Call) Return ¶
func (_c *Store_GetAPIKey_Call) Return(getAPIKeyRow database.GetAPIKeyRow, err error) *Store_GetAPIKey_Call
func (*Store_GetAPIKey_Call) Run ¶
func (_c *Store_GetAPIKey_Call) Run(run func(ctx context.Context, key *string, jwtID pgtype.UUID, kind int)) *Store_GetAPIKey_Call
func (*Store_GetAPIKey_Call) RunAndReturn ¶
func (_c *Store_GetAPIKey_Call) RunAndReturn(run func(ctx context.Context, key *string, jwtID pgtype.UUID, kind int) (database.GetAPIKeyRow, error)) *Store_GetAPIKey_Call
type Store_GetAlertByURLTag_Call ¶
Store_GetAlertByURLTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlertByURLTag'
func (*Store_GetAlertByURLTag_Call) Return ¶
func (_c *Store_GetAlertByURLTag_Call) Return(alert database.Alert, err error) *Store_GetAlertByURLTag_Call
func (*Store_GetAlertByURLTag_Call) Run ¶
func (_c *Store_GetAlertByURLTag_Call) Run(run func(ctx context.Context, urlTag *string)) *Store_GetAlertByURLTag_Call
func (*Store_GetAlertByURLTag_Call) RunAndReturn ¶
func (_c *Store_GetAlertByURLTag_Call) RunAndReturn(run func(ctx context.Context, urlTag *string) (database.Alert, error)) *Store_GetAlertByURLTag_Call
type Store_GetAllTalkgroupTags_Call ¶
Store_GetAllTalkgroupTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllTalkgroupTags'
func (*Store_GetAllTalkgroupTags_Call) Return ¶
func (_c *Store_GetAllTalkgroupTags_Call) Return(strings []string, err error) *Store_GetAllTalkgroupTags_Call
func (*Store_GetAllTalkgroupTags_Call) Run ¶
func (_c *Store_GetAllTalkgroupTags_Call) Run(run func(ctx context.Context)) *Store_GetAllTalkgroupTags_Call
func (*Store_GetAllTalkgroupTags_Call) RunAndReturn ¶
func (_c *Store_GetAllTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context) ([]string, error)) *Store_GetAllTalkgroupTags_Call
type Store_GetAppPrefs_Call ¶
Store_GetAppPrefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAppPrefs'
func (*Store_GetAppPrefs_Call) Return ¶
func (_c *Store_GetAppPrefs_Call) Return(bytes []byte, err error) *Store_GetAppPrefs_Call
func (*Store_GetAppPrefs_Call) Run ¶
func (_c *Store_GetAppPrefs_Call) Run(run func(ctx context.Context, appName string, uid int)) *Store_GetAppPrefs_Call
func (*Store_GetAppPrefs_Call) RunAndReturn ¶
func (_c *Store_GetAppPrefs_Call) RunAndReturn(run func(ctx context.Context, appName string, uid int) ([]byte, error)) *Store_GetAppPrefs_Call
type Store_GetAudioRefJournalCb_Call ¶
Store_GetAudioRefJournalCb_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAudioRefJournalCb'
func (*Store_GetAudioRefJournalCb_Call) Return ¶
func (_c *Store_GetAudioRefJournalCb_Call) Return(err error) *Store_GetAudioRefJournalCb_Call
func (*Store_GetAudioRefJournalCb_Call) Run ¶
func (_c *Store_GetAudioRefJournalCb_Call) Run(run func(ctx context.Context, arg database.GetRefJournalParams, sendEntry func(database.AudioRefJournal))) *Store_GetAudioRefJournalCb_Call
func (*Store_GetAudioRefJournalCb_Call) RunAndReturn ¶
func (_c *Store_GetAudioRefJournalCb_Call) RunAndReturn(run func(ctx context.Context, arg database.GetRefJournalParams, sendEntry func(database.AudioRefJournal)) error) *Store_GetAudioRefJournalCb_Call
type Store_GetCallAudioByID_Call ¶
Store_GetCallAudioByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallAudioByID'
func (*Store_GetCallAudioByID_Call) Return ¶
func (_c *Store_GetCallAudioByID_Call) Return(getCallAudioByIDRow database.GetCallAudioByIDRow, err error) *Store_GetCallAudioByID_Call
func (*Store_GetCallAudioByID_Call) Run ¶
func (_c *Store_GetCallAudioByID_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCallAudioByID_Call
func (*Store_GetCallAudioByID_Call) RunAndReturn ¶
func (_c *Store_GetCallAudioByID_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (database.GetCallAudioByIDRow, error)) *Store_GetCallAudioByID_Call
type Store_GetCallAudioCb_Call ¶
Store_GetCallAudioCb_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallAudioCb'
func (*Store_GetCallAudioCb_Call) Return ¶
func (_c *Store_GetCallAudioCb_Call) Return(err error) *Store_GetCallAudioCb_Call
func (*Store_GetCallAudioCb_Call) Run ¶
func (_c *Store_GetCallAudioCb_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams, cb func(*database.GetCallAudioRow) error)) *Store_GetCallAudioCb_Call
func (*Store_GetCallAudioCb_Call) RunAndReturn ¶
func (_c *Store_GetCallAudioCb_Call) RunAndReturn(run func(ctx context.Context, arg database.GetCallAudioParams, cb func(*database.GetCallAudioRow) error) error) *Store_GetCallAudioCb_Call
type Store_GetCallAudioCount_Call ¶
Store_GetCallAudioCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallAudioCount'
func (*Store_GetCallAudioCount_Call) Return ¶
func (_c *Store_GetCallAudioCount_Call) Return(n int64, err error) *Store_GetCallAudioCount_Call
func (*Store_GetCallAudioCount_Call) Run ¶
func (_c *Store_GetCallAudioCount_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams)) *Store_GetCallAudioCount_Call
func (*Store_GetCallAudioCount_Call) RunAndReturn ¶
func (_c *Store_GetCallAudioCount_Call) RunAndReturn(run func(ctx context.Context, arg database.GetCallAudioParams) (int64, error)) *Store_GetCallAudioCount_Call
type Store_GetCallAudio_Call ¶
Store_GetCallAudio_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallAudio'
func (*Store_GetCallAudio_Call) Return ¶
func (_c *Store_GetCallAudio_Call) Return(getCallAudioRows []database.GetCallAudioRow, err error) *Store_GetCallAudio_Call
func (*Store_GetCallAudio_Call) Run ¶
func (_c *Store_GetCallAudio_Call) Run(run func(ctx context.Context, arg database.GetCallAudioParams)) *Store_GetCallAudio_Call
func (*Store_GetCallAudio_Call) RunAndReturn ¶
func (_c *Store_GetCallAudio_Call) RunAndReturn(run func(ctx context.Context, arg database.GetCallAudioParams) ([]database.GetCallAudioRow, error)) *Store_GetCallAudio_Call
type Store_GetCallStatsByInterval_Call ¶
Store_GetCallStatsByInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallStatsByInterval'
func (*Store_GetCallStatsByInterval_Call) Return ¶
func (_c *Store_GetCallStatsByInterval_Call) Return(getCallStatsByIntervalRows []database.GetCallStatsByIntervalRow, err error) *Store_GetCallStatsByInterval_Call
func (*Store_GetCallStatsByInterval_Call) Run ¶
func (_c *Store_GetCallStatsByInterval_Call) Run(run func(ctx context.Context, truncField string, start *time.Time, end *time.Time)) *Store_GetCallStatsByInterval_Call
func (*Store_GetCallStatsByInterval_Call) RunAndReturn ¶
func (_c *Store_GetCallStatsByInterval_Call) RunAndReturn(run func(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByIntervalRow, error)) *Store_GetCallStatsByInterval_Call
type Store_GetCallStatsByTalkgroup_Call ¶
Store_GetCallStatsByTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallStatsByTalkgroup'
func (*Store_GetCallStatsByTalkgroup_Call) Return ¶
func (_c *Store_GetCallStatsByTalkgroup_Call) Return(getCallStatsByTalkgroupRows []database.GetCallStatsByTalkgroupRow, err error) *Store_GetCallStatsByTalkgroup_Call
func (*Store_GetCallStatsByTalkgroup_Call) Run ¶
func (_c *Store_GetCallStatsByTalkgroup_Call) Run(run func(ctx context.Context, truncField string, start *time.Time, end *time.Time)) *Store_GetCallStatsByTalkgroup_Call
func (*Store_GetCallStatsByTalkgroup_Call) RunAndReturn ¶
func (_c *Store_GetCallStatsByTalkgroup_Call) RunAndReturn(run func(ctx context.Context, truncField string, start *time.Time, end *time.Time) ([]database.GetCallStatsByTalkgroupRow, error)) *Store_GetCallStatsByTalkgroup_Call
type Store_GetCallSubmitter_Call ¶
Store_GetCallSubmitter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCallSubmitter'
func (*Store_GetCallSubmitter_Call) Return ¶
func (_c *Store_GetCallSubmitter_Call) Return(n *int32, err error) *Store_GetCallSubmitter_Call
func (*Store_GetCallSubmitter_Call) Run ¶
func (_c *Store_GetCallSubmitter_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCallSubmitter_Call
func (*Store_GetCallSubmitter_Call) RunAndReturn ¶
func (_c *Store_GetCallSubmitter_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (*int32, error)) *Store_GetCallSubmitter_Call
type Store_GetCall_Call ¶
Store_GetCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCall'
func (*Store_GetCall_Call) Return ¶
func (_c *Store_GetCall_Call) Return(getCallRow database.GetCallRow, err error) *Store_GetCall_Call
func (*Store_GetCall_Call) Run ¶
func (_c *Store_GetCall_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetCall_Call
func (*Store_GetCall_Call) RunAndReturn ¶
func (_c *Store_GetCall_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (database.GetCallRow, error)) *Store_GetCall_Call
type Store_GetCalls_Call ¶
Store_GetCalls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCalls'
func (*Store_GetCalls_Call) Return ¶
func (_c *Store_GetCalls_Call) Return(getCallsRows []database.GetCallsRow, err error) *Store_GetCalls_Call
func (*Store_GetCalls_Call) Run ¶
func (_c *Store_GetCalls_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *Store_GetCalls_Call
func (*Store_GetCalls_Call) RunAndReturn ¶
func (_c *Store_GetCalls_Call) RunAndReturn(run func(ctx context.Context, ids []uuid.UUID) ([]database.GetCallsRow, error)) *Store_GetCalls_Call
type Store_GetDatabaseSize_Call ¶
Store_GetDatabaseSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatabaseSize'
func (*Store_GetDatabaseSize_Call) Return ¶
func (_c *Store_GetDatabaseSize_Call) Return(s string, err error) *Store_GetDatabaseSize_Call
func (*Store_GetDatabaseSize_Call) Run ¶
func (_c *Store_GetDatabaseSize_Call) Run(run func(ctx context.Context)) *Store_GetDatabaseSize_Call
func (*Store_GetDatabaseSize_Call) RunAndReturn ¶
func (_c *Store_GetDatabaseSize_Call) RunAndReturn(run func(ctx context.Context) (string, error)) *Store_GetDatabaseSize_Call
type Store_GetIncidentCallCount_Call ¶
Store_GetIncidentCallCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIncidentCallCount'
func (*Store_GetIncidentCallCount_Call) Return ¶
func (_c *Store_GetIncidentCallCount_Call) Return(n int64, err error) *Store_GetIncidentCallCount_Call
func (*Store_GetIncidentCallCount_Call) Run ¶
func (_c *Store_GetIncidentCallCount_Call) Run(run func(ctx context.Context, incidentID uuid.UUID)) *Store_GetIncidentCallCount_Call
func (*Store_GetIncidentCallCount_Call) RunAndReturn ¶
func (_c *Store_GetIncidentCallCount_Call) RunAndReturn(run func(ctx context.Context, incidentID uuid.UUID) (int64, error)) *Store_GetIncidentCallCount_Call
type Store_GetIncidentCalls_Call ¶
Store_GetIncidentCalls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIncidentCalls'
func (*Store_GetIncidentCalls_Call) Return ¶
func (_c *Store_GetIncidentCalls_Call) Return(getIncidentCallsRows []database.GetIncidentCallsRow, err error) *Store_GetIncidentCalls_Call
func (*Store_GetIncidentCalls_Call) Run ¶
func (_c *Store_GetIncidentCalls_Call) Run(run func(ctx context.Context, iD uuid.UUID, offset int32, perPage *int32)) *Store_GetIncidentCalls_Call
func (*Store_GetIncidentCalls_Call) RunAndReturn ¶
func (_c *Store_GetIncidentCalls_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, offset int32, perPage *int32) ([]database.GetIncidentCallsRow, error)) *Store_GetIncidentCalls_Call
type Store_GetIncidentOwner_Call ¶
Store_GetIncidentOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIncidentOwner'
func (*Store_GetIncidentOwner_Call) Return ¶
func (_c *Store_GetIncidentOwner_Call) Return(n int, err error) *Store_GetIncidentOwner_Call
func (*Store_GetIncidentOwner_Call) Run ¶
func (_c *Store_GetIncidentOwner_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetIncidentOwner_Call
func (*Store_GetIncidentOwner_Call) RunAndReturn ¶
func (_c *Store_GetIncidentOwner_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (int, error)) *Store_GetIncidentOwner_Call
type Store_GetIncidentTalkgroups_Call ¶
Store_GetIncidentTalkgroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIncidentTalkgroups'
func (*Store_GetIncidentTalkgroups_Call) Return ¶
func (_c *Store_GetIncidentTalkgroups_Call) Return(getIncidentTalkgroupsRows []database.GetIncidentTalkgroupsRow, err error) *Store_GetIncidentTalkgroups_Call
func (*Store_GetIncidentTalkgroups_Call) Run ¶
func (_c *Store_GetIncidentTalkgroups_Call) Run(run func(ctx context.Context, incidentID uuid.UUID)) *Store_GetIncidentTalkgroups_Call
func (*Store_GetIncidentTalkgroups_Call) RunAndReturn ¶
func (_c *Store_GetIncidentTalkgroups_Call) RunAndReturn(run func(ctx context.Context, incidentID uuid.UUID) ([]database.GetIncidentTalkgroupsRow, error)) *Store_GetIncidentTalkgroups_Call
type Store_GetIncident_Call ¶
Store_GetIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIncident'
func (*Store_GetIncident_Call) Return ¶
func (_c *Store_GetIncident_Call) Return(getIncidentRow database.GetIncidentRow, err error) *Store_GetIncident_Call
func (*Store_GetIncident_Call) Run ¶
func (_c *Store_GetIncident_Call) Run(run func(ctx context.Context, id uuid.UUID)) *Store_GetIncident_Call
func (*Store_GetIncident_Call) RunAndReturn ¶
func (_c *Store_GetIncident_Call) RunAndReturn(run func(ctx context.Context, id uuid.UUID) (database.GetIncidentRow, error)) *Store_GetIncident_Call
type Store_GetPrunableAudioRefs_Call ¶
Store_GetPrunableAudioRefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPrunableAudioRefs'
func (*Store_GetPrunableAudioRefs_Call) Return ¶
func (_c *Store_GetPrunableAudioRefs_Call) Return(getPrunableAudioRefsRows []database.GetPrunableAudioRefsRow, err error) *Store_GetPrunableAudioRefs_Call
func (*Store_GetPrunableAudioRefs_Call) Run ¶
func (_c *Store_GetPrunableAudioRefs_Call) Run(run func(ctx context.Context, partitionStart time.Time, partitionEnd time.Time)) *Store_GetPrunableAudioRefs_Call
func (*Store_GetPrunableAudioRefs_Call) RunAndReturn ¶
func (_c *Store_GetPrunableAudioRefs_Call) RunAndReturn(run func(ctx context.Context, partitionStart time.Time, partitionEnd time.Time) ([]database.GetPrunableAudioRefsRow, error)) *Store_GetPrunableAudioRefs_Call
type Store_GetPushSubscriptions_Call ¶
Store_GetPushSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPushSubscriptions'
func (*Store_GetPushSubscriptions_Call) Return ¶
func (_c *Store_GetPushSubscriptions_Call) Return(getPushSubscriptionsRows []database.GetPushSubscriptionsRow, err error) *Store_GetPushSubscriptions_Call
func (*Store_GetPushSubscriptions_Call) Run ¶
func (_c *Store_GetPushSubscriptions_Call) Run(run func(ctx context.Context)) *Store_GetPushSubscriptions_Call
func (*Store_GetPushSubscriptions_Call) RunAndReturn ¶
func (_c *Store_GetPushSubscriptions_Call) RunAndReturn(run func(ctx context.Context) ([]database.GetPushSubscriptionsRow, error)) *Store_GetPushSubscriptions_Call
type Store_GetRefJournal_Call ¶
Store_GetRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRefJournal'
func (*Store_GetRefJournal_Call) Return ¶
func (_c *Store_GetRefJournal_Call) Return(audioRefJournals []database.AudioRefJournal, err error) *Store_GetRefJournal_Call
func (*Store_GetRefJournal_Call) Run ¶
func (_c *Store_GetRefJournal_Call) Run(run func(ctx context.Context, arg database.GetRefJournalParams)) *Store_GetRefJournal_Call
func (*Store_GetRefJournal_Call) RunAndReturn ¶
func (_c *Store_GetRefJournal_Call) RunAndReturn(run func(ctx context.Context, arg database.GetRefJournalParams) ([]database.AudioRefJournal, error)) *Store_GetRefJournal_Call
type Store_GetSetting_Call ¶
Store_GetSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSetting'
func (*Store_GetSetting_Call) Return ¶
func (_c *Store_GetSetting_Call) Return(bytes []byte, err error) *Store_GetSetting_Call
func (*Store_GetSetting_Call) Run ¶
func (_c *Store_GetSetting_Call) Run(run func(ctx context.Context, name string)) *Store_GetSetting_Call
func (*Store_GetSetting_Call) RunAndReturn ¶
func (_c *Store_GetSetting_Call) RunAndReturn(run func(ctx context.Context, name string) ([]byte, error)) *Store_GetSetting_Call
type Store_GetShare_Call ¶
type Store_GetShare_Call struct {
}
Store_GetShare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetShare'
func (*Store_GetShare_Call) Return ¶
func (_c *Store_GetShare_Call) Return(share database.Share, err error) *Store_GetShare_Call
func (*Store_GetShare_Call) Run ¶
func (_c *Store_GetShare_Call) Run(run func(ctx context.Context, id string)) *Store_GetShare_Call
func (*Store_GetShare_Call) RunAndReturn ¶
func (_c *Store_GetShare_Call) RunAndReturn(run func(ctx context.Context, id string) (database.Share, error)) *Store_GetShare_Call
type Store_GetSharesPCount_Call ¶
type Store_GetSharesPCount_Call struct {
}
Store_GetSharesPCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSharesPCount'
func (*Store_GetSharesPCount_Call) Return ¶
func (_c *Store_GetSharesPCount_Call) Return(n int64, err error) *Store_GetSharesPCount_Call
func (*Store_GetSharesPCount_Call) Run ¶
func (_c *Store_GetSharesPCount_Call) Run(run func(ctx context.Context, ownerID *int32)) *Store_GetSharesPCount_Call
func (*Store_GetSharesPCount_Call) RunAndReturn ¶
func (_c *Store_GetSharesPCount_Call) RunAndReturn(run func(ctx context.Context, ownerID *int32) (int64, error)) *Store_GetSharesPCount_Call
type Store_GetSharesP_Call ¶
type Store_GetSharesP_Call struct {
}
Store_GetSharesP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSharesP'
func (*Store_GetSharesP_Call) Return ¶
func (_c *Store_GetSharesP_Call) Return(getSharesPRows []database.GetSharesPRow, err error) *Store_GetSharesP_Call
func (*Store_GetSharesP_Call) Run ¶
func (_c *Store_GetSharesP_Call) Run(run func(ctx context.Context, arg database.GetSharesPParams)) *Store_GetSharesP_Call
func (*Store_GetSharesP_Call) RunAndReturn ¶
func (_c *Store_GetSharesP_Call) RunAndReturn(run func(ctx context.Context, arg database.GetSharesPParams) ([]database.GetSharesPRow, error)) *Store_GetSharesP_Call
type Store_GetSweptCallsWithRef_Call ¶
Store_GetSweptCallsWithRef_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSweptCallsWithRef'
func (*Store_GetSweptCallsWithRef_Call) Return ¶
func (_c *Store_GetSweptCallsWithRef_Call) Return(getSweptCallsWithRefRows []database.GetSweptCallsWithRefRow, err error) *Store_GetSweptCallsWithRef_Call
func (*Store_GetSweptCallsWithRef_Call) Run ¶
func (_c *Store_GetSweptCallsWithRef_Call) Run(run func(ctx context.Context)) *Store_GetSweptCallsWithRef_Call
func (*Store_GetSweptCallsWithRef_Call) RunAndReturn ¶
func (_c *Store_GetSweptCallsWithRef_Call) RunAndReturn(run func(ctx context.Context) ([]database.GetSweptCallsWithRefRow, error)) *Store_GetSweptCallsWithRef_Call
type Store_GetSystemName_Call ¶
Store_GetSystemName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemName'
func (*Store_GetSystemName_Call) Return ¶
func (_c *Store_GetSystemName_Call) Return(s string, err error) *Store_GetSystemName_Call
func (*Store_GetSystemName_Call) Run ¶
func (_c *Store_GetSystemName_Call) Run(run func(ctx context.Context, systemID int)) *Store_GetSystemName_Call
func (*Store_GetSystemName_Call) RunAndReturn ¶
func (_c *Store_GetSystemName_Call) RunAndReturn(run func(ctx context.Context, systemID int) (string, error)) *Store_GetSystemName_Call
type Store_GetSystemSubscriptions_Call ¶
Store_GetSystemSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSystemSubscriptions'
func (*Store_GetSystemSubscriptions_Call) Return ¶
func (_c *Store_GetSystemSubscriptions_Call) Return(int32s []int32, err error) *Store_GetSystemSubscriptions_Call
func (*Store_GetSystemSubscriptions_Call) Run ¶
func (_c *Store_GetSystemSubscriptions_Call) Run(run func(ctx context.Context, userID int)) *Store_GetSystemSubscriptions_Call
func (*Store_GetSystemSubscriptions_Call) RunAndReturn ¶
func (_c *Store_GetSystemSubscriptions_Call) RunAndReturn(run func(ctx context.Context, userID int) ([]int32, error)) *Store_GetSystemSubscriptions_Call
type Store_GetTablePartitions_Call ¶
Store_GetTablePartitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTablePartitions'
func (*Store_GetTablePartitions_Call) Return ¶
func (_c *Store_GetTablePartitions_Call) Return(partitionResults []database.PartitionResult, err error) *Store_GetTablePartitions_Call
func (*Store_GetTablePartitions_Call) Run ¶
func (_c *Store_GetTablePartitions_Call) Run(run func(ctx context.Context, schemaName string, tableName string)) *Store_GetTablePartitions_Call
func (*Store_GetTablePartitions_Call) RunAndReturn ¶
func (_c *Store_GetTablePartitions_Call) RunAndReturn(run func(ctx context.Context, schemaName string, tableName string) ([]database.PartitionResult, error)) *Store_GetTablePartitions_Call
type Store_GetTalkgroupIDsByTags_Call ¶
Store_GetTalkgroupIDsByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupIDsByTags'
func (*Store_GetTalkgroupIDsByTags_Call) Return ¶
func (_c *Store_GetTalkgroupIDsByTags_Call) Return(getTalkgroupIDsByTagsRows []database.GetTalkgroupIDsByTagsRow, err error) *Store_GetTalkgroupIDsByTags_Call
func (*Store_GetTalkgroupIDsByTags_Call) Run ¶
func (_c *Store_GetTalkgroupIDsByTags_Call) Run(run func(ctx context.Context, allTags []string, anyTags []string, notAnyTags []string)) *Store_GetTalkgroupIDsByTags_Call
func (*Store_GetTalkgroupIDsByTags_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupIDsByTags_Call) RunAndReturn(run func(ctx context.Context, allTags []string, anyTags []string, notAnyTags []string) ([]database.GetTalkgroupIDsByTagsRow, error)) *Store_GetTalkgroupIDsByTags_Call
type Store_GetTalkgroupSubscriptions_Call ¶
Store_GetTalkgroupSubscriptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupSubscriptions'
func (*Store_GetTalkgroupSubscriptions_Call) Return ¶
func (_c *Store_GetTalkgroupSubscriptions_Call) Return(getTalkgroupSubscriptionsRows []database.GetTalkgroupSubscriptionsRow, err error) *Store_GetTalkgroupSubscriptions_Call
func (*Store_GetTalkgroupSubscriptions_Call) Run ¶
func (_c *Store_GetTalkgroupSubscriptions_Call) Run(run func(ctx context.Context, userID int)) *Store_GetTalkgroupSubscriptions_Call
func (*Store_GetTalkgroupSubscriptions_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupSubscriptions_Call) RunAndReturn(run func(ctx context.Context, userID int) ([]database.GetTalkgroupSubscriptionsRow, error)) *Store_GetTalkgroupSubscriptions_Call
type Store_GetTalkgroupTags_Call ¶
Store_GetTalkgroupTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupTags'
func (*Store_GetTalkgroupTags_Call) Return ¶
func (_c *Store_GetTalkgroupTags_Call) Return(strings []string, err error) *Store_GetTalkgroupTags_Call
func (*Store_GetTalkgroupTags_Call) Run ¶
func (_c *Store_GetTalkgroupTags_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetTalkgroupTags_Call
func (*Store_GetTalkgroupTags_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) ([]string, error)) *Store_GetTalkgroupTags_Call
type Store_GetTalkgroup_Call ¶
Store_GetTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroup'
func (*Store_GetTalkgroup_Call) Return ¶
func (_c *Store_GetTalkgroup_Call) Return(getTalkgroupRow database.GetTalkgroupRow, err error) *Store_GetTalkgroup_Call
func (*Store_GetTalkgroup_Call) Run ¶
func (_c *Store_GetTalkgroup_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetTalkgroup_Call
func (*Store_GetTalkgroup_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroup_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) (database.GetTalkgroupRow, error)) *Store_GetTalkgroup_Call
type Store_GetTalkgroupsBySysTGID_Call ¶
Store_GetTalkgroupsBySysTGID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupsBySysTGID'
func (*Store_GetTalkgroupsBySysTGID_Call) Return ¶
func (_c *Store_GetTalkgroupsBySysTGID_Call) Return(getTalkgroupsRows []database.GetTalkgroupsRow, err error) *Store_GetTalkgroupsBySysTGID_Call
func (*Store_GetTalkgroupsBySysTGID_Call) Run ¶
func (_c *Store_GetTalkgroupsBySysTGID_Call) Run(run func(ctx context.Context, ids database.TGTuplesU)) *Store_GetTalkgroupsBySysTGID_Call
func (*Store_GetTalkgroupsBySysTGID_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupsBySysTGID_Call) RunAndReturn(run func(ctx context.Context, ids database.TGTuplesU) ([]database.GetTalkgroupsRow, error)) *Store_GetTalkgroupsBySysTGID_Call
type Store_GetTalkgroupsCount_Call ¶
Store_GetTalkgroupsCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupsCount'
func (*Store_GetTalkgroupsCount_Call) Return ¶
func (_c *Store_GetTalkgroupsCount_Call) Return(n int64, err error) *Store_GetTalkgroupsCount_Call
func (*Store_GetTalkgroupsCount_Call) Run ¶
func (_c *Store_GetTalkgroupsCount_Call) Run(run func(ctx context.Context, system *int32, withIgnored bool, filter *string)) *Store_GetTalkgroupsCount_Call
func (*Store_GetTalkgroupsCount_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupsCount_Call) RunAndReturn(run func(ctx context.Context, system *int32, withIgnored bool, filter *string) (int64, error)) *Store_GetTalkgroupsCount_Call
type Store_GetTalkgroupsP_Call ¶
Store_GetTalkgroupsP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupsP'
func (*Store_GetTalkgroupsP_Call) Return ¶
func (_c *Store_GetTalkgroupsP_Call) Return(getTalkgroupsPRows []database.GetTalkgroupsPRow, err error) *Store_GetTalkgroupsP_Call
func (*Store_GetTalkgroupsP_Call) Run ¶
func (_c *Store_GetTalkgroupsP_Call) Run(run func(ctx context.Context, arg database.GetTalkgroupsPParams)) *Store_GetTalkgroupsP_Call
func (*Store_GetTalkgroupsP_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupsP_Call) RunAndReturn(run func(ctx context.Context, arg database.GetTalkgroupsPParams) ([]database.GetTalkgroupsPRow, error)) *Store_GetTalkgroupsP_Call
type Store_GetTalkgroupsWithAllTags_Call ¶
Store_GetTalkgroupsWithAllTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupsWithAllTags'
func (*Store_GetTalkgroupsWithAllTags_Call) Return ¶
func (_c *Store_GetTalkgroupsWithAllTags_Call) Return(getTalkgroupsWithAllTagsRows []database.GetTalkgroupsWithAllTagsRow, err error) *Store_GetTalkgroupsWithAllTags_Call
func (*Store_GetTalkgroupsWithAllTags_Call) Run ¶
func (_c *Store_GetTalkgroupsWithAllTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_GetTalkgroupsWithAllTags_Call
func (*Store_GetTalkgroupsWithAllTags_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupsWithAllTags_Call) RunAndReturn(run func(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAllTagsRow, error)) *Store_GetTalkgroupsWithAllTags_Call
type Store_GetTalkgroupsWithAnyTags_Call ¶
Store_GetTalkgroupsWithAnyTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroupsWithAnyTags'
func (*Store_GetTalkgroupsWithAnyTags_Call) Return ¶
func (_c *Store_GetTalkgroupsWithAnyTags_Call) Return(getTalkgroupsWithAnyTagsRows []database.GetTalkgroupsWithAnyTagsRow, err error) *Store_GetTalkgroupsWithAnyTags_Call
func (*Store_GetTalkgroupsWithAnyTags_Call) Run ¶
func (_c *Store_GetTalkgroupsWithAnyTags_Call) Run(run func(ctx context.Context, tags []string)) *Store_GetTalkgroupsWithAnyTags_Call
func (*Store_GetTalkgroupsWithAnyTags_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroupsWithAnyTags_Call) RunAndReturn(run func(ctx context.Context, tags []string) ([]database.GetTalkgroupsWithAnyTagsRow, error)) *Store_GetTalkgroupsWithAnyTags_Call
type Store_GetTalkgroups_Call ¶
Store_GetTalkgroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTalkgroups'
func (*Store_GetTalkgroups_Call) Return ¶
func (_c *Store_GetTalkgroups_Call) Return(getTalkgroupsRows []database.GetTalkgroupsRow, err error) *Store_GetTalkgroups_Call
func (*Store_GetTalkgroups_Call) Run ¶
func (_c *Store_GetTalkgroups_Call) Run(run func(ctx context.Context, system *int32, withIgnored bool, filter *string)) *Store_GetTalkgroups_Call
func (*Store_GetTalkgroups_Call) RunAndReturn ¶
func (_c *Store_GetTalkgroups_Call) RunAndReturn(run func(ctx context.Context, system *int32, withIgnored bool, filter *string) ([]database.GetTalkgroupsRow, error)) *Store_GetTalkgroups_Call
type Store_GetTranscriptsContext_Call ¶
Store_GetTranscriptsContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTranscriptsContext'
func (*Store_GetTranscriptsContext_Call) Return ¶
func (_c *Store_GetTranscriptsContext_Call) Return(getTranscriptsContextRows []database.GetTranscriptsContextRow, err error) *Store_GetTranscriptsContext_Call
func (*Store_GetTranscriptsContext_Call) Run ¶
func (_c *Store_GetTranscriptsContext_Call) Run(run func(ctx context.Context, arg database.GetTranscriptsContextParams)) *Store_GetTranscriptsContext_Call
func (*Store_GetTranscriptsContext_Call) RunAndReturn ¶
func (_c *Store_GetTranscriptsContext_Call) RunAndReturn(run func(ctx context.Context, arg database.GetTranscriptsContextParams) ([]database.GetTranscriptsContextRow, error)) *Store_GetTranscriptsContext_Call
type Store_GetUserByID_Call ¶
Store_GetUserByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByID'
func (*Store_GetUserByID_Call) Return ¶
func (_c *Store_GetUserByID_Call) Return(user database.User, err error) *Store_GetUserByID_Call
func (*Store_GetUserByID_Call) Run ¶
func (_c *Store_GetUserByID_Call) Run(run func(ctx context.Context, id int)) *Store_GetUserByID_Call
func (*Store_GetUserByID_Call) RunAndReturn ¶
func (_c *Store_GetUserByID_Call) RunAndReturn(run func(ctx context.Context, id int) (database.User, error)) *Store_GetUserByID_Call
type Store_GetUserByUsername_Call ¶
Store_GetUserByUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByUsername'
func (*Store_GetUserByUsername_Call) Return ¶
func (_c *Store_GetUserByUsername_Call) Return(user database.User, err error) *Store_GetUserByUsername_Call
func (*Store_GetUserByUsername_Call) Run ¶
func (_c *Store_GetUserByUsername_Call) Run(run func(ctx context.Context, username string)) *Store_GetUserByUsername_Call
func (*Store_GetUserByUsername_Call) RunAndReturn ¶
func (_c *Store_GetUserByUsername_Call) RunAndReturn(run func(ctx context.Context, username string) (database.User, error)) *Store_GetUserByUsername_Call
type Store_GetUsers_Call ¶
Store_GetUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsers'
func (*Store_GetUsers_Call) Return ¶
func (_c *Store_GetUsers_Call) Return(users []database.User, err error) *Store_GetUsers_Call
func (*Store_GetUsers_Call) Run ¶
func (_c *Store_GetUsers_Call) Run(run func(ctx context.Context)) *Store_GetUsers_Call
func (*Store_GetUsers_Call) RunAndReturn ¶
func (_c *Store_GetUsers_Call) RunAndReturn(run func(ctx context.Context) ([]database.User, error)) *Store_GetUsers_Call
type Store_GetWebPushSubscriptionsSubscribed_Call ¶
Store_GetWebPushSubscriptionsSubscribed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWebPushSubscriptionsSubscribed'
func (*Store_GetWebPushSubscriptionsSubscribed_Call) Return ¶
func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) Return(getWebPushSubscriptionsSubscribedRows []database.GetWebPushSubscriptionsSubscribedRow, err error) *Store_GetWebPushSubscriptionsSubscribed_Call
func (*Store_GetWebPushSubscriptionsSubscribed_Call) Run ¶
func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) Run(run func(ctx context.Context, systemID int32, tGID int32)) *Store_GetWebPushSubscriptionsSubscribed_Call
func (*Store_GetWebPushSubscriptionsSubscribed_Call) RunAndReturn ¶
func (_c *Store_GetWebPushSubscriptionsSubscribed_Call) RunAndReturn(run func(ctx context.Context, systemID int32, tGID int32) ([]database.GetWebPushSubscriptionsSubscribedRow, error)) *Store_GetWebPushSubscriptionsSubscribed_Call
type Store_InTx_Call ¶
Store_InTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InTx'
func (*Store_InTx_Call) Return ¶
func (_c *Store_InTx_Call) Return(err error) *Store_InTx_Call
func (*Store_InTx_Call) Run ¶
func (_c *Store_InTx_Call) Run(run func(context1 context.Context, fn func(database.Store) error)) *Store_InTx_Call
func (*Store_InTx_Call) RunAndReturn ¶
func (_c *Store_InTx_Call) RunAndReturn(run func(context1 context.Context, fn func(database.Store) error) error) *Store_InTx_Call
type Store_IncrementRefJournal_Call ¶
Store_IncrementRefJournal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementRefJournal'
func (*Store_IncrementRefJournal_Call) Return ¶
func (_c *Store_IncrementRefJournal_Call) Return(err error) *Store_IncrementRefJournal_Call
func (*Store_IncrementRefJournal_Call) Run ¶
func (_c *Store_IncrementRefJournal_Call) Run(run func(ctx context.Context, id int64)) *Store_IncrementRefJournal_Call
func (*Store_IncrementRefJournal_Call) RunAndReturn ¶
func (_c *Store_IncrementRefJournal_Call) RunAndReturn(run func(ctx context.Context, id int64) error) *Store_IncrementRefJournal_Call
type Store_ListCallsCount_Call ¶
Store_ListCallsCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCallsCount'
func (*Store_ListCallsCount_Call) Return ¶
func (_c *Store_ListCallsCount_Call) Return(n int64, err error) *Store_ListCallsCount_Call
func (*Store_ListCallsCount_Call) Run ¶
func (_c *Store_ListCallsCount_Call) Run(run func(ctx context.Context, arg database.ListCallsCountParams)) *Store_ListCallsCount_Call
func (*Store_ListCallsCount_Call) RunAndReturn ¶
func (_c *Store_ListCallsCount_Call) RunAndReturn(run func(ctx context.Context, arg database.ListCallsCountParams) (int64, error)) *Store_ListCallsCount_Call
type Store_ListCallsP_Call ¶
Store_ListCallsP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCallsP'
func (*Store_ListCallsP_Call) Return ¶
func (_c *Store_ListCallsP_Call) Return(listCallsPRows []database.ListCallsPRow, err error) *Store_ListCallsP_Call
func (*Store_ListCallsP_Call) Run ¶
func (_c *Store_ListCallsP_Call) Run(run func(ctx context.Context, arg database.ListCallsPParams)) *Store_ListCallsP_Call
func (*Store_ListCallsP_Call) RunAndReturn ¶
func (_c *Store_ListCallsP_Call) RunAndReturn(run func(ctx context.Context, arg database.ListCallsPParams) ([]database.ListCallsPRow, error)) *Store_ListCallsP_Call
type Store_ListIncidentsCount_Call ¶
Store_ListIncidentsCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIncidentsCount'
func (*Store_ListIncidentsCount_Call) Return ¶
func (_c *Store_ListIncidentsCount_Call) Return(n int64, err error) *Store_ListIncidentsCount_Call
func (*Store_ListIncidentsCount_Call) Run ¶
func (_c *Store_ListIncidentsCount_Call) Run(run func(ctx context.Context, start *time.Time, end *time.Time, filter *string)) *Store_ListIncidentsCount_Call
func (*Store_ListIncidentsCount_Call) RunAndReturn ¶
type Store_ListIncidentsP_Call ¶
Store_ListIncidentsP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListIncidentsP'
func (*Store_ListIncidentsP_Call) Return ¶
func (_c *Store_ListIncidentsP_Call) Return(listIncidentsPRows []database.ListIncidentsPRow, err error) *Store_ListIncidentsP_Call
func (*Store_ListIncidentsP_Call) Run ¶
func (_c *Store_ListIncidentsP_Call) Run(run func(ctx context.Context, arg database.ListIncidentsPParams)) *Store_ListIncidentsP_Call
func (*Store_ListIncidentsP_Call) RunAndReturn ¶
func (_c *Store_ListIncidentsP_Call) RunAndReturn(run func(ctx context.Context, arg database.ListIncidentsPParams) ([]database.ListIncidentsPRow, error)) *Store_ListIncidentsP_Call
type Store_PoolTx_Call ¶
Store_PoolTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PoolTx'
func (*Store_PoolTx_Call) Return ¶
func (_c *Store_PoolTx_Call) Return(dbtx *database.Postgres, tx pgx.Tx, err error) *Store_PoolTx_Call
func (*Store_PoolTx_Call) Run ¶
func (_c *Store_PoolTx_Call) Run(run func(ctx context.Context, opts pgx.TxOptions)) *Store_PoolTx_Call
func (*Store_PoolTx_Call) RunAndReturn ¶
type Store_PruneAlerts_Call ¶
Store_PruneAlerts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneAlerts'
func (*Store_PruneAlerts_Call) Return ¶
func (_c *Store_PruneAlerts_Call) Return(n int64, err error) *Store_PruneAlerts_Call
func (*Store_PruneAlerts_Call) Run ¶
func (_c *Store_PruneAlerts_Call) Run(run func(ctx context.Context, before time.Time)) *Store_PruneAlerts_Call
func (*Store_PruneAlerts_Call) RunAndReturn ¶
func (_c *Store_PruneAlerts_Call) RunAndReturn(run func(ctx context.Context, before time.Time) (int64, error)) *Store_PruneAlerts_Call
type Store_PruneShares_Call ¶
type Store_PruneShares_Call struct {
}
Store_PruneShares_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PruneShares'
func (*Store_PruneShares_Call) Return ¶
func (_c *Store_PruneShares_Call) Return(err error) *Store_PruneShares_Call
func (*Store_PruneShares_Call) Run ¶
func (_c *Store_PruneShares_Call) Run(run func(ctx context.Context)) *Store_PruneShares_Call
func (*Store_PruneShares_Call) RunAndReturn ¶
func (_c *Store_PruneShares_Call) RunAndReturn(run func(ctx context.Context) error) *Store_PruneShares_Call
type Store_RecordUserLogin_Call ¶
Store_RecordUserLogin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordUserLogin'
func (*Store_RecordUserLogin_Call) Return ¶
func (_c *Store_RecordUserLogin_Call) Return(err error) *Store_RecordUserLogin_Call
func (*Store_RecordUserLogin_Call) Run ¶
func (_c *Store_RecordUserLogin_Call) Run(run func(ctx context.Context, username string, lastLoginAt *time.Time, lastLoginFrom *netip.Addr)) *Store_RecordUserLogin_Call
func (*Store_RecordUserLogin_Call) RunAndReturn ¶
func (_c *Store_RecordUserLogin_Call) RunAndReturn(run func(ctx context.Context, username string, lastLoginAt *time.Time, lastLoginFrom *netip.Addr) error) *Store_RecordUserLogin_Call
type Store_RemoveFromIncident_Call ¶
Store_RemoveFromIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveFromIncident'
func (*Store_RemoveFromIncident_Call) Return ¶
func (_c *Store_RemoveFromIncident_Call) Return(err error) *Store_RemoveFromIncident_Call
func (*Store_RemoveFromIncident_Call) Run ¶
func (_c *Store_RemoveFromIncident_Call) Run(run func(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID)) *Store_RemoveFromIncident_Call
func (*Store_RemoveFromIncident_Call) RunAndReturn ¶
func (_c *Store_RemoveFromIncident_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, callIds []uuid.UUID) error) *Store_RemoveFromIncident_Call
type Store_RestoreTalkgroupVersion_Call ¶
Store_RestoreTalkgroupVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreTalkgroupVersion'
func (*Store_RestoreTalkgroupVersion_Call) Return ¶
func (_c *Store_RestoreTalkgroupVersion_Call) Return(talkgroup database.Talkgroup, err error) *Store_RestoreTalkgroupVersion_Call
func (*Store_RestoreTalkgroupVersion_Call) Run ¶
func (_c *Store_RestoreTalkgroupVersion_Call) Run(run func(ctx context.Context, versionIds int)) *Store_RestoreTalkgroupVersion_Call
func (*Store_RestoreTalkgroupVersion_Call) RunAndReturn ¶
func (_c *Store_RestoreTalkgroupVersion_Call) RunAndReturn(run func(ctx context.Context, versionIds int) (database.Talkgroup, error)) *Store_RestoreTalkgroupVersion_Call
type Store_SetAppPrefs_Call ¶
Store_SetAppPrefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAppPrefs'
func (*Store_SetAppPrefs_Call) Return ¶
func (_c *Store_SetAppPrefs_Call) Return(err error) *Store_SetAppPrefs_Call
func (*Store_SetAppPrefs_Call) Run ¶
func (_c *Store_SetAppPrefs_Call) Run(run func(ctx context.Context, appName string, prefs []byte, uid int)) *Store_SetAppPrefs_Call
func (*Store_SetAppPrefs_Call) RunAndReturn ¶
func (_c *Store_SetAppPrefs_Call) RunAndReturn(run func(ctx context.Context, appName string, prefs []byte, uid int) error) *Store_SetAppPrefs_Call
type Store_SetCallAudio_Call ¶
Store_SetCallAudio_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCallAudio'
func (*Store_SetCallAudio_Call) Return ¶
func (_c *Store_SetCallAudio_Call) Return(err error) *Store_SetCallAudio_Call
func (*Store_SetCallAudio_Call) Run ¶
func (_c *Store_SetCallAudio_Call) Run(run func(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte)) *Store_SetCallAudio_Call
func (*Store_SetCallAudio_Call) RunAndReturn ¶
func (_c *Store_SetCallAudio_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error) *Store_SetCallAudio_Call
type Store_SetCallTranscript_Call ¶
Store_SetCallTranscript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCallTranscript'
func (*Store_SetCallTranscript_Call) Return ¶
func (_c *Store_SetCallTranscript_Call) Return(setCallTranscriptRow database.SetCallTranscriptRow, err error) *Store_SetCallTranscript_Call
func (*Store_SetCallTranscript_Call) Run ¶
func (_c *Store_SetCallTranscript_Call) Run(run func(ctx context.Context, iD uuid.UUID, transcript *string)) *Store_SetCallTranscript_Call
func (*Store_SetCallTranscript_Call) RunAndReturn ¶
func (_c *Store_SetCallTranscript_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, transcript *string) (database.SetCallTranscriptRow, error)) *Store_SetCallTranscript_Call
type Store_SetRefJournalPrune_Call ¶
Store_SetRefJournalPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRefJournalPrune'
func (*Store_SetRefJournalPrune_Call) Return ¶
func (_c *Store_SetRefJournalPrune_Call) Return(err error) *Store_SetRefJournalPrune_Call
func (*Store_SetRefJournalPrune_Call) Run ¶
func (_c *Store_SetRefJournalPrune_Call) Run(run func(ctx context.Context, iD int64, pruneAfter *time.Time)) *Store_SetRefJournalPrune_Call
func (*Store_SetRefJournalPrune_Call) RunAndReturn ¶
func (_c *Store_SetRefJournalPrune_Call) RunAndReturn(run func(ctx context.Context, iD int64, pruneAfter *time.Time) error) *Store_SetRefJournalPrune_Call
type Store_SetSetting_Call ¶
Store_SetSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSetting'
func (*Store_SetSetting_Call) Return ¶
func (_c *Store_SetSetting_Call) Return(err error) *Store_SetSetting_Call
func (*Store_SetSetting_Call) Run ¶
func (_c *Store_SetSetting_Call) Run(run func(ctx context.Context, name string, updatedBy *int32, value []byte)) *Store_SetSetting_Call
func (*Store_SetSetting_Call) RunAndReturn ¶
func (_c *Store_SetSetting_Call) RunAndReturn(run func(ctx context.Context, name string, updatedBy *int32, value []byte) error) *Store_SetSetting_Call
type Store_SetSweptAudioAndClearRef_Call ¶
Store_SetSweptAudioAndClearRef_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSweptAudioAndClearRef'
func (*Store_SetSweptAudioAndClearRef_Call) Return ¶
func (_c *Store_SetSweptAudioAndClearRef_Call) Return(err error) *Store_SetSweptAudioAndClearRef_Call
func (*Store_SetSweptAudioAndClearRef_Call) Run ¶
func (_c *Store_SetSweptAudioAndClearRef_Call) Run(run func(ctx context.Context, audioBlob []byte, iD uuid.UUID)) *Store_SetSweptAudioAndClearRef_Call
func (*Store_SetSweptAudioAndClearRef_Call) RunAndReturn ¶
func (_c *Store_SetSweptAudioAndClearRef_Call) RunAndReturn(run func(ctx context.Context, audioBlob []byte, iD uuid.UUID) error) *Store_SetSweptAudioAndClearRef_Call
type Store_SetSweptCallAudio_Call ¶
Store_SetSweptCallAudio_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSweptCallAudio'
func (*Store_SetSweptCallAudio_Call) Return ¶
func (_c *Store_SetSweptCallAudio_Call) Return(err error) *Store_SetSweptCallAudio_Call
func (*Store_SetSweptCallAudio_Call) Run ¶
func (_c *Store_SetSweptCallAudio_Call) Run(run func(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte)) *Store_SetSweptCallAudio_Call
func (*Store_SetSweptCallAudio_Call) RunAndReturn ¶
func (_c *Store_SetSweptCallAudio_Call) RunAndReturn(run func(ctx context.Context, iD uuid.UUID, audioRef []byte, audioBlob []byte) error) *Store_SetSweptCallAudio_Call
type Store_SetTalkgroupTags_Call ¶
Store_SetTalkgroupTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTalkgroupTags'
func (*Store_SetTalkgroupTags_Call) Return ¶
func (_c *Store_SetTalkgroupTags_Call) Return(err error) *Store_SetTalkgroupTags_Call
func (*Store_SetTalkgroupTags_Call) Run ¶
func (_c *Store_SetTalkgroupTags_Call) Run(run func(ctx context.Context, tags []string, systemID int32, tGID int32)) *Store_SetTalkgroupTags_Call
func (*Store_SetTalkgroupTags_Call) RunAndReturn ¶
func (_c *Store_SetTalkgroupTags_Call) RunAndReturn(run func(ctx context.Context, tags []string, systemID int32, tGID int32) error) *Store_SetTalkgroupTags_Call
type Store_StoreDeletedTGVersion_Call ¶
Store_StoreDeletedTGVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreDeletedTGVersion'
func (*Store_StoreDeletedTGVersion_Call) Return ¶
func (_c *Store_StoreDeletedTGVersion_Call) Return(err error) *Store_StoreDeletedTGVersion_Call
func (*Store_StoreDeletedTGVersion_Call) Run ¶
func (_c *Store_StoreDeletedTGVersion_Call) Run(run func(ctx context.Context, systemID *int32, tGID *int32, submitter *int32)) *Store_StoreDeletedTGVersion_Call
func (*Store_StoreDeletedTGVersion_Call) RunAndReturn ¶
func (_c *Store_StoreDeletedTGVersion_Call) RunAndReturn(run func(ctx context.Context, systemID *int32, tGID *int32, submitter *int32) error) *Store_StoreDeletedTGVersion_Call
type Store_StoreTGVersion_Call ¶
Store_StoreTGVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreTGVersion'
func (*Store_StoreTGVersion_Call) Return ¶
func (_c *Store_StoreTGVersion_Call) Return(storeTGVersionBatchResults *database.StoreTGVersionBatchResults) *Store_StoreTGVersion_Call
func (*Store_StoreTGVersion_Call) Run ¶
func (_c *Store_StoreTGVersion_Call) Run(run func(ctx context.Context, arg []database.StoreTGVersionParams)) *Store_StoreTGVersion_Call
func (*Store_StoreTGVersion_Call) RunAndReturn ¶
func (_c *Store_StoreTGVersion_Call) RunAndReturn(run func(ctx context.Context, arg []database.StoreTGVersionParams) *database.StoreTGVersionBatchResults) *Store_StoreTGVersion_Call
type Store_SubscribeSystems_Call ¶
Store_SubscribeSystems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeSystems'
func (*Store_SubscribeSystems_Call) Return ¶
func (_c *Store_SubscribeSystems_Call) Return(err error) *Store_SubscribeSystems_Call
func (*Store_SubscribeSystems_Call) Run ¶
func (_c *Store_SubscribeSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_SubscribeSystems_Call
func (*Store_SubscribeSystems_Call) RunAndReturn ¶
func (_c *Store_SubscribeSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) error) *Store_SubscribeSystems_Call
type Store_SubscribeTalkgroups_Call ¶
Store_SubscribeTalkgroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeTalkgroups'
func (*Store_SubscribeTalkgroups_Call) Return ¶
func (_c *Store_SubscribeTalkgroups_Call) Return(err error) *Store_SubscribeTalkgroups_Call
func (*Store_SubscribeTalkgroups_Call) Run ¶
func (_c *Store_SubscribeTalkgroups_Call) Run(run func(ctx context.Context, userID int, systemIds []int32, tgids []int32)) *Store_SubscribeTalkgroups_Call
func (*Store_SubscribeTalkgroups_Call) RunAndReturn ¶
func (_c *Store_SubscribeTalkgroups_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32, tgids []int32) error) *Store_SubscribeTalkgroups_Call
type Store_SweepCalls_Call ¶
Store_SweepCalls_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SweepCalls'
func (*Store_SweepCalls_Call) Return ¶
func (_c *Store_SweepCalls_Call) Return(n int64, err error) *Store_SweepCalls_Call
func (*Store_SweepCalls_Call) Run ¶
func (_c *Store_SweepCalls_Call) Run(run func(ctx context.Context, rangeStart time.Time, rangeEnd time.Time)) *Store_SweepCalls_Call
func (*Store_SweepCalls_Call) RunAndReturn ¶
func (_c *Store_SweepCalls_Call) RunAndReturn(run func(ctx context.Context, rangeStart time.Time, rangeEnd time.Time) (int64, error)) *Store_SweepCalls_Call
type Store_UnsubscribeAllSystems_Call ¶
Store_UnsubscribeAllSystems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAllSystems'
func (*Store_UnsubscribeAllSystems_Call) Return ¶
func (_c *Store_UnsubscribeAllSystems_Call) Return(n int64, err error) *Store_UnsubscribeAllSystems_Call
func (*Store_UnsubscribeAllSystems_Call) Run ¶
func (_c *Store_UnsubscribeAllSystems_Call) Run(run func(ctx context.Context, userID int)) *Store_UnsubscribeAllSystems_Call
func (*Store_UnsubscribeAllSystems_Call) RunAndReturn ¶
func (_c *Store_UnsubscribeAllSystems_Call) RunAndReturn(run func(ctx context.Context, userID int) (int64, error)) *Store_UnsubscribeAllSystems_Call
type Store_UnsubscribeAllTalkgroups_Call ¶
Store_UnsubscribeAllTalkgroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAllTalkgroups'
func (*Store_UnsubscribeAllTalkgroups_Call) Return ¶
func (_c *Store_UnsubscribeAllTalkgroups_Call) Return(n int64, err error) *Store_UnsubscribeAllTalkgroups_Call
func (*Store_UnsubscribeAllTalkgroups_Call) Run ¶
func (_c *Store_UnsubscribeAllTalkgroups_Call) Run(run func(ctx context.Context, userID int)) *Store_UnsubscribeAllTalkgroups_Call
func (*Store_UnsubscribeAllTalkgroups_Call) RunAndReturn ¶
func (_c *Store_UnsubscribeAllTalkgroups_Call) RunAndReturn(run func(ctx context.Context, userID int) (int64, error)) *Store_UnsubscribeAllTalkgroups_Call
type Store_UnsubscribeSystems_Call ¶
Store_UnsubscribeSystems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeSystems'
func (*Store_UnsubscribeSystems_Call) Return ¶
func (_c *Store_UnsubscribeSystems_Call) Return(n int64, err error) *Store_UnsubscribeSystems_Call
func (*Store_UnsubscribeSystems_Call) Run ¶
func (_c *Store_UnsubscribeSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_UnsubscribeSystems_Call
func (*Store_UnsubscribeSystems_Call) RunAndReturn ¶
func (_c *Store_UnsubscribeSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) (int64, error)) *Store_UnsubscribeSystems_Call
type Store_UnsubscribeTGsInSystems_Call ¶
Store_UnsubscribeTGsInSystems_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeTGsInSystems'
func (*Store_UnsubscribeTGsInSystems_Call) Return ¶
func (_c *Store_UnsubscribeTGsInSystems_Call) Return(n int64, err error) *Store_UnsubscribeTGsInSystems_Call
func (*Store_UnsubscribeTGsInSystems_Call) Run ¶
func (_c *Store_UnsubscribeTGsInSystems_Call) Run(run func(ctx context.Context, userID int, systemIds []int32)) *Store_UnsubscribeTGsInSystems_Call
func (*Store_UnsubscribeTGsInSystems_Call) RunAndReturn ¶
func (_c *Store_UnsubscribeTGsInSystems_Call) RunAndReturn(run func(ctx context.Context, userID int, systemIds []int32) (int64, error)) *Store_UnsubscribeTGsInSystems_Call
type Store_UnsubscribeTalkgroups_Call ¶
Store_UnsubscribeTalkgroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeTalkgroups'
func (*Store_UnsubscribeTalkgroups_Call) Return ¶
func (_c *Store_UnsubscribeTalkgroups_Call) Return(n int64, err error) *Store_UnsubscribeTalkgroups_Call
func (*Store_UnsubscribeTalkgroups_Call) Run ¶
func (_c *Store_UnsubscribeTalkgroups_Call) Run(run func(ctx context.Context, userID int, tgs []database.TGID)) *Store_UnsubscribeTalkgroups_Call
func (*Store_UnsubscribeTalkgroups_Call) RunAndReturn ¶
func (_c *Store_UnsubscribeTalkgroups_Call) RunAndReturn(run func(ctx context.Context, userID int, tgs []database.TGID) (int64, error)) *Store_UnsubscribeTalkgroups_Call
type Store_UpdateCallIncidentNotes_Call ¶
Store_UpdateCallIncidentNotes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCallIncidentNotes'
func (*Store_UpdateCallIncidentNotes_Call) Return ¶
func (_c *Store_UpdateCallIncidentNotes_Call) Return(err error) *Store_UpdateCallIncidentNotes_Call
func (*Store_UpdateCallIncidentNotes_Call) Run ¶
func (_c *Store_UpdateCallIncidentNotes_Call) Run(run func(ctx context.Context, notes []byte, incidentID uuid.UUID, callID uuid.UUID)) *Store_UpdateCallIncidentNotes_Call
func (*Store_UpdateCallIncidentNotes_Call) RunAndReturn ¶
func (_c *Store_UpdateCallIncidentNotes_Call) RunAndReturn(run func(ctx context.Context, notes []byte, incidentID uuid.UUID, callID uuid.UUID) error) *Store_UpdateCallIncidentNotes_Call
type Store_UpdateIncident_Call ¶
Store_UpdateIncident_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateIncident'
func (*Store_UpdateIncident_Call) Return ¶
func (_c *Store_UpdateIncident_Call) Return(incident database.Incident, err error) *Store_UpdateIncident_Call
func (*Store_UpdateIncident_Call) Run ¶
func (_c *Store_UpdateIncident_Call) Run(run func(ctx context.Context, arg database.UpdateIncidentParams)) *Store_UpdateIncident_Call
func (*Store_UpdateIncident_Call) RunAndReturn ¶
func (_c *Store_UpdateIncident_Call) RunAndReturn(run func(ctx context.Context, arg database.UpdateIncidentParams) (database.Incident, error)) *Store_UpdateIncident_Call
type Store_UpdatePassword_Call ¶
Store_UpdatePassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePassword'
func (*Store_UpdatePassword_Call) Return ¶
func (_c *Store_UpdatePassword_Call) Return(err error) *Store_UpdatePassword_Call
func (*Store_UpdatePassword_Call) Run ¶
func (_c *Store_UpdatePassword_Call) Run(run func(ctx context.Context, username string, password string)) *Store_UpdatePassword_Call
func (*Store_UpdatePassword_Call) RunAndReturn ¶
func (_c *Store_UpdatePassword_Call) RunAndReturn(run func(ctx context.Context, username string, password string) error) *Store_UpdatePassword_Call
type Store_UpdatePushSubscription_Call ¶
Store_UpdatePushSubscription_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePushSubscription'
func (*Store_UpdatePushSubscription_Call) Return ¶
func (_c *Store_UpdatePushSubscription_Call) Return(n int64, err error) *Store_UpdatePushSubscription_Call
func (*Store_UpdatePushSubscription_Call) Run ¶
func (_c *Store_UpdatePushSubscription_Call) Run(run func(ctx context.Context, newSubscription []byte, userID int, oldSubscription []byte)) *Store_UpdatePushSubscription_Call
func (*Store_UpdatePushSubscription_Call) RunAndReturn ¶
func (_c *Store_UpdatePushSubscription_Call) RunAndReturn(run func(ctx context.Context, newSubscription []byte, userID int, oldSubscription []byte) (int64, error)) *Store_UpdatePushSubscription_Call
type Store_UpdateTalkgroup_Call ¶
Store_UpdateTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTalkgroup'
func (*Store_UpdateTalkgroup_Call) Return ¶
func (_c *Store_UpdateTalkgroup_Call) Return(talkgroup database.Talkgroup, err error) *Store_UpdateTalkgroup_Call
func (*Store_UpdateTalkgroup_Call) Run ¶
func (_c *Store_UpdateTalkgroup_Call) Run(run func(ctx context.Context, arg database.UpdateTalkgroupParams)) *Store_UpdateTalkgroup_Call
func (*Store_UpdateTalkgroup_Call) RunAndReturn ¶
func (_c *Store_UpdateTalkgroup_Call) RunAndReturn(run func(ctx context.Context, arg database.UpdateTalkgroupParams) (database.Talkgroup, error)) *Store_UpdateTalkgroup_Call
type Store_UpdateUser_Call ¶
Store_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*Store_UpdateUser_Call) Return ¶
func (_c *Store_UpdateUser_Call) Return(user database.User, err error) *Store_UpdateUser_Call
func (*Store_UpdateUser_Call) Run ¶
func (_c *Store_UpdateUser_Call) Run(run func(ctx context.Context, arg database.UpdateUserParams)) *Store_UpdateUser_Call
func (*Store_UpdateUser_Call) RunAndReturn ¶
func (_c *Store_UpdateUser_Call) RunAndReturn(run func(ctx context.Context, arg database.UpdateUserParams) (database.User, error)) *Store_UpdateUser_Call
type Store_UpsertTalkgroup_Call ¶
Store_UpsertTalkgroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpsertTalkgroup'
func (*Store_UpsertTalkgroup_Call) Return ¶
func (_c *Store_UpsertTalkgroup_Call) Return(upsertTalkgroupBatchResults *database.UpsertTalkgroupBatchResults) *Store_UpsertTalkgroup_Call
func (*Store_UpsertTalkgroup_Call) Run ¶
func (_c *Store_UpsertTalkgroup_Call) Run(run func(ctx context.Context, arg []database.UpsertTalkgroupParams)) *Store_UpsertTalkgroup_Call
func (*Store_UpsertTalkgroup_Call) RunAndReturn ¶
func (_c *Store_UpsertTalkgroup_Call) RunAndReturn(run func(ctx context.Context, arg []database.UpsertTalkgroupParams) *database.UpsertTalkgroupBatchResults) *Store_UpsertTalkgroup_Call