mocks

package
v0.0.0-...-1a3a2fa Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTX

type DBTX struct {
	mock.Mock
}

DBTX is an autogenerated mock type for the DBTX type

func NewDBTX

func NewDBTX(t interface {
	mock.TestingT
	Cleanup(func())
}) *DBTX

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

func (*DBTX) QueryRow

func (_mock *DBTX) QueryRow(context1 context.Context, s string, ifaceVals ...interface{}) pgx.Row

QueryRow provides a mock function for the type DBTX

func (*DBTX) SendBatch

func (_mock *DBTX) SendBatch(context1 context.Context, batch *pgx.Batch) pgx.BatchResults

SendBatch provides a mock function for the type DBTX

type DBTX_Exec_Call

type DBTX_Exec_Call struct {
	*mock.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

type DBTX_QueryRow_Call struct {
	*mock.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

type DBTX_Query_Call struct {
	*mock.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

type DBTX_SendBatch_Call struct {
	*mock.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

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func NewStore

func NewStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *Store

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) AddAlert

func (_mock *Store) AddAlert(ctx context.Context, arg database.AddAlertParams) error

AddAlert provides a mock function for the type Store

func (*Store) AddCall

func (_mock *Store) AddCall(ctx context.Context, arg database.AddCallParams) error

AddCall provides a mock function for the type Store

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

func (_mock *Store) CreateAPIKey(ctx context.Context, arg database.CreateAPIKeyParams) error

CreateAPIKey provides a mock function for the type Store

func (*Store) CreateFsckTempTable

func (_mock *Store) CreateFsckTempTable(ctx context.Context) (string, error)

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

func (_mock *Store) CreateShare(ctx context.Context, arg database.CreateShareParams) error

CreateShare provides a mock function for the type Store

func (*Store) CreateSystem

func (_mock *Store) CreateSystem(ctx context.Context, iD int, name string, learned bool) error

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) DB

func (_mock *Store) DB() *database.Postgres

DB provides a mock function for the type Store

func (*Store) DBTX

func (_mock *Store) DBTX() database.DBTX

DBTX provides a mock function for the type Store

func (*Store) DeleteAPIKey

func (_mock *Store) DeleteAPIKey(ctx context.Context, apiKey *string) error

DeleteAPIKey provides a mock function for the type Store

func (*Store) DeleteCall

func (_mock *Store) DeleteCall(ctx context.Context, id uuid.UUID) error

DeleteCall provides a mock function for the type Store

func (*Store) DeleteExpiredPushSubscriptions

func (_mock *Store) DeleteExpiredPushSubscriptions(ctx context.Context) (int64, error)

DeleteExpiredPushSubscriptions provides a mock function for the type Store

func (*Store) DeleteIncident

func (_mock *Store) DeleteIncident(ctx context.Context, id uuid.UUID) error

DeleteIncident provides a mock function for the type Store

func (*Store) DeletePushSubscriptionByID

func (_mock *Store) DeletePushSubscriptionByID(ctx context.Context, id int64) error

DeletePushSubscriptionByID provides a mock function for the type Store

func (*Store) DeletePushSubscriptionBySub

func (_mock *Store) DeletePushSubscriptionBySub(ctx context.Context, subscription []byte) error

DeletePushSubscriptionBySub provides a mock function for the type Store

func (*Store) DeleteSetting

func (_mock *Store) DeleteSetting(ctx context.Context, name string) error

DeleteSetting provides a mock function for the type Store

func (*Store) DeleteShare

func (_mock *Store) DeleteShare(ctx context.Context, id string) error

DeleteShare provides a mock function for the type Store

func (*Store) DeleteSystem

func (_mock *Store) DeleteSystem(ctx context.Context, id int) error

DeleteSystem provides a mock function for the type Store

func (*Store) DeleteTalkgroup

func (_mock *Store) DeleteTalkgroup(ctx context.Context, systemID int32, tGID int32) error

DeleteTalkgroup provides a mock function for the type Store

func (*Store) DeleteUser

func (_mock *Store) DeleteUser(ctx context.Context, username string) error

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

func (_mock *Store) DisableUser(ctx context.Context, username string) error

DisableUser provides a mock function for the type Store

func (*Store) DropPartition

func (_mock *Store) DropPartition(ctx context.Context, partitionName string) error

DropPartition provides a mock function for the type Store

func (*Store) DropRefJournal

func (_mock *Store) DropRefJournal(ctx context.Context, id int64) error

DropRefJournal provides a mock function for the type Store

func (*Store) DropTable

func (_mock *Store) DropTable(ctx context.Context, tableName string) error

DropTable provides a mock function for the type Store

func (*Store) EXPECT

func (_m *Store) EXPECT() *Store_Expecter

func (*Store) FsckRefs

func (_mock *Store) FsckRefs(ctx context.Context, tableName string, backend string) (int64, error)

FsckRefs provides a mock function for the type Store

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

func (_mock *Store) GetAlertByURLTag(ctx context.Context, urlTag *string) (database.Alert, error)

GetAlertByURLTag provides a mock function for the type Store

func (*Store) GetAllTalkgroupTags

func (_mock *Store) GetAllTalkgroupTags(ctx context.Context) ([]string, error)

GetAllTalkgroupTags provides a mock function for the type Store

func (*Store) GetAppPrefs

func (_mock *Store) GetAppPrefs(ctx context.Context, appName string, uid int) ([]byte, error)

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) GetCall

func (_mock *Store) GetCall(ctx context.Context, id uuid.UUID) (database.GetCallRow, error)

GetCall 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

func (_mock *Store) GetCallSubmitter(ctx context.Context, id uuid.UUID) (*int32, error)

GetCallSubmitter provides a mock function for the type Store

func (*Store) GetCalls

func (_mock *Store) GetCalls(ctx context.Context, ids []uuid.UUID) ([]database.GetCallsRow, error)

GetCalls provides a mock function for the type Store

func (*Store) GetDatabaseSize

func (_mock *Store) GetDatabaseSize(ctx context.Context) (string, error)

GetDatabaseSize provides a mock function for the type Store

func (*Store) GetIncident

func (_mock *Store) GetIncident(ctx context.Context, id uuid.UUID) (database.GetIncidentRow, error)

GetIncident provides a mock function for the type Store

func (*Store) GetIncidentCallCount

func (_mock *Store) GetIncidentCallCount(ctx context.Context, incidentID uuid.UUID) (int64, error)

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

func (_mock *Store) GetIncidentOwner(ctx context.Context, id uuid.UUID) (int, error)

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

func (_mock *Store) GetSetting(ctx context.Context, name string) ([]byte, error)

GetSetting provides a mock function for the type Store

func (*Store) GetShare

func (_mock *Store) GetShare(ctx context.Context, id string) (database.Share, error)

GetShare 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

func (_mock *Store) GetSharesPCount(ctx context.Context, ownerID *int32) (int64, error)

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

func (_mock *Store) GetSystemName(ctx context.Context, systemID int) (string, error)

GetSystemName provides a mock function for the type Store

func (*Store) GetSystemSubscriptions

func (_mock *Store) GetSystemSubscriptions(ctx context.Context, userID int) ([]int32, error)

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

GetTranscriptsContext provides a mock function for the type Store

func (*Store) GetUserByID

func (_mock *Store) GetUserByID(ctx context.Context, id int) (database.User, error)

GetUserByID provides a mock function for the type Store

func (*Store) GetUserByUsername

func (_mock *Store) GetUserByUsername(ctx context.Context, username string) (database.User, error)

GetUserByUsername provides a mock function for the type Store

func (*Store) GetUsers

func (_mock *Store) GetUsers(ctx context.Context) ([]database.User, error)

GetUsers 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) InTx

func (_mock *Store) InTx(context1 context.Context, fn func(database.Store) error) error

InTx provides a mock function for the type Store

func (*Store) IncrementRefJournal

func (_mock *Store) IncrementRefJournal(ctx context.Context, id int64) error

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

func (_mock *Store) PruneAlerts(ctx context.Context, before time.Time) (int64, error)

PruneAlerts provides a mock function for the type Store

func (*Store) PruneShares

func (_mock *Store) PruneShares(ctx context.Context) error

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

func (_mock *Store) SetAppPrefs(ctx context.Context, appName string, prefs []byte, uid int) error

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

func (_mock *Store) SetRefJournalPrune(ctx context.Context, iD int64, pruneAfter *time.Time) error

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

StoreTGVersion provides a mock function for the type Store

func (*Store) SubscribeSystems

func (_mock *Store) SubscribeSystems(ctx context.Context, userID int, systemIds []int32) error

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

func (_mock *Store) UnsubscribeAllSystems(ctx context.Context, userID int) (int64, error)

UnsubscribeAllSystems provides a mock function for the type Store

func (*Store) UnsubscribeAllTalkgroups

func (_mock *Store) UnsubscribeAllTalkgroups(ctx context.Context, userID int) (int64, error)

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

func (_mock *Store) UpdatePassword(ctx context.Context, username string, password string) error

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

UpsertTalkgroup provides a mock function for the type Store

type Store_AddAlert_Call

type Store_AddAlert_Call struct {
	*mock.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 (*Store_AddAlert_Call) Run

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

type Store_AddCall_Call struct {
	*mock.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 (*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

type Store_AddLearnedTalkgroup_Call struct {
	*mock.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 (*Store_AddLearnedTalkgroup_Call) Run

func (*Store_AddLearnedTalkgroup_Call) RunAndReturn

type Store_AddRefJournal_Call

type Store_AddRefJournal_Call struct {
	*mock.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 (*Store_AddRefJournal_Call) Run

func (*Store_AddRefJournal_Call) RunAndReturn

type Store_AddToIncident_Call

type Store_AddToIncident_Call struct {
	*mock.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 (*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

type Store_BulkSetTalkgroupTags_Call struct {
	*mock.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 (*Store_BulkSetTalkgroupTags_Call) Run

func (*Store_BulkSetTalkgroupTags_Call) RunAndReturn

type Store_CallInIncident_Call

type Store_CallInIncident_Call struct {
	*mock.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 (*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

type Store_CleanupSweptCalls_Call struct {
	*mock.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 (*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

type Store_CopyIntoFsckTempTable_Call struct {
	*mock.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 (*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

func (_c *Store_CopyIntoFsckTempTable_Call) RunAndReturn(run func(ctx context.Context, tableName string, ids iter.Seq[uuid.UUID], progressChan chan<- int64) (int64, error)) *Store_CopyIntoFsckTempTable_Call

type Store_CountRefJournal_Call

type Store_CountRefJournal_Call struct {
	*mock.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 (*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

func (_c *Store_CountRefJournal_Call) RunAndReturn(run func(ctx context.Context, missing *bool, since *time.Time, until *time.Time) (int64, error)) *Store_CountRefJournal_Call

type Store_CreateAPIKey_Call

type Store_CreateAPIKey_Call struct {
	*mock.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 (*Store_CreateAPIKey_Call) Run

func (*Store_CreateAPIKey_Call) RunAndReturn

type Store_CreateFsckTempTable_Call

type Store_CreateFsckTempTable_Call struct {
	*mock.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 (*Store_CreateFsckTempTable_Call) Run

func (*Store_CreateFsckTempTable_Call) RunAndReturn

type Store_CreateIncident_Call

type Store_CreateIncident_Call struct {
	*mock.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 (*Store_CreateIncident_Call) Run

func (*Store_CreateIncident_Call) RunAndReturn

type Store_CreatePartition_Call

type Store_CreatePartition_Call struct {
	*mock.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 (*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

func (_c *Store_CreatePartition_Call) RunAndReturn(run func(ctx context.Context, parentTable string, partitionName string, start time.Time, end time.Time) error) *Store_CreatePartition_Call

type Store_CreateShare_Call

type Store_CreateShare_Call struct {
	*mock.Call
}

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 (*Store_CreateShare_Call) Run

func (*Store_CreateShare_Call) RunAndReturn

type Store_CreateSystem_Call

type Store_CreateSystem_Call struct {
	*mock.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 (*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

type Store_CreateUser_Call struct {
	*mock.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 (*Store_CreateUser_Call) Run

func (*Store_CreateUser_Call) RunAndReturn

type Store_CreateWebPushSubscription_Call

type Store_CreateWebPushSubscription_Call struct {
	*mock.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 (*Store_CreateWebPushSubscription_Call) Run

func (*Store_CreateWebPushSubscription_Call) RunAndReturn

type Store_DBTX_Call

type Store_DBTX_Call struct {
	*mock.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

type Store_DB_Call struct {
	*mock.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

type Store_DeleteAPIKey_Call struct {
	*mock.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 (*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

type Store_DeleteCall_Call struct {
	*mock.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 (*Store_DeleteCall_Call) Run

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

type Store_DeleteExpiredPushSubscriptions_Call struct {
	*mock.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 (*Store_DeleteExpiredPushSubscriptions_Call) Run

func (*Store_DeleteExpiredPushSubscriptions_Call) RunAndReturn

type Store_DeleteIncident_Call

type Store_DeleteIncident_Call struct {
	*mock.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 (*Store_DeleteIncident_Call) Run

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

type Store_DeletePushSubscriptionByID_Call struct {
	*mock.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 (*Store_DeletePushSubscriptionByID_Call) Run

func (*Store_DeletePushSubscriptionByID_Call) RunAndReturn

type Store_DeletePushSubscriptionBySub_Call

type Store_DeletePushSubscriptionBySub_Call struct {
	*mock.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 (*Store_DeletePushSubscriptionBySub_Call) Run

func (*Store_DeletePushSubscriptionBySub_Call) RunAndReturn

type Store_DeleteSetting_Call

type Store_DeleteSetting_Call struct {
	*mock.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 (*Store_DeleteSetting_Call) Run

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 {
	*mock.Call
}

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 (*Store_DeleteShare_Call) Run

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

type Store_DeleteSystem_Call struct {
	*mock.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 (*Store_DeleteSystem_Call) Run

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

type Store_DeleteTalkgroup_Call struct {
	*mock.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 (*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

type Store_DeleteUser_Call struct {
	*mock.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 (*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

type Store_DetachPartition_Call struct {
	*mock.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 (*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

type Store_DetailedCountRefJournal_Call struct {
	*mock.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 (*Store_DetailedCountRefJournal_Call) Run

func (*Store_DetailedCountRefJournal_Call) RunAndReturn

type Store_DisableUser_Call

type Store_DisableUser_Call struct {
	*mock.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 (*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

type Store_DropPartition_Call struct {
	*mock.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 (*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

type Store_DropRefJournal_Call struct {
	*mock.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 (*Store_DropRefJournal_Call) Run

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

type Store_DropTable_Call struct {
	*mock.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 (*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

type Store_FsckRefs_Call struct {
	*mock.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

type Store_GetAPIKey_Call struct {
	*mock.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

type Store_GetAlertByURLTag_Call struct {
	*mock.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 (*Store_GetAlertByURLTag_Call) Run

func (*Store_GetAlertByURLTag_Call) RunAndReturn

type Store_GetAllTalkgroupTags_Call

type Store_GetAllTalkgroupTags_Call struct {
	*mock.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 (*Store_GetAllTalkgroupTags_Call) Run

func (*Store_GetAllTalkgroupTags_Call) RunAndReturn

type Store_GetAppPrefs_Call

type Store_GetAppPrefs_Call struct {
	*mock.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

type Store_GetAudioRefJournalCb_Call struct {
	*mock.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 (*Store_GetAudioRefJournalCb_Call) Run

func (*Store_GetAudioRefJournalCb_Call) RunAndReturn

type Store_GetCallAudioByID_Call

type Store_GetCallAudioByID_Call struct {
	*mock.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 (*Store_GetCallAudioByID_Call) Run

func (*Store_GetCallAudioByID_Call) RunAndReturn

type Store_GetCallAudioCb_Call

type Store_GetCallAudioCb_Call struct {
	*mock.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 (*Store_GetCallAudioCb_Call) Run

func (*Store_GetCallAudioCb_Call) RunAndReturn

type Store_GetCallAudioCount_Call

type Store_GetCallAudioCount_Call struct {
	*mock.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 (*Store_GetCallAudioCount_Call) Run

func (*Store_GetCallAudioCount_Call) RunAndReturn

type Store_GetCallAudio_Call

type Store_GetCallAudio_Call struct {
	*mock.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 (*Store_GetCallAudio_Call) RunAndReturn

type Store_GetCallStatsByInterval_Call

type Store_GetCallStatsByInterval_Call struct {
	*mock.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 (*Store_GetCallStatsByInterval_Call) Run

func (*Store_GetCallStatsByInterval_Call) RunAndReturn

type Store_GetCallStatsByTalkgroup_Call

type Store_GetCallStatsByTalkgroup_Call struct {
	*mock.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 (*Store_GetCallStatsByTalkgroup_Call) Run

func (*Store_GetCallStatsByTalkgroup_Call) RunAndReturn

type Store_GetCallSubmitter_Call

type Store_GetCallSubmitter_Call struct {
	*mock.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 (*Store_GetCallSubmitter_Call) Run

func (*Store_GetCallSubmitter_Call) RunAndReturn

type Store_GetCall_Call

type Store_GetCall_Call struct {
	*mock.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

type Store_GetCalls_Call struct {
	*mock.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

type Store_GetDatabaseSize_Call struct {
	*mock.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 (*Store_GetDatabaseSize_Call) Run

func (*Store_GetDatabaseSize_Call) RunAndReturn

type Store_GetIncidentCallCount_Call

type Store_GetIncidentCallCount_Call struct {
	*mock.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 (*Store_GetIncidentCallCount_Call) Run

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

type Store_GetIncidentCalls_Call struct {
	*mock.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 (*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

type Store_GetIncidentOwner_Call struct {
	*mock.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 (*Store_GetIncidentOwner_Call) Run

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

type Store_GetIncidentTalkgroups_Call struct {
	*mock.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 (*Store_GetIncidentTalkgroups_Call) Run

func (*Store_GetIncidentTalkgroups_Call) RunAndReturn

type Store_GetIncident_Call

type Store_GetIncident_Call struct {
	*mock.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 (*Store_GetIncident_Call) Run

func (*Store_GetIncident_Call) RunAndReturn

type Store_GetPrunableAudioRefs_Call

type Store_GetPrunableAudioRefs_Call struct {
	*mock.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 (*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

type Store_GetPushSubscriptions_Call struct {
	*mock.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 (*Store_GetPushSubscriptions_Call) Run

func (*Store_GetPushSubscriptions_Call) RunAndReturn

type Store_GetRefJournal_Call

type Store_GetRefJournal_Call struct {
	*mock.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 (*Store_GetRefJournal_Call) Run

func (*Store_GetRefJournal_Call) RunAndReturn

type Store_GetSetting_Call

type Store_GetSetting_Call struct {
	*mock.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 {
	*mock.Call
}

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 (*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 {
	*mock.Call
}

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 (*Store_GetSharesPCount_Call) Run

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 {
	*mock.Call
}

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 (*Store_GetSharesP_Call) RunAndReturn

type Store_GetSweptCallsWithRef_Call

type Store_GetSweptCallsWithRef_Call struct {
	*mock.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 (*Store_GetSweptCallsWithRef_Call) Run

func (*Store_GetSweptCallsWithRef_Call) RunAndReturn

type Store_GetSystemName_Call

type Store_GetSystemName_Call struct {
	*mock.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 (*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

type Store_GetSystemSubscriptions_Call struct {
	*mock.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 (*Store_GetSystemSubscriptions_Call) Run

func (*Store_GetSystemSubscriptions_Call) RunAndReturn

type Store_GetTablePartitions_Call

type Store_GetTablePartitions_Call struct {
	*mock.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 (*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

type Store_GetTalkgroupIDsByTags_Call struct {
	*mock.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 (*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

type Store_GetTalkgroupSubscriptions_Call struct {
	*mock.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 (*Store_GetTalkgroupSubscriptions_Call) Run

func (*Store_GetTalkgroupSubscriptions_Call) RunAndReturn

type Store_GetTalkgroupTags_Call

type Store_GetTalkgroupTags_Call struct {
	*mock.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 (*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

type Store_GetTalkgroup_Call struct {
	*mock.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 (*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

type Store_GetTalkgroupsBySysTGID_Call struct {
	*mock.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 (*Store_GetTalkgroupsBySysTGID_Call) Run

func (*Store_GetTalkgroupsBySysTGID_Call) RunAndReturn

type Store_GetTalkgroupsCount_Call

type Store_GetTalkgroupsCount_Call struct {
	*mock.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 (*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

type Store_GetTalkgroupsP_Call struct {
	*mock.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 (*Store_GetTalkgroupsP_Call) Run

func (*Store_GetTalkgroupsP_Call) RunAndReturn

type Store_GetTalkgroupsWithAllTags_Call

type Store_GetTalkgroupsWithAllTags_Call struct {
	*mock.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 (*Store_GetTalkgroupsWithAllTags_Call) Run

func (*Store_GetTalkgroupsWithAllTags_Call) RunAndReturn

type Store_GetTalkgroupsWithAnyTags_Call

type Store_GetTalkgroupsWithAnyTags_Call struct {
	*mock.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 (*Store_GetTalkgroupsWithAnyTags_Call) Run

func (*Store_GetTalkgroupsWithAnyTags_Call) RunAndReturn

type Store_GetTalkgroups_Call

type Store_GetTalkgroups_Call struct {
	*mock.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 (*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

type Store_GetTranscriptsContext_Call struct {
	*mock.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 (*Store_GetTranscriptsContext_Call) Run

type Store_GetUserByID_Call

type Store_GetUserByID_Call struct {
	*mock.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 (*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

type Store_GetUserByUsername_Call struct {
	*mock.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 (*Store_GetUserByUsername_Call) Run

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

type Store_GetUsers_Call struct {
	*mock.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

type Store_GetWebPushSubscriptionsSubscribed_Call struct {
	*mock.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 (*Store_GetWebPushSubscriptionsSubscribed_Call) Run

func (*Store_GetWebPushSubscriptionsSubscribed_Call) RunAndReturn

type Store_InTx_Call

type Store_InTx_Call struct {
	*mock.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

type Store_IncrementRefJournal_Call struct {
	*mock.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 (*Store_IncrementRefJournal_Call) Run

func (*Store_IncrementRefJournal_Call) RunAndReturn

type Store_ListCallsCount_Call

type Store_ListCallsCount_Call struct {
	*mock.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 (*Store_ListCallsCount_Call) Run

func (*Store_ListCallsCount_Call) RunAndReturn

type Store_ListCallsP_Call

type Store_ListCallsP_Call struct {
	*mock.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 (*Store_ListCallsP_Call) RunAndReturn

type Store_ListIncidentsCount_Call

type Store_ListIncidentsCount_Call struct {
	*mock.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 (*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

func (_c *Store_ListIncidentsCount_Call) RunAndReturn(run func(ctx context.Context, start *time.Time, end *time.Time, filter *string) (int64, error)) *Store_ListIncidentsCount_Call

type Store_ListIncidentsP_Call

type Store_ListIncidentsP_Call struct {
	*mock.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 (*Store_ListIncidentsP_Call) Run

func (*Store_ListIncidentsP_Call) RunAndReturn

type Store_PoolTx_Call

type Store_PoolTx_Call struct {
	*mock.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

func (_c *Store_PoolTx_Call) RunAndReturn(run func(ctx context.Context, opts pgx.TxOptions) (*database.Postgres, pgx.Tx, error)) *Store_PoolTx_Call

type Store_PruneAlerts_Call

type Store_PruneAlerts_Call struct {
	*mock.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 (*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 {
	*mock.Call
}

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 (*Store_PruneShares_Call) Run

func (*Store_PruneShares_Call) RunAndReturn

func (_c *Store_PruneShares_Call) RunAndReturn(run func(ctx context.Context) error) *Store_PruneShares_Call

type Store_RecordUserLogin_Call

type Store_RecordUserLogin_Call struct {
	*mock.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 (*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

type Store_RemoveFromIncident_Call struct {
	*mock.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 (*Store_RemoveFromIncident_Call) Run

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

type Store_RestoreTalkgroupVersion_Call struct {
	*mock.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 (*Store_RestoreTalkgroupVersion_Call) Run

func (*Store_RestoreTalkgroupVersion_Call) RunAndReturn

type Store_SetAppPrefs_Call

type Store_SetAppPrefs_Call struct {
	*mock.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 (*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

type Store_SetCallAudio_Call struct {
	*mock.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 (*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

type Store_SetCallTranscript_Call struct {
	*mock.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 (*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

type Store_SetRefJournalPrune_Call

type Store_SetRefJournalPrune_Call struct {
	*mock.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 (*Store_SetRefJournalPrune_Call) Run

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

type Store_SetSetting_Call struct {
	*mock.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 (*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

type Store_SetSweptAudioAndClearRef_Call struct {
	*mock.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 (*Store_SetSweptAudioAndClearRef_Call) Run

func (*Store_SetSweptAudioAndClearRef_Call) RunAndReturn

type Store_SetSweptCallAudio_Call

type Store_SetSweptCallAudio_Call struct {
	*mock.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 (*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

type Store_SetTalkgroupTags_Call struct {
	*mock.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 (*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

type Store_StoreDeletedTGVersion_Call struct {
	*mock.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 (*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

type Store_StoreTGVersion_Call struct {
	*mock.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 (*Store_StoreTGVersion_Call) Run

type Store_SubscribeSystems_Call

type Store_SubscribeSystems_Call struct {
	*mock.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 (*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

type Store_SubscribeTalkgroups_Call struct {
	*mock.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 (*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

type Store_SweepCalls_Call struct {
	*mock.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 (*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

type Store_UnsubscribeAllSystems_Call struct {
	*mock.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 (*Store_UnsubscribeAllSystems_Call) Run

func (*Store_UnsubscribeAllSystems_Call) RunAndReturn

type Store_UnsubscribeAllTalkgroups_Call

type Store_UnsubscribeAllTalkgroups_Call struct {
	*mock.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 (*Store_UnsubscribeAllTalkgroups_Call) Run

func (*Store_UnsubscribeAllTalkgroups_Call) RunAndReturn

type Store_UnsubscribeSystems_Call

type Store_UnsubscribeSystems_Call struct {
	*mock.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 (*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

type Store_UnsubscribeTGsInSystems_Call struct {
	*mock.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 (*Store_UnsubscribeTGsInSystems_Call) Run

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

type Store_UnsubscribeTalkgroups_Call struct {
	*mock.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 (*Store_UnsubscribeTalkgroups_Call) Run

func (*Store_UnsubscribeTalkgroups_Call) RunAndReturn

type Store_UpdateCallIncidentNotes_Call

type Store_UpdateCallIncidentNotes_Call struct {
	*mock.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 (*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

type Store_UpdateIncident_Call struct {
	*mock.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 (*Store_UpdateIncident_Call) Run

func (*Store_UpdateIncident_Call) RunAndReturn

type Store_UpdatePassword_Call

type Store_UpdatePassword_Call struct {
	*mock.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 (*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

type Store_UpdatePushSubscription_Call struct {
	*mock.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 (*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

type Store_UpdateTalkgroup_Call struct {
	*mock.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 (*Store_UpdateTalkgroup_Call) Run

func (*Store_UpdateTalkgroup_Call) RunAndReturn

type Store_UpdateUser_Call

type Store_UpdateUser_Call struct {
	*mock.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 (*Store_UpdateUser_Call) Run

func (*Store_UpdateUser_Call) RunAndReturn

type Store_UpsertTalkgroup_Call

type Store_UpsertTalkgroup_Call struct {
	*mock.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 (*Store_UpsertTalkgroup_Call) Run

Jump to

Keyboard shortcuts

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