mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: GPL-3.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	mock.Mock
}

MockStore is an autogenerated mock type for the Store type

func NewMockStore

func NewMockStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockStore

NewMockStore creates a new instance of MockStore. 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 (*MockStore) AbortInflightImportScans

func (_m *MockStore) AbortInflightImportScans(ctx context.Context, reason string) (uint32, error)

AbortInflightImportScans provides a mock function with given fields: ctx, reason

func (*MockStore) AllDownloadRecordHashes

func (_m *MockStore) AllDownloadRecordHashes(ctx context.Context) (map[string]struct{}, error)

AllDownloadRecordHashes provides a mock function with given fields: ctx

func (*MockStore) ApproveRequest

func (_m *MockStore) ApproveRequest(ctx context.Context, id uint32, adminID uint32) error

ApproveRequest provides a mock function with given fields: ctx, id, adminID

func (*MockStore) BulkCreateImportScanFiles

func (_m *MockStore) BulkCreateImportScanFiles(ctx context.Context, scanID uint32, files []db.CreateImportScanFileParams) error

BulkCreateImportScanFiles provides a mock function with given fields: ctx, scanID, files

func (*MockStore) BulkCreateImportScanShows

func (_m *MockStore) BulkCreateImportScanShows(ctx context.Context, scanID uint32, shows []db.CreateImportScanShowParams) error

BulkCreateImportScanShows provides a mock function with given fields: ctx, scanID, shows

func (*MockStore) BumpMediaFileLastSeen

func (_m *MockStore) BumpMediaFileLastSeen(ctx context.Context, id uint32) error

BumpMediaFileLastSeen provides a mock function with given fields: ctx, id

func (*MockStore) CascadeSeasonMonitored

func (_m *MockStore) CascadeSeasonMonitored(ctx context.Context, seasonID uint32, monitored bool) error

CascadeSeasonMonitored provides a mock function with given fields: ctx, seasonID, monitored

func (*MockStore) CascadeShowMonitored

func (_m *MockStore) CascadeShowMonitored(ctx context.Context, showID uint32, monitored bool) error

CascadeShowMonitored provides a mock function with given fields: ctx, showID, monitored

func (*MockStore) ConsumeInvite added in v1.2.0

func (_m *MockStore) ConsumeInvite(ctx context.Context, id uint32, userID uint32, when time.Time) error

ConsumeInvite provides a mock function with given fields: ctx, id, userID, when

func (*MockStore) CountActiveImportScans

func (_m *MockStore) CountActiveImportScans(ctx context.Context) (uint32, error)

CountActiveImportScans provides a mock function with given fields: ctx

func (*MockStore) CountMovies

func (_m *MockStore) CountMovies(ctx context.Context) (int, error)

CountMovies provides a mock function with given fields: ctx

func (*MockStore) CountMoviesByStatus

func (_m *MockStore) CountMoviesByStatus(ctx context.Context, status movie.Status) (int, error)

CountMoviesByStatus provides a mock function with given fields: ctx, status

func (*MockStore) CountRequestsByStatus

func (_m *MockStore) CountRequestsByStatus(ctx context.Context, status request.Status) (int, error)

CountRequestsByStatus provides a mock function with given fields: ctx, status

func (*MockStore) CountTVShows

func (_m *MockStore) CountTVShows(ctx context.Context) (int, error)

CountTVShows provides a mock function with given fields: ctx

func (*MockStore) CountTVShowsByStatus

func (_m *MockStore) CountTVShowsByStatus(ctx context.Context, status tvshow.SeriesStatus) (int, error)

CountTVShowsByStatus provides a mock function with given fields: ctx, status

func (*MockStore) CountUsers

func (_m *MockStore) CountUsers(ctx context.Context) (int, error)

CountUsers provides a mock function with given fields: ctx

func (*MockStore) CountUsersByRole

func (_m *MockStore) CountUsersByRole(ctx context.Context, role user.Role) (int, error)

CountUsersByRole provides a mock function with given fields: ctx, role

func (*MockStore) CreateAPIKey

func (_m *MockStore) CreateAPIKey(ctx context.Context, p db.CreateAPIKeyParams) (*ent.ApiKey, error)

CreateAPIKey provides a mock function with given fields: ctx, p

func (*MockStore) CreateDownloadRecord

func (_m *MockStore) CreateDownloadRecord(ctx context.Context, p db.CreateDownloadRecordParams) (*ent.DownloadRecord, error)

CreateDownloadRecord provides a mock function with given fields: ctx, p

func (*MockStore) CreateImportScan

func (_m *MockStore) CreateImportScan(ctx context.Context, p db.CreateImportScanParams) (*ent.ImportScan, error)

CreateImportScan provides a mock function with given fields: ctx, p

func (*MockStore) CreateInvite

func (_m *MockStore) CreateInvite(ctx context.Context, p db.CreateInviteParams) (*ent.Invite, error)

CreateInvite provides a mock function with given fields: ctx, p

func (*MockStore) CreateMediaFile

func (_m *MockStore) CreateMediaFile(ctx context.Context, p db.CreateMediaFileParams) (*ent.MediaFile, error)

CreateMediaFile provides a mock function with given fields: ctx, p

func (*MockStore) CreateMovie

func (_m *MockStore) CreateMovie(ctx context.Context, p db.CreateMovieParams) (*ent.Movie, error)

CreateMovie provides a mock function with given fields: ctx, p

func (*MockStore) CreateOIDCIdentity

func (_m *MockStore) CreateOIDCIdentity(ctx context.Context, p db.CreateOIDCIdentityParams) (*ent.OIDCIdentity, error)

CreateOIDCIdentity provides a mock function with given fields: ctx, p

func (*MockStore) CreateRequest

func (_m *MockStore) CreateRequest(ctx context.Context, p db.CreateRequestParams) (*ent.Request, error)

CreateRequest provides a mock function with given fields: ctx, p

func (*MockStore) CreateSession

func (_m *MockStore) CreateSession(ctx context.Context, p db.CreateSessionParams) (*ent.Session, error)

CreateSession provides a mock function with given fields: ctx, p

func (*MockStore) CreateTVShow

func (_m *MockStore) CreateTVShow(ctx context.Context, p db.CreateTVShowParams) (*ent.TVShow, error)

CreateTVShow provides a mock function with given fields: ctx, p

func (*MockStore) CreateTorrentSession added in v1.1.0

func (_m *MockStore) CreateTorrentSession(ctx context.Context, p db.CreateTorrentSessionParams) (*ent.TorrentSession, error)

CreateTorrentSession provides a mock function with given fields: ctx, p

func (*MockStore) CreateUser

func (_m *MockStore) CreateUser(ctx context.Context, p db.CreateUserParams) (*ent.User, error)

CreateUser provides a mock function with given fields: ctx, p

func (*MockStore) DeleteAPIKeyByID

func (_m *MockStore) DeleteAPIKeyByID(ctx context.Context, userID uint32, keyID uint32) (int, error)

DeleteAPIKeyByID provides a mock function with given fields: ctx, userID, keyID

func (*MockStore) DeleteAllCompletedDownloadRecords

func (_m *MockStore) DeleteAllCompletedDownloadRecords(ctx context.Context) (int, error)

DeleteAllCompletedDownloadRecords provides a mock function with given fields: ctx

func (*MockStore) DeleteCompletedDownloadRecordsBefore

func (_m *MockStore) DeleteCompletedDownloadRecordsBefore(ctx context.Context, cutoff time.Time) (int, error)

DeleteCompletedDownloadRecordsBefore provides a mock function with given fields: ctx, cutoff

func (*MockStore) DeleteDownloadRecord

func (_m *MockStore) DeleteDownloadRecord(ctx context.Context, id uint32) error

DeleteDownloadRecord provides a mock function with given fields: ctx, id

func (*MockStore) DeleteFailedDownloadRecordsBefore

func (_m *MockStore) DeleteFailedDownloadRecordsBefore(ctx context.Context, cutoff time.Time) (int, error)

DeleteFailedDownloadRecordsBefore provides a mock function with given fields: ctx, cutoff

func (*MockStore) DeleteImportScan

func (_m *MockStore) DeleteImportScan(ctx context.Context, id uint32) error

DeleteImportScan provides a mock function with given fields: ctx, id

func (*MockStore) DeleteMediaFile added in v1.2.0

func (_m *MockStore) DeleteMediaFile(ctx context.Context, id uint32) error

DeleteMediaFile provides a mock function with given fields: ctx, id

func (*MockStore) DeleteMediaFileAndRevertEpisode

func (_m *MockStore) DeleteMediaFileAndRevertEpisode(ctx context.Context, mediaFileID uint32, episodeID uint32) error

DeleteMediaFileAndRevertEpisode provides a mock function with given fields: ctx, mediaFileID, episodeID

func (*MockStore) DeleteMediaFileAndRevertMovie

func (_m *MockStore) DeleteMediaFileAndRevertMovie(ctx context.Context, mediaFileID uint32, movieID uint32) error

DeleteMediaFileAndRevertMovie provides a mock function with given fields: ctx, mediaFileID, movieID

func (*MockStore) DeleteMovie

func (_m *MockStore) DeleteMovie(ctx context.Context, id uint32) error

DeleteMovie provides a mock function with given fields: ctx, id

func (*MockStore) DeleteStalePendingAdoptions

func (_m *MockStore) DeleteStalePendingAdoptions(ctx context.Context, clientName string, liveHashes []string) (int, error)

DeleteStalePendingAdoptions provides a mock function with given fields: ctx, clientName, liveHashes

func (*MockStore) DeleteTVShow

func (_m *MockStore) DeleteTVShow(ctx context.Context, id uint32) error

DeleteTVShow provides a mock function with given fields: ctx, id

func (*MockStore) DeleteTorrentSessionByHash added in v1.1.0

func (_m *MockStore) DeleteTorrentSessionByHash(ctx context.Context, infoHash string) error

DeleteTorrentSessionByHash provides a mock function with given fields: ctx, infoHash

func (*MockStore) DeleteUser

func (_m *MockStore) DeleteUser(ctx context.Context, id uint32) error

DeleteUser provides a mock function with given fields: ctx, id

func (*MockStore) DenyRequest

func (_m *MockStore) DenyRequest(ctx context.Context, id uint32, adminID uint32, reason string) error

DenyRequest provides a mock function with given fields: ctx, id, adminID, reason

func (*MockStore) EXPECT

func (_m *MockStore) EXPECT() *MockStore_Expecter

func (*MockStore) FilterImportScanFiles

func (_m *MockStore) FilterImportScanFiles(ctx context.Context, p db.FilterImportScanFilesParams) ([]*ent.ImportScanFile, uint32, error)

FilterImportScanFiles provides a mock function with given fields: ctx, p

func (*MockStore) FilterMovies

func (_m *MockStore) FilterMovies(ctx context.Context, p db.FilterMoviesParams) ([]*ent.Movie, int, error)

FilterMovies provides a mock function with given fields: ctx, p

func (*MockStore) FindAPIKeyByHash

func (_m *MockStore) FindAPIKeyByHash(ctx context.Context, hash string) (*ent.ApiKey, error)

FindAPIKeyByHash provides a mock function with given fields: ctx, hash

func (*MockStore) FindActiveDownloadRecordByID

func (_m *MockStore) FindActiveDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindActiveDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockStore) FindActiveRequest

func (_m *MockStore) FindActiveRequest(ctx context.Context, mediaType string, mediaID uint32) (*ent.Request, error)

FindActiveRequest provides a mock function with given fields: ctx, mediaType, mediaID

func (*MockStore) FindImportScan

func (_m *MockStore) FindImportScan(ctx context.Context, id uint32) (*ent.ImportScan, error)

FindImportScan provides a mock function with given fields: ctx, id

func (*MockStore) FindImportScanFile

func (_m *MockStore) FindImportScanFile(ctx context.Context, scanID uint32, fileID uint32) (*ent.ImportScanFile, error)

FindImportScanFile provides a mock function with given fields: ctx, scanID, fileID

func (*MockStore) FindImportScanShow

func (_m *MockStore) FindImportScanShow(ctx context.Context, scanID uint32, showID uint32) (*ent.ImportScanShow, error)

FindImportScanShow provides a mock function with given fields: ctx, scanID, showID

func (*MockStore) FindImportingDownloadRecordByID

func (_m *MockStore) FindImportingDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindImportingDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockStore) FindInviteByTokenHash

func (_m *MockStore) FindInviteByTokenHash(ctx context.Context, hash string) (*ent.Invite, error)

FindInviteByTokenHash provides a mock function with given fields: ctx, hash

func (*MockStore) FindMediaFileByEpisodeID

func (_m *MockStore) FindMediaFileByEpisodeID(ctx context.Context, episodeID uint32) (*ent.MediaFile, error)

FindMediaFileByEpisodeID provides a mock function with given fields: ctx, episodeID

func (*MockStore) FindMediaFileByID

func (_m *MockStore) FindMediaFileByID(ctx context.Context, id uint32) (*ent.MediaFile, error)

FindMediaFileByID provides a mock function with given fields: ctx, id

func (*MockStore) FindMovieByID

func (_m *MockStore) FindMovieByID(ctx context.Context, id uint32) (*ent.Movie, error)

FindMovieByID provides a mock function with given fields: ctx, id

func (*MockStore) FindMovieByTMDBID

func (_m *MockStore) FindMovieByTMDBID(ctx context.Context, tmdbID uint32) (*ent.Movie, error)

FindMovieByTMDBID provides a mock function with given fields: ctx, tmdbID

func (*MockStore) FindMoviesByTMDBIDs

func (_m *MockStore) FindMoviesByTMDBIDs(ctx context.Context, tmdbIDs []uint32) ([]*ent.Movie, error)

FindMoviesByTMDBIDs provides a mock function with given fields: ctx, tmdbIDs

func (*MockStore) FindOIDCIdentity

func (_m *MockStore) FindOIDCIdentity(ctx context.Context, provider string, subject string) (*ent.OIDCIdentity, error)

FindOIDCIdentity provides a mock function with given fields: ctx, provider, subject

func (*MockStore) FindOpenImportScanForSource

func (_m *MockStore) FindOpenImportScanForSource(ctx context.Context, sourcePath string) (*ent.ImportScan, error)

FindOpenImportScanForSource provides a mock function with given fields: ctx, sourcePath

func (*MockStore) FindPendingDownloadRecordByID

func (_m *MockStore) FindPendingDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindPendingDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockStore) FindSessionByJTI

func (_m *MockStore) FindSessionByJTI(ctx context.Context, jti string) (*ent.Session, error)

FindSessionByJTI provides a mock function with given fields: ctx, jti

func (*MockStore) FindTVShowByID

func (_m *MockStore) FindTVShowByID(ctx context.Context, id uint32) (*ent.TVShow, error)

FindTVShowByID provides a mock function with given fields: ctx, id

func (*MockStore) FindTVShowByTVDBID

func (_m *MockStore) FindTVShowByTVDBID(ctx context.Context, tvdbID uint32) (*ent.TVShow, error)

FindTVShowByTVDBID provides a mock function with given fields: ctx, tvdbID

func (*MockStore) FindUnusedInviteForEmail

func (_m *MockStore) FindUnusedInviteForEmail(ctx context.Context, email string, now time.Time) (*ent.Invite, error)

FindUnusedInviteForEmail provides a mock function with given fields: ctx, email, now

func (*MockStore) FindUserByEmail

func (_m *MockStore) FindUserByEmail(ctx context.Context, email string) (*ent.User, error)

FindUserByEmail provides a mock function with given fields: ctx, email

func (*MockStore) FindUserByID

func (_m *MockStore) FindUserByID(ctx context.Context, id uint32) (*ent.User, error)

FindUserByID provides a mock function with given fields: ctx, id

func (*MockStore) GetRequest

func (_m *MockStore) GetRequest(ctx context.Context, id uint32) (*ent.Request, error)

GetRequest provides a mock function with given fields: ctx, id

func (*MockStore) IncrementEpisodeGrabFailures

func (_m *MockStore) IncrementEpisodeGrabFailures(ctx context.Context, id uint32) error

IncrementEpisodeGrabFailures provides a mock function with given fields: ctx, id

func (*MockStore) IncrementImportScanProgress

func (_m *MockStore) IncrementImportScanProgress(ctx context.Context, id uint32, processedDelta uint32) error

IncrementImportScanProgress provides a mock function with given fields: ctx, id, processedDelta

func (*MockStore) IncrementMovieGrabFailures

func (_m *MockStore) IncrementMovieGrabFailures(ctx context.Context, id uint32) error

IncrementMovieGrabFailures provides a mock function with given fields: ctx, id

func (*MockStore) LatestImportedRecordForEpisode

func (_m *MockStore) LatestImportedRecordForEpisode(ctx context.Context, episodeID uint32) (*ent.DownloadRecord, error)

LatestImportedRecordForEpisode provides a mock function with given fields: ctx, episodeID

func (*MockStore) LatestImportedRecordForMovie

func (_m *MockStore) LatestImportedRecordForMovie(ctx context.Context, movieID uint32) (*ent.DownloadRecord, error)

LatestImportedRecordForMovie provides a mock function with given fields: ctx, movieID

func (*MockStore) ListAPIKeysByUser

func (_m *MockStore) ListAPIKeysByUser(ctx context.Context, userID uint32) ([]*ent.ApiKey, error)

ListAPIKeysByUser provides a mock function with given fields: ctx, userID

func (*MockStore) ListActiveDownloadRecords

func (_m *MockStore) ListActiveDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListActiveDownloadRecords provides a mock function with given fields: ctx

func (*MockStore) ListAllEpisodeMediaFilePaths

func (_m *MockStore) ListAllEpisodeMediaFilePaths(ctx context.Context) ([]string, error)

ListAllEpisodeMediaFilePaths provides a mock function with given fields: ctx

func (*MockStore) ListAllMediaFilesWithOwners added in v1.2.0

func (_m *MockStore) ListAllMediaFilesWithOwners(ctx context.Context) ([]*ent.MediaFile, error)

ListAllMediaFilesWithOwners provides a mock function with given fields: ctx

func (*MockStore) ListDownloadHistory

func (_m *MockStore) ListDownloadHistory(ctx context.Context, limit int, cursor string) (*db.DownloadHistoryResult, error)

ListDownloadHistory provides a mock function with given fields: ctx, limit, cursor

func (*MockStore) ListDownloadingRecordsWithMovie

func (_m *MockStore) ListDownloadingRecordsWithMovie(ctx context.Context) ([]*ent.DownloadRecord, error)

ListDownloadingRecordsWithMovie provides a mock function with given fields: ctx

func (*MockStore) ListEligibleEpisodesForSync added in v1.2.0

func (_m *MockStore) ListEligibleEpisodesForSync(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time, airedBefore time.Time) ([]*ent.TVShow, error)

ListEligibleEpisodesForSync provides a mock function with given fields: ctx, maxGrabFailures, notSearchedSince, airedBefore

func (*MockStore) ListEligibleMoviesForSync

func (_m *MockStore) ListEligibleMoviesForSync(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time) ([]*ent.Movie, error)

ListEligibleMoviesForSync provides a mock function with given fields: ctx, maxGrabFailures, notSearchedSince

func (*MockStore) ListImportScanFilesForCommit

func (_m *MockStore) ListImportScanFilesForCommit(ctx context.Context, scanID uint32) ([]*ent.ImportScanFile, error)

ListImportScanFilesForCommit provides a mock function with given fields: ctx, scanID

func (*MockStore) ListImportScanShows

func (_m *MockStore) ListImportScanShows(ctx context.Context, p db.ListImportScanShowsParams) ([]*ent.ImportScanShow, uint32, error)

ListImportScanShows provides a mock function with given fields: ctx, p

func (*MockStore) ListImportScanShowsForCommit

func (_m *MockStore) ListImportScanShowsForCommit(ctx context.Context, scanID uint32) ([]*ent.ImportScanShow, error)

ListImportScanShowsForCommit provides a mock function with given fields: ctx, scanID

func (*MockStore) ListImportScans

func (_m *MockStore) ListImportScans(ctx context.Context, offset uint32, limit uint32) ([]*ent.ImportScan, uint32, error)

ListImportScans provides a mock function with given fields: ctx, offset, limit

func (*MockStore) ListImportingDownloadRecords

func (_m *MockStore) ListImportingDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListImportingDownloadRecords provides a mock function with given fields: ctx

func (*MockStore) ListInvites

func (_m *MockStore) ListInvites(ctx context.Context) ([]*ent.Invite, error)

ListInvites provides a mock function with given fields: ctx

func (*MockStore) ListMediaFilesByMovieID

func (_m *MockStore) ListMediaFilesByMovieID(ctx context.Context, movieID uint32) ([]*ent.MediaFile, error)

ListMediaFilesByMovieID provides a mock function with given fields: ctx, movieID

func (*MockStore) ListMovies

func (_m *MockStore) ListMovies(ctx context.Context, offset uint32, limit uint32) ([]*ent.Movie, error)

ListMovies provides a mock function with given fields: ctx, offset, limit

func (*MockStore) ListMoviesForAdoption

func (_m *MockStore) ListMoviesForAdoption(ctx context.Context) ([]*ent.Movie, error)

ListMoviesForAdoption provides a mock function with given fields: ctx

func (*MockStore) ListMoviesStaleSince

func (_m *MockStore) ListMoviesStaleSince(ctx context.Context, cutoff time.Time) ([]*ent.Movie, error)

ListMoviesStaleSince provides a mock function with given fields: ctx, cutoff

func (*MockStore) ListPendingDownloadRecords

func (_m *MockStore) ListPendingDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListPendingDownloadRecords provides a mock function with given fields: ctx

func (*MockStore) ListPendingImportScanFilePaths

func (_m *MockStore) ListPendingImportScanFilePaths(ctx context.Context) ([]string, error)

ListPendingImportScanFilePaths provides a mock function with given fields: ctx

func (*MockStore) ListPendingImportScanShowFolders

func (_m *MockStore) ListPendingImportScanShowFolders(ctx context.Context) ([]string, error)

ListPendingImportScanShowFolders provides a mock function with given fields: ctx

func (*MockStore) ListRequests

func (_m *MockStore) ListRequests(ctx context.Context, p db.ListRequestsParams) ([]*ent.Request, int, error)

ListRequests provides a mock function with given fields: ctx, p

func (*MockStore) ListTVShows

func (_m *MockStore) ListTVShows(ctx context.Context, offset uint32, limit uint32) ([]*ent.TVShow, error)

ListTVShows provides a mock function with given fields: ctx, offset, limit

func (*MockStore) ListTorrentSessions added in v1.1.0

func (_m *MockStore) ListTorrentSessions(ctx context.Context) ([]*ent.TorrentSession, error)

ListTorrentSessions provides a mock function with given fields: ctx

func (*MockStore) ListTvShowsForAdoption

func (_m *MockStore) ListTvShowsForAdoption(ctx context.Context) ([]*ent.TVShow, error)

ListTvShowsForAdoption provides a mock function with given fields: ctx

func (*MockStore) ListUpcomingEpisodes

func (_m *MockStore) ListUpcomingEpisodes(ctx context.Context, from time.Time, to time.Time) ([]*ent.Episode, error)

ListUpcomingEpisodes provides a mock function with given fields: ctx, from, to

func (*MockStore) ListUserSessions

func (_m *MockStore) ListUserSessions(ctx context.Context, userID uint32) ([]*ent.Session, error)

ListUserSessions provides a mock function with given fields: ctx, userID

func (*MockStore) ListUsers

func (_m *MockStore) ListUsers(ctx context.Context, p db.ListUsersParams) ([]*ent.User, int, error)

ListUsers provides a mock function with given fields: ctx, p

func (*MockStore) ListWantedEpisodes

func (_m *MockStore) ListWantedEpisodes(ctx context.Context) ([]*ent.TVShow, error)

ListWantedEpisodes provides a mock function with given fields: ctx

func (*MockStore) ListWantedMovies

func (_m *MockStore) ListWantedMovies(ctx context.Context) ([]*ent.Movie, error)

ListWantedMovies provides a mock function with given fields: ctx

func (*MockStore) MarkDownloadRecordReplaceExisting

func (_m *MockStore) MarkDownloadRecordReplaceExisting(ctx context.Context, id uint32) error

MarkDownloadRecordReplaceExisting provides a mock function with given fields: ctx, id

func (*MockStore) MarkRequestsAvailable

func (_m *MockStore) MarkRequestsAvailable(ctx context.Context, mediaType string, mediaID uint32) error

MarkRequestsAvailable provides a mock function with given fields: ctx, mediaType, mediaID

func (*MockStore) MovieCreateTimesSince

func (_m *MockStore) MovieCreateTimesSince(ctx context.Context, since time.Time) ([]time.Time, error)

MovieCreateTimesSince provides a mock function with given fields: ctx, since

func (*MockStore) MovieHasMediaFile

func (_m *MockStore) MovieHasMediaFile(ctx context.Context, tmdbID uint32) (bool, error)

MovieHasMediaFile provides a mock function with given fields: ctx, tmdbID

func (*MockStore) PurgeExpiredSessions

func (_m *MockStore) PurgeExpiredSessions(ctx context.Context, before time.Time) (int, error)

PurgeExpiredSessions provides a mock function with given fields: ctx, before

func (*MockStore) RecentActivity

func (_m *MockStore) RecentActivity(ctx context.Context, f db.ActivityFilter) (*db.ActivityResult, error)

RecentActivity provides a mock function with given fields: ctx, f

func (*MockStore) ReconcileEpisodes

func (_m *MockStore) ReconcileEpisodes(ctx context.Context, showID uint32, seasons []db.SeasonSeed) ([]string, error)

ReconcileEpisodes provides a mock function with given fields: ctx, showID, seasons

func (*MockStore) RecordEpisodeImportSuccess

func (_m *MockStore) RecordEpisodeImportSuccess(ctx context.Context, p db.RecordEpisodeImportSuccessParams) error

RecordEpisodeImportSuccess provides a mock function with given fields: ctx, p

func (*MockStore) RecordImportFailure

func (_m *MockStore) RecordImportFailure(ctx context.Context, p db.RecordImportFailureParams) error

RecordImportFailure provides a mock function with given fields: ctx, p

func (*MockStore) RecordImportSuccess

func (_m *MockStore) RecordImportSuccess(ctx context.Context, p db.RecordImportSuccessParams) error

RecordImportSuccess provides a mock function with given fields: ctx, p

func (*MockStore) ReopenRequest

func (_m *MockStore) ReopenRequest(ctx context.Context, id uint32) error

ReopenRequest provides a mock function with given fields: ctx, id

func (*MockStore) ResetEpisodeGrabFailures

func (_m *MockStore) ResetEpisodeGrabFailures(ctx context.Context, id uint32) error

ResetEpisodeGrabFailures provides a mock function with given fields: ctx, id

func (*MockStore) ResetMovieGrabFailures

func (_m *MockStore) ResetMovieGrabFailures(ctx context.Context, id uint32) error

ResetMovieGrabFailures provides a mock function with given fields: ctx, id

func (*MockStore) RevertMovieToWantedIfNoFile

func (_m *MockStore) RevertMovieToWantedIfNoFile(ctx context.Context, movieID uint32) error

RevertMovieToWantedIfNoFile provides a mock function with given fields: ctx, movieID

func (*MockStore) RevertOrphanedDownloadingEpisodes

func (_m *MockStore) RevertOrphanedDownloadingEpisodes(ctx context.Context) (int, error)

RevertOrphanedDownloadingEpisodes provides a mock function with given fields: ctx

func (*MockStore) RevokeAllUserSessions

func (_m *MockStore) RevokeAllUserSessions(ctx context.Context, userID uint32, when time.Time) error

RevokeAllUserSessions provides a mock function with given fields: ctx, userID, when

func (*MockStore) RevokeInvite

func (_m *MockStore) RevokeInvite(ctx context.Context, id uint32, now time.Time) error

RevokeInvite provides a mock function with given fields: ctx, id, now

func (*MockStore) RevokeOtherUserSessions

func (_m *MockStore) RevokeOtherUserSessions(ctx context.Context, userID uint32, keepJTI string, when time.Time) error

RevokeOtherUserSessions provides a mock function with given fields: ctx, userID, keepJTI, when

func (*MockStore) RevokeSessionByJTI

func (_m *MockStore) RevokeSessionByJTI(ctx context.Context, jti string, when time.Time) error

RevokeSessionByJTI provides a mock function with given fields: ctx, jti, when

func (*MockStore) RevokeUserSessionByID

func (_m *MockStore) RevokeUserSessionByID(ctx context.Context, userID uint32, sessionID uint32, when time.Time) (int, error)

RevokeUserSessionByID provides a mock function with given fields: ctx, userID, sessionID, when

func (*MockStore) SetDownloadRecordSavePath

func (_m *MockStore) SetDownloadRecordSavePath(ctx context.Context, id uint32, path string) error

SetDownloadRecordSavePath provides a mock function with given fields: ctx, id, path

func (*MockStore) SetEpisodeLastSearchAt

func (_m *MockStore) SetEpisodeLastSearchAt(ctx context.Context, id uint32, when time.Time) error

SetEpisodeLastSearchAt provides a mock function with given fields: ctx, id, when

func (*MockStore) SetEpisodeMonitored

func (_m *MockStore) SetEpisodeMonitored(ctx context.Context, id uint32, monitored bool) error

SetEpisodeMonitored provides a mock function with given fields: ctx, id, monitored

func (*MockStore) SetEpisodeStatus

func (_m *MockStore) SetEpisodeStatus(ctx context.Context, id uint32, status episode.Status) error

SetEpisodeStatus provides a mock function with given fields: ctx, id, status

func (*MockStore) SetMovieDigitalReleaseDate

func (_m *MockStore) SetMovieDigitalReleaseDate(ctx context.Context, id uint32, date *time.Time) error

SetMovieDigitalReleaseDate provides a mock function with given fields: ctx, id, date

func (*MockStore) SetMovieLastSearchAt

func (_m *MockStore) SetMovieLastSearchAt(ctx context.Context, id uint32, when time.Time) error

SetMovieLastSearchAt provides a mock function with given fields: ctx, id, when

func (*MockStore) SetSeasonMonitored

func (_m *MockStore) SetSeasonMonitored(ctx context.Context, id uint32, monitored bool) error

SetSeasonMonitored provides a mock function with given fields: ctx, id, monitored

func (*MockStore) SetTVShowRefreshedAt

func (_m *MockStore) SetTVShowRefreshedAt(ctx context.Context, id uint32, when time.Time) error

SetTVShowRefreshedAt provides a mock function with given fields: ctx, id, when

func (*MockStore) SetTorrentSessionCompleted added in v1.1.0

func (_m *MockStore) SetTorrentSessionCompleted(ctx context.Context, infoHash string, at time.Time) error

SetTorrentSessionCompleted provides a mock function with given fields: ctx, infoHash, at

func (*MockStore) SetTorrentSessionName added in v1.1.0

func (_m *MockStore) SetTorrentSessionName(ctx context.Context, infoHash string, name string) error

SetTorrentSessionName provides a mock function with given fields: ctx, infoHash, name

func (*MockStore) SetTorrentSessionPaused added in v1.1.0

func (_m *MockStore) SetTorrentSessionPaused(ctx context.Context, infoHash string, paused bool) error

SetTorrentSessionPaused provides a mock function with given fields: ctx, infoHash, paused

func (*MockStore) SetTorrentSessionSeedStopped added in v1.1.0

func (_m *MockStore) SetTorrentSessionSeedStopped(ctx context.Context, infoHash string) error

SetTorrentSessionSeedStopped provides a mock function with given fields: ctx, infoHash

func (*MockStore) SyncSeasonDownloadStateForRecord

func (_m *MockStore) SyncSeasonDownloadStateForRecord(ctx context.Context, recordID uint32, paused bool) error

SyncSeasonDownloadStateForRecord provides a mock function with given fields: ctx, recordID, paused

func (*MockStore) TouchAPIKey added in v1.3.0

func (_m *MockStore) TouchAPIKey(ctx context.Context, id uint32, at time.Time) error

TouchAPIKey provides a mock function with given fields: ctx, id, at

func (*MockStore) TouchSession

func (_m *MockStore) TouchSession(ctx context.Context, jti string, when time.Time) error

TouchSession provides a mock function with given fields: ctx, jti, when

func (*MockStore) TruncateSessions

func (_m *MockStore) TruncateSessions(ctx context.Context) error

TruncateSessions provides a mock function with given fields: ctx

func (*MockStore) Tx

func (_m *MockStore) Tx(ctx context.Context) (db.Tx, error)

Tx provides a mock function with given fields: ctx

func (*MockStore) UpcomingReleases

func (_m *MockStore) UpcomingReleases(ctx context.Context, from time.Time, to time.Time) ([]*ent.Movie, error)

UpcomingReleases provides a mock function with given fields: ctx, from, to

func (*MockStore) UpdateDownloadRecordStatus

func (_m *MockStore) UpdateDownloadRecordStatus(ctx context.Context, id uint32, status downloadrecord.Status) error

UpdateDownloadRecordStatus provides a mock function with given fields: ctx, id, status

func (*MockStore) UpdateImportScanFileDecision

func (_m *MockStore) UpdateImportScanFileDecision(ctx context.Context, scanID uint32, fileID uint32, decision importscanfile.Decision, tmdbID *uint32) error

UpdateImportScanFileDecision provides a mock function with given fields: ctx, scanID, fileID, decision, tmdbID

func (*MockStore) UpdateImportScanFileOutcome

func (_m *MockStore) UpdateImportScanFileOutcome(ctx context.Context, id uint32, outcome importscanfile.Outcome, opts db.UpdateScanFileOutcomeOpts) error

UpdateImportScanFileOutcome provides a mock function with given fields: ctx, id, outcome, opts

func (*MockStore) UpdateImportScanShowDecision

func (_m *MockStore) UpdateImportScanShowDecision(ctx context.Context, scanID uint32, showID uint32, decision importscanshow.Decision, tvdbID *uint32) error

UpdateImportScanShowDecision provides a mock function with given fields: ctx, scanID, showID, decision, tvdbID

func (*MockStore) UpdateImportScanShowOutcome

func (_m *MockStore) UpdateImportScanShowOutcome(ctx context.Context, id uint32, outcome importscanshow.Outcome, opts db.UpdateScanShowOutcomeOpts) error

UpdateImportScanShowOutcome provides a mock function with given fields: ctx, id, outcome, opts

func (*MockStore) UpdateImportScanStatus

func (_m *MockStore) UpdateImportScanStatus(ctx context.Context, id uint32, status importscan.Status, opts db.UpdateScanStatusOpts) error

UpdateImportScanStatus provides a mock function with given fields: ctx, id, status, opts

func (*MockStore) UpdateMediaFilePath

func (_m *MockStore) UpdateMediaFilePath(ctx context.Context, id uint32, path string) error

UpdateMediaFilePath provides a mock function with given fields: ctx, id, path

func (*MockStore) UpdateMovie

func (_m *MockStore) UpdateMovie(ctx context.Context, id uint32, p db.UpdateMovieParams) (*ent.Movie, error)

UpdateMovie provides a mock function with given fields: ctx, id, p

func (*MockStore) UpdateMovieMetadata

func (_m *MockStore) UpdateMovieMetadata(ctx context.Context, id uint32, p db.UpdateMovieMetadataParams) error

UpdateMovieMetadata provides a mock function with given fields: ctx, id, p

func (*MockStore) UpdateMovieStatus

func (_m *MockStore) UpdateMovieStatus(ctx context.Context, id uint32, status movie.Status) error

UpdateMovieStatus provides a mock function with given fields: ctx, id, status

func (*MockStore) UpdateTVShow

func (_m *MockStore) UpdateTVShow(ctx context.Context, id uint32, p db.UpdateTVShowParams) (*ent.TVShow, error)

UpdateTVShow provides a mock function with given fields: ctx, id, p

func (*MockStore) UpdateTVShowMetadata

func (_m *MockStore) UpdateTVShowMetadata(ctx context.Context, id uint32, p db.UpdateTVShowMetadataParams) error

UpdateTVShowMetadata provides a mock function with given fields: ctx, id, p

func (*MockStore) UpdateUser

func (_m *MockStore) UpdateUser(ctx context.Context, id uint32, p db.UpdateUserParams) (*ent.User, error)

UpdateUser provides a mock function with given fields: ctx, id, p

func (*MockStore) UpdateUserPassword

func (_m *MockStore) UpdateUserPassword(ctx context.Context, id uint32, hash string) error

UpdateUserPassword provides a mock function with given fields: ctx, id, hash

func (*MockStore) UserSessionExists

func (_m *MockStore) UserSessionExists(ctx context.Context, userID uint32, sessionID uint32) (bool, error)

UserSessionExists provides a mock function with given fields: ctx, userID, sessionID

type MockStore_AbortInflightImportScans_Call

type MockStore_AbortInflightImportScans_Call struct {
	*mock.Call
}

MockStore_AbortInflightImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortInflightImportScans'

func (*MockStore_AbortInflightImportScans_Call) Return

func (*MockStore_AbortInflightImportScans_Call) Run

func (*MockStore_AbortInflightImportScans_Call) RunAndReturn

type MockStore_AllDownloadRecordHashes_Call

type MockStore_AllDownloadRecordHashes_Call struct {
	*mock.Call
}

MockStore_AllDownloadRecordHashes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllDownloadRecordHashes'

func (*MockStore_AllDownloadRecordHashes_Call) Return

func (*MockStore_AllDownloadRecordHashes_Call) Run

func (*MockStore_AllDownloadRecordHashes_Call) RunAndReturn

type MockStore_ApproveRequest_Call

type MockStore_ApproveRequest_Call struct {
	*mock.Call
}

MockStore_ApproveRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveRequest'

func (*MockStore_ApproveRequest_Call) Return

func (*MockStore_ApproveRequest_Call) Run

func (*MockStore_ApproveRequest_Call) RunAndReturn

type MockStore_BulkCreateImportScanFiles_Call

type MockStore_BulkCreateImportScanFiles_Call struct {
	*mock.Call
}

MockStore_BulkCreateImportScanFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkCreateImportScanFiles'

func (*MockStore_BulkCreateImportScanFiles_Call) Return

func (*MockStore_BulkCreateImportScanFiles_Call) Run

func (*MockStore_BulkCreateImportScanFiles_Call) RunAndReturn

type MockStore_BulkCreateImportScanShows_Call

type MockStore_BulkCreateImportScanShows_Call struct {
	*mock.Call
}

MockStore_BulkCreateImportScanShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkCreateImportScanShows'

func (*MockStore_BulkCreateImportScanShows_Call) Return

func (*MockStore_BulkCreateImportScanShows_Call) Run

func (*MockStore_BulkCreateImportScanShows_Call) RunAndReturn

type MockStore_BumpMediaFileLastSeen_Call

type MockStore_BumpMediaFileLastSeen_Call struct {
	*mock.Call
}

MockStore_BumpMediaFileLastSeen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpMediaFileLastSeen'

func (*MockStore_BumpMediaFileLastSeen_Call) Return

func (*MockStore_BumpMediaFileLastSeen_Call) Run

func (*MockStore_BumpMediaFileLastSeen_Call) RunAndReturn

type MockStore_CascadeSeasonMonitored_Call

type MockStore_CascadeSeasonMonitored_Call struct {
	*mock.Call
}

MockStore_CascadeSeasonMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeSeasonMonitored'

func (*MockStore_CascadeSeasonMonitored_Call) Return

func (*MockStore_CascadeSeasonMonitored_Call) Run

func (*MockStore_CascadeSeasonMonitored_Call) RunAndReturn

type MockStore_CascadeShowMonitored_Call

type MockStore_CascadeShowMonitored_Call struct {
	*mock.Call
}

MockStore_CascadeShowMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeShowMonitored'

func (*MockStore_CascadeShowMonitored_Call) Return

func (*MockStore_CascadeShowMonitored_Call) Run

func (*MockStore_CascadeShowMonitored_Call) RunAndReturn

type MockStore_ConsumeInvite_Call added in v1.2.0

type MockStore_ConsumeInvite_Call struct {
	*mock.Call
}

MockStore_ConsumeInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumeInvite'

func (*MockStore_ConsumeInvite_Call) Return added in v1.2.0

func (*MockStore_ConsumeInvite_Call) Run added in v1.2.0

func (*MockStore_ConsumeInvite_Call) RunAndReturn added in v1.2.0

type MockStore_CountActiveImportScans_Call

type MockStore_CountActiveImportScans_Call struct {
	*mock.Call
}

MockStore_CountActiveImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountActiveImportScans'

func (*MockStore_CountActiveImportScans_Call) Return

func (*MockStore_CountActiveImportScans_Call) Run

func (*MockStore_CountActiveImportScans_Call) RunAndReturn

type MockStore_CountMoviesByStatus_Call

type MockStore_CountMoviesByStatus_Call struct {
	*mock.Call
}

MockStore_CountMoviesByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMoviesByStatus'

func (*MockStore_CountMoviesByStatus_Call) Return

func (*MockStore_CountMoviesByStatus_Call) Run

func (*MockStore_CountMoviesByStatus_Call) RunAndReturn

type MockStore_CountMovies_Call

type MockStore_CountMovies_Call struct {
	*mock.Call
}

MockStore_CountMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMovies'

func (*MockStore_CountMovies_Call) Return

func (*MockStore_CountMovies_Call) Run

func (*MockStore_CountMovies_Call) RunAndReturn

type MockStore_CountRequestsByStatus_Call

type MockStore_CountRequestsByStatus_Call struct {
	*mock.Call
}

MockStore_CountRequestsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountRequestsByStatus'

func (*MockStore_CountRequestsByStatus_Call) Return

func (*MockStore_CountRequestsByStatus_Call) Run

func (*MockStore_CountRequestsByStatus_Call) RunAndReturn

type MockStore_CountTVShowsByStatus_Call

type MockStore_CountTVShowsByStatus_Call struct {
	*mock.Call
}

MockStore_CountTVShowsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTVShowsByStatus'

func (*MockStore_CountTVShowsByStatus_Call) Return

func (*MockStore_CountTVShowsByStatus_Call) Run

func (*MockStore_CountTVShowsByStatus_Call) RunAndReturn

type MockStore_CountTVShows_Call

type MockStore_CountTVShows_Call struct {
	*mock.Call
}

MockStore_CountTVShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTVShows'

func (*MockStore_CountTVShows_Call) Return

func (*MockStore_CountTVShows_Call) Run

func (*MockStore_CountTVShows_Call) RunAndReturn

type MockStore_CountUsersByRole_Call

type MockStore_CountUsersByRole_Call struct {
	*mock.Call
}

MockStore_CountUsersByRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountUsersByRole'

func (*MockStore_CountUsersByRole_Call) Return

func (*MockStore_CountUsersByRole_Call) Run

func (*MockStore_CountUsersByRole_Call) RunAndReturn

type MockStore_CountUsers_Call

type MockStore_CountUsers_Call struct {
	*mock.Call
}

MockStore_CountUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountUsers'

func (*MockStore_CountUsers_Call) Return

func (*MockStore_CountUsers_Call) Run

func (*MockStore_CountUsers_Call) RunAndReturn

type MockStore_CreateAPIKey_Call

type MockStore_CreateAPIKey_Call struct {
	*mock.Call
}

MockStore_CreateAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAPIKey'

func (*MockStore_CreateAPIKey_Call) Return

func (*MockStore_CreateAPIKey_Call) Run

func (*MockStore_CreateAPIKey_Call) RunAndReturn

type MockStore_CreateDownloadRecord_Call

type MockStore_CreateDownloadRecord_Call struct {
	*mock.Call
}

MockStore_CreateDownloadRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDownloadRecord'

func (*MockStore_CreateDownloadRecord_Call) Return

func (*MockStore_CreateDownloadRecord_Call) Run

type MockStore_CreateImportScan_Call

type MockStore_CreateImportScan_Call struct {
	*mock.Call
}

MockStore_CreateImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateImportScan'

func (*MockStore_CreateImportScan_Call) Return

func (*MockStore_CreateImportScan_Call) Run

func (*MockStore_CreateImportScan_Call) RunAndReturn

type MockStore_CreateInvite_Call

type MockStore_CreateInvite_Call struct {
	*mock.Call
}

MockStore_CreateInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInvite'

func (*MockStore_CreateInvite_Call) Return

func (*MockStore_CreateInvite_Call) Run

func (*MockStore_CreateInvite_Call) RunAndReturn

type MockStore_CreateMediaFile_Call

type MockStore_CreateMediaFile_Call struct {
	*mock.Call
}

MockStore_CreateMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMediaFile'

func (*MockStore_CreateMediaFile_Call) Return

func (*MockStore_CreateMediaFile_Call) Run

func (*MockStore_CreateMediaFile_Call) RunAndReturn

type MockStore_CreateMovie_Call

type MockStore_CreateMovie_Call struct {
	*mock.Call
}

MockStore_CreateMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMovie'

func (*MockStore_CreateMovie_Call) Return

func (*MockStore_CreateMovie_Call) Run

func (*MockStore_CreateMovie_Call) RunAndReturn

type MockStore_CreateOIDCIdentity_Call

type MockStore_CreateOIDCIdentity_Call struct {
	*mock.Call
}

MockStore_CreateOIDCIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOIDCIdentity'

func (*MockStore_CreateOIDCIdentity_Call) Return

func (*MockStore_CreateOIDCIdentity_Call) Run

func (*MockStore_CreateOIDCIdentity_Call) RunAndReturn

type MockStore_CreateRequest_Call

type MockStore_CreateRequest_Call struct {
	*mock.Call
}

MockStore_CreateRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRequest'

func (*MockStore_CreateRequest_Call) Return

func (*MockStore_CreateRequest_Call) Run

func (*MockStore_CreateRequest_Call) RunAndReturn

type MockStore_CreateSession_Call

type MockStore_CreateSession_Call struct {
	*mock.Call
}

MockStore_CreateSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSession'

func (*MockStore_CreateSession_Call) Return

func (*MockStore_CreateSession_Call) Run

func (*MockStore_CreateSession_Call) RunAndReturn

type MockStore_CreateTVShow_Call

type MockStore_CreateTVShow_Call struct {
	*mock.Call
}

MockStore_CreateTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTVShow'

func (*MockStore_CreateTVShow_Call) Return

func (*MockStore_CreateTVShow_Call) Run

func (*MockStore_CreateTVShow_Call) RunAndReturn

type MockStore_CreateTorrentSession_Call added in v1.1.0

type MockStore_CreateTorrentSession_Call struct {
	*mock.Call
}

MockStore_CreateTorrentSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTorrentSession'

func (*MockStore_CreateTorrentSession_Call) Return added in v1.1.0

func (*MockStore_CreateTorrentSession_Call) Run added in v1.1.0

func (*MockStore_CreateTorrentSession_Call) RunAndReturn added in v1.1.0

type MockStore_CreateUser_Call

type MockStore_CreateUser_Call struct {
	*mock.Call
}

MockStore_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'

func (*MockStore_CreateUser_Call) Return

func (*MockStore_CreateUser_Call) Run

func (*MockStore_CreateUser_Call) RunAndReturn

type MockStore_DeleteAPIKeyByID_Call

type MockStore_DeleteAPIKeyByID_Call struct {
	*mock.Call
}

MockStore_DeleteAPIKeyByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAPIKeyByID'

func (*MockStore_DeleteAPIKeyByID_Call) Return

func (*MockStore_DeleteAPIKeyByID_Call) Run

func (*MockStore_DeleteAPIKeyByID_Call) RunAndReturn

type MockStore_DeleteAllCompletedDownloadRecords_Call

type MockStore_DeleteAllCompletedDownloadRecords_Call struct {
	*mock.Call
}

MockStore_DeleteAllCompletedDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllCompletedDownloadRecords'

func (*MockStore_DeleteAllCompletedDownloadRecords_Call) Return

func (*MockStore_DeleteAllCompletedDownloadRecords_Call) Run

func (*MockStore_DeleteAllCompletedDownloadRecords_Call) RunAndReturn

type MockStore_DeleteCompletedDownloadRecordsBefore_Call

type MockStore_DeleteCompletedDownloadRecordsBefore_Call struct {
	*mock.Call
}

MockStore_DeleteCompletedDownloadRecordsBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCompletedDownloadRecordsBefore'

func (*MockStore_DeleteCompletedDownloadRecordsBefore_Call) Return

func (*MockStore_DeleteCompletedDownloadRecordsBefore_Call) Run

func (*MockStore_DeleteCompletedDownloadRecordsBefore_Call) RunAndReturn

type MockStore_DeleteDownloadRecord_Call

type MockStore_DeleteDownloadRecord_Call struct {
	*mock.Call
}

MockStore_DeleteDownloadRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDownloadRecord'

func (*MockStore_DeleteDownloadRecord_Call) Return

func (*MockStore_DeleteDownloadRecord_Call) Run

func (*MockStore_DeleteDownloadRecord_Call) RunAndReturn

type MockStore_DeleteFailedDownloadRecordsBefore_Call

type MockStore_DeleteFailedDownloadRecordsBefore_Call struct {
	*mock.Call
}

MockStore_DeleteFailedDownloadRecordsBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFailedDownloadRecordsBefore'

func (*MockStore_DeleteFailedDownloadRecordsBefore_Call) Return

func (*MockStore_DeleteFailedDownloadRecordsBefore_Call) Run

func (*MockStore_DeleteFailedDownloadRecordsBefore_Call) RunAndReturn

type MockStore_DeleteImportScan_Call

type MockStore_DeleteImportScan_Call struct {
	*mock.Call
}

MockStore_DeleteImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteImportScan'

func (*MockStore_DeleteImportScan_Call) Return

func (*MockStore_DeleteImportScan_Call) Run

func (*MockStore_DeleteImportScan_Call) RunAndReturn

type MockStore_DeleteMediaFileAndRevertEpisode_Call

type MockStore_DeleteMediaFileAndRevertEpisode_Call struct {
	*mock.Call
}

MockStore_DeleteMediaFileAndRevertEpisode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFileAndRevertEpisode'

func (*MockStore_DeleteMediaFileAndRevertEpisode_Call) Return

func (*MockStore_DeleteMediaFileAndRevertEpisode_Call) Run

func (*MockStore_DeleteMediaFileAndRevertEpisode_Call) RunAndReturn

type MockStore_DeleteMediaFileAndRevertMovie_Call

type MockStore_DeleteMediaFileAndRevertMovie_Call struct {
	*mock.Call
}

MockStore_DeleteMediaFileAndRevertMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFileAndRevertMovie'

func (*MockStore_DeleteMediaFileAndRevertMovie_Call) Return

func (*MockStore_DeleteMediaFileAndRevertMovie_Call) Run

func (*MockStore_DeleteMediaFileAndRevertMovie_Call) RunAndReturn

type MockStore_DeleteMediaFile_Call added in v1.2.0

type MockStore_DeleteMediaFile_Call struct {
	*mock.Call
}

MockStore_DeleteMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFile'

func (*MockStore_DeleteMediaFile_Call) Return added in v1.2.0

func (*MockStore_DeleteMediaFile_Call) Run added in v1.2.0

func (*MockStore_DeleteMediaFile_Call) RunAndReturn added in v1.2.0

type MockStore_DeleteMovie_Call

type MockStore_DeleteMovie_Call struct {
	*mock.Call
}

MockStore_DeleteMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMovie'

func (*MockStore_DeleteMovie_Call) Return

func (*MockStore_DeleteMovie_Call) Run

func (*MockStore_DeleteMovie_Call) RunAndReturn

type MockStore_DeleteStalePendingAdoptions_Call

type MockStore_DeleteStalePendingAdoptions_Call struct {
	*mock.Call
}

MockStore_DeleteStalePendingAdoptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStalePendingAdoptions'

func (*MockStore_DeleteStalePendingAdoptions_Call) Return

func (*MockStore_DeleteStalePendingAdoptions_Call) Run

func (*MockStore_DeleteStalePendingAdoptions_Call) RunAndReturn

type MockStore_DeleteTVShow_Call

type MockStore_DeleteTVShow_Call struct {
	*mock.Call
}

MockStore_DeleteTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTVShow'

func (*MockStore_DeleteTVShow_Call) Return

func (*MockStore_DeleteTVShow_Call) Run

func (*MockStore_DeleteTVShow_Call) RunAndReturn

type MockStore_DeleteTorrentSessionByHash_Call added in v1.1.0

type MockStore_DeleteTorrentSessionByHash_Call struct {
	*mock.Call
}

MockStore_DeleteTorrentSessionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTorrentSessionByHash'

func (*MockStore_DeleteTorrentSessionByHash_Call) Return added in v1.1.0

func (*MockStore_DeleteTorrentSessionByHash_Call) Run added in v1.1.0

func (*MockStore_DeleteTorrentSessionByHash_Call) RunAndReturn added in v1.1.0

type MockStore_DeleteUser_Call

type MockStore_DeleteUser_Call struct {
	*mock.Call
}

MockStore_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'

func (*MockStore_DeleteUser_Call) Return

func (*MockStore_DeleteUser_Call) Run

func (*MockStore_DeleteUser_Call) RunAndReturn

type MockStore_DenyRequest_Call

type MockStore_DenyRequest_Call struct {
	*mock.Call
}

MockStore_DenyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenyRequest'

func (*MockStore_DenyRequest_Call) Return

func (*MockStore_DenyRequest_Call) Run

func (_c *MockStore_DenyRequest_Call) Run(run func(ctx context.Context, id uint32, adminID uint32, reason string)) *MockStore_DenyRequest_Call

func (*MockStore_DenyRequest_Call) RunAndReturn

type MockStore_Expecter

type MockStore_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockStore_Expecter) AbortInflightImportScans

func (_e *MockStore_Expecter) AbortInflightImportScans(ctx interface{}, reason interface{}) *MockStore_AbortInflightImportScans_Call

AbortInflightImportScans is a helper method to define mock.On call

  • ctx context.Context
  • reason string

func (*MockStore_Expecter) AllDownloadRecordHashes

func (_e *MockStore_Expecter) AllDownloadRecordHashes(ctx interface{}) *MockStore_AllDownloadRecordHashes_Call

AllDownloadRecordHashes is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ApproveRequest

func (_e *MockStore_Expecter) ApproveRequest(ctx interface{}, id interface{}, adminID interface{}) *MockStore_ApproveRequest_Call

ApproveRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • adminID uint32

func (*MockStore_Expecter) BulkCreateImportScanFiles

func (_e *MockStore_Expecter) BulkCreateImportScanFiles(ctx interface{}, scanID interface{}, files interface{}) *MockStore_BulkCreateImportScanFiles_Call

BulkCreateImportScanFiles is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • files []db.CreateImportScanFileParams

func (*MockStore_Expecter) BulkCreateImportScanShows

func (_e *MockStore_Expecter) BulkCreateImportScanShows(ctx interface{}, scanID interface{}, shows interface{}) *MockStore_BulkCreateImportScanShows_Call

BulkCreateImportScanShows is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • shows []db.CreateImportScanShowParams

func (*MockStore_Expecter) BumpMediaFileLastSeen

func (_e *MockStore_Expecter) BumpMediaFileLastSeen(ctx interface{}, id interface{}) *MockStore_BumpMediaFileLastSeen_Call

BumpMediaFileLastSeen is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) CascadeSeasonMonitored

func (_e *MockStore_Expecter) CascadeSeasonMonitored(ctx interface{}, seasonID interface{}, monitored interface{}) *MockStore_CascadeSeasonMonitored_Call

CascadeSeasonMonitored is a helper method to define mock.On call

  • ctx context.Context
  • seasonID uint32
  • monitored bool

func (*MockStore_Expecter) CascadeShowMonitored

func (_e *MockStore_Expecter) CascadeShowMonitored(ctx interface{}, showID interface{}, monitored interface{}) *MockStore_CascadeShowMonitored_Call

CascadeShowMonitored is a helper method to define mock.On call

  • ctx context.Context
  • showID uint32
  • monitored bool

func (*MockStore_Expecter) ConsumeInvite added in v1.2.0

func (_e *MockStore_Expecter) ConsumeInvite(ctx interface{}, id interface{}, userID interface{}, when interface{}) *MockStore_ConsumeInvite_Call

ConsumeInvite is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • userID uint32
  • when time.Time

func (*MockStore_Expecter) CountActiveImportScans

func (_e *MockStore_Expecter) CountActiveImportScans(ctx interface{}) *MockStore_CountActiveImportScans_Call

CountActiveImportScans is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) CountMovies

func (_e *MockStore_Expecter) CountMovies(ctx interface{}) *MockStore_CountMovies_Call

CountMovies is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) CountMoviesByStatus

func (_e *MockStore_Expecter) CountMoviesByStatus(ctx interface{}, status interface{}) *MockStore_CountMoviesByStatus_Call

CountMoviesByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status movie.Status

func (*MockStore_Expecter) CountRequestsByStatus

func (_e *MockStore_Expecter) CountRequestsByStatus(ctx interface{}, status interface{}) *MockStore_CountRequestsByStatus_Call

CountRequestsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status request.Status

func (*MockStore_Expecter) CountTVShows

func (_e *MockStore_Expecter) CountTVShows(ctx interface{}) *MockStore_CountTVShows_Call

CountTVShows is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) CountTVShowsByStatus

func (_e *MockStore_Expecter) CountTVShowsByStatus(ctx interface{}, status interface{}) *MockStore_CountTVShowsByStatus_Call

CountTVShowsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status tvshow.SeriesStatus

func (*MockStore_Expecter) CountUsers

func (_e *MockStore_Expecter) CountUsers(ctx interface{}) *MockStore_CountUsers_Call

CountUsers is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) CountUsersByRole

func (_e *MockStore_Expecter) CountUsersByRole(ctx interface{}, role interface{}) *MockStore_CountUsersByRole_Call

CountUsersByRole is a helper method to define mock.On call

  • ctx context.Context
  • role user.Role

func (*MockStore_Expecter) CreateAPIKey

func (_e *MockStore_Expecter) CreateAPIKey(ctx interface{}, p interface{}) *MockStore_CreateAPIKey_Call

CreateAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateAPIKeyParams

func (*MockStore_Expecter) CreateDownloadRecord

func (_e *MockStore_Expecter) CreateDownloadRecord(ctx interface{}, p interface{}) *MockStore_CreateDownloadRecord_Call

CreateDownloadRecord is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateDownloadRecordParams

func (*MockStore_Expecter) CreateImportScan

func (_e *MockStore_Expecter) CreateImportScan(ctx interface{}, p interface{}) *MockStore_CreateImportScan_Call

CreateImportScan is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateImportScanParams

func (*MockStore_Expecter) CreateInvite

func (_e *MockStore_Expecter) CreateInvite(ctx interface{}, p interface{}) *MockStore_CreateInvite_Call

CreateInvite is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateInviteParams

func (*MockStore_Expecter) CreateMediaFile

func (_e *MockStore_Expecter) CreateMediaFile(ctx interface{}, p interface{}) *MockStore_CreateMediaFile_Call

CreateMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateMediaFileParams

func (*MockStore_Expecter) CreateMovie

func (_e *MockStore_Expecter) CreateMovie(ctx interface{}, p interface{}) *MockStore_CreateMovie_Call

CreateMovie is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateMovieParams

func (*MockStore_Expecter) CreateOIDCIdentity

func (_e *MockStore_Expecter) CreateOIDCIdentity(ctx interface{}, p interface{}) *MockStore_CreateOIDCIdentity_Call

CreateOIDCIdentity is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateOIDCIdentityParams

func (*MockStore_Expecter) CreateRequest

func (_e *MockStore_Expecter) CreateRequest(ctx interface{}, p interface{}) *MockStore_CreateRequest_Call

CreateRequest is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateRequestParams

func (*MockStore_Expecter) CreateSession

func (_e *MockStore_Expecter) CreateSession(ctx interface{}, p interface{}) *MockStore_CreateSession_Call

CreateSession is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateSessionParams

func (*MockStore_Expecter) CreateTVShow

func (_e *MockStore_Expecter) CreateTVShow(ctx interface{}, p interface{}) *MockStore_CreateTVShow_Call

CreateTVShow is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateTVShowParams

func (*MockStore_Expecter) CreateTorrentSession added in v1.1.0

func (_e *MockStore_Expecter) CreateTorrentSession(ctx interface{}, p interface{}) *MockStore_CreateTorrentSession_Call

CreateTorrentSession is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateTorrentSessionParams

func (*MockStore_Expecter) CreateUser

func (_e *MockStore_Expecter) CreateUser(ctx interface{}, p interface{}) *MockStore_CreateUser_Call

CreateUser is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateUserParams

func (*MockStore_Expecter) DeleteAPIKeyByID

func (_e *MockStore_Expecter) DeleteAPIKeyByID(ctx interface{}, userID interface{}, keyID interface{}) *MockStore_DeleteAPIKeyByID_Call

DeleteAPIKeyByID is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • keyID uint32

func (*MockStore_Expecter) DeleteAllCompletedDownloadRecords

func (_e *MockStore_Expecter) DeleteAllCompletedDownloadRecords(ctx interface{}) *MockStore_DeleteAllCompletedDownloadRecords_Call

DeleteAllCompletedDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) DeleteCompletedDownloadRecordsBefore

func (_e *MockStore_Expecter) DeleteCompletedDownloadRecordsBefore(ctx interface{}, cutoff interface{}) *MockStore_DeleteCompletedDownloadRecordsBefore_Call

DeleteCompletedDownloadRecordsBefore is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockStore_Expecter) DeleteDownloadRecord

func (_e *MockStore_Expecter) DeleteDownloadRecord(ctx interface{}, id interface{}) *MockStore_DeleteDownloadRecord_Call

DeleteDownloadRecord is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DeleteFailedDownloadRecordsBefore

func (_e *MockStore_Expecter) DeleteFailedDownloadRecordsBefore(ctx interface{}, cutoff interface{}) *MockStore_DeleteFailedDownloadRecordsBefore_Call

DeleteFailedDownloadRecordsBefore is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockStore_Expecter) DeleteImportScan

func (_e *MockStore_Expecter) DeleteImportScan(ctx interface{}, id interface{}) *MockStore_DeleteImportScan_Call

DeleteImportScan is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DeleteMediaFile added in v1.2.0

func (_e *MockStore_Expecter) DeleteMediaFile(ctx interface{}, id interface{}) *MockStore_DeleteMediaFile_Call

DeleteMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DeleteMediaFileAndRevertEpisode

func (_e *MockStore_Expecter) DeleteMediaFileAndRevertEpisode(ctx interface{}, mediaFileID interface{}, episodeID interface{}) *MockStore_DeleteMediaFileAndRevertEpisode_Call

DeleteMediaFileAndRevertEpisode is a helper method to define mock.On call

  • ctx context.Context
  • mediaFileID uint32
  • episodeID uint32

func (*MockStore_Expecter) DeleteMediaFileAndRevertMovie

func (_e *MockStore_Expecter) DeleteMediaFileAndRevertMovie(ctx interface{}, mediaFileID interface{}, movieID interface{}) *MockStore_DeleteMediaFileAndRevertMovie_Call

DeleteMediaFileAndRevertMovie is a helper method to define mock.On call

  • ctx context.Context
  • mediaFileID uint32
  • movieID uint32

func (*MockStore_Expecter) DeleteMovie

func (_e *MockStore_Expecter) DeleteMovie(ctx interface{}, id interface{}) *MockStore_DeleteMovie_Call

DeleteMovie is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DeleteStalePendingAdoptions

func (_e *MockStore_Expecter) DeleteStalePendingAdoptions(ctx interface{}, clientName interface{}, liveHashes interface{}) *MockStore_DeleteStalePendingAdoptions_Call

DeleteStalePendingAdoptions is a helper method to define mock.On call

  • ctx context.Context
  • clientName string
  • liveHashes []string

func (*MockStore_Expecter) DeleteTVShow

func (_e *MockStore_Expecter) DeleteTVShow(ctx interface{}, id interface{}) *MockStore_DeleteTVShow_Call

DeleteTVShow is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DeleteTorrentSessionByHash added in v1.1.0

func (_e *MockStore_Expecter) DeleteTorrentSessionByHash(ctx interface{}, infoHash interface{}) *MockStore_DeleteTorrentSessionByHash_Call

DeleteTorrentSessionByHash is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string

func (*MockStore_Expecter) DeleteUser

func (_e *MockStore_Expecter) DeleteUser(ctx interface{}, id interface{}) *MockStore_DeleteUser_Call

DeleteUser is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) DenyRequest

func (_e *MockStore_Expecter) DenyRequest(ctx interface{}, id interface{}, adminID interface{}, reason interface{}) *MockStore_DenyRequest_Call

DenyRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • adminID uint32
  • reason string

func (*MockStore_Expecter) FilterImportScanFiles

func (_e *MockStore_Expecter) FilterImportScanFiles(ctx interface{}, p interface{}) *MockStore_FilterImportScanFiles_Call

FilterImportScanFiles is a helper method to define mock.On call

  • ctx context.Context
  • p db.FilterImportScanFilesParams

func (*MockStore_Expecter) FilterMovies

func (_e *MockStore_Expecter) FilterMovies(ctx interface{}, p interface{}) *MockStore_FilterMovies_Call

FilterMovies is a helper method to define mock.On call

  • ctx context.Context
  • p db.FilterMoviesParams

func (*MockStore_Expecter) FindAPIKeyByHash

func (_e *MockStore_Expecter) FindAPIKeyByHash(ctx interface{}, hash interface{}) *MockStore_FindAPIKeyByHash_Call

FindAPIKeyByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash string

func (*MockStore_Expecter) FindActiveDownloadRecordByID

func (_e *MockStore_Expecter) FindActiveDownloadRecordByID(ctx interface{}, id interface{}) *MockStore_FindActiveDownloadRecordByID_Call

FindActiveDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindActiveRequest

func (_e *MockStore_Expecter) FindActiveRequest(ctx interface{}, mediaType interface{}, mediaID interface{}) *MockStore_FindActiveRequest_Call

FindActiveRequest is a helper method to define mock.On call

  • ctx context.Context
  • mediaType string
  • mediaID uint32

func (*MockStore_Expecter) FindImportScan

func (_e *MockStore_Expecter) FindImportScan(ctx interface{}, id interface{}) *MockStore_FindImportScan_Call

FindImportScan is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindImportScanFile

func (_e *MockStore_Expecter) FindImportScanFile(ctx interface{}, scanID interface{}, fileID interface{}) *MockStore_FindImportScanFile_Call

FindImportScanFile is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • fileID uint32

func (*MockStore_Expecter) FindImportScanShow

func (_e *MockStore_Expecter) FindImportScanShow(ctx interface{}, scanID interface{}, showID interface{}) *MockStore_FindImportScanShow_Call

FindImportScanShow is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • showID uint32

func (*MockStore_Expecter) FindImportingDownloadRecordByID

func (_e *MockStore_Expecter) FindImportingDownloadRecordByID(ctx interface{}, id interface{}) *MockStore_FindImportingDownloadRecordByID_Call

FindImportingDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindInviteByTokenHash

func (_e *MockStore_Expecter) FindInviteByTokenHash(ctx interface{}, hash interface{}) *MockStore_FindInviteByTokenHash_Call

FindInviteByTokenHash is a helper method to define mock.On call

  • ctx context.Context
  • hash string

func (*MockStore_Expecter) FindMediaFileByEpisodeID

func (_e *MockStore_Expecter) FindMediaFileByEpisodeID(ctx interface{}, episodeID interface{}) *MockStore_FindMediaFileByEpisodeID_Call

FindMediaFileByEpisodeID is a helper method to define mock.On call

  • ctx context.Context
  • episodeID uint32

func (*MockStore_Expecter) FindMediaFileByID

func (_e *MockStore_Expecter) FindMediaFileByID(ctx interface{}, id interface{}) *MockStore_FindMediaFileByID_Call

FindMediaFileByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindMovieByID

func (_e *MockStore_Expecter) FindMovieByID(ctx interface{}, id interface{}) *MockStore_FindMovieByID_Call

FindMovieByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindMovieByTMDBID

func (_e *MockStore_Expecter) FindMovieByTMDBID(ctx interface{}, tmdbID interface{}) *MockStore_FindMovieByTMDBID_Call

FindMovieByTMDBID is a helper method to define mock.On call

  • ctx context.Context
  • tmdbID uint32

func (*MockStore_Expecter) FindMoviesByTMDBIDs

func (_e *MockStore_Expecter) FindMoviesByTMDBIDs(ctx interface{}, tmdbIDs interface{}) *MockStore_FindMoviesByTMDBIDs_Call

FindMoviesByTMDBIDs is a helper method to define mock.On call

  • ctx context.Context
  • tmdbIDs []uint32

func (*MockStore_Expecter) FindOIDCIdentity

func (_e *MockStore_Expecter) FindOIDCIdentity(ctx interface{}, provider interface{}, subject interface{}) *MockStore_FindOIDCIdentity_Call

FindOIDCIdentity is a helper method to define mock.On call

  • ctx context.Context
  • provider string
  • subject string

func (*MockStore_Expecter) FindOpenImportScanForSource

func (_e *MockStore_Expecter) FindOpenImportScanForSource(ctx interface{}, sourcePath interface{}) *MockStore_FindOpenImportScanForSource_Call

FindOpenImportScanForSource is a helper method to define mock.On call

  • ctx context.Context
  • sourcePath string

func (*MockStore_Expecter) FindPendingDownloadRecordByID

func (_e *MockStore_Expecter) FindPendingDownloadRecordByID(ctx interface{}, id interface{}) *MockStore_FindPendingDownloadRecordByID_Call

FindPendingDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindSessionByJTI

func (_e *MockStore_Expecter) FindSessionByJTI(ctx interface{}, jti interface{}) *MockStore_FindSessionByJTI_Call

FindSessionByJTI is a helper method to define mock.On call

  • ctx context.Context
  • jti string

func (*MockStore_Expecter) FindTVShowByID

func (_e *MockStore_Expecter) FindTVShowByID(ctx interface{}, id interface{}) *MockStore_FindTVShowByID_Call

FindTVShowByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) FindTVShowByTVDBID

func (_e *MockStore_Expecter) FindTVShowByTVDBID(ctx interface{}, tvdbID interface{}) *MockStore_FindTVShowByTVDBID_Call

FindTVShowByTVDBID is a helper method to define mock.On call

  • ctx context.Context
  • tvdbID uint32

func (*MockStore_Expecter) FindUnusedInviteForEmail

func (_e *MockStore_Expecter) FindUnusedInviteForEmail(ctx interface{}, email interface{}, now interface{}) *MockStore_FindUnusedInviteForEmail_Call

FindUnusedInviteForEmail is a helper method to define mock.On call

  • ctx context.Context
  • email string
  • now time.Time

func (*MockStore_Expecter) FindUserByEmail

func (_e *MockStore_Expecter) FindUserByEmail(ctx interface{}, email interface{}) *MockStore_FindUserByEmail_Call

FindUserByEmail is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*MockStore_Expecter) FindUserByID

func (_e *MockStore_Expecter) FindUserByID(ctx interface{}, id interface{}) *MockStore_FindUserByID_Call

FindUserByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) GetRequest

func (_e *MockStore_Expecter) GetRequest(ctx interface{}, id interface{}) *MockStore_GetRequest_Call

GetRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) IncrementEpisodeGrabFailures

func (_e *MockStore_Expecter) IncrementEpisodeGrabFailures(ctx interface{}, id interface{}) *MockStore_IncrementEpisodeGrabFailures_Call

IncrementEpisodeGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) IncrementImportScanProgress

func (_e *MockStore_Expecter) IncrementImportScanProgress(ctx interface{}, id interface{}, processedDelta interface{}) *MockStore_IncrementImportScanProgress_Call

IncrementImportScanProgress is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • processedDelta uint32

func (*MockStore_Expecter) IncrementMovieGrabFailures

func (_e *MockStore_Expecter) IncrementMovieGrabFailures(ctx interface{}, id interface{}) *MockStore_IncrementMovieGrabFailures_Call

IncrementMovieGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) LatestImportedRecordForEpisode

func (_e *MockStore_Expecter) LatestImportedRecordForEpisode(ctx interface{}, episodeID interface{}) *MockStore_LatestImportedRecordForEpisode_Call

LatestImportedRecordForEpisode is a helper method to define mock.On call

  • ctx context.Context
  • episodeID uint32

func (*MockStore_Expecter) LatestImportedRecordForMovie

func (_e *MockStore_Expecter) LatestImportedRecordForMovie(ctx interface{}, movieID interface{}) *MockStore_LatestImportedRecordForMovie_Call

LatestImportedRecordForMovie is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockStore_Expecter) ListAPIKeysByUser

func (_e *MockStore_Expecter) ListAPIKeysByUser(ctx interface{}, userID interface{}) *MockStore_ListAPIKeysByUser_Call

ListAPIKeysByUser is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32

func (*MockStore_Expecter) ListActiveDownloadRecords

func (_e *MockStore_Expecter) ListActiveDownloadRecords(ctx interface{}) *MockStore_ListActiveDownloadRecords_Call

ListActiveDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListAllEpisodeMediaFilePaths

func (_e *MockStore_Expecter) ListAllEpisodeMediaFilePaths(ctx interface{}) *MockStore_ListAllEpisodeMediaFilePaths_Call

ListAllEpisodeMediaFilePaths is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListAllMediaFilesWithOwners added in v1.2.0

func (_e *MockStore_Expecter) ListAllMediaFilesWithOwners(ctx interface{}) *MockStore_ListAllMediaFilesWithOwners_Call

ListAllMediaFilesWithOwners is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListDownloadHistory

func (_e *MockStore_Expecter) ListDownloadHistory(ctx interface{}, limit interface{}, cursor interface{}) *MockStore_ListDownloadHistory_Call

ListDownloadHistory is a helper method to define mock.On call

  • ctx context.Context
  • limit int
  • cursor string

func (*MockStore_Expecter) ListDownloadingRecordsWithMovie

func (_e *MockStore_Expecter) ListDownloadingRecordsWithMovie(ctx interface{}) *MockStore_ListDownloadingRecordsWithMovie_Call

ListDownloadingRecordsWithMovie is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListEligibleEpisodesForSync added in v1.2.0

func (_e *MockStore_Expecter) ListEligibleEpisodesForSync(ctx interface{}, maxGrabFailures interface{}, notSearchedSince interface{}, airedBefore interface{}) *MockStore_ListEligibleEpisodesForSync_Call

ListEligibleEpisodesForSync is a helper method to define mock.On call

  • ctx context.Context
  • maxGrabFailures uint8
  • notSearchedSince time.Time
  • airedBefore time.Time

func (*MockStore_Expecter) ListEligibleMoviesForSync

func (_e *MockStore_Expecter) ListEligibleMoviesForSync(ctx interface{}, maxGrabFailures interface{}, notSearchedSince interface{}) *MockStore_ListEligibleMoviesForSync_Call

ListEligibleMoviesForSync is a helper method to define mock.On call

  • ctx context.Context
  • maxGrabFailures uint8
  • notSearchedSince time.Time

func (*MockStore_Expecter) ListImportScanFilesForCommit

func (_e *MockStore_Expecter) ListImportScanFilesForCommit(ctx interface{}, scanID interface{}) *MockStore_ListImportScanFilesForCommit_Call

ListImportScanFilesForCommit is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32

func (*MockStore_Expecter) ListImportScanShows

func (_e *MockStore_Expecter) ListImportScanShows(ctx interface{}, p interface{}) *MockStore_ListImportScanShows_Call

ListImportScanShows is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListImportScanShowsParams

func (*MockStore_Expecter) ListImportScanShowsForCommit

func (_e *MockStore_Expecter) ListImportScanShowsForCommit(ctx interface{}, scanID interface{}) *MockStore_ListImportScanShowsForCommit_Call

ListImportScanShowsForCommit is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32

func (*MockStore_Expecter) ListImportScans

func (_e *MockStore_Expecter) ListImportScans(ctx interface{}, offset interface{}, limit interface{}) *MockStore_ListImportScans_Call

ListImportScans is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockStore_Expecter) ListImportingDownloadRecords

func (_e *MockStore_Expecter) ListImportingDownloadRecords(ctx interface{}) *MockStore_ListImportingDownloadRecords_Call

ListImportingDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListInvites

func (_e *MockStore_Expecter) ListInvites(ctx interface{}) *MockStore_ListInvites_Call

ListInvites is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListMediaFilesByMovieID

func (_e *MockStore_Expecter) ListMediaFilesByMovieID(ctx interface{}, movieID interface{}) *MockStore_ListMediaFilesByMovieID_Call

ListMediaFilesByMovieID is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockStore_Expecter) ListMovies

func (_e *MockStore_Expecter) ListMovies(ctx interface{}, offset interface{}, limit interface{}) *MockStore_ListMovies_Call

ListMovies is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockStore_Expecter) ListMoviesForAdoption

func (_e *MockStore_Expecter) ListMoviesForAdoption(ctx interface{}) *MockStore_ListMoviesForAdoption_Call

ListMoviesForAdoption is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListMoviesStaleSince

func (_e *MockStore_Expecter) ListMoviesStaleSince(ctx interface{}, cutoff interface{}) *MockStore_ListMoviesStaleSince_Call

ListMoviesStaleSince is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockStore_Expecter) ListPendingDownloadRecords

func (_e *MockStore_Expecter) ListPendingDownloadRecords(ctx interface{}) *MockStore_ListPendingDownloadRecords_Call

ListPendingDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListPendingImportScanFilePaths

func (_e *MockStore_Expecter) ListPendingImportScanFilePaths(ctx interface{}) *MockStore_ListPendingImportScanFilePaths_Call

ListPendingImportScanFilePaths is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListPendingImportScanShowFolders

func (_e *MockStore_Expecter) ListPendingImportScanShowFolders(ctx interface{}) *MockStore_ListPendingImportScanShowFolders_Call

ListPendingImportScanShowFolders is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListRequests

func (_e *MockStore_Expecter) ListRequests(ctx interface{}, p interface{}) *MockStore_ListRequests_Call

ListRequests is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListRequestsParams

func (*MockStore_Expecter) ListTVShows

func (_e *MockStore_Expecter) ListTVShows(ctx interface{}, offset interface{}, limit interface{}) *MockStore_ListTVShows_Call

ListTVShows is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockStore_Expecter) ListTorrentSessions added in v1.1.0

func (_e *MockStore_Expecter) ListTorrentSessions(ctx interface{}) *MockStore_ListTorrentSessions_Call

ListTorrentSessions is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListTvShowsForAdoption

func (_e *MockStore_Expecter) ListTvShowsForAdoption(ctx interface{}) *MockStore_ListTvShowsForAdoption_Call

ListTvShowsForAdoption is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListUpcomingEpisodes

func (_e *MockStore_Expecter) ListUpcomingEpisodes(ctx interface{}, from interface{}, to interface{}) *MockStore_ListUpcomingEpisodes_Call

ListUpcomingEpisodes is a helper method to define mock.On call

  • ctx context.Context
  • from time.Time
  • to time.Time

func (*MockStore_Expecter) ListUserSessions

func (_e *MockStore_Expecter) ListUserSessions(ctx interface{}, userID interface{}) *MockStore_ListUserSessions_Call

ListUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32

func (*MockStore_Expecter) ListUsers

func (_e *MockStore_Expecter) ListUsers(ctx interface{}, p interface{}) *MockStore_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListUsersParams

func (*MockStore_Expecter) ListWantedEpisodes

func (_e *MockStore_Expecter) ListWantedEpisodes(ctx interface{}) *MockStore_ListWantedEpisodes_Call

ListWantedEpisodes is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) ListWantedMovies

func (_e *MockStore_Expecter) ListWantedMovies(ctx interface{}) *MockStore_ListWantedMovies_Call

ListWantedMovies is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) MarkDownloadRecordReplaceExisting

func (_e *MockStore_Expecter) MarkDownloadRecordReplaceExisting(ctx interface{}, id interface{}) *MockStore_MarkDownloadRecordReplaceExisting_Call

MarkDownloadRecordReplaceExisting is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) MarkRequestsAvailable

func (_e *MockStore_Expecter) MarkRequestsAvailable(ctx interface{}, mediaType interface{}, mediaID interface{}) *MockStore_MarkRequestsAvailable_Call

MarkRequestsAvailable is a helper method to define mock.On call

  • ctx context.Context
  • mediaType string
  • mediaID uint32

func (*MockStore_Expecter) MovieCreateTimesSince

func (_e *MockStore_Expecter) MovieCreateTimesSince(ctx interface{}, since interface{}) *MockStore_MovieCreateTimesSince_Call

MovieCreateTimesSince is a helper method to define mock.On call

  • ctx context.Context
  • since time.Time

func (*MockStore_Expecter) MovieHasMediaFile

func (_e *MockStore_Expecter) MovieHasMediaFile(ctx interface{}, tmdbID interface{}) *MockStore_MovieHasMediaFile_Call

MovieHasMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • tmdbID uint32

func (*MockStore_Expecter) PurgeExpiredSessions

func (_e *MockStore_Expecter) PurgeExpiredSessions(ctx interface{}, before interface{}) *MockStore_PurgeExpiredSessions_Call

PurgeExpiredSessions is a helper method to define mock.On call

  • ctx context.Context
  • before time.Time

func (*MockStore_Expecter) RecentActivity

func (_e *MockStore_Expecter) RecentActivity(ctx interface{}, f interface{}) *MockStore_RecentActivity_Call

RecentActivity is a helper method to define mock.On call

  • ctx context.Context
  • f db.ActivityFilter

func (*MockStore_Expecter) ReconcileEpisodes

func (_e *MockStore_Expecter) ReconcileEpisodes(ctx interface{}, showID interface{}, seasons interface{}) *MockStore_ReconcileEpisodes_Call

ReconcileEpisodes is a helper method to define mock.On call

  • ctx context.Context
  • showID uint32
  • seasons []db.SeasonSeed

func (*MockStore_Expecter) RecordEpisodeImportSuccess

func (_e *MockStore_Expecter) RecordEpisodeImportSuccess(ctx interface{}, p interface{}) *MockStore_RecordEpisodeImportSuccess_Call

RecordEpisodeImportSuccess is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordEpisodeImportSuccessParams

func (*MockStore_Expecter) RecordImportFailure

func (_e *MockStore_Expecter) RecordImportFailure(ctx interface{}, p interface{}) *MockStore_RecordImportFailure_Call

RecordImportFailure is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordImportFailureParams

func (*MockStore_Expecter) RecordImportSuccess

func (_e *MockStore_Expecter) RecordImportSuccess(ctx interface{}, p interface{}) *MockStore_RecordImportSuccess_Call

RecordImportSuccess is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordImportSuccessParams

func (*MockStore_Expecter) ReopenRequest

func (_e *MockStore_Expecter) ReopenRequest(ctx interface{}, id interface{}) *MockStore_ReopenRequest_Call

ReopenRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) ResetEpisodeGrabFailures

func (_e *MockStore_Expecter) ResetEpisodeGrabFailures(ctx interface{}, id interface{}) *MockStore_ResetEpisodeGrabFailures_Call

ResetEpisodeGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) ResetMovieGrabFailures

func (_e *MockStore_Expecter) ResetMovieGrabFailures(ctx interface{}, id interface{}) *MockStore_ResetMovieGrabFailures_Call

ResetMovieGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockStore_Expecter) RevertMovieToWantedIfNoFile

func (_e *MockStore_Expecter) RevertMovieToWantedIfNoFile(ctx interface{}, movieID interface{}) *MockStore_RevertMovieToWantedIfNoFile_Call

RevertMovieToWantedIfNoFile is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockStore_Expecter) RevertOrphanedDownloadingEpisodes

func (_e *MockStore_Expecter) RevertOrphanedDownloadingEpisodes(ctx interface{}) *MockStore_RevertOrphanedDownloadingEpisodes_Call

RevertOrphanedDownloadingEpisodes is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) RevokeAllUserSessions

func (_e *MockStore_Expecter) RevokeAllUserSessions(ctx interface{}, userID interface{}, when interface{}) *MockStore_RevokeAllUserSessions_Call

RevokeAllUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • when time.Time

func (*MockStore_Expecter) RevokeInvite

func (_e *MockStore_Expecter) RevokeInvite(ctx interface{}, id interface{}, now interface{}) *MockStore_RevokeInvite_Call

RevokeInvite is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • now time.Time

func (*MockStore_Expecter) RevokeOtherUserSessions

func (_e *MockStore_Expecter) RevokeOtherUserSessions(ctx interface{}, userID interface{}, keepJTI interface{}, when interface{}) *MockStore_RevokeOtherUserSessions_Call

RevokeOtherUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • keepJTI string
  • when time.Time

func (*MockStore_Expecter) RevokeSessionByJTI

func (_e *MockStore_Expecter) RevokeSessionByJTI(ctx interface{}, jti interface{}, when interface{}) *MockStore_RevokeSessionByJTI_Call

RevokeSessionByJTI is a helper method to define mock.On call

  • ctx context.Context
  • jti string
  • when time.Time

func (*MockStore_Expecter) RevokeUserSessionByID

func (_e *MockStore_Expecter) RevokeUserSessionByID(ctx interface{}, userID interface{}, sessionID interface{}, when interface{}) *MockStore_RevokeUserSessionByID_Call

RevokeUserSessionByID is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • sessionID uint32
  • when time.Time

func (*MockStore_Expecter) SetDownloadRecordSavePath

func (_e *MockStore_Expecter) SetDownloadRecordSavePath(ctx interface{}, id interface{}, path interface{}) *MockStore_SetDownloadRecordSavePath_Call

SetDownloadRecordSavePath is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • path string

func (*MockStore_Expecter) SetEpisodeLastSearchAt

func (_e *MockStore_Expecter) SetEpisodeLastSearchAt(ctx interface{}, id interface{}, when interface{}) *MockStore_SetEpisodeLastSearchAt_Call

SetEpisodeLastSearchAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockStore_Expecter) SetEpisodeMonitored

func (_e *MockStore_Expecter) SetEpisodeMonitored(ctx interface{}, id interface{}, monitored interface{}) *MockStore_SetEpisodeMonitored_Call

SetEpisodeMonitored is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • monitored bool

func (*MockStore_Expecter) SetEpisodeStatus

func (_e *MockStore_Expecter) SetEpisodeStatus(ctx interface{}, id interface{}, status interface{}) *MockStore_SetEpisodeStatus_Call

SetEpisodeStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status episode.Status

func (*MockStore_Expecter) SetMovieDigitalReleaseDate

func (_e *MockStore_Expecter) SetMovieDigitalReleaseDate(ctx interface{}, id interface{}, date interface{}) *MockStore_SetMovieDigitalReleaseDate_Call

SetMovieDigitalReleaseDate is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • date *time.Time

func (*MockStore_Expecter) SetMovieLastSearchAt

func (_e *MockStore_Expecter) SetMovieLastSearchAt(ctx interface{}, id interface{}, when interface{}) *MockStore_SetMovieLastSearchAt_Call

SetMovieLastSearchAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockStore_Expecter) SetSeasonMonitored

func (_e *MockStore_Expecter) SetSeasonMonitored(ctx interface{}, id interface{}, monitored interface{}) *MockStore_SetSeasonMonitored_Call

SetSeasonMonitored is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • monitored bool

func (*MockStore_Expecter) SetTVShowRefreshedAt

func (_e *MockStore_Expecter) SetTVShowRefreshedAt(ctx interface{}, id interface{}, when interface{}) *MockStore_SetTVShowRefreshedAt_Call

SetTVShowRefreshedAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockStore_Expecter) SetTorrentSessionCompleted added in v1.1.0

func (_e *MockStore_Expecter) SetTorrentSessionCompleted(ctx interface{}, infoHash interface{}, at interface{}) *MockStore_SetTorrentSessionCompleted_Call

SetTorrentSessionCompleted is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • at time.Time

func (*MockStore_Expecter) SetTorrentSessionName added in v1.1.0

func (_e *MockStore_Expecter) SetTorrentSessionName(ctx interface{}, infoHash interface{}, name interface{}) *MockStore_SetTorrentSessionName_Call

SetTorrentSessionName is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • name string

func (*MockStore_Expecter) SetTorrentSessionPaused added in v1.1.0

func (_e *MockStore_Expecter) SetTorrentSessionPaused(ctx interface{}, infoHash interface{}, paused interface{}) *MockStore_SetTorrentSessionPaused_Call

SetTorrentSessionPaused is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • paused bool

func (*MockStore_Expecter) SetTorrentSessionSeedStopped added in v1.1.0

func (_e *MockStore_Expecter) SetTorrentSessionSeedStopped(ctx interface{}, infoHash interface{}) *MockStore_SetTorrentSessionSeedStopped_Call

SetTorrentSessionSeedStopped is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string

func (*MockStore_Expecter) SyncSeasonDownloadStateForRecord

func (_e *MockStore_Expecter) SyncSeasonDownloadStateForRecord(ctx interface{}, recordID interface{}, paused interface{}) *MockStore_SyncSeasonDownloadStateForRecord_Call

SyncSeasonDownloadStateForRecord is a helper method to define mock.On call

  • ctx context.Context
  • recordID uint32
  • paused bool

func (*MockStore_Expecter) TouchAPIKey added in v1.3.0

func (_e *MockStore_Expecter) TouchAPIKey(ctx interface{}, id interface{}, at interface{}) *MockStore_TouchAPIKey_Call

TouchAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • at time.Time

func (*MockStore_Expecter) TouchSession

func (_e *MockStore_Expecter) TouchSession(ctx interface{}, jti interface{}, when interface{}) *MockStore_TouchSession_Call

TouchSession is a helper method to define mock.On call

  • ctx context.Context
  • jti string
  • when time.Time

func (*MockStore_Expecter) TruncateSessions

func (_e *MockStore_Expecter) TruncateSessions(ctx interface{}) *MockStore_TruncateSessions_Call

TruncateSessions is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) Tx

func (_e *MockStore_Expecter) Tx(ctx interface{}) *MockStore_Tx_Call

Tx is a helper method to define mock.On call

  • ctx context.Context

func (*MockStore_Expecter) UpcomingReleases

func (_e *MockStore_Expecter) UpcomingReleases(ctx interface{}, from interface{}, to interface{}) *MockStore_UpcomingReleases_Call

UpcomingReleases is a helper method to define mock.On call

  • ctx context.Context
  • from time.Time
  • to time.Time

func (*MockStore_Expecter) UpdateDownloadRecordStatus

func (_e *MockStore_Expecter) UpdateDownloadRecordStatus(ctx interface{}, id interface{}, status interface{}) *MockStore_UpdateDownloadRecordStatus_Call

UpdateDownloadRecordStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status downloadrecord.Status

func (*MockStore_Expecter) UpdateImportScanFileDecision

func (_e *MockStore_Expecter) UpdateImportScanFileDecision(ctx interface{}, scanID interface{}, fileID interface{}, decision interface{}, tmdbID interface{}) *MockStore_UpdateImportScanFileDecision_Call

UpdateImportScanFileDecision is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • fileID uint32
  • decision importscanfile.Decision
  • tmdbID *uint32

func (*MockStore_Expecter) UpdateImportScanFileOutcome

func (_e *MockStore_Expecter) UpdateImportScanFileOutcome(ctx interface{}, id interface{}, outcome interface{}, opts interface{}) *MockStore_UpdateImportScanFileOutcome_Call

UpdateImportScanFileOutcome is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • outcome importscanfile.Outcome
  • opts db.UpdateScanFileOutcomeOpts

func (*MockStore_Expecter) UpdateImportScanShowDecision

func (_e *MockStore_Expecter) UpdateImportScanShowDecision(ctx interface{}, scanID interface{}, showID interface{}, decision interface{}, tvdbID interface{}) *MockStore_UpdateImportScanShowDecision_Call

UpdateImportScanShowDecision is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • showID uint32
  • decision importscanshow.Decision
  • tvdbID *uint32

func (*MockStore_Expecter) UpdateImportScanShowOutcome

func (_e *MockStore_Expecter) UpdateImportScanShowOutcome(ctx interface{}, id interface{}, outcome interface{}, opts interface{}) *MockStore_UpdateImportScanShowOutcome_Call

UpdateImportScanShowOutcome is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • outcome importscanshow.Outcome
  • opts db.UpdateScanShowOutcomeOpts

func (*MockStore_Expecter) UpdateImportScanStatus

func (_e *MockStore_Expecter) UpdateImportScanStatus(ctx interface{}, id interface{}, status interface{}, opts interface{}) *MockStore_UpdateImportScanStatus_Call

UpdateImportScanStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status importscan.Status
  • opts db.UpdateScanStatusOpts

func (*MockStore_Expecter) UpdateMediaFilePath

func (_e *MockStore_Expecter) UpdateMediaFilePath(ctx interface{}, id interface{}, path interface{}) *MockStore_UpdateMediaFilePath_Call

UpdateMediaFilePath is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • path string

func (*MockStore_Expecter) UpdateMovie

func (_e *MockStore_Expecter) UpdateMovie(ctx interface{}, id interface{}, p interface{}) *MockStore_UpdateMovie_Call

UpdateMovie is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateMovieParams

func (*MockStore_Expecter) UpdateMovieMetadata

func (_e *MockStore_Expecter) UpdateMovieMetadata(ctx interface{}, id interface{}, p interface{}) *MockStore_UpdateMovieMetadata_Call

UpdateMovieMetadata is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateMovieMetadataParams

func (*MockStore_Expecter) UpdateMovieStatus

func (_e *MockStore_Expecter) UpdateMovieStatus(ctx interface{}, id interface{}, status interface{}) *MockStore_UpdateMovieStatus_Call

UpdateMovieStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status movie.Status

func (*MockStore_Expecter) UpdateTVShow

func (_e *MockStore_Expecter) UpdateTVShow(ctx interface{}, id interface{}, p interface{}) *MockStore_UpdateTVShow_Call

UpdateTVShow is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateTVShowParams

func (*MockStore_Expecter) UpdateTVShowMetadata

func (_e *MockStore_Expecter) UpdateTVShowMetadata(ctx interface{}, id interface{}, p interface{}) *MockStore_UpdateTVShowMetadata_Call

UpdateTVShowMetadata is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateTVShowMetadataParams

func (*MockStore_Expecter) UpdateUser

func (_e *MockStore_Expecter) UpdateUser(ctx interface{}, id interface{}, p interface{}) *MockStore_UpdateUser_Call

UpdateUser is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateUserParams

func (*MockStore_Expecter) UpdateUserPassword

func (_e *MockStore_Expecter) UpdateUserPassword(ctx interface{}, id interface{}, hash interface{}) *MockStore_UpdateUserPassword_Call

UpdateUserPassword is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • hash string

func (*MockStore_Expecter) UserSessionExists

func (_e *MockStore_Expecter) UserSessionExists(ctx interface{}, userID interface{}, sessionID interface{}) *MockStore_UserSessionExists_Call

UserSessionExists is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • sessionID uint32

type MockStore_FilterImportScanFiles_Call

type MockStore_FilterImportScanFiles_Call struct {
	*mock.Call
}

MockStore_FilterImportScanFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterImportScanFiles'

func (*MockStore_FilterImportScanFiles_Call) Return

func (*MockStore_FilterImportScanFiles_Call) Run

type MockStore_FilterMovies_Call

type MockStore_FilterMovies_Call struct {
	*mock.Call
}

MockStore_FilterMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterMovies'

func (*MockStore_FilterMovies_Call) Return

func (*MockStore_FilterMovies_Call) Run

func (*MockStore_FilterMovies_Call) RunAndReturn

type MockStore_FindAPIKeyByHash_Call

type MockStore_FindAPIKeyByHash_Call struct {
	*mock.Call
}

MockStore_FindAPIKeyByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAPIKeyByHash'

func (*MockStore_FindAPIKeyByHash_Call) Return

func (*MockStore_FindAPIKeyByHash_Call) Run

func (*MockStore_FindAPIKeyByHash_Call) RunAndReturn

type MockStore_FindActiveDownloadRecordByID_Call

type MockStore_FindActiveDownloadRecordByID_Call struct {
	*mock.Call
}

MockStore_FindActiveDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindActiveDownloadRecordByID'

func (*MockStore_FindActiveDownloadRecordByID_Call) Return

func (*MockStore_FindActiveDownloadRecordByID_Call) Run

func (*MockStore_FindActiveDownloadRecordByID_Call) RunAndReturn

type MockStore_FindActiveRequest_Call

type MockStore_FindActiveRequest_Call struct {
	*mock.Call
}

MockStore_FindActiveRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindActiveRequest'

func (*MockStore_FindActiveRequest_Call) Return

func (*MockStore_FindActiveRequest_Call) Run

func (*MockStore_FindActiveRequest_Call) RunAndReturn

type MockStore_FindImportScanFile_Call

type MockStore_FindImportScanFile_Call struct {
	*mock.Call
}

MockStore_FindImportScanFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScanFile'

func (*MockStore_FindImportScanFile_Call) Return

func (*MockStore_FindImportScanFile_Call) Run

func (*MockStore_FindImportScanFile_Call) RunAndReturn

type MockStore_FindImportScanShow_Call

type MockStore_FindImportScanShow_Call struct {
	*mock.Call
}

MockStore_FindImportScanShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScanShow'

func (*MockStore_FindImportScanShow_Call) Return

func (*MockStore_FindImportScanShow_Call) Run

func (*MockStore_FindImportScanShow_Call) RunAndReturn

type MockStore_FindImportScan_Call

type MockStore_FindImportScan_Call struct {
	*mock.Call
}

MockStore_FindImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScan'

func (*MockStore_FindImportScan_Call) Return

func (*MockStore_FindImportScan_Call) Run

func (*MockStore_FindImportScan_Call) RunAndReturn

type MockStore_FindImportingDownloadRecordByID_Call

type MockStore_FindImportingDownloadRecordByID_Call struct {
	*mock.Call
}

MockStore_FindImportingDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportingDownloadRecordByID'

func (*MockStore_FindImportingDownloadRecordByID_Call) Return

func (*MockStore_FindImportingDownloadRecordByID_Call) Run

func (*MockStore_FindImportingDownloadRecordByID_Call) RunAndReturn

type MockStore_FindInviteByTokenHash_Call

type MockStore_FindInviteByTokenHash_Call struct {
	*mock.Call
}

MockStore_FindInviteByTokenHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindInviteByTokenHash'

func (*MockStore_FindInviteByTokenHash_Call) Return

func (*MockStore_FindInviteByTokenHash_Call) Run

func (*MockStore_FindInviteByTokenHash_Call) RunAndReturn

type MockStore_FindMediaFileByEpisodeID_Call

type MockStore_FindMediaFileByEpisodeID_Call struct {
	*mock.Call
}

MockStore_FindMediaFileByEpisodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaFileByEpisodeID'

func (*MockStore_FindMediaFileByEpisodeID_Call) Return

func (*MockStore_FindMediaFileByEpisodeID_Call) Run

func (*MockStore_FindMediaFileByEpisodeID_Call) RunAndReturn

type MockStore_FindMediaFileByID_Call

type MockStore_FindMediaFileByID_Call struct {
	*mock.Call
}

MockStore_FindMediaFileByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaFileByID'

func (*MockStore_FindMediaFileByID_Call) Return

func (*MockStore_FindMediaFileByID_Call) Run

func (*MockStore_FindMediaFileByID_Call) RunAndReturn

type MockStore_FindMovieByID_Call

type MockStore_FindMovieByID_Call struct {
	*mock.Call
}

MockStore_FindMovieByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMovieByID'

func (*MockStore_FindMovieByID_Call) Return

func (*MockStore_FindMovieByID_Call) Run

func (*MockStore_FindMovieByID_Call) RunAndReturn

type MockStore_FindMovieByTMDBID_Call

type MockStore_FindMovieByTMDBID_Call struct {
	*mock.Call
}

MockStore_FindMovieByTMDBID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMovieByTMDBID'

func (*MockStore_FindMovieByTMDBID_Call) Return

func (*MockStore_FindMovieByTMDBID_Call) Run

func (*MockStore_FindMovieByTMDBID_Call) RunAndReturn

type MockStore_FindMoviesByTMDBIDs_Call

type MockStore_FindMoviesByTMDBIDs_Call struct {
	*mock.Call
}

MockStore_FindMoviesByTMDBIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMoviesByTMDBIDs'

func (*MockStore_FindMoviesByTMDBIDs_Call) Return

func (*MockStore_FindMoviesByTMDBIDs_Call) Run

func (*MockStore_FindMoviesByTMDBIDs_Call) RunAndReturn

type MockStore_FindOIDCIdentity_Call

type MockStore_FindOIDCIdentity_Call struct {
	*mock.Call
}

MockStore_FindOIDCIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOIDCIdentity'

func (*MockStore_FindOIDCIdentity_Call) Return

func (*MockStore_FindOIDCIdentity_Call) Run

func (*MockStore_FindOIDCIdentity_Call) RunAndReturn

type MockStore_FindOpenImportScanForSource_Call

type MockStore_FindOpenImportScanForSource_Call struct {
	*mock.Call
}

MockStore_FindOpenImportScanForSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOpenImportScanForSource'

func (*MockStore_FindOpenImportScanForSource_Call) Return

func (*MockStore_FindOpenImportScanForSource_Call) Run

func (*MockStore_FindOpenImportScanForSource_Call) RunAndReturn

type MockStore_FindPendingDownloadRecordByID_Call

type MockStore_FindPendingDownloadRecordByID_Call struct {
	*mock.Call
}

MockStore_FindPendingDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindPendingDownloadRecordByID'

func (*MockStore_FindPendingDownloadRecordByID_Call) Return

func (*MockStore_FindPendingDownloadRecordByID_Call) Run

func (*MockStore_FindPendingDownloadRecordByID_Call) RunAndReturn

type MockStore_FindSessionByJTI_Call

type MockStore_FindSessionByJTI_Call struct {
	*mock.Call
}

MockStore_FindSessionByJTI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSessionByJTI'

func (*MockStore_FindSessionByJTI_Call) Return

func (*MockStore_FindSessionByJTI_Call) Run

func (*MockStore_FindSessionByJTI_Call) RunAndReturn

type MockStore_FindTVShowByID_Call

type MockStore_FindTVShowByID_Call struct {
	*mock.Call
}

MockStore_FindTVShowByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTVShowByID'

func (*MockStore_FindTVShowByID_Call) Return

func (*MockStore_FindTVShowByID_Call) Run

func (*MockStore_FindTVShowByID_Call) RunAndReturn

type MockStore_FindTVShowByTVDBID_Call

type MockStore_FindTVShowByTVDBID_Call struct {
	*mock.Call
}

MockStore_FindTVShowByTVDBID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTVShowByTVDBID'

func (*MockStore_FindTVShowByTVDBID_Call) Return

func (*MockStore_FindTVShowByTVDBID_Call) Run

func (*MockStore_FindTVShowByTVDBID_Call) RunAndReturn

type MockStore_FindUnusedInviteForEmail_Call

type MockStore_FindUnusedInviteForEmail_Call struct {
	*mock.Call
}

MockStore_FindUnusedInviteForEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUnusedInviteForEmail'

func (*MockStore_FindUnusedInviteForEmail_Call) Return

func (*MockStore_FindUnusedInviteForEmail_Call) Run

func (*MockStore_FindUnusedInviteForEmail_Call) RunAndReturn

type MockStore_FindUserByEmail_Call

type MockStore_FindUserByEmail_Call struct {
	*mock.Call
}

MockStore_FindUserByEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUserByEmail'

func (*MockStore_FindUserByEmail_Call) Return

func (*MockStore_FindUserByEmail_Call) Run

func (*MockStore_FindUserByEmail_Call) RunAndReturn

type MockStore_FindUserByID_Call

type MockStore_FindUserByID_Call struct {
	*mock.Call
}

MockStore_FindUserByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUserByID'

func (*MockStore_FindUserByID_Call) Return

func (*MockStore_FindUserByID_Call) Run

func (*MockStore_FindUserByID_Call) RunAndReturn

type MockStore_GetRequest_Call

type MockStore_GetRequest_Call struct {
	*mock.Call
}

MockStore_GetRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRequest'

func (*MockStore_GetRequest_Call) Return

func (*MockStore_GetRequest_Call) Run

func (*MockStore_GetRequest_Call) RunAndReturn

type MockStore_IncrementEpisodeGrabFailures_Call

type MockStore_IncrementEpisodeGrabFailures_Call struct {
	*mock.Call
}

MockStore_IncrementEpisodeGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementEpisodeGrabFailures'

func (*MockStore_IncrementEpisodeGrabFailures_Call) Return

func (*MockStore_IncrementEpisodeGrabFailures_Call) Run

func (*MockStore_IncrementEpisodeGrabFailures_Call) RunAndReturn

type MockStore_IncrementImportScanProgress_Call

type MockStore_IncrementImportScanProgress_Call struct {
	*mock.Call
}

MockStore_IncrementImportScanProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementImportScanProgress'

func (*MockStore_IncrementImportScanProgress_Call) Return

func (*MockStore_IncrementImportScanProgress_Call) Run

func (*MockStore_IncrementImportScanProgress_Call) RunAndReturn

type MockStore_IncrementMovieGrabFailures_Call

type MockStore_IncrementMovieGrabFailures_Call struct {
	*mock.Call
}

MockStore_IncrementMovieGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementMovieGrabFailures'

func (*MockStore_IncrementMovieGrabFailures_Call) Return

func (*MockStore_IncrementMovieGrabFailures_Call) Run

func (*MockStore_IncrementMovieGrabFailures_Call) RunAndReturn

type MockStore_LatestImportedRecordForEpisode_Call

type MockStore_LatestImportedRecordForEpisode_Call struct {
	*mock.Call
}

MockStore_LatestImportedRecordForEpisode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestImportedRecordForEpisode'

func (*MockStore_LatestImportedRecordForEpisode_Call) Return

func (*MockStore_LatestImportedRecordForEpisode_Call) Run

func (*MockStore_LatestImportedRecordForEpisode_Call) RunAndReturn

type MockStore_LatestImportedRecordForMovie_Call

type MockStore_LatestImportedRecordForMovie_Call struct {
	*mock.Call
}

MockStore_LatestImportedRecordForMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestImportedRecordForMovie'

func (*MockStore_LatestImportedRecordForMovie_Call) Return

func (*MockStore_LatestImportedRecordForMovie_Call) Run

func (*MockStore_LatestImportedRecordForMovie_Call) RunAndReturn

type MockStore_ListAPIKeysByUser_Call

type MockStore_ListAPIKeysByUser_Call struct {
	*mock.Call
}

MockStore_ListAPIKeysByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAPIKeysByUser'

func (*MockStore_ListAPIKeysByUser_Call) Return

func (*MockStore_ListAPIKeysByUser_Call) Run

func (*MockStore_ListAPIKeysByUser_Call) RunAndReturn

type MockStore_ListActiveDownloadRecords_Call

type MockStore_ListActiveDownloadRecords_Call struct {
	*mock.Call
}

MockStore_ListActiveDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListActiveDownloadRecords'

func (*MockStore_ListActiveDownloadRecords_Call) Return

func (*MockStore_ListActiveDownloadRecords_Call) Run

func (*MockStore_ListActiveDownloadRecords_Call) RunAndReturn

type MockStore_ListAllEpisodeMediaFilePaths_Call

type MockStore_ListAllEpisodeMediaFilePaths_Call struct {
	*mock.Call
}

MockStore_ListAllEpisodeMediaFilePaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllEpisodeMediaFilePaths'

func (*MockStore_ListAllEpisodeMediaFilePaths_Call) Return

func (*MockStore_ListAllEpisodeMediaFilePaths_Call) Run

func (*MockStore_ListAllEpisodeMediaFilePaths_Call) RunAndReturn

type MockStore_ListAllMediaFilesWithOwners_Call added in v1.2.0

type MockStore_ListAllMediaFilesWithOwners_Call struct {
	*mock.Call
}

MockStore_ListAllMediaFilesWithOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllMediaFilesWithOwners'

func (*MockStore_ListAllMediaFilesWithOwners_Call) Return added in v1.2.0

func (*MockStore_ListAllMediaFilesWithOwners_Call) Run added in v1.2.0

func (*MockStore_ListAllMediaFilesWithOwners_Call) RunAndReturn added in v1.2.0

type MockStore_ListDownloadHistory_Call

type MockStore_ListDownloadHistory_Call struct {
	*mock.Call
}

MockStore_ListDownloadHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDownloadHistory'

func (*MockStore_ListDownloadHistory_Call) Return

func (*MockStore_ListDownloadHistory_Call) Run

func (*MockStore_ListDownloadHistory_Call) RunAndReturn

type MockStore_ListDownloadingRecordsWithMovie_Call

type MockStore_ListDownloadingRecordsWithMovie_Call struct {
	*mock.Call
}

MockStore_ListDownloadingRecordsWithMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDownloadingRecordsWithMovie'

func (*MockStore_ListDownloadingRecordsWithMovie_Call) Return

func (*MockStore_ListDownloadingRecordsWithMovie_Call) Run

func (*MockStore_ListDownloadingRecordsWithMovie_Call) RunAndReturn

type MockStore_ListEligibleEpisodesForSync_Call added in v1.2.0

type MockStore_ListEligibleEpisodesForSync_Call struct {
	*mock.Call
}

MockStore_ListEligibleEpisodesForSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEligibleEpisodesForSync'

func (*MockStore_ListEligibleEpisodesForSync_Call) Return added in v1.2.0

func (*MockStore_ListEligibleEpisodesForSync_Call) Run added in v1.2.0

func (_c *MockStore_ListEligibleEpisodesForSync_Call) Run(run func(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time, airedBefore time.Time)) *MockStore_ListEligibleEpisodesForSync_Call

func (*MockStore_ListEligibleEpisodesForSync_Call) RunAndReturn added in v1.2.0

type MockStore_ListEligibleMoviesForSync_Call

type MockStore_ListEligibleMoviesForSync_Call struct {
	*mock.Call
}

MockStore_ListEligibleMoviesForSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEligibleMoviesForSync'

func (*MockStore_ListEligibleMoviesForSync_Call) Return

func (*MockStore_ListEligibleMoviesForSync_Call) Run

func (_c *MockStore_ListEligibleMoviesForSync_Call) Run(run func(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time)) *MockStore_ListEligibleMoviesForSync_Call

func (*MockStore_ListEligibleMoviesForSync_Call) RunAndReturn

type MockStore_ListImportScanFilesForCommit_Call

type MockStore_ListImportScanFilesForCommit_Call struct {
	*mock.Call
}

MockStore_ListImportScanFilesForCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanFilesForCommit'

func (*MockStore_ListImportScanFilesForCommit_Call) Return

func (*MockStore_ListImportScanFilesForCommit_Call) Run

func (*MockStore_ListImportScanFilesForCommit_Call) RunAndReturn

type MockStore_ListImportScanShowsForCommit_Call

type MockStore_ListImportScanShowsForCommit_Call struct {
	*mock.Call
}

MockStore_ListImportScanShowsForCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanShowsForCommit'

func (*MockStore_ListImportScanShowsForCommit_Call) Return

func (*MockStore_ListImportScanShowsForCommit_Call) Run

func (*MockStore_ListImportScanShowsForCommit_Call) RunAndReturn

type MockStore_ListImportScanShows_Call

type MockStore_ListImportScanShows_Call struct {
	*mock.Call
}

MockStore_ListImportScanShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanShows'

func (*MockStore_ListImportScanShows_Call) Return

func (*MockStore_ListImportScanShows_Call) Run

type MockStore_ListImportScans_Call

type MockStore_ListImportScans_Call struct {
	*mock.Call
}

MockStore_ListImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScans'

func (*MockStore_ListImportScans_Call) Return

func (*MockStore_ListImportScans_Call) Run

func (*MockStore_ListImportScans_Call) RunAndReturn

type MockStore_ListImportingDownloadRecords_Call

type MockStore_ListImportingDownloadRecords_Call struct {
	*mock.Call
}

MockStore_ListImportingDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportingDownloadRecords'

func (*MockStore_ListImportingDownloadRecords_Call) Return

func (*MockStore_ListImportingDownloadRecords_Call) Run

func (*MockStore_ListImportingDownloadRecords_Call) RunAndReturn

type MockStore_ListInvites_Call

type MockStore_ListInvites_Call struct {
	*mock.Call
}

MockStore_ListInvites_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInvites'

func (*MockStore_ListInvites_Call) Return

func (*MockStore_ListInvites_Call) Run

func (*MockStore_ListInvites_Call) RunAndReturn

type MockStore_ListMediaFilesByMovieID_Call

type MockStore_ListMediaFilesByMovieID_Call struct {
	*mock.Call
}

MockStore_ListMediaFilesByMovieID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMediaFilesByMovieID'

func (*MockStore_ListMediaFilesByMovieID_Call) Return

func (*MockStore_ListMediaFilesByMovieID_Call) Run

func (*MockStore_ListMediaFilesByMovieID_Call) RunAndReturn

type MockStore_ListMoviesForAdoption_Call

type MockStore_ListMoviesForAdoption_Call struct {
	*mock.Call
}

MockStore_ListMoviesForAdoption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMoviesForAdoption'

func (*MockStore_ListMoviesForAdoption_Call) Return

func (*MockStore_ListMoviesForAdoption_Call) Run

func (*MockStore_ListMoviesForAdoption_Call) RunAndReturn

type MockStore_ListMoviesStaleSince_Call

type MockStore_ListMoviesStaleSince_Call struct {
	*mock.Call
}

MockStore_ListMoviesStaleSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMoviesStaleSince'

func (*MockStore_ListMoviesStaleSince_Call) Return

func (*MockStore_ListMoviesStaleSince_Call) Run

func (*MockStore_ListMoviesStaleSince_Call) RunAndReturn

type MockStore_ListMovies_Call

type MockStore_ListMovies_Call struct {
	*mock.Call
}

MockStore_ListMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMovies'

func (*MockStore_ListMovies_Call) Return

func (*MockStore_ListMovies_Call) Run

func (_c *MockStore_ListMovies_Call) Run(run func(ctx context.Context, offset uint32, limit uint32)) *MockStore_ListMovies_Call

func (*MockStore_ListMovies_Call) RunAndReturn

type MockStore_ListPendingDownloadRecords_Call

type MockStore_ListPendingDownloadRecords_Call struct {
	*mock.Call
}

MockStore_ListPendingDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingDownloadRecords'

func (*MockStore_ListPendingDownloadRecords_Call) Return

func (*MockStore_ListPendingDownloadRecords_Call) Run

func (*MockStore_ListPendingDownloadRecords_Call) RunAndReturn

type MockStore_ListPendingImportScanFilePaths_Call

type MockStore_ListPendingImportScanFilePaths_Call struct {
	*mock.Call
}

MockStore_ListPendingImportScanFilePaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingImportScanFilePaths'

func (*MockStore_ListPendingImportScanFilePaths_Call) Return

func (*MockStore_ListPendingImportScanFilePaths_Call) Run

func (*MockStore_ListPendingImportScanFilePaths_Call) RunAndReturn

type MockStore_ListPendingImportScanShowFolders_Call

type MockStore_ListPendingImportScanShowFolders_Call struct {
	*mock.Call
}

MockStore_ListPendingImportScanShowFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingImportScanShowFolders'

func (*MockStore_ListPendingImportScanShowFolders_Call) Return

func (*MockStore_ListPendingImportScanShowFolders_Call) Run

func (*MockStore_ListPendingImportScanShowFolders_Call) RunAndReturn

type MockStore_ListRequests_Call

type MockStore_ListRequests_Call struct {
	*mock.Call
}

MockStore_ListRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRequests'

func (*MockStore_ListRequests_Call) Return

func (*MockStore_ListRequests_Call) Run

func (*MockStore_ListRequests_Call) RunAndReturn

type MockStore_ListTVShows_Call

type MockStore_ListTVShows_Call struct {
	*mock.Call
}

MockStore_ListTVShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTVShows'

func (*MockStore_ListTVShows_Call) Return

func (*MockStore_ListTVShows_Call) Run

func (_c *MockStore_ListTVShows_Call) Run(run func(ctx context.Context, offset uint32, limit uint32)) *MockStore_ListTVShows_Call

func (*MockStore_ListTVShows_Call) RunAndReturn

type MockStore_ListTorrentSessions_Call added in v1.1.0

type MockStore_ListTorrentSessions_Call struct {
	*mock.Call
}

MockStore_ListTorrentSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTorrentSessions'

func (*MockStore_ListTorrentSessions_Call) Return added in v1.1.0

func (*MockStore_ListTorrentSessions_Call) Run added in v1.1.0

func (*MockStore_ListTorrentSessions_Call) RunAndReturn added in v1.1.0

type MockStore_ListTvShowsForAdoption_Call

type MockStore_ListTvShowsForAdoption_Call struct {
	*mock.Call
}

MockStore_ListTvShowsForAdoption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTvShowsForAdoption'

func (*MockStore_ListTvShowsForAdoption_Call) Return

func (*MockStore_ListTvShowsForAdoption_Call) Run

func (*MockStore_ListTvShowsForAdoption_Call) RunAndReturn

type MockStore_ListUpcomingEpisodes_Call

type MockStore_ListUpcomingEpisodes_Call struct {
	*mock.Call
}

MockStore_ListUpcomingEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUpcomingEpisodes'

func (*MockStore_ListUpcomingEpisodes_Call) Return

func (*MockStore_ListUpcomingEpisodes_Call) Run

func (*MockStore_ListUpcomingEpisodes_Call) RunAndReturn

type MockStore_ListUserSessions_Call

type MockStore_ListUserSessions_Call struct {
	*mock.Call
}

MockStore_ListUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserSessions'

func (*MockStore_ListUserSessions_Call) Return

func (*MockStore_ListUserSessions_Call) Run

func (*MockStore_ListUserSessions_Call) RunAndReturn

type MockStore_ListUsers_Call

type MockStore_ListUsers_Call struct {
	*mock.Call
}

MockStore_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*MockStore_ListUsers_Call) Return

func (_c *MockStore_ListUsers_Call) Return(_a0 []*ent.User, _a1 int, _a2 error) *MockStore_ListUsers_Call

func (*MockStore_ListUsers_Call) Run

func (*MockStore_ListUsers_Call) RunAndReturn

type MockStore_ListWantedEpisodes_Call

type MockStore_ListWantedEpisodes_Call struct {
	*mock.Call
}

MockStore_ListWantedEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWantedEpisodes'

func (*MockStore_ListWantedEpisodes_Call) Return

func (*MockStore_ListWantedEpisodes_Call) Run

func (*MockStore_ListWantedEpisodes_Call) RunAndReturn

type MockStore_ListWantedMovies_Call

type MockStore_ListWantedMovies_Call struct {
	*mock.Call
}

MockStore_ListWantedMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWantedMovies'

func (*MockStore_ListWantedMovies_Call) Return

func (*MockStore_ListWantedMovies_Call) Run

func (*MockStore_ListWantedMovies_Call) RunAndReturn

type MockStore_MarkDownloadRecordReplaceExisting_Call

type MockStore_MarkDownloadRecordReplaceExisting_Call struct {
	*mock.Call
}

MockStore_MarkDownloadRecordReplaceExisting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkDownloadRecordReplaceExisting'

func (*MockStore_MarkDownloadRecordReplaceExisting_Call) Return

func (*MockStore_MarkDownloadRecordReplaceExisting_Call) Run

func (*MockStore_MarkDownloadRecordReplaceExisting_Call) RunAndReturn

type MockStore_MarkRequestsAvailable_Call

type MockStore_MarkRequestsAvailable_Call struct {
	*mock.Call
}

MockStore_MarkRequestsAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkRequestsAvailable'

func (*MockStore_MarkRequestsAvailable_Call) Return

func (*MockStore_MarkRequestsAvailable_Call) Run

func (*MockStore_MarkRequestsAvailable_Call) RunAndReturn

type MockStore_MovieCreateTimesSince_Call

type MockStore_MovieCreateTimesSince_Call struct {
	*mock.Call
}

MockStore_MovieCreateTimesSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MovieCreateTimesSince'

func (*MockStore_MovieCreateTimesSince_Call) Return

func (*MockStore_MovieCreateTimesSince_Call) Run

func (*MockStore_MovieCreateTimesSince_Call) RunAndReturn

type MockStore_MovieHasMediaFile_Call

type MockStore_MovieHasMediaFile_Call struct {
	*mock.Call
}

MockStore_MovieHasMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MovieHasMediaFile'

func (*MockStore_MovieHasMediaFile_Call) Return

func (*MockStore_MovieHasMediaFile_Call) Run

func (*MockStore_MovieHasMediaFile_Call) RunAndReturn

type MockStore_PurgeExpiredSessions_Call

type MockStore_PurgeExpiredSessions_Call struct {
	*mock.Call
}

MockStore_PurgeExpiredSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PurgeExpiredSessions'

func (*MockStore_PurgeExpiredSessions_Call) Return

func (*MockStore_PurgeExpiredSessions_Call) Run

func (*MockStore_PurgeExpiredSessions_Call) RunAndReturn

type MockStore_RecentActivity_Call

type MockStore_RecentActivity_Call struct {
	*mock.Call
}

MockStore_RecentActivity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecentActivity'

func (*MockStore_RecentActivity_Call) Return

func (*MockStore_RecentActivity_Call) Run

func (*MockStore_RecentActivity_Call) RunAndReturn

type MockStore_ReconcileEpisodes_Call

type MockStore_ReconcileEpisodes_Call struct {
	*mock.Call
}

MockStore_ReconcileEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReconcileEpisodes'

func (*MockStore_ReconcileEpisodes_Call) Return

func (*MockStore_ReconcileEpisodes_Call) Run

func (*MockStore_ReconcileEpisodes_Call) RunAndReturn

type MockStore_RecordEpisodeImportSuccess_Call

type MockStore_RecordEpisodeImportSuccess_Call struct {
	*mock.Call
}

MockStore_RecordEpisodeImportSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordEpisodeImportSuccess'

func (*MockStore_RecordEpisodeImportSuccess_Call) Return

func (*MockStore_RecordEpisodeImportSuccess_Call) Run

type MockStore_RecordImportFailure_Call

type MockStore_RecordImportFailure_Call struct {
	*mock.Call
}

MockStore_RecordImportFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordImportFailure'

func (*MockStore_RecordImportFailure_Call) Return

func (*MockStore_RecordImportFailure_Call) Run

func (*MockStore_RecordImportFailure_Call) RunAndReturn

type MockStore_RecordImportSuccess_Call

type MockStore_RecordImportSuccess_Call struct {
	*mock.Call
}

MockStore_RecordImportSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordImportSuccess'

func (*MockStore_RecordImportSuccess_Call) Return

func (*MockStore_RecordImportSuccess_Call) Run

func (*MockStore_RecordImportSuccess_Call) RunAndReturn

type MockStore_ReopenRequest_Call

type MockStore_ReopenRequest_Call struct {
	*mock.Call
}

MockStore_ReopenRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReopenRequest'

func (*MockStore_ReopenRequest_Call) Return

func (*MockStore_ReopenRequest_Call) Run

func (*MockStore_ReopenRequest_Call) RunAndReturn

type MockStore_ResetEpisodeGrabFailures_Call

type MockStore_ResetEpisodeGrabFailures_Call struct {
	*mock.Call
}

MockStore_ResetEpisodeGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEpisodeGrabFailures'

func (*MockStore_ResetEpisodeGrabFailures_Call) Return

func (*MockStore_ResetEpisodeGrabFailures_Call) Run

func (*MockStore_ResetEpisodeGrabFailures_Call) RunAndReturn

type MockStore_ResetMovieGrabFailures_Call

type MockStore_ResetMovieGrabFailures_Call struct {
	*mock.Call
}

MockStore_ResetMovieGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetMovieGrabFailures'

func (*MockStore_ResetMovieGrabFailures_Call) Return

func (*MockStore_ResetMovieGrabFailures_Call) Run

func (*MockStore_ResetMovieGrabFailures_Call) RunAndReturn

type MockStore_RevertMovieToWantedIfNoFile_Call

type MockStore_RevertMovieToWantedIfNoFile_Call struct {
	*mock.Call
}

MockStore_RevertMovieToWantedIfNoFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevertMovieToWantedIfNoFile'

func (*MockStore_RevertMovieToWantedIfNoFile_Call) Return

func (*MockStore_RevertMovieToWantedIfNoFile_Call) Run

func (*MockStore_RevertMovieToWantedIfNoFile_Call) RunAndReturn

type MockStore_RevertOrphanedDownloadingEpisodes_Call

type MockStore_RevertOrphanedDownloadingEpisodes_Call struct {
	*mock.Call
}

MockStore_RevertOrphanedDownloadingEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevertOrphanedDownloadingEpisodes'

func (*MockStore_RevertOrphanedDownloadingEpisodes_Call) Return

func (*MockStore_RevertOrphanedDownloadingEpisodes_Call) Run

func (*MockStore_RevertOrphanedDownloadingEpisodes_Call) RunAndReturn

type MockStore_RevokeAllUserSessions_Call

type MockStore_RevokeAllUserSessions_Call struct {
	*mock.Call
}

MockStore_RevokeAllUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAllUserSessions'

func (*MockStore_RevokeAllUserSessions_Call) Return

func (*MockStore_RevokeAllUserSessions_Call) Run

func (*MockStore_RevokeAllUserSessions_Call) RunAndReturn

type MockStore_RevokeInvite_Call

type MockStore_RevokeInvite_Call struct {
	*mock.Call
}

MockStore_RevokeInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeInvite'

func (*MockStore_RevokeInvite_Call) Return

func (*MockStore_RevokeInvite_Call) Run

func (*MockStore_RevokeInvite_Call) RunAndReturn

type MockStore_RevokeOtherUserSessions_Call

type MockStore_RevokeOtherUserSessions_Call struct {
	*mock.Call
}

MockStore_RevokeOtherUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeOtherUserSessions'

func (*MockStore_RevokeOtherUserSessions_Call) Return

func (*MockStore_RevokeOtherUserSessions_Call) Run

func (*MockStore_RevokeOtherUserSessions_Call) RunAndReturn

type MockStore_RevokeSessionByJTI_Call

type MockStore_RevokeSessionByJTI_Call struct {
	*mock.Call
}

MockStore_RevokeSessionByJTI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeSessionByJTI'

func (*MockStore_RevokeSessionByJTI_Call) Return

func (*MockStore_RevokeSessionByJTI_Call) Run

func (*MockStore_RevokeSessionByJTI_Call) RunAndReturn

type MockStore_RevokeUserSessionByID_Call

type MockStore_RevokeUserSessionByID_Call struct {
	*mock.Call
}

MockStore_RevokeUserSessionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeUserSessionByID'

func (*MockStore_RevokeUserSessionByID_Call) Return

func (*MockStore_RevokeUserSessionByID_Call) Run

func (*MockStore_RevokeUserSessionByID_Call) RunAndReturn

type MockStore_SetDownloadRecordSavePath_Call

type MockStore_SetDownloadRecordSavePath_Call struct {
	*mock.Call
}

MockStore_SetDownloadRecordSavePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDownloadRecordSavePath'

func (*MockStore_SetDownloadRecordSavePath_Call) Return

func (*MockStore_SetDownloadRecordSavePath_Call) Run

func (*MockStore_SetDownloadRecordSavePath_Call) RunAndReturn

type MockStore_SetEpisodeLastSearchAt_Call

type MockStore_SetEpisodeLastSearchAt_Call struct {
	*mock.Call
}

MockStore_SetEpisodeLastSearchAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeLastSearchAt'

func (*MockStore_SetEpisodeLastSearchAt_Call) Return

func (*MockStore_SetEpisodeLastSearchAt_Call) Run

func (*MockStore_SetEpisodeLastSearchAt_Call) RunAndReturn

type MockStore_SetEpisodeMonitored_Call

type MockStore_SetEpisodeMonitored_Call struct {
	*mock.Call
}

MockStore_SetEpisodeMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeMonitored'

func (*MockStore_SetEpisodeMonitored_Call) Return

func (*MockStore_SetEpisodeMonitored_Call) Run

func (*MockStore_SetEpisodeMonitored_Call) RunAndReturn

type MockStore_SetEpisodeStatus_Call

type MockStore_SetEpisodeStatus_Call struct {
	*mock.Call
}

MockStore_SetEpisodeStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeStatus'

func (*MockStore_SetEpisodeStatus_Call) Return

func (*MockStore_SetEpisodeStatus_Call) Run

func (*MockStore_SetEpisodeStatus_Call) RunAndReturn

type MockStore_SetMovieDigitalReleaseDate_Call

type MockStore_SetMovieDigitalReleaseDate_Call struct {
	*mock.Call
}

MockStore_SetMovieDigitalReleaseDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMovieDigitalReleaseDate'

func (*MockStore_SetMovieDigitalReleaseDate_Call) Return

func (*MockStore_SetMovieDigitalReleaseDate_Call) Run

func (*MockStore_SetMovieDigitalReleaseDate_Call) RunAndReturn

type MockStore_SetMovieLastSearchAt_Call

type MockStore_SetMovieLastSearchAt_Call struct {
	*mock.Call
}

MockStore_SetMovieLastSearchAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMovieLastSearchAt'

func (*MockStore_SetMovieLastSearchAt_Call) Return

func (*MockStore_SetMovieLastSearchAt_Call) Run

func (*MockStore_SetMovieLastSearchAt_Call) RunAndReturn

type MockStore_SetSeasonMonitored_Call

type MockStore_SetSeasonMonitored_Call struct {
	*mock.Call
}

MockStore_SetSeasonMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSeasonMonitored'

func (*MockStore_SetSeasonMonitored_Call) Return

func (*MockStore_SetSeasonMonitored_Call) Run

func (*MockStore_SetSeasonMonitored_Call) RunAndReturn

type MockStore_SetTVShowRefreshedAt_Call

type MockStore_SetTVShowRefreshedAt_Call struct {
	*mock.Call
}

MockStore_SetTVShowRefreshedAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTVShowRefreshedAt'

func (*MockStore_SetTVShowRefreshedAt_Call) Return

func (*MockStore_SetTVShowRefreshedAt_Call) Run

func (*MockStore_SetTVShowRefreshedAt_Call) RunAndReturn

type MockStore_SetTorrentSessionCompleted_Call added in v1.1.0

type MockStore_SetTorrentSessionCompleted_Call struct {
	*mock.Call
}

MockStore_SetTorrentSessionCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionCompleted'

func (*MockStore_SetTorrentSessionCompleted_Call) Return added in v1.1.0

func (*MockStore_SetTorrentSessionCompleted_Call) Run added in v1.1.0

func (*MockStore_SetTorrentSessionCompleted_Call) RunAndReturn added in v1.1.0

type MockStore_SetTorrentSessionName_Call added in v1.1.0

type MockStore_SetTorrentSessionName_Call struct {
	*mock.Call
}

MockStore_SetTorrentSessionName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionName'

func (*MockStore_SetTorrentSessionName_Call) Return added in v1.1.0

func (*MockStore_SetTorrentSessionName_Call) Run added in v1.1.0

func (*MockStore_SetTorrentSessionName_Call) RunAndReturn added in v1.1.0

type MockStore_SetTorrentSessionPaused_Call added in v1.1.0

type MockStore_SetTorrentSessionPaused_Call struct {
	*mock.Call
}

MockStore_SetTorrentSessionPaused_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionPaused'

func (*MockStore_SetTorrentSessionPaused_Call) Return added in v1.1.0

func (*MockStore_SetTorrentSessionPaused_Call) Run added in v1.1.0

func (*MockStore_SetTorrentSessionPaused_Call) RunAndReturn added in v1.1.0

type MockStore_SetTorrentSessionSeedStopped_Call added in v1.1.0

type MockStore_SetTorrentSessionSeedStopped_Call struct {
	*mock.Call
}

MockStore_SetTorrentSessionSeedStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionSeedStopped'

func (*MockStore_SetTorrentSessionSeedStopped_Call) Return added in v1.1.0

func (*MockStore_SetTorrentSessionSeedStopped_Call) Run added in v1.1.0

func (*MockStore_SetTorrentSessionSeedStopped_Call) RunAndReturn added in v1.1.0

type MockStore_SyncSeasonDownloadStateForRecord_Call

type MockStore_SyncSeasonDownloadStateForRecord_Call struct {
	*mock.Call
}

MockStore_SyncSeasonDownloadStateForRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncSeasonDownloadStateForRecord'

func (*MockStore_SyncSeasonDownloadStateForRecord_Call) Return

func (*MockStore_SyncSeasonDownloadStateForRecord_Call) Run

func (*MockStore_SyncSeasonDownloadStateForRecord_Call) RunAndReturn

type MockStore_TouchAPIKey_Call added in v1.3.0

type MockStore_TouchAPIKey_Call struct {
	*mock.Call
}

MockStore_TouchAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TouchAPIKey'

func (*MockStore_TouchAPIKey_Call) Return added in v1.3.0

func (*MockStore_TouchAPIKey_Call) Run added in v1.3.0

func (*MockStore_TouchAPIKey_Call) RunAndReturn added in v1.3.0

type MockStore_TouchSession_Call

type MockStore_TouchSession_Call struct {
	*mock.Call
}

MockStore_TouchSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TouchSession'

func (*MockStore_TouchSession_Call) Return

func (*MockStore_TouchSession_Call) Run

func (*MockStore_TouchSession_Call) RunAndReturn

type MockStore_TruncateSessions_Call

type MockStore_TruncateSessions_Call struct {
	*mock.Call
}

MockStore_TruncateSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TruncateSessions'

func (*MockStore_TruncateSessions_Call) Return

func (*MockStore_TruncateSessions_Call) Run

func (*MockStore_TruncateSessions_Call) RunAndReturn

type MockStore_Tx_Call

type MockStore_Tx_Call struct {
	*mock.Call
}

MockStore_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'

func (*MockStore_Tx_Call) Return

func (_c *MockStore_Tx_Call) Return(_a0 db.Tx, _a1 error) *MockStore_Tx_Call

func (*MockStore_Tx_Call) Run

func (_c *MockStore_Tx_Call) Run(run func(ctx context.Context)) *MockStore_Tx_Call

func (*MockStore_Tx_Call) RunAndReturn

func (_c *MockStore_Tx_Call) RunAndReturn(run func(context.Context) (db.Tx, error)) *MockStore_Tx_Call

type MockStore_UpcomingReleases_Call

type MockStore_UpcomingReleases_Call struct {
	*mock.Call
}

MockStore_UpcomingReleases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpcomingReleases'

func (*MockStore_UpcomingReleases_Call) Return

func (*MockStore_UpcomingReleases_Call) Run

func (*MockStore_UpcomingReleases_Call) RunAndReturn

type MockStore_UpdateDownloadRecordStatus_Call

type MockStore_UpdateDownloadRecordStatus_Call struct {
	*mock.Call
}

MockStore_UpdateDownloadRecordStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDownloadRecordStatus'

func (*MockStore_UpdateDownloadRecordStatus_Call) Return

func (*MockStore_UpdateDownloadRecordStatus_Call) Run

func (*MockStore_UpdateDownloadRecordStatus_Call) RunAndReturn

type MockStore_UpdateImportScanFileDecision_Call

type MockStore_UpdateImportScanFileDecision_Call struct {
	*mock.Call
}

MockStore_UpdateImportScanFileDecision_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanFileDecision'

func (*MockStore_UpdateImportScanFileDecision_Call) Return

func (*MockStore_UpdateImportScanFileDecision_Call) Run

func (*MockStore_UpdateImportScanFileDecision_Call) RunAndReturn

type MockStore_UpdateImportScanFileOutcome_Call

type MockStore_UpdateImportScanFileOutcome_Call struct {
	*mock.Call
}

MockStore_UpdateImportScanFileOutcome_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanFileOutcome'

func (*MockStore_UpdateImportScanFileOutcome_Call) Return

func (*MockStore_UpdateImportScanFileOutcome_Call) Run

type MockStore_UpdateImportScanShowDecision_Call

type MockStore_UpdateImportScanShowDecision_Call struct {
	*mock.Call
}

MockStore_UpdateImportScanShowDecision_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanShowDecision'

func (*MockStore_UpdateImportScanShowDecision_Call) Return

func (*MockStore_UpdateImportScanShowDecision_Call) Run

func (*MockStore_UpdateImportScanShowDecision_Call) RunAndReturn

type MockStore_UpdateImportScanShowOutcome_Call

type MockStore_UpdateImportScanShowOutcome_Call struct {
	*mock.Call
}

MockStore_UpdateImportScanShowOutcome_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanShowOutcome'

func (*MockStore_UpdateImportScanShowOutcome_Call) Return

func (*MockStore_UpdateImportScanShowOutcome_Call) Run

type MockStore_UpdateImportScanStatus_Call

type MockStore_UpdateImportScanStatus_Call struct {
	*mock.Call
}

MockStore_UpdateImportScanStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanStatus'

func (*MockStore_UpdateImportScanStatus_Call) Return

func (*MockStore_UpdateImportScanStatus_Call) Run

type MockStore_UpdateMediaFilePath_Call

type MockStore_UpdateMediaFilePath_Call struct {
	*mock.Call
}

MockStore_UpdateMediaFilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMediaFilePath'

func (*MockStore_UpdateMediaFilePath_Call) Return

func (*MockStore_UpdateMediaFilePath_Call) Run

func (*MockStore_UpdateMediaFilePath_Call) RunAndReturn

type MockStore_UpdateMovieMetadata_Call

type MockStore_UpdateMovieMetadata_Call struct {
	*mock.Call
}

MockStore_UpdateMovieMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovieMetadata'

func (*MockStore_UpdateMovieMetadata_Call) Return

func (*MockStore_UpdateMovieMetadata_Call) Run

func (*MockStore_UpdateMovieMetadata_Call) RunAndReturn

type MockStore_UpdateMovieStatus_Call

type MockStore_UpdateMovieStatus_Call struct {
	*mock.Call
}

MockStore_UpdateMovieStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovieStatus'

func (*MockStore_UpdateMovieStatus_Call) Return

func (*MockStore_UpdateMovieStatus_Call) Run

func (*MockStore_UpdateMovieStatus_Call) RunAndReturn

type MockStore_UpdateMovie_Call

type MockStore_UpdateMovie_Call struct {
	*mock.Call
}

MockStore_UpdateMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovie'

func (*MockStore_UpdateMovie_Call) Return

func (*MockStore_UpdateMovie_Call) Run

func (*MockStore_UpdateMovie_Call) RunAndReturn

type MockStore_UpdateTVShowMetadata_Call

type MockStore_UpdateTVShowMetadata_Call struct {
	*mock.Call
}

MockStore_UpdateTVShowMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTVShowMetadata'

func (*MockStore_UpdateTVShowMetadata_Call) Return

func (*MockStore_UpdateTVShowMetadata_Call) Run

func (*MockStore_UpdateTVShowMetadata_Call) RunAndReturn

type MockStore_UpdateTVShow_Call

type MockStore_UpdateTVShow_Call struct {
	*mock.Call
}

MockStore_UpdateTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTVShow'

func (*MockStore_UpdateTVShow_Call) Return

func (*MockStore_UpdateTVShow_Call) Run

func (*MockStore_UpdateTVShow_Call) RunAndReturn

type MockStore_UpdateUserPassword_Call

type MockStore_UpdateUserPassword_Call struct {
	*mock.Call
}

MockStore_UpdateUserPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserPassword'

func (*MockStore_UpdateUserPassword_Call) Return

func (*MockStore_UpdateUserPassword_Call) Run

func (*MockStore_UpdateUserPassword_Call) RunAndReturn

type MockStore_UpdateUser_Call

type MockStore_UpdateUser_Call struct {
	*mock.Call
}

MockStore_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'

func (*MockStore_UpdateUser_Call) Return

func (*MockStore_UpdateUser_Call) Run

func (*MockStore_UpdateUser_Call) RunAndReturn

type MockStore_UserSessionExists_Call

type MockStore_UserSessionExists_Call struct {
	*mock.Call
}

MockStore_UserSessionExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserSessionExists'

func (*MockStore_UserSessionExists_Call) Return

func (*MockStore_UserSessionExists_Call) Run

func (*MockStore_UserSessionExists_Call) RunAndReturn

type MockTx

type MockTx struct {
	mock.Mock
}

MockTx is an autogenerated mock type for the Tx type

func NewMockTx

func NewMockTx(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTx

NewMockTx creates a new instance of MockTx. 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 (*MockTx) AbortInflightImportScans

func (_m *MockTx) AbortInflightImportScans(ctx context.Context, reason string) (uint32, error)

AbortInflightImportScans provides a mock function with given fields: ctx, reason

func (*MockTx) AllDownloadRecordHashes

func (_m *MockTx) AllDownloadRecordHashes(ctx context.Context) (map[string]struct{}, error)

AllDownloadRecordHashes provides a mock function with given fields: ctx

func (*MockTx) ApproveRequest

func (_m *MockTx) ApproveRequest(ctx context.Context, id uint32, adminID uint32) error

ApproveRequest provides a mock function with given fields: ctx, id, adminID

func (*MockTx) BulkCreateImportScanFiles

func (_m *MockTx) BulkCreateImportScanFiles(ctx context.Context, scanID uint32, files []db.CreateImportScanFileParams) error

BulkCreateImportScanFiles provides a mock function with given fields: ctx, scanID, files

func (*MockTx) BulkCreateImportScanShows

func (_m *MockTx) BulkCreateImportScanShows(ctx context.Context, scanID uint32, shows []db.CreateImportScanShowParams) error

BulkCreateImportScanShows provides a mock function with given fields: ctx, scanID, shows

func (*MockTx) BumpMediaFileLastSeen

func (_m *MockTx) BumpMediaFileLastSeen(ctx context.Context, id uint32) error

BumpMediaFileLastSeen provides a mock function with given fields: ctx, id

func (*MockTx) CascadeSeasonMonitored

func (_m *MockTx) CascadeSeasonMonitored(ctx context.Context, seasonID uint32, monitored bool) error

CascadeSeasonMonitored provides a mock function with given fields: ctx, seasonID, monitored

func (*MockTx) CascadeShowMonitored

func (_m *MockTx) CascadeShowMonitored(ctx context.Context, showID uint32, monitored bool) error

CascadeShowMonitored provides a mock function with given fields: ctx, showID, monitored

func (*MockTx) Commit

func (_m *MockTx) Commit() error

Commit provides a mock function with no fields

func (*MockTx) ConsumeInvite added in v1.2.0

func (_m *MockTx) ConsumeInvite(ctx context.Context, id uint32, userID uint32, when time.Time) error

ConsumeInvite provides a mock function with given fields: ctx, id, userID, when

func (*MockTx) CountActiveImportScans

func (_m *MockTx) CountActiveImportScans(ctx context.Context) (uint32, error)

CountActiveImportScans provides a mock function with given fields: ctx

func (*MockTx) CountMovies

func (_m *MockTx) CountMovies(ctx context.Context) (int, error)

CountMovies provides a mock function with given fields: ctx

func (*MockTx) CountMoviesByStatus

func (_m *MockTx) CountMoviesByStatus(ctx context.Context, status movie.Status) (int, error)

CountMoviesByStatus provides a mock function with given fields: ctx, status

func (*MockTx) CountRequestsByStatus

func (_m *MockTx) CountRequestsByStatus(ctx context.Context, status request.Status) (int, error)

CountRequestsByStatus provides a mock function with given fields: ctx, status

func (*MockTx) CountTVShows

func (_m *MockTx) CountTVShows(ctx context.Context) (int, error)

CountTVShows provides a mock function with given fields: ctx

func (*MockTx) CountTVShowsByStatus

func (_m *MockTx) CountTVShowsByStatus(ctx context.Context, status tvshow.SeriesStatus) (int, error)

CountTVShowsByStatus provides a mock function with given fields: ctx, status

func (*MockTx) CountUsers

func (_m *MockTx) CountUsers(ctx context.Context) (int, error)

CountUsers provides a mock function with given fields: ctx

func (*MockTx) CountUsersByRole

func (_m *MockTx) CountUsersByRole(ctx context.Context, role user.Role) (int, error)

CountUsersByRole provides a mock function with given fields: ctx, role

func (*MockTx) CreateAPIKey

func (_m *MockTx) CreateAPIKey(ctx context.Context, p db.CreateAPIKeyParams) (*ent.ApiKey, error)

CreateAPIKey provides a mock function with given fields: ctx, p

func (*MockTx) CreateDownloadRecord

func (_m *MockTx) CreateDownloadRecord(ctx context.Context, p db.CreateDownloadRecordParams) (*ent.DownloadRecord, error)

CreateDownloadRecord provides a mock function with given fields: ctx, p

func (*MockTx) CreateImportScan

func (_m *MockTx) CreateImportScan(ctx context.Context, p db.CreateImportScanParams) (*ent.ImportScan, error)

CreateImportScan provides a mock function with given fields: ctx, p

func (*MockTx) CreateInvite

func (_m *MockTx) CreateInvite(ctx context.Context, p db.CreateInviteParams) (*ent.Invite, error)

CreateInvite provides a mock function with given fields: ctx, p

func (*MockTx) CreateMediaFile

func (_m *MockTx) CreateMediaFile(ctx context.Context, p db.CreateMediaFileParams) (*ent.MediaFile, error)

CreateMediaFile provides a mock function with given fields: ctx, p

func (*MockTx) CreateMovie

func (_m *MockTx) CreateMovie(ctx context.Context, p db.CreateMovieParams) (*ent.Movie, error)

CreateMovie provides a mock function with given fields: ctx, p

func (*MockTx) CreateOIDCIdentity

func (_m *MockTx) CreateOIDCIdentity(ctx context.Context, p db.CreateOIDCIdentityParams) (*ent.OIDCIdentity, error)

CreateOIDCIdentity provides a mock function with given fields: ctx, p

func (*MockTx) CreateRequest

func (_m *MockTx) CreateRequest(ctx context.Context, p db.CreateRequestParams) (*ent.Request, error)

CreateRequest provides a mock function with given fields: ctx, p

func (*MockTx) CreateSession

func (_m *MockTx) CreateSession(ctx context.Context, p db.CreateSessionParams) (*ent.Session, error)

CreateSession provides a mock function with given fields: ctx, p

func (*MockTx) CreateTVShow

func (_m *MockTx) CreateTVShow(ctx context.Context, p db.CreateTVShowParams) (*ent.TVShow, error)

CreateTVShow provides a mock function with given fields: ctx, p

func (*MockTx) CreateTorrentSession added in v1.1.0

func (_m *MockTx) CreateTorrentSession(ctx context.Context, p db.CreateTorrentSessionParams) (*ent.TorrentSession, error)

CreateTorrentSession provides a mock function with given fields: ctx, p

func (*MockTx) CreateUser

func (_m *MockTx) CreateUser(ctx context.Context, p db.CreateUserParams) (*ent.User, error)

CreateUser provides a mock function with given fields: ctx, p

func (*MockTx) DeleteAPIKeyByID

func (_m *MockTx) DeleteAPIKeyByID(ctx context.Context, userID uint32, keyID uint32) (int, error)

DeleteAPIKeyByID provides a mock function with given fields: ctx, userID, keyID

func (*MockTx) DeleteAllCompletedDownloadRecords

func (_m *MockTx) DeleteAllCompletedDownloadRecords(ctx context.Context) (int, error)

DeleteAllCompletedDownloadRecords provides a mock function with given fields: ctx

func (*MockTx) DeleteCompletedDownloadRecordsBefore

func (_m *MockTx) DeleteCompletedDownloadRecordsBefore(ctx context.Context, cutoff time.Time) (int, error)

DeleteCompletedDownloadRecordsBefore provides a mock function with given fields: ctx, cutoff

func (*MockTx) DeleteDownloadRecord

func (_m *MockTx) DeleteDownloadRecord(ctx context.Context, id uint32) error

DeleteDownloadRecord provides a mock function with given fields: ctx, id

func (*MockTx) DeleteFailedDownloadRecordsBefore

func (_m *MockTx) DeleteFailedDownloadRecordsBefore(ctx context.Context, cutoff time.Time) (int, error)

DeleteFailedDownloadRecordsBefore provides a mock function with given fields: ctx, cutoff

func (*MockTx) DeleteImportScan

func (_m *MockTx) DeleteImportScan(ctx context.Context, id uint32) error

DeleteImportScan provides a mock function with given fields: ctx, id

func (*MockTx) DeleteMediaFile added in v1.2.0

func (_m *MockTx) DeleteMediaFile(ctx context.Context, id uint32) error

DeleteMediaFile provides a mock function with given fields: ctx, id

func (*MockTx) DeleteMediaFileAndRevertEpisode

func (_m *MockTx) DeleteMediaFileAndRevertEpisode(ctx context.Context, mediaFileID uint32, episodeID uint32) error

DeleteMediaFileAndRevertEpisode provides a mock function with given fields: ctx, mediaFileID, episodeID

func (*MockTx) DeleteMediaFileAndRevertMovie

func (_m *MockTx) DeleteMediaFileAndRevertMovie(ctx context.Context, mediaFileID uint32, movieID uint32) error

DeleteMediaFileAndRevertMovie provides a mock function with given fields: ctx, mediaFileID, movieID

func (*MockTx) DeleteMovie

func (_m *MockTx) DeleteMovie(ctx context.Context, id uint32) error

DeleteMovie provides a mock function with given fields: ctx, id

func (*MockTx) DeleteStalePendingAdoptions

func (_m *MockTx) DeleteStalePendingAdoptions(ctx context.Context, clientName string, liveHashes []string) (int, error)

DeleteStalePendingAdoptions provides a mock function with given fields: ctx, clientName, liveHashes

func (*MockTx) DeleteTVShow

func (_m *MockTx) DeleteTVShow(ctx context.Context, id uint32) error

DeleteTVShow provides a mock function with given fields: ctx, id

func (*MockTx) DeleteTorrentSessionByHash added in v1.1.0

func (_m *MockTx) DeleteTorrentSessionByHash(ctx context.Context, infoHash string) error

DeleteTorrentSessionByHash provides a mock function with given fields: ctx, infoHash

func (*MockTx) DeleteUser

func (_m *MockTx) DeleteUser(ctx context.Context, id uint32) error

DeleteUser provides a mock function with given fields: ctx, id

func (*MockTx) DenyRequest

func (_m *MockTx) DenyRequest(ctx context.Context, id uint32, adminID uint32, reason string) error

DenyRequest provides a mock function with given fields: ctx, id, adminID, reason

func (*MockTx) EXPECT

func (_m *MockTx) EXPECT() *MockTx_Expecter

func (*MockTx) FilterImportScanFiles

func (_m *MockTx) FilterImportScanFiles(ctx context.Context, p db.FilterImportScanFilesParams) ([]*ent.ImportScanFile, uint32, error)

FilterImportScanFiles provides a mock function with given fields: ctx, p

func (*MockTx) FilterMovies

func (_m *MockTx) FilterMovies(ctx context.Context, p db.FilterMoviesParams) ([]*ent.Movie, int, error)

FilterMovies provides a mock function with given fields: ctx, p

func (*MockTx) FindAPIKeyByHash

func (_m *MockTx) FindAPIKeyByHash(ctx context.Context, hash string) (*ent.ApiKey, error)

FindAPIKeyByHash provides a mock function with given fields: ctx, hash

func (*MockTx) FindActiveDownloadRecordByID

func (_m *MockTx) FindActiveDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindActiveDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockTx) FindActiveRequest

func (_m *MockTx) FindActiveRequest(ctx context.Context, mediaType string, mediaID uint32) (*ent.Request, error)

FindActiveRequest provides a mock function with given fields: ctx, mediaType, mediaID

func (*MockTx) FindImportScan

func (_m *MockTx) FindImportScan(ctx context.Context, id uint32) (*ent.ImportScan, error)

FindImportScan provides a mock function with given fields: ctx, id

func (*MockTx) FindImportScanFile

func (_m *MockTx) FindImportScanFile(ctx context.Context, scanID uint32, fileID uint32) (*ent.ImportScanFile, error)

FindImportScanFile provides a mock function with given fields: ctx, scanID, fileID

func (*MockTx) FindImportScanShow

func (_m *MockTx) FindImportScanShow(ctx context.Context, scanID uint32, showID uint32) (*ent.ImportScanShow, error)

FindImportScanShow provides a mock function with given fields: ctx, scanID, showID

func (*MockTx) FindImportingDownloadRecordByID

func (_m *MockTx) FindImportingDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindImportingDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockTx) FindInviteByTokenHash

func (_m *MockTx) FindInviteByTokenHash(ctx context.Context, hash string) (*ent.Invite, error)

FindInviteByTokenHash provides a mock function with given fields: ctx, hash

func (*MockTx) FindMediaFileByEpisodeID

func (_m *MockTx) FindMediaFileByEpisodeID(ctx context.Context, episodeID uint32) (*ent.MediaFile, error)

FindMediaFileByEpisodeID provides a mock function with given fields: ctx, episodeID

func (*MockTx) FindMediaFileByID

func (_m *MockTx) FindMediaFileByID(ctx context.Context, id uint32) (*ent.MediaFile, error)

FindMediaFileByID provides a mock function with given fields: ctx, id

func (*MockTx) FindMovieByID

func (_m *MockTx) FindMovieByID(ctx context.Context, id uint32) (*ent.Movie, error)

FindMovieByID provides a mock function with given fields: ctx, id

func (*MockTx) FindMovieByTMDBID

func (_m *MockTx) FindMovieByTMDBID(ctx context.Context, tmdbID uint32) (*ent.Movie, error)

FindMovieByTMDBID provides a mock function with given fields: ctx, tmdbID

func (*MockTx) FindMoviesByTMDBIDs

func (_m *MockTx) FindMoviesByTMDBIDs(ctx context.Context, tmdbIDs []uint32) ([]*ent.Movie, error)

FindMoviesByTMDBIDs provides a mock function with given fields: ctx, tmdbIDs

func (*MockTx) FindOIDCIdentity

func (_m *MockTx) FindOIDCIdentity(ctx context.Context, provider string, subject string) (*ent.OIDCIdentity, error)

FindOIDCIdentity provides a mock function with given fields: ctx, provider, subject

func (*MockTx) FindOpenImportScanForSource

func (_m *MockTx) FindOpenImportScanForSource(ctx context.Context, sourcePath string) (*ent.ImportScan, error)

FindOpenImportScanForSource provides a mock function with given fields: ctx, sourcePath

func (*MockTx) FindPendingDownloadRecordByID

func (_m *MockTx) FindPendingDownloadRecordByID(ctx context.Context, id uint32) (*ent.DownloadRecord, error)

FindPendingDownloadRecordByID provides a mock function with given fields: ctx, id

func (*MockTx) FindSessionByJTI

func (_m *MockTx) FindSessionByJTI(ctx context.Context, jti string) (*ent.Session, error)

FindSessionByJTI provides a mock function with given fields: ctx, jti

func (*MockTx) FindTVShowByID

func (_m *MockTx) FindTVShowByID(ctx context.Context, id uint32) (*ent.TVShow, error)

FindTVShowByID provides a mock function with given fields: ctx, id

func (*MockTx) FindTVShowByTVDBID

func (_m *MockTx) FindTVShowByTVDBID(ctx context.Context, tvdbID uint32) (*ent.TVShow, error)

FindTVShowByTVDBID provides a mock function with given fields: ctx, tvdbID

func (*MockTx) FindUnusedInviteForEmail

func (_m *MockTx) FindUnusedInviteForEmail(ctx context.Context, email string, now time.Time) (*ent.Invite, error)

FindUnusedInviteForEmail provides a mock function with given fields: ctx, email, now

func (*MockTx) FindUserByEmail

func (_m *MockTx) FindUserByEmail(ctx context.Context, email string) (*ent.User, error)

FindUserByEmail provides a mock function with given fields: ctx, email

func (*MockTx) FindUserByID

func (_m *MockTx) FindUserByID(ctx context.Context, id uint32) (*ent.User, error)

FindUserByID provides a mock function with given fields: ctx, id

func (*MockTx) GetRequest

func (_m *MockTx) GetRequest(ctx context.Context, id uint32) (*ent.Request, error)

GetRequest provides a mock function with given fields: ctx, id

func (*MockTx) IncrementEpisodeGrabFailures

func (_m *MockTx) IncrementEpisodeGrabFailures(ctx context.Context, id uint32) error

IncrementEpisodeGrabFailures provides a mock function with given fields: ctx, id

func (*MockTx) IncrementImportScanProgress

func (_m *MockTx) IncrementImportScanProgress(ctx context.Context, id uint32, processedDelta uint32) error

IncrementImportScanProgress provides a mock function with given fields: ctx, id, processedDelta

func (*MockTx) IncrementMovieGrabFailures

func (_m *MockTx) IncrementMovieGrabFailures(ctx context.Context, id uint32) error

IncrementMovieGrabFailures provides a mock function with given fields: ctx, id

func (*MockTx) LatestImportedRecordForEpisode

func (_m *MockTx) LatestImportedRecordForEpisode(ctx context.Context, episodeID uint32) (*ent.DownloadRecord, error)

LatestImportedRecordForEpisode provides a mock function with given fields: ctx, episodeID

func (*MockTx) LatestImportedRecordForMovie

func (_m *MockTx) LatestImportedRecordForMovie(ctx context.Context, movieID uint32) (*ent.DownloadRecord, error)

LatestImportedRecordForMovie provides a mock function with given fields: ctx, movieID

func (*MockTx) ListAPIKeysByUser

func (_m *MockTx) ListAPIKeysByUser(ctx context.Context, userID uint32) ([]*ent.ApiKey, error)

ListAPIKeysByUser provides a mock function with given fields: ctx, userID

func (*MockTx) ListActiveDownloadRecords

func (_m *MockTx) ListActiveDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListActiveDownloadRecords provides a mock function with given fields: ctx

func (*MockTx) ListAllEpisodeMediaFilePaths

func (_m *MockTx) ListAllEpisodeMediaFilePaths(ctx context.Context) ([]string, error)

ListAllEpisodeMediaFilePaths provides a mock function with given fields: ctx

func (*MockTx) ListAllMediaFilesWithOwners added in v1.2.0

func (_m *MockTx) ListAllMediaFilesWithOwners(ctx context.Context) ([]*ent.MediaFile, error)

ListAllMediaFilesWithOwners provides a mock function with given fields: ctx

func (*MockTx) ListDownloadHistory

func (_m *MockTx) ListDownloadHistory(ctx context.Context, limit int, cursor string) (*db.DownloadHistoryResult, error)

ListDownloadHistory provides a mock function with given fields: ctx, limit, cursor

func (*MockTx) ListDownloadingRecordsWithMovie

func (_m *MockTx) ListDownloadingRecordsWithMovie(ctx context.Context) ([]*ent.DownloadRecord, error)

ListDownloadingRecordsWithMovie provides a mock function with given fields: ctx

func (*MockTx) ListEligibleEpisodesForSync added in v1.2.0

func (_m *MockTx) ListEligibleEpisodesForSync(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time, airedBefore time.Time) ([]*ent.TVShow, error)

ListEligibleEpisodesForSync provides a mock function with given fields: ctx, maxGrabFailures, notSearchedSince, airedBefore

func (*MockTx) ListEligibleMoviesForSync

func (_m *MockTx) ListEligibleMoviesForSync(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time) ([]*ent.Movie, error)

ListEligibleMoviesForSync provides a mock function with given fields: ctx, maxGrabFailures, notSearchedSince

func (*MockTx) ListImportScanFilesForCommit

func (_m *MockTx) ListImportScanFilesForCommit(ctx context.Context, scanID uint32) ([]*ent.ImportScanFile, error)

ListImportScanFilesForCommit provides a mock function with given fields: ctx, scanID

func (*MockTx) ListImportScanShows

func (_m *MockTx) ListImportScanShows(ctx context.Context, p db.ListImportScanShowsParams) ([]*ent.ImportScanShow, uint32, error)

ListImportScanShows provides a mock function with given fields: ctx, p

func (*MockTx) ListImportScanShowsForCommit

func (_m *MockTx) ListImportScanShowsForCommit(ctx context.Context, scanID uint32) ([]*ent.ImportScanShow, error)

ListImportScanShowsForCommit provides a mock function with given fields: ctx, scanID

func (*MockTx) ListImportScans

func (_m *MockTx) ListImportScans(ctx context.Context, offset uint32, limit uint32) ([]*ent.ImportScan, uint32, error)

ListImportScans provides a mock function with given fields: ctx, offset, limit

func (*MockTx) ListImportingDownloadRecords

func (_m *MockTx) ListImportingDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListImportingDownloadRecords provides a mock function with given fields: ctx

func (*MockTx) ListInvites

func (_m *MockTx) ListInvites(ctx context.Context) ([]*ent.Invite, error)

ListInvites provides a mock function with given fields: ctx

func (*MockTx) ListMediaFilesByMovieID

func (_m *MockTx) ListMediaFilesByMovieID(ctx context.Context, movieID uint32) ([]*ent.MediaFile, error)

ListMediaFilesByMovieID provides a mock function with given fields: ctx, movieID

func (*MockTx) ListMovies

func (_m *MockTx) ListMovies(ctx context.Context, offset uint32, limit uint32) ([]*ent.Movie, error)

ListMovies provides a mock function with given fields: ctx, offset, limit

func (*MockTx) ListMoviesForAdoption

func (_m *MockTx) ListMoviesForAdoption(ctx context.Context) ([]*ent.Movie, error)

ListMoviesForAdoption provides a mock function with given fields: ctx

func (*MockTx) ListMoviesStaleSince

func (_m *MockTx) ListMoviesStaleSince(ctx context.Context, cutoff time.Time) ([]*ent.Movie, error)

ListMoviesStaleSince provides a mock function with given fields: ctx, cutoff

func (*MockTx) ListPendingDownloadRecords

func (_m *MockTx) ListPendingDownloadRecords(ctx context.Context) ([]*ent.DownloadRecord, error)

ListPendingDownloadRecords provides a mock function with given fields: ctx

func (*MockTx) ListPendingImportScanFilePaths

func (_m *MockTx) ListPendingImportScanFilePaths(ctx context.Context) ([]string, error)

ListPendingImportScanFilePaths provides a mock function with given fields: ctx

func (*MockTx) ListPendingImportScanShowFolders

func (_m *MockTx) ListPendingImportScanShowFolders(ctx context.Context) ([]string, error)

ListPendingImportScanShowFolders provides a mock function with given fields: ctx

func (*MockTx) ListRequests

func (_m *MockTx) ListRequests(ctx context.Context, p db.ListRequestsParams) ([]*ent.Request, int, error)

ListRequests provides a mock function with given fields: ctx, p

func (*MockTx) ListTVShows

func (_m *MockTx) ListTVShows(ctx context.Context, offset uint32, limit uint32) ([]*ent.TVShow, error)

ListTVShows provides a mock function with given fields: ctx, offset, limit

func (*MockTx) ListTorrentSessions added in v1.1.0

func (_m *MockTx) ListTorrentSessions(ctx context.Context) ([]*ent.TorrentSession, error)

ListTorrentSessions provides a mock function with given fields: ctx

func (*MockTx) ListTvShowsForAdoption

func (_m *MockTx) ListTvShowsForAdoption(ctx context.Context) ([]*ent.TVShow, error)

ListTvShowsForAdoption provides a mock function with given fields: ctx

func (*MockTx) ListUpcomingEpisodes

func (_m *MockTx) ListUpcomingEpisodes(ctx context.Context, from time.Time, to time.Time) ([]*ent.Episode, error)

ListUpcomingEpisodes provides a mock function with given fields: ctx, from, to

func (*MockTx) ListUserSessions

func (_m *MockTx) ListUserSessions(ctx context.Context, userID uint32) ([]*ent.Session, error)

ListUserSessions provides a mock function with given fields: ctx, userID

func (*MockTx) ListUsers

func (_m *MockTx) ListUsers(ctx context.Context, p db.ListUsersParams) ([]*ent.User, int, error)

ListUsers provides a mock function with given fields: ctx, p

func (*MockTx) ListWantedEpisodes

func (_m *MockTx) ListWantedEpisodes(ctx context.Context) ([]*ent.TVShow, error)

ListWantedEpisodes provides a mock function with given fields: ctx

func (*MockTx) ListWantedMovies

func (_m *MockTx) ListWantedMovies(ctx context.Context) ([]*ent.Movie, error)

ListWantedMovies provides a mock function with given fields: ctx

func (*MockTx) MarkDownloadRecordReplaceExisting

func (_m *MockTx) MarkDownloadRecordReplaceExisting(ctx context.Context, id uint32) error

MarkDownloadRecordReplaceExisting provides a mock function with given fields: ctx, id

func (*MockTx) MarkRequestsAvailable

func (_m *MockTx) MarkRequestsAvailable(ctx context.Context, mediaType string, mediaID uint32) error

MarkRequestsAvailable provides a mock function with given fields: ctx, mediaType, mediaID

func (*MockTx) MovieCreateTimesSince

func (_m *MockTx) MovieCreateTimesSince(ctx context.Context, since time.Time) ([]time.Time, error)

MovieCreateTimesSince provides a mock function with given fields: ctx, since

func (*MockTx) MovieHasMediaFile

func (_m *MockTx) MovieHasMediaFile(ctx context.Context, tmdbID uint32) (bool, error)

MovieHasMediaFile provides a mock function with given fields: ctx, tmdbID

func (*MockTx) PurgeExpiredSessions

func (_m *MockTx) PurgeExpiredSessions(ctx context.Context, before time.Time) (int, error)

PurgeExpiredSessions provides a mock function with given fields: ctx, before

func (*MockTx) RecentActivity

func (_m *MockTx) RecentActivity(ctx context.Context, f db.ActivityFilter) (*db.ActivityResult, error)

RecentActivity provides a mock function with given fields: ctx, f

func (*MockTx) ReconcileEpisodes

func (_m *MockTx) ReconcileEpisodes(ctx context.Context, showID uint32, seasons []db.SeasonSeed) ([]string, error)

ReconcileEpisodes provides a mock function with given fields: ctx, showID, seasons

func (*MockTx) RecordEpisodeImportSuccess

func (_m *MockTx) RecordEpisodeImportSuccess(ctx context.Context, p db.RecordEpisodeImportSuccessParams) error

RecordEpisodeImportSuccess provides a mock function with given fields: ctx, p

func (*MockTx) RecordImportFailure

func (_m *MockTx) RecordImportFailure(ctx context.Context, p db.RecordImportFailureParams) error

RecordImportFailure provides a mock function with given fields: ctx, p

func (*MockTx) RecordImportSuccess

func (_m *MockTx) RecordImportSuccess(ctx context.Context, p db.RecordImportSuccessParams) error

RecordImportSuccess provides a mock function with given fields: ctx, p

func (*MockTx) ReopenRequest

func (_m *MockTx) ReopenRequest(ctx context.Context, id uint32) error

ReopenRequest provides a mock function with given fields: ctx, id

func (*MockTx) ResetEpisodeGrabFailures

func (_m *MockTx) ResetEpisodeGrabFailures(ctx context.Context, id uint32) error

ResetEpisodeGrabFailures provides a mock function with given fields: ctx, id

func (*MockTx) ResetMovieGrabFailures

func (_m *MockTx) ResetMovieGrabFailures(ctx context.Context, id uint32) error

ResetMovieGrabFailures provides a mock function with given fields: ctx, id

func (*MockTx) RevertMovieToWantedIfNoFile

func (_m *MockTx) RevertMovieToWantedIfNoFile(ctx context.Context, movieID uint32) error

RevertMovieToWantedIfNoFile provides a mock function with given fields: ctx, movieID

func (*MockTx) RevertOrphanedDownloadingEpisodes

func (_m *MockTx) RevertOrphanedDownloadingEpisodes(ctx context.Context) (int, error)

RevertOrphanedDownloadingEpisodes provides a mock function with given fields: ctx

func (*MockTx) RevokeAllUserSessions

func (_m *MockTx) RevokeAllUserSessions(ctx context.Context, userID uint32, when time.Time) error

RevokeAllUserSessions provides a mock function with given fields: ctx, userID, when

func (*MockTx) RevokeInvite

func (_m *MockTx) RevokeInvite(ctx context.Context, id uint32, now time.Time) error

RevokeInvite provides a mock function with given fields: ctx, id, now

func (*MockTx) RevokeOtherUserSessions

func (_m *MockTx) RevokeOtherUserSessions(ctx context.Context, userID uint32, keepJTI string, when time.Time) error

RevokeOtherUserSessions provides a mock function with given fields: ctx, userID, keepJTI, when

func (*MockTx) RevokeSessionByJTI

func (_m *MockTx) RevokeSessionByJTI(ctx context.Context, jti string, when time.Time) error

RevokeSessionByJTI provides a mock function with given fields: ctx, jti, when

func (*MockTx) RevokeUserSessionByID

func (_m *MockTx) RevokeUserSessionByID(ctx context.Context, userID uint32, sessionID uint32, when time.Time) (int, error)

RevokeUserSessionByID provides a mock function with given fields: ctx, userID, sessionID, when

func (*MockTx) Rollback

func (_m *MockTx) Rollback() error

Rollback provides a mock function with no fields

func (*MockTx) SetDownloadRecordSavePath

func (_m *MockTx) SetDownloadRecordSavePath(ctx context.Context, id uint32, path string) error

SetDownloadRecordSavePath provides a mock function with given fields: ctx, id, path

func (*MockTx) SetEpisodeLastSearchAt

func (_m *MockTx) SetEpisodeLastSearchAt(ctx context.Context, id uint32, when time.Time) error

SetEpisodeLastSearchAt provides a mock function with given fields: ctx, id, when

func (*MockTx) SetEpisodeMonitored

func (_m *MockTx) SetEpisodeMonitored(ctx context.Context, id uint32, monitored bool) error

SetEpisodeMonitored provides a mock function with given fields: ctx, id, monitored

func (*MockTx) SetEpisodeStatus

func (_m *MockTx) SetEpisodeStatus(ctx context.Context, id uint32, status episode.Status) error

SetEpisodeStatus provides a mock function with given fields: ctx, id, status

func (*MockTx) SetMovieDigitalReleaseDate

func (_m *MockTx) SetMovieDigitalReleaseDate(ctx context.Context, id uint32, date *time.Time) error

SetMovieDigitalReleaseDate provides a mock function with given fields: ctx, id, date

func (*MockTx) SetMovieLastSearchAt

func (_m *MockTx) SetMovieLastSearchAt(ctx context.Context, id uint32, when time.Time) error

SetMovieLastSearchAt provides a mock function with given fields: ctx, id, when

func (*MockTx) SetSeasonMonitored

func (_m *MockTx) SetSeasonMonitored(ctx context.Context, id uint32, monitored bool) error

SetSeasonMonitored provides a mock function with given fields: ctx, id, monitored

func (*MockTx) SetTVShowRefreshedAt

func (_m *MockTx) SetTVShowRefreshedAt(ctx context.Context, id uint32, when time.Time) error

SetTVShowRefreshedAt provides a mock function with given fields: ctx, id, when

func (*MockTx) SetTorrentSessionCompleted added in v1.1.0

func (_m *MockTx) SetTorrentSessionCompleted(ctx context.Context, infoHash string, at time.Time) error

SetTorrentSessionCompleted provides a mock function with given fields: ctx, infoHash, at

func (*MockTx) SetTorrentSessionName added in v1.1.0

func (_m *MockTx) SetTorrentSessionName(ctx context.Context, infoHash string, name string) error

SetTorrentSessionName provides a mock function with given fields: ctx, infoHash, name

func (*MockTx) SetTorrentSessionPaused added in v1.1.0

func (_m *MockTx) SetTorrentSessionPaused(ctx context.Context, infoHash string, paused bool) error

SetTorrentSessionPaused provides a mock function with given fields: ctx, infoHash, paused

func (*MockTx) SetTorrentSessionSeedStopped added in v1.1.0

func (_m *MockTx) SetTorrentSessionSeedStopped(ctx context.Context, infoHash string) error

SetTorrentSessionSeedStopped provides a mock function with given fields: ctx, infoHash

func (*MockTx) SyncSeasonDownloadStateForRecord

func (_m *MockTx) SyncSeasonDownloadStateForRecord(ctx context.Context, recordID uint32, paused bool) error

SyncSeasonDownloadStateForRecord provides a mock function with given fields: ctx, recordID, paused

func (*MockTx) TouchAPIKey added in v1.3.0

func (_m *MockTx) TouchAPIKey(ctx context.Context, id uint32, at time.Time) error

TouchAPIKey provides a mock function with given fields: ctx, id, at

func (*MockTx) TouchSession

func (_m *MockTx) TouchSession(ctx context.Context, jti string, when time.Time) error

TouchSession provides a mock function with given fields: ctx, jti, when

func (*MockTx) TruncateSessions

func (_m *MockTx) TruncateSessions(ctx context.Context) error

TruncateSessions provides a mock function with given fields: ctx

func (*MockTx) Tx

func (_m *MockTx) Tx(ctx context.Context) (db.Tx, error)

Tx provides a mock function with given fields: ctx

func (*MockTx) UpcomingReleases

func (_m *MockTx) UpcomingReleases(ctx context.Context, from time.Time, to time.Time) ([]*ent.Movie, error)

UpcomingReleases provides a mock function with given fields: ctx, from, to

func (*MockTx) UpdateDownloadRecordStatus

func (_m *MockTx) UpdateDownloadRecordStatus(ctx context.Context, id uint32, status downloadrecord.Status) error

UpdateDownloadRecordStatus provides a mock function with given fields: ctx, id, status

func (*MockTx) UpdateImportScanFileDecision

func (_m *MockTx) UpdateImportScanFileDecision(ctx context.Context, scanID uint32, fileID uint32, decision importscanfile.Decision, tmdbID *uint32) error

UpdateImportScanFileDecision provides a mock function with given fields: ctx, scanID, fileID, decision, tmdbID

func (*MockTx) UpdateImportScanFileOutcome

func (_m *MockTx) UpdateImportScanFileOutcome(ctx context.Context, id uint32, outcome importscanfile.Outcome, opts db.UpdateScanFileOutcomeOpts) error

UpdateImportScanFileOutcome provides a mock function with given fields: ctx, id, outcome, opts

func (*MockTx) UpdateImportScanShowDecision

func (_m *MockTx) UpdateImportScanShowDecision(ctx context.Context, scanID uint32, showID uint32, decision importscanshow.Decision, tvdbID *uint32) error

UpdateImportScanShowDecision provides a mock function with given fields: ctx, scanID, showID, decision, tvdbID

func (*MockTx) UpdateImportScanShowOutcome

func (_m *MockTx) UpdateImportScanShowOutcome(ctx context.Context, id uint32, outcome importscanshow.Outcome, opts db.UpdateScanShowOutcomeOpts) error

UpdateImportScanShowOutcome provides a mock function with given fields: ctx, id, outcome, opts

func (*MockTx) UpdateImportScanStatus

func (_m *MockTx) UpdateImportScanStatus(ctx context.Context, id uint32, status importscan.Status, opts db.UpdateScanStatusOpts) error

UpdateImportScanStatus provides a mock function with given fields: ctx, id, status, opts

func (*MockTx) UpdateMediaFilePath

func (_m *MockTx) UpdateMediaFilePath(ctx context.Context, id uint32, path string) error

UpdateMediaFilePath provides a mock function with given fields: ctx, id, path

func (*MockTx) UpdateMovie

func (_m *MockTx) UpdateMovie(ctx context.Context, id uint32, p db.UpdateMovieParams) (*ent.Movie, error)

UpdateMovie provides a mock function with given fields: ctx, id, p

func (*MockTx) UpdateMovieMetadata

func (_m *MockTx) UpdateMovieMetadata(ctx context.Context, id uint32, p db.UpdateMovieMetadataParams) error

UpdateMovieMetadata provides a mock function with given fields: ctx, id, p

func (*MockTx) UpdateMovieStatus

func (_m *MockTx) UpdateMovieStatus(ctx context.Context, id uint32, status movie.Status) error

UpdateMovieStatus provides a mock function with given fields: ctx, id, status

func (*MockTx) UpdateTVShow

func (_m *MockTx) UpdateTVShow(ctx context.Context, id uint32, p db.UpdateTVShowParams) (*ent.TVShow, error)

UpdateTVShow provides a mock function with given fields: ctx, id, p

func (*MockTx) UpdateTVShowMetadata

func (_m *MockTx) UpdateTVShowMetadata(ctx context.Context, id uint32, p db.UpdateTVShowMetadataParams) error

UpdateTVShowMetadata provides a mock function with given fields: ctx, id, p

func (*MockTx) UpdateUser

func (_m *MockTx) UpdateUser(ctx context.Context, id uint32, p db.UpdateUserParams) (*ent.User, error)

UpdateUser provides a mock function with given fields: ctx, id, p

func (*MockTx) UpdateUserPassword

func (_m *MockTx) UpdateUserPassword(ctx context.Context, id uint32, hash string) error

UpdateUserPassword provides a mock function with given fields: ctx, id, hash

func (*MockTx) UserSessionExists

func (_m *MockTx) UserSessionExists(ctx context.Context, userID uint32, sessionID uint32) (bool, error)

UserSessionExists provides a mock function with given fields: ctx, userID, sessionID

type MockTx_AbortInflightImportScans_Call

type MockTx_AbortInflightImportScans_Call struct {
	*mock.Call
}

MockTx_AbortInflightImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AbortInflightImportScans'

func (*MockTx_AbortInflightImportScans_Call) Return

func (*MockTx_AbortInflightImportScans_Call) Run

func (*MockTx_AbortInflightImportScans_Call) RunAndReturn

type MockTx_AllDownloadRecordHashes_Call

type MockTx_AllDownloadRecordHashes_Call struct {
	*mock.Call
}

MockTx_AllDownloadRecordHashes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllDownloadRecordHashes'

func (*MockTx_AllDownloadRecordHashes_Call) Return

func (*MockTx_AllDownloadRecordHashes_Call) Run

func (*MockTx_AllDownloadRecordHashes_Call) RunAndReturn

type MockTx_ApproveRequest_Call

type MockTx_ApproveRequest_Call struct {
	*mock.Call
}

MockTx_ApproveRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApproveRequest'

func (*MockTx_ApproveRequest_Call) Return

func (*MockTx_ApproveRequest_Call) Run

func (*MockTx_ApproveRequest_Call) RunAndReturn

type MockTx_BulkCreateImportScanFiles_Call

type MockTx_BulkCreateImportScanFiles_Call struct {
	*mock.Call
}

MockTx_BulkCreateImportScanFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkCreateImportScanFiles'

func (*MockTx_BulkCreateImportScanFiles_Call) Return

func (*MockTx_BulkCreateImportScanFiles_Call) Run

func (*MockTx_BulkCreateImportScanFiles_Call) RunAndReturn

type MockTx_BulkCreateImportScanShows_Call

type MockTx_BulkCreateImportScanShows_Call struct {
	*mock.Call
}

MockTx_BulkCreateImportScanShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkCreateImportScanShows'

func (*MockTx_BulkCreateImportScanShows_Call) Return

func (*MockTx_BulkCreateImportScanShows_Call) Run

func (*MockTx_BulkCreateImportScanShows_Call) RunAndReturn

type MockTx_BumpMediaFileLastSeen_Call

type MockTx_BumpMediaFileLastSeen_Call struct {
	*mock.Call
}

MockTx_BumpMediaFileLastSeen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpMediaFileLastSeen'

func (*MockTx_BumpMediaFileLastSeen_Call) Return

func (*MockTx_BumpMediaFileLastSeen_Call) Run

func (*MockTx_BumpMediaFileLastSeen_Call) RunAndReturn

type MockTx_CascadeSeasonMonitored_Call

type MockTx_CascadeSeasonMonitored_Call struct {
	*mock.Call
}

MockTx_CascadeSeasonMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeSeasonMonitored'

func (*MockTx_CascadeSeasonMonitored_Call) Return

func (*MockTx_CascadeSeasonMonitored_Call) Run

func (*MockTx_CascadeSeasonMonitored_Call) RunAndReturn

type MockTx_CascadeShowMonitored_Call

type MockTx_CascadeShowMonitored_Call struct {
	*mock.Call
}

MockTx_CascadeShowMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CascadeShowMonitored'

func (*MockTx_CascadeShowMonitored_Call) Return

func (*MockTx_CascadeShowMonitored_Call) Run

func (*MockTx_CascadeShowMonitored_Call) RunAndReturn

type MockTx_Commit_Call

type MockTx_Commit_Call struct {
	*mock.Call
}

MockTx_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'

func (*MockTx_Commit_Call) Return

func (_c *MockTx_Commit_Call) Return(_a0 error) *MockTx_Commit_Call

func (*MockTx_Commit_Call) Run

func (_c *MockTx_Commit_Call) Run(run func()) *MockTx_Commit_Call

func (*MockTx_Commit_Call) RunAndReturn

func (_c *MockTx_Commit_Call) RunAndReturn(run func() error) *MockTx_Commit_Call

type MockTx_ConsumeInvite_Call added in v1.2.0

type MockTx_ConsumeInvite_Call struct {
	*mock.Call
}

MockTx_ConsumeInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsumeInvite'

func (*MockTx_ConsumeInvite_Call) Return added in v1.2.0

func (*MockTx_ConsumeInvite_Call) Run added in v1.2.0

func (_c *MockTx_ConsumeInvite_Call) Run(run func(ctx context.Context, id uint32, userID uint32, when time.Time)) *MockTx_ConsumeInvite_Call

func (*MockTx_ConsumeInvite_Call) RunAndReturn added in v1.2.0

type MockTx_CountActiveImportScans_Call

type MockTx_CountActiveImportScans_Call struct {
	*mock.Call
}

MockTx_CountActiveImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountActiveImportScans'

func (*MockTx_CountActiveImportScans_Call) Return

func (*MockTx_CountActiveImportScans_Call) Run

func (*MockTx_CountActiveImportScans_Call) RunAndReturn

type MockTx_CountMoviesByStatus_Call

type MockTx_CountMoviesByStatus_Call struct {
	*mock.Call
}

MockTx_CountMoviesByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMoviesByStatus'

func (*MockTx_CountMoviesByStatus_Call) Return

func (*MockTx_CountMoviesByStatus_Call) Run

func (*MockTx_CountMoviesByStatus_Call) RunAndReturn

type MockTx_CountMovies_Call

type MockTx_CountMovies_Call struct {
	*mock.Call
}

MockTx_CountMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMovies'

func (*MockTx_CountMovies_Call) Return

func (*MockTx_CountMovies_Call) Run

func (*MockTx_CountMovies_Call) RunAndReturn

func (_c *MockTx_CountMovies_Call) RunAndReturn(run func(context.Context) (int, error)) *MockTx_CountMovies_Call

type MockTx_CountRequestsByStatus_Call

type MockTx_CountRequestsByStatus_Call struct {
	*mock.Call
}

MockTx_CountRequestsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountRequestsByStatus'

func (*MockTx_CountRequestsByStatus_Call) Return

func (*MockTx_CountRequestsByStatus_Call) Run

func (*MockTx_CountRequestsByStatus_Call) RunAndReturn

type MockTx_CountTVShowsByStatus_Call

type MockTx_CountTVShowsByStatus_Call struct {
	*mock.Call
}

MockTx_CountTVShowsByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTVShowsByStatus'

func (*MockTx_CountTVShowsByStatus_Call) Return

func (*MockTx_CountTVShowsByStatus_Call) Run

func (*MockTx_CountTVShowsByStatus_Call) RunAndReturn

type MockTx_CountTVShows_Call

type MockTx_CountTVShows_Call struct {
	*mock.Call
}

MockTx_CountTVShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTVShows'

func (*MockTx_CountTVShows_Call) Return

func (*MockTx_CountTVShows_Call) Run

func (*MockTx_CountTVShows_Call) RunAndReturn

type MockTx_CountUsersByRole_Call

type MockTx_CountUsersByRole_Call struct {
	*mock.Call
}

MockTx_CountUsersByRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountUsersByRole'

func (*MockTx_CountUsersByRole_Call) Return

func (*MockTx_CountUsersByRole_Call) Run

func (*MockTx_CountUsersByRole_Call) RunAndReturn

type MockTx_CountUsers_Call

type MockTx_CountUsers_Call struct {
	*mock.Call
}

MockTx_CountUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountUsers'

func (*MockTx_CountUsers_Call) Return

func (*MockTx_CountUsers_Call) Run

func (*MockTx_CountUsers_Call) RunAndReturn

func (_c *MockTx_CountUsers_Call) RunAndReturn(run func(context.Context) (int, error)) *MockTx_CountUsers_Call

type MockTx_CreateAPIKey_Call

type MockTx_CreateAPIKey_Call struct {
	*mock.Call
}

MockTx_CreateAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateAPIKey'

func (*MockTx_CreateAPIKey_Call) Return

func (*MockTx_CreateAPIKey_Call) Run

func (*MockTx_CreateAPIKey_Call) RunAndReturn

type MockTx_CreateDownloadRecord_Call

type MockTx_CreateDownloadRecord_Call struct {
	*mock.Call
}

MockTx_CreateDownloadRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDownloadRecord'

func (*MockTx_CreateDownloadRecord_Call) Return

func (*MockTx_CreateDownloadRecord_Call) Run

type MockTx_CreateImportScan_Call

type MockTx_CreateImportScan_Call struct {
	*mock.Call
}

MockTx_CreateImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateImportScan'

func (*MockTx_CreateImportScan_Call) Return

func (*MockTx_CreateImportScan_Call) Run

func (*MockTx_CreateImportScan_Call) RunAndReturn

type MockTx_CreateInvite_Call

type MockTx_CreateInvite_Call struct {
	*mock.Call
}

MockTx_CreateInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInvite'

func (*MockTx_CreateInvite_Call) Return

func (*MockTx_CreateInvite_Call) Run

func (*MockTx_CreateInvite_Call) RunAndReturn

type MockTx_CreateMediaFile_Call

type MockTx_CreateMediaFile_Call struct {
	*mock.Call
}

MockTx_CreateMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMediaFile'

func (*MockTx_CreateMediaFile_Call) Return

func (*MockTx_CreateMediaFile_Call) Run

func (*MockTx_CreateMediaFile_Call) RunAndReturn

type MockTx_CreateMovie_Call

type MockTx_CreateMovie_Call struct {
	*mock.Call
}

MockTx_CreateMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMovie'

func (*MockTx_CreateMovie_Call) Return

func (*MockTx_CreateMovie_Call) Run

func (*MockTx_CreateMovie_Call) RunAndReturn

type MockTx_CreateOIDCIdentity_Call

type MockTx_CreateOIDCIdentity_Call struct {
	*mock.Call
}

MockTx_CreateOIDCIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOIDCIdentity'

func (*MockTx_CreateOIDCIdentity_Call) Return

func (*MockTx_CreateOIDCIdentity_Call) Run

func (*MockTx_CreateOIDCIdentity_Call) RunAndReturn

type MockTx_CreateRequest_Call

type MockTx_CreateRequest_Call struct {
	*mock.Call
}

MockTx_CreateRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRequest'

func (*MockTx_CreateRequest_Call) Return

func (*MockTx_CreateRequest_Call) Run

func (*MockTx_CreateRequest_Call) RunAndReturn

type MockTx_CreateSession_Call

type MockTx_CreateSession_Call struct {
	*mock.Call
}

MockTx_CreateSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSession'

func (*MockTx_CreateSession_Call) Return

func (*MockTx_CreateSession_Call) Run

func (*MockTx_CreateSession_Call) RunAndReturn

type MockTx_CreateTVShow_Call

type MockTx_CreateTVShow_Call struct {
	*mock.Call
}

MockTx_CreateTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTVShow'

func (*MockTx_CreateTVShow_Call) Return

func (*MockTx_CreateTVShow_Call) Run

func (*MockTx_CreateTVShow_Call) RunAndReturn

type MockTx_CreateTorrentSession_Call added in v1.1.0

type MockTx_CreateTorrentSession_Call struct {
	*mock.Call
}

MockTx_CreateTorrentSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTorrentSession'

func (*MockTx_CreateTorrentSession_Call) Return added in v1.1.0

func (*MockTx_CreateTorrentSession_Call) Run added in v1.1.0

func (*MockTx_CreateTorrentSession_Call) RunAndReturn added in v1.1.0

type MockTx_CreateUser_Call

type MockTx_CreateUser_Call struct {
	*mock.Call
}

MockTx_CreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateUser'

func (*MockTx_CreateUser_Call) Return

func (*MockTx_CreateUser_Call) Run

func (*MockTx_CreateUser_Call) RunAndReturn

type MockTx_DeleteAPIKeyByID_Call

type MockTx_DeleteAPIKeyByID_Call struct {
	*mock.Call
}

MockTx_DeleteAPIKeyByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAPIKeyByID'

func (*MockTx_DeleteAPIKeyByID_Call) Return

func (*MockTx_DeleteAPIKeyByID_Call) Run

func (*MockTx_DeleteAPIKeyByID_Call) RunAndReturn

type MockTx_DeleteAllCompletedDownloadRecords_Call

type MockTx_DeleteAllCompletedDownloadRecords_Call struct {
	*mock.Call
}

MockTx_DeleteAllCompletedDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllCompletedDownloadRecords'

func (*MockTx_DeleteAllCompletedDownloadRecords_Call) Return

func (*MockTx_DeleteAllCompletedDownloadRecords_Call) Run

func (*MockTx_DeleteAllCompletedDownloadRecords_Call) RunAndReturn

type MockTx_DeleteCompletedDownloadRecordsBefore_Call

type MockTx_DeleteCompletedDownloadRecordsBefore_Call struct {
	*mock.Call
}

MockTx_DeleteCompletedDownloadRecordsBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCompletedDownloadRecordsBefore'

func (*MockTx_DeleteCompletedDownloadRecordsBefore_Call) Return

func (*MockTx_DeleteCompletedDownloadRecordsBefore_Call) Run

func (*MockTx_DeleteCompletedDownloadRecordsBefore_Call) RunAndReturn

type MockTx_DeleteDownloadRecord_Call

type MockTx_DeleteDownloadRecord_Call struct {
	*mock.Call
}

MockTx_DeleteDownloadRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDownloadRecord'

func (*MockTx_DeleteDownloadRecord_Call) Return

func (*MockTx_DeleteDownloadRecord_Call) Run

func (*MockTx_DeleteDownloadRecord_Call) RunAndReturn

type MockTx_DeleteFailedDownloadRecordsBefore_Call

type MockTx_DeleteFailedDownloadRecordsBefore_Call struct {
	*mock.Call
}

MockTx_DeleteFailedDownloadRecordsBefore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteFailedDownloadRecordsBefore'

func (*MockTx_DeleteFailedDownloadRecordsBefore_Call) Return

func (*MockTx_DeleteFailedDownloadRecordsBefore_Call) Run

func (*MockTx_DeleteFailedDownloadRecordsBefore_Call) RunAndReturn

type MockTx_DeleteImportScan_Call

type MockTx_DeleteImportScan_Call struct {
	*mock.Call
}

MockTx_DeleteImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteImportScan'

func (*MockTx_DeleteImportScan_Call) Return

func (*MockTx_DeleteImportScan_Call) Run

func (*MockTx_DeleteImportScan_Call) RunAndReturn

type MockTx_DeleteMediaFileAndRevertEpisode_Call

type MockTx_DeleteMediaFileAndRevertEpisode_Call struct {
	*mock.Call
}

MockTx_DeleteMediaFileAndRevertEpisode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFileAndRevertEpisode'

func (*MockTx_DeleteMediaFileAndRevertEpisode_Call) Return

func (*MockTx_DeleteMediaFileAndRevertEpisode_Call) Run

func (*MockTx_DeleteMediaFileAndRevertEpisode_Call) RunAndReturn

type MockTx_DeleteMediaFileAndRevertMovie_Call

type MockTx_DeleteMediaFileAndRevertMovie_Call struct {
	*mock.Call
}

MockTx_DeleteMediaFileAndRevertMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFileAndRevertMovie'

func (*MockTx_DeleteMediaFileAndRevertMovie_Call) Return

func (*MockTx_DeleteMediaFileAndRevertMovie_Call) Run

func (*MockTx_DeleteMediaFileAndRevertMovie_Call) RunAndReturn

type MockTx_DeleteMediaFile_Call added in v1.2.0

type MockTx_DeleteMediaFile_Call struct {
	*mock.Call
}

MockTx_DeleteMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMediaFile'

func (*MockTx_DeleteMediaFile_Call) Return added in v1.2.0

func (*MockTx_DeleteMediaFile_Call) Run added in v1.2.0

func (*MockTx_DeleteMediaFile_Call) RunAndReturn added in v1.2.0

type MockTx_DeleteMovie_Call

type MockTx_DeleteMovie_Call struct {
	*mock.Call
}

MockTx_DeleteMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMovie'

func (*MockTx_DeleteMovie_Call) Return

func (*MockTx_DeleteMovie_Call) Run

func (*MockTx_DeleteMovie_Call) RunAndReturn

type MockTx_DeleteStalePendingAdoptions_Call

type MockTx_DeleteStalePendingAdoptions_Call struct {
	*mock.Call
}

MockTx_DeleteStalePendingAdoptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStalePendingAdoptions'

func (*MockTx_DeleteStalePendingAdoptions_Call) Return

func (*MockTx_DeleteStalePendingAdoptions_Call) Run

func (*MockTx_DeleteStalePendingAdoptions_Call) RunAndReturn

type MockTx_DeleteTVShow_Call

type MockTx_DeleteTVShow_Call struct {
	*mock.Call
}

MockTx_DeleteTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTVShow'

func (*MockTx_DeleteTVShow_Call) Return

func (*MockTx_DeleteTVShow_Call) Run

func (*MockTx_DeleteTVShow_Call) RunAndReturn

type MockTx_DeleteTorrentSessionByHash_Call added in v1.1.0

type MockTx_DeleteTorrentSessionByHash_Call struct {
	*mock.Call
}

MockTx_DeleteTorrentSessionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTorrentSessionByHash'

func (*MockTx_DeleteTorrentSessionByHash_Call) Return added in v1.1.0

func (*MockTx_DeleteTorrentSessionByHash_Call) Run added in v1.1.0

func (*MockTx_DeleteTorrentSessionByHash_Call) RunAndReturn added in v1.1.0

type MockTx_DeleteUser_Call

type MockTx_DeleteUser_Call struct {
	*mock.Call
}

MockTx_DeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUser'

func (*MockTx_DeleteUser_Call) Return

func (*MockTx_DeleteUser_Call) Run

func (*MockTx_DeleteUser_Call) RunAndReturn

type MockTx_DenyRequest_Call

type MockTx_DenyRequest_Call struct {
	*mock.Call
}

MockTx_DenyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenyRequest'

func (*MockTx_DenyRequest_Call) Return

func (*MockTx_DenyRequest_Call) Run

func (_c *MockTx_DenyRequest_Call) Run(run func(ctx context.Context, id uint32, adminID uint32, reason string)) *MockTx_DenyRequest_Call

func (*MockTx_DenyRequest_Call) RunAndReturn

type MockTx_Expecter

type MockTx_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockTx_Expecter) AbortInflightImportScans

func (_e *MockTx_Expecter) AbortInflightImportScans(ctx interface{}, reason interface{}) *MockTx_AbortInflightImportScans_Call

AbortInflightImportScans is a helper method to define mock.On call

  • ctx context.Context
  • reason string

func (*MockTx_Expecter) AllDownloadRecordHashes

func (_e *MockTx_Expecter) AllDownloadRecordHashes(ctx interface{}) *MockTx_AllDownloadRecordHashes_Call

AllDownloadRecordHashes is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ApproveRequest

func (_e *MockTx_Expecter) ApproveRequest(ctx interface{}, id interface{}, adminID interface{}) *MockTx_ApproveRequest_Call

ApproveRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • adminID uint32

func (*MockTx_Expecter) BulkCreateImportScanFiles

func (_e *MockTx_Expecter) BulkCreateImportScanFiles(ctx interface{}, scanID interface{}, files interface{}) *MockTx_BulkCreateImportScanFiles_Call

BulkCreateImportScanFiles is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • files []db.CreateImportScanFileParams

func (*MockTx_Expecter) BulkCreateImportScanShows

func (_e *MockTx_Expecter) BulkCreateImportScanShows(ctx interface{}, scanID interface{}, shows interface{}) *MockTx_BulkCreateImportScanShows_Call

BulkCreateImportScanShows is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • shows []db.CreateImportScanShowParams

func (*MockTx_Expecter) BumpMediaFileLastSeen

func (_e *MockTx_Expecter) BumpMediaFileLastSeen(ctx interface{}, id interface{}) *MockTx_BumpMediaFileLastSeen_Call

BumpMediaFileLastSeen is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) CascadeSeasonMonitored

func (_e *MockTx_Expecter) CascadeSeasonMonitored(ctx interface{}, seasonID interface{}, monitored interface{}) *MockTx_CascadeSeasonMonitored_Call

CascadeSeasonMonitored is a helper method to define mock.On call

  • ctx context.Context
  • seasonID uint32
  • monitored bool

func (*MockTx_Expecter) CascadeShowMonitored

func (_e *MockTx_Expecter) CascadeShowMonitored(ctx interface{}, showID interface{}, monitored interface{}) *MockTx_CascadeShowMonitored_Call

CascadeShowMonitored is a helper method to define mock.On call

  • ctx context.Context
  • showID uint32
  • monitored bool

func (*MockTx_Expecter) Commit

func (_e *MockTx_Expecter) Commit() *MockTx_Commit_Call

Commit is a helper method to define mock.On call

func (*MockTx_Expecter) ConsumeInvite added in v1.2.0

func (_e *MockTx_Expecter) ConsumeInvite(ctx interface{}, id interface{}, userID interface{}, when interface{}) *MockTx_ConsumeInvite_Call

ConsumeInvite is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • userID uint32
  • when time.Time

func (*MockTx_Expecter) CountActiveImportScans

func (_e *MockTx_Expecter) CountActiveImportScans(ctx interface{}) *MockTx_CountActiveImportScans_Call

CountActiveImportScans is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) CountMovies

func (_e *MockTx_Expecter) CountMovies(ctx interface{}) *MockTx_CountMovies_Call

CountMovies is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) CountMoviesByStatus

func (_e *MockTx_Expecter) CountMoviesByStatus(ctx interface{}, status interface{}) *MockTx_CountMoviesByStatus_Call

CountMoviesByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status movie.Status

func (*MockTx_Expecter) CountRequestsByStatus

func (_e *MockTx_Expecter) CountRequestsByStatus(ctx interface{}, status interface{}) *MockTx_CountRequestsByStatus_Call

CountRequestsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status request.Status

func (*MockTx_Expecter) CountTVShows

func (_e *MockTx_Expecter) CountTVShows(ctx interface{}) *MockTx_CountTVShows_Call

CountTVShows is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) CountTVShowsByStatus

func (_e *MockTx_Expecter) CountTVShowsByStatus(ctx interface{}, status interface{}) *MockTx_CountTVShowsByStatus_Call

CountTVShowsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • status tvshow.SeriesStatus

func (*MockTx_Expecter) CountUsers

func (_e *MockTx_Expecter) CountUsers(ctx interface{}) *MockTx_CountUsers_Call

CountUsers is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) CountUsersByRole

func (_e *MockTx_Expecter) CountUsersByRole(ctx interface{}, role interface{}) *MockTx_CountUsersByRole_Call

CountUsersByRole is a helper method to define mock.On call

  • ctx context.Context
  • role user.Role

func (*MockTx_Expecter) CreateAPIKey

func (_e *MockTx_Expecter) CreateAPIKey(ctx interface{}, p interface{}) *MockTx_CreateAPIKey_Call

CreateAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateAPIKeyParams

func (*MockTx_Expecter) CreateDownloadRecord

func (_e *MockTx_Expecter) CreateDownloadRecord(ctx interface{}, p interface{}) *MockTx_CreateDownloadRecord_Call

CreateDownloadRecord is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateDownloadRecordParams

func (*MockTx_Expecter) CreateImportScan

func (_e *MockTx_Expecter) CreateImportScan(ctx interface{}, p interface{}) *MockTx_CreateImportScan_Call

CreateImportScan is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateImportScanParams

func (*MockTx_Expecter) CreateInvite

func (_e *MockTx_Expecter) CreateInvite(ctx interface{}, p interface{}) *MockTx_CreateInvite_Call

CreateInvite is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateInviteParams

func (*MockTx_Expecter) CreateMediaFile

func (_e *MockTx_Expecter) CreateMediaFile(ctx interface{}, p interface{}) *MockTx_CreateMediaFile_Call

CreateMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateMediaFileParams

func (*MockTx_Expecter) CreateMovie

func (_e *MockTx_Expecter) CreateMovie(ctx interface{}, p interface{}) *MockTx_CreateMovie_Call

CreateMovie is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateMovieParams

func (*MockTx_Expecter) CreateOIDCIdentity

func (_e *MockTx_Expecter) CreateOIDCIdentity(ctx interface{}, p interface{}) *MockTx_CreateOIDCIdentity_Call

CreateOIDCIdentity is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateOIDCIdentityParams

func (*MockTx_Expecter) CreateRequest

func (_e *MockTx_Expecter) CreateRequest(ctx interface{}, p interface{}) *MockTx_CreateRequest_Call

CreateRequest is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateRequestParams

func (*MockTx_Expecter) CreateSession

func (_e *MockTx_Expecter) CreateSession(ctx interface{}, p interface{}) *MockTx_CreateSession_Call

CreateSession is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateSessionParams

func (*MockTx_Expecter) CreateTVShow

func (_e *MockTx_Expecter) CreateTVShow(ctx interface{}, p interface{}) *MockTx_CreateTVShow_Call

CreateTVShow is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateTVShowParams

func (*MockTx_Expecter) CreateTorrentSession added in v1.1.0

func (_e *MockTx_Expecter) CreateTorrentSession(ctx interface{}, p interface{}) *MockTx_CreateTorrentSession_Call

CreateTorrentSession is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateTorrentSessionParams

func (*MockTx_Expecter) CreateUser

func (_e *MockTx_Expecter) CreateUser(ctx interface{}, p interface{}) *MockTx_CreateUser_Call

CreateUser is a helper method to define mock.On call

  • ctx context.Context
  • p db.CreateUserParams

func (*MockTx_Expecter) DeleteAPIKeyByID

func (_e *MockTx_Expecter) DeleteAPIKeyByID(ctx interface{}, userID interface{}, keyID interface{}) *MockTx_DeleteAPIKeyByID_Call

DeleteAPIKeyByID is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • keyID uint32

func (*MockTx_Expecter) DeleteAllCompletedDownloadRecords

func (_e *MockTx_Expecter) DeleteAllCompletedDownloadRecords(ctx interface{}) *MockTx_DeleteAllCompletedDownloadRecords_Call

DeleteAllCompletedDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) DeleteCompletedDownloadRecordsBefore

func (_e *MockTx_Expecter) DeleteCompletedDownloadRecordsBefore(ctx interface{}, cutoff interface{}) *MockTx_DeleteCompletedDownloadRecordsBefore_Call

DeleteCompletedDownloadRecordsBefore is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockTx_Expecter) DeleteDownloadRecord

func (_e *MockTx_Expecter) DeleteDownloadRecord(ctx interface{}, id interface{}) *MockTx_DeleteDownloadRecord_Call

DeleteDownloadRecord is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DeleteFailedDownloadRecordsBefore

func (_e *MockTx_Expecter) DeleteFailedDownloadRecordsBefore(ctx interface{}, cutoff interface{}) *MockTx_DeleteFailedDownloadRecordsBefore_Call

DeleteFailedDownloadRecordsBefore is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockTx_Expecter) DeleteImportScan

func (_e *MockTx_Expecter) DeleteImportScan(ctx interface{}, id interface{}) *MockTx_DeleteImportScan_Call

DeleteImportScan is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DeleteMediaFile added in v1.2.0

func (_e *MockTx_Expecter) DeleteMediaFile(ctx interface{}, id interface{}) *MockTx_DeleteMediaFile_Call

DeleteMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DeleteMediaFileAndRevertEpisode

func (_e *MockTx_Expecter) DeleteMediaFileAndRevertEpisode(ctx interface{}, mediaFileID interface{}, episodeID interface{}) *MockTx_DeleteMediaFileAndRevertEpisode_Call

DeleteMediaFileAndRevertEpisode is a helper method to define mock.On call

  • ctx context.Context
  • mediaFileID uint32
  • episodeID uint32

func (*MockTx_Expecter) DeleteMediaFileAndRevertMovie

func (_e *MockTx_Expecter) DeleteMediaFileAndRevertMovie(ctx interface{}, mediaFileID interface{}, movieID interface{}) *MockTx_DeleteMediaFileAndRevertMovie_Call

DeleteMediaFileAndRevertMovie is a helper method to define mock.On call

  • ctx context.Context
  • mediaFileID uint32
  • movieID uint32

func (*MockTx_Expecter) DeleteMovie

func (_e *MockTx_Expecter) DeleteMovie(ctx interface{}, id interface{}) *MockTx_DeleteMovie_Call

DeleteMovie is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DeleteStalePendingAdoptions

func (_e *MockTx_Expecter) DeleteStalePendingAdoptions(ctx interface{}, clientName interface{}, liveHashes interface{}) *MockTx_DeleteStalePendingAdoptions_Call

DeleteStalePendingAdoptions is a helper method to define mock.On call

  • ctx context.Context
  • clientName string
  • liveHashes []string

func (*MockTx_Expecter) DeleteTVShow

func (_e *MockTx_Expecter) DeleteTVShow(ctx interface{}, id interface{}) *MockTx_DeleteTVShow_Call

DeleteTVShow is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DeleteTorrentSessionByHash added in v1.1.0

func (_e *MockTx_Expecter) DeleteTorrentSessionByHash(ctx interface{}, infoHash interface{}) *MockTx_DeleteTorrentSessionByHash_Call

DeleteTorrentSessionByHash is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string

func (*MockTx_Expecter) DeleteUser

func (_e *MockTx_Expecter) DeleteUser(ctx interface{}, id interface{}) *MockTx_DeleteUser_Call

DeleteUser is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) DenyRequest

func (_e *MockTx_Expecter) DenyRequest(ctx interface{}, id interface{}, adminID interface{}, reason interface{}) *MockTx_DenyRequest_Call

DenyRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • adminID uint32
  • reason string

func (*MockTx_Expecter) FilterImportScanFiles

func (_e *MockTx_Expecter) FilterImportScanFiles(ctx interface{}, p interface{}) *MockTx_FilterImportScanFiles_Call

FilterImportScanFiles is a helper method to define mock.On call

  • ctx context.Context
  • p db.FilterImportScanFilesParams

func (*MockTx_Expecter) FilterMovies

func (_e *MockTx_Expecter) FilterMovies(ctx interface{}, p interface{}) *MockTx_FilterMovies_Call

FilterMovies is a helper method to define mock.On call

  • ctx context.Context
  • p db.FilterMoviesParams

func (*MockTx_Expecter) FindAPIKeyByHash

func (_e *MockTx_Expecter) FindAPIKeyByHash(ctx interface{}, hash interface{}) *MockTx_FindAPIKeyByHash_Call

FindAPIKeyByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash string

func (*MockTx_Expecter) FindActiveDownloadRecordByID

func (_e *MockTx_Expecter) FindActiveDownloadRecordByID(ctx interface{}, id interface{}) *MockTx_FindActiveDownloadRecordByID_Call

FindActiveDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindActiveRequest

func (_e *MockTx_Expecter) FindActiveRequest(ctx interface{}, mediaType interface{}, mediaID interface{}) *MockTx_FindActiveRequest_Call

FindActiveRequest is a helper method to define mock.On call

  • ctx context.Context
  • mediaType string
  • mediaID uint32

func (*MockTx_Expecter) FindImportScan

func (_e *MockTx_Expecter) FindImportScan(ctx interface{}, id interface{}) *MockTx_FindImportScan_Call

FindImportScan is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindImportScanFile

func (_e *MockTx_Expecter) FindImportScanFile(ctx interface{}, scanID interface{}, fileID interface{}) *MockTx_FindImportScanFile_Call

FindImportScanFile is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • fileID uint32

func (*MockTx_Expecter) FindImportScanShow

func (_e *MockTx_Expecter) FindImportScanShow(ctx interface{}, scanID interface{}, showID interface{}) *MockTx_FindImportScanShow_Call

FindImportScanShow is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • showID uint32

func (*MockTx_Expecter) FindImportingDownloadRecordByID

func (_e *MockTx_Expecter) FindImportingDownloadRecordByID(ctx interface{}, id interface{}) *MockTx_FindImportingDownloadRecordByID_Call

FindImportingDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindInviteByTokenHash

func (_e *MockTx_Expecter) FindInviteByTokenHash(ctx interface{}, hash interface{}) *MockTx_FindInviteByTokenHash_Call

FindInviteByTokenHash is a helper method to define mock.On call

  • ctx context.Context
  • hash string

func (*MockTx_Expecter) FindMediaFileByEpisodeID

func (_e *MockTx_Expecter) FindMediaFileByEpisodeID(ctx interface{}, episodeID interface{}) *MockTx_FindMediaFileByEpisodeID_Call

FindMediaFileByEpisodeID is a helper method to define mock.On call

  • ctx context.Context
  • episodeID uint32

func (*MockTx_Expecter) FindMediaFileByID

func (_e *MockTx_Expecter) FindMediaFileByID(ctx interface{}, id interface{}) *MockTx_FindMediaFileByID_Call

FindMediaFileByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindMovieByID

func (_e *MockTx_Expecter) FindMovieByID(ctx interface{}, id interface{}) *MockTx_FindMovieByID_Call

FindMovieByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindMovieByTMDBID

func (_e *MockTx_Expecter) FindMovieByTMDBID(ctx interface{}, tmdbID interface{}) *MockTx_FindMovieByTMDBID_Call

FindMovieByTMDBID is a helper method to define mock.On call

  • ctx context.Context
  • tmdbID uint32

func (*MockTx_Expecter) FindMoviesByTMDBIDs

func (_e *MockTx_Expecter) FindMoviesByTMDBIDs(ctx interface{}, tmdbIDs interface{}) *MockTx_FindMoviesByTMDBIDs_Call

FindMoviesByTMDBIDs is a helper method to define mock.On call

  • ctx context.Context
  • tmdbIDs []uint32

func (*MockTx_Expecter) FindOIDCIdentity

func (_e *MockTx_Expecter) FindOIDCIdentity(ctx interface{}, provider interface{}, subject interface{}) *MockTx_FindOIDCIdentity_Call

FindOIDCIdentity is a helper method to define mock.On call

  • ctx context.Context
  • provider string
  • subject string

func (*MockTx_Expecter) FindOpenImportScanForSource

func (_e *MockTx_Expecter) FindOpenImportScanForSource(ctx interface{}, sourcePath interface{}) *MockTx_FindOpenImportScanForSource_Call

FindOpenImportScanForSource is a helper method to define mock.On call

  • ctx context.Context
  • sourcePath string

func (*MockTx_Expecter) FindPendingDownloadRecordByID

func (_e *MockTx_Expecter) FindPendingDownloadRecordByID(ctx interface{}, id interface{}) *MockTx_FindPendingDownloadRecordByID_Call

FindPendingDownloadRecordByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindSessionByJTI

func (_e *MockTx_Expecter) FindSessionByJTI(ctx interface{}, jti interface{}) *MockTx_FindSessionByJTI_Call

FindSessionByJTI is a helper method to define mock.On call

  • ctx context.Context
  • jti string

func (*MockTx_Expecter) FindTVShowByID

func (_e *MockTx_Expecter) FindTVShowByID(ctx interface{}, id interface{}) *MockTx_FindTVShowByID_Call

FindTVShowByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) FindTVShowByTVDBID

func (_e *MockTx_Expecter) FindTVShowByTVDBID(ctx interface{}, tvdbID interface{}) *MockTx_FindTVShowByTVDBID_Call

FindTVShowByTVDBID is a helper method to define mock.On call

  • ctx context.Context
  • tvdbID uint32

func (*MockTx_Expecter) FindUnusedInviteForEmail

func (_e *MockTx_Expecter) FindUnusedInviteForEmail(ctx interface{}, email interface{}, now interface{}) *MockTx_FindUnusedInviteForEmail_Call

FindUnusedInviteForEmail is a helper method to define mock.On call

  • ctx context.Context
  • email string
  • now time.Time

func (*MockTx_Expecter) FindUserByEmail

func (_e *MockTx_Expecter) FindUserByEmail(ctx interface{}, email interface{}) *MockTx_FindUserByEmail_Call

FindUserByEmail is a helper method to define mock.On call

  • ctx context.Context
  • email string

func (*MockTx_Expecter) FindUserByID

func (_e *MockTx_Expecter) FindUserByID(ctx interface{}, id interface{}) *MockTx_FindUserByID_Call

FindUserByID is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) GetRequest

func (_e *MockTx_Expecter) GetRequest(ctx interface{}, id interface{}) *MockTx_GetRequest_Call

GetRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) IncrementEpisodeGrabFailures

func (_e *MockTx_Expecter) IncrementEpisodeGrabFailures(ctx interface{}, id interface{}) *MockTx_IncrementEpisodeGrabFailures_Call

IncrementEpisodeGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) IncrementImportScanProgress

func (_e *MockTx_Expecter) IncrementImportScanProgress(ctx interface{}, id interface{}, processedDelta interface{}) *MockTx_IncrementImportScanProgress_Call

IncrementImportScanProgress is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • processedDelta uint32

func (*MockTx_Expecter) IncrementMovieGrabFailures

func (_e *MockTx_Expecter) IncrementMovieGrabFailures(ctx interface{}, id interface{}) *MockTx_IncrementMovieGrabFailures_Call

IncrementMovieGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) LatestImportedRecordForEpisode

func (_e *MockTx_Expecter) LatestImportedRecordForEpisode(ctx interface{}, episodeID interface{}) *MockTx_LatestImportedRecordForEpisode_Call

LatestImportedRecordForEpisode is a helper method to define mock.On call

  • ctx context.Context
  • episodeID uint32

func (*MockTx_Expecter) LatestImportedRecordForMovie

func (_e *MockTx_Expecter) LatestImportedRecordForMovie(ctx interface{}, movieID interface{}) *MockTx_LatestImportedRecordForMovie_Call

LatestImportedRecordForMovie is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockTx_Expecter) ListAPIKeysByUser

func (_e *MockTx_Expecter) ListAPIKeysByUser(ctx interface{}, userID interface{}) *MockTx_ListAPIKeysByUser_Call

ListAPIKeysByUser is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32

func (*MockTx_Expecter) ListActiveDownloadRecords

func (_e *MockTx_Expecter) ListActiveDownloadRecords(ctx interface{}) *MockTx_ListActiveDownloadRecords_Call

ListActiveDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListAllEpisodeMediaFilePaths

func (_e *MockTx_Expecter) ListAllEpisodeMediaFilePaths(ctx interface{}) *MockTx_ListAllEpisodeMediaFilePaths_Call

ListAllEpisodeMediaFilePaths is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListAllMediaFilesWithOwners added in v1.2.0

func (_e *MockTx_Expecter) ListAllMediaFilesWithOwners(ctx interface{}) *MockTx_ListAllMediaFilesWithOwners_Call

ListAllMediaFilesWithOwners is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListDownloadHistory

func (_e *MockTx_Expecter) ListDownloadHistory(ctx interface{}, limit interface{}, cursor interface{}) *MockTx_ListDownloadHistory_Call

ListDownloadHistory is a helper method to define mock.On call

  • ctx context.Context
  • limit int
  • cursor string

func (*MockTx_Expecter) ListDownloadingRecordsWithMovie

func (_e *MockTx_Expecter) ListDownloadingRecordsWithMovie(ctx interface{}) *MockTx_ListDownloadingRecordsWithMovie_Call

ListDownloadingRecordsWithMovie is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListEligibleEpisodesForSync added in v1.2.0

func (_e *MockTx_Expecter) ListEligibleEpisodesForSync(ctx interface{}, maxGrabFailures interface{}, notSearchedSince interface{}, airedBefore interface{}) *MockTx_ListEligibleEpisodesForSync_Call

ListEligibleEpisodesForSync is a helper method to define mock.On call

  • ctx context.Context
  • maxGrabFailures uint8
  • notSearchedSince time.Time
  • airedBefore time.Time

func (*MockTx_Expecter) ListEligibleMoviesForSync

func (_e *MockTx_Expecter) ListEligibleMoviesForSync(ctx interface{}, maxGrabFailures interface{}, notSearchedSince interface{}) *MockTx_ListEligibleMoviesForSync_Call

ListEligibleMoviesForSync is a helper method to define mock.On call

  • ctx context.Context
  • maxGrabFailures uint8
  • notSearchedSince time.Time

func (*MockTx_Expecter) ListImportScanFilesForCommit

func (_e *MockTx_Expecter) ListImportScanFilesForCommit(ctx interface{}, scanID interface{}) *MockTx_ListImportScanFilesForCommit_Call

ListImportScanFilesForCommit is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32

func (*MockTx_Expecter) ListImportScanShows

func (_e *MockTx_Expecter) ListImportScanShows(ctx interface{}, p interface{}) *MockTx_ListImportScanShows_Call

ListImportScanShows is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListImportScanShowsParams

func (*MockTx_Expecter) ListImportScanShowsForCommit

func (_e *MockTx_Expecter) ListImportScanShowsForCommit(ctx interface{}, scanID interface{}) *MockTx_ListImportScanShowsForCommit_Call

ListImportScanShowsForCommit is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32

func (*MockTx_Expecter) ListImportScans

func (_e *MockTx_Expecter) ListImportScans(ctx interface{}, offset interface{}, limit interface{}) *MockTx_ListImportScans_Call

ListImportScans is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockTx_Expecter) ListImportingDownloadRecords

func (_e *MockTx_Expecter) ListImportingDownloadRecords(ctx interface{}) *MockTx_ListImportingDownloadRecords_Call

ListImportingDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListInvites

func (_e *MockTx_Expecter) ListInvites(ctx interface{}) *MockTx_ListInvites_Call

ListInvites is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListMediaFilesByMovieID

func (_e *MockTx_Expecter) ListMediaFilesByMovieID(ctx interface{}, movieID interface{}) *MockTx_ListMediaFilesByMovieID_Call

ListMediaFilesByMovieID is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockTx_Expecter) ListMovies

func (_e *MockTx_Expecter) ListMovies(ctx interface{}, offset interface{}, limit interface{}) *MockTx_ListMovies_Call

ListMovies is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockTx_Expecter) ListMoviesForAdoption

func (_e *MockTx_Expecter) ListMoviesForAdoption(ctx interface{}) *MockTx_ListMoviesForAdoption_Call

ListMoviesForAdoption is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListMoviesStaleSince

func (_e *MockTx_Expecter) ListMoviesStaleSince(ctx interface{}, cutoff interface{}) *MockTx_ListMoviesStaleSince_Call

ListMoviesStaleSince is a helper method to define mock.On call

  • ctx context.Context
  • cutoff time.Time

func (*MockTx_Expecter) ListPendingDownloadRecords

func (_e *MockTx_Expecter) ListPendingDownloadRecords(ctx interface{}) *MockTx_ListPendingDownloadRecords_Call

ListPendingDownloadRecords is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListPendingImportScanFilePaths

func (_e *MockTx_Expecter) ListPendingImportScanFilePaths(ctx interface{}) *MockTx_ListPendingImportScanFilePaths_Call

ListPendingImportScanFilePaths is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListPendingImportScanShowFolders

func (_e *MockTx_Expecter) ListPendingImportScanShowFolders(ctx interface{}) *MockTx_ListPendingImportScanShowFolders_Call

ListPendingImportScanShowFolders is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListRequests

func (_e *MockTx_Expecter) ListRequests(ctx interface{}, p interface{}) *MockTx_ListRequests_Call

ListRequests is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListRequestsParams

func (*MockTx_Expecter) ListTVShows

func (_e *MockTx_Expecter) ListTVShows(ctx interface{}, offset interface{}, limit interface{}) *MockTx_ListTVShows_Call

ListTVShows is a helper method to define mock.On call

  • ctx context.Context
  • offset uint32
  • limit uint32

func (*MockTx_Expecter) ListTorrentSessions added in v1.1.0

func (_e *MockTx_Expecter) ListTorrentSessions(ctx interface{}) *MockTx_ListTorrentSessions_Call

ListTorrentSessions is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListTvShowsForAdoption

func (_e *MockTx_Expecter) ListTvShowsForAdoption(ctx interface{}) *MockTx_ListTvShowsForAdoption_Call

ListTvShowsForAdoption is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListUpcomingEpisodes

func (_e *MockTx_Expecter) ListUpcomingEpisodes(ctx interface{}, from interface{}, to interface{}) *MockTx_ListUpcomingEpisodes_Call

ListUpcomingEpisodes is a helper method to define mock.On call

  • ctx context.Context
  • from time.Time
  • to time.Time

func (*MockTx_Expecter) ListUserSessions

func (_e *MockTx_Expecter) ListUserSessions(ctx interface{}, userID interface{}) *MockTx_ListUserSessions_Call

ListUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32

func (*MockTx_Expecter) ListUsers

func (_e *MockTx_Expecter) ListUsers(ctx interface{}, p interface{}) *MockTx_ListUsers_Call

ListUsers is a helper method to define mock.On call

  • ctx context.Context
  • p db.ListUsersParams

func (*MockTx_Expecter) ListWantedEpisodes

func (_e *MockTx_Expecter) ListWantedEpisodes(ctx interface{}) *MockTx_ListWantedEpisodes_Call

ListWantedEpisodes is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) ListWantedMovies

func (_e *MockTx_Expecter) ListWantedMovies(ctx interface{}) *MockTx_ListWantedMovies_Call

ListWantedMovies is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) MarkDownloadRecordReplaceExisting

func (_e *MockTx_Expecter) MarkDownloadRecordReplaceExisting(ctx interface{}, id interface{}) *MockTx_MarkDownloadRecordReplaceExisting_Call

MarkDownloadRecordReplaceExisting is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) MarkRequestsAvailable

func (_e *MockTx_Expecter) MarkRequestsAvailable(ctx interface{}, mediaType interface{}, mediaID interface{}) *MockTx_MarkRequestsAvailable_Call

MarkRequestsAvailable is a helper method to define mock.On call

  • ctx context.Context
  • mediaType string
  • mediaID uint32

func (*MockTx_Expecter) MovieCreateTimesSince

func (_e *MockTx_Expecter) MovieCreateTimesSince(ctx interface{}, since interface{}) *MockTx_MovieCreateTimesSince_Call

MovieCreateTimesSince is a helper method to define mock.On call

  • ctx context.Context
  • since time.Time

func (*MockTx_Expecter) MovieHasMediaFile

func (_e *MockTx_Expecter) MovieHasMediaFile(ctx interface{}, tmdbID interface{}) *MockTx_MovieHasMediaFile_Call

MovieHasMediaFile is a helper method to define mock.On call

  • ctx context.Context
  • tmdbID uint32

func (*MockTx_Expecter) PurgeExpiredSessions

func (_e *MockTx_Expecter) PurgeExpiredSessions(ctx interface{}, before interface{}) *MockTx_PurgeExpiredSessions_Call

PurgeExpiredSessions is a helper method to define mock.On call

  • ctx context.Context
  • before time.Time

func (*MockTx_Expecter) RecentActivity

func (_e *MockTx_Expecter) RecentActivity(ctx interface{}, f interface{}) *MockTx_RecentActivity_Call

RecentActivity is a helper method to define mock.On call

  • ctx context.Context
  • f db.ActivityFilter

func (*MockTx_Expecter) ReconcileEpisodes

func (_e *MockTx_Expecter) ReconcileEpisodes(ctx interface{}, showID interface{}, seasons interface{}) *MockTx_ReconcileEpisodes_Call

ReconcileEpisodes is a helper method to define mock.On call

  • ctx context.Context
  • showID uint32
  • seasons []db.SeasonSeed

func (*MockTx_Expecter) RecordEpisodeImportSuccess

func (_e *MockTx_Expecter) RecordEpisodeImportSuccess(ctx interface{}, p interface{}) *MockTx_RecordEpisodeImportSuccess_Call

RecordEpisodeImportSuccess is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordEpisodeImportSuccessParams

func (*MockTx_Expecter) RecordImportFailure

func (_e *MockTx_Expecter) RecordImportFailure(ctx interface{}, p interface{}) *MockTx_RecordImportFailure_Call

RecordImportFailure is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordImportFailureParams

func (*MockTx_Expecter) RecordImportSuccess

func (_e *MockTx_Expecter) RecordImportSuccess(ctx interface{}, p interface{}) *MockTx_RecordImportSuccess_Call

RecordImportSuccess is a helper method to define mock.On call

  • ctx context.Context
  • p db.RecordImportSuccessParams

func (*MockTx_Expecter) ReopenRequest

func (_e *MockTx_Expecter) ReopenRequest(ctx interface{}, id interface{}) *MockTx_ReopenRequest_Call

ReopenRequest is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) ResetEpisodeGrabFailures

func (_e *MockTx_Expecter) ResetEpisodeGrabFailures(ctx interface{}, id interface{}) *MockTx_ResetEpisodeGrabFailures_Call

ResetEpisodeGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) ResetMovieGrabFailures

func (_e *MockTx_Expecter) ResetMovieGrabFailures(ctx interface{}, id interface{}) *MockTx_ResetMovieGrabFailures_Call

ResetMovieGrabFailures is a helper method to define mock.On call

  • ctx context.Context
  • id uint32

func (*MockTx_Expecter) RevertMovieToWantedIfNoFile

func (_e *MockTx_Expecter) RevertMovieToWantedIfNoFile(ctx interface{}, movieID interface{}) *MockTx_RevertMovieToWantedIfNoFile_Call

RevertMovieToWantedIfNoFile is a helper method to define mock.On call

  • ctx context.Context
  • movieID uint32

func (*MockTx_Expecter) RevertOrphanedDownloadingEpisodes

func (_e *MockTx_Expecter) RevertOrphanedDownloadingEpisodes(ctx interface{}) *MockTx_RevertOrphanedDownloadingEpisodes_Call

RevertOrphanedDownloadingEpisodes is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) RevokeAllUserSessions

func (_e *MockTx_Expecter) RevokeAllUserSessions(ctx interface{}, userID interface{}, when interface{}) *MockTx_RevokeAllUserSessions_Call

RevokeAllUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • when time.Time

func (*MockTx_Expecter) RevokeInvite

func (_e *MockTx_Expecter) RevokeInvite(ctx interface{}, id interface{}, now interface{}) *MockTx_RevokeInvite_Call

RevokeInvite is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • now time.Time

func (*MockTx_Expecter) RevokeOtherUserSessions

func (_e *MockTx_Expecter) RevokeOtherUserSessions(ctx interface{}, userID interface{}, keepJTI interface{}, when interface{}) *MockTx_RevokeOtherUserSessions_Call

RevokeOtherUserSessions is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • keepJTI string
  • when time.Time

func (*MockTx_Expecter) RevokeSessionByJTI

func (_e *MockTx_Expecter) RevokeSessionByJTI(ctx interface{}, jti interface{}, when interface{}) *MockTx_RevokeSessionByJTI_Call

RevokeSessionByJTI is a helper method to define mock.On call

  • ctx context.Context
  • jti string
  • when time.Time

func (*MockTx_Expecter) RevokeUserSessionByID

func (_e *MockTx_Expecter) RevokeUserSessionByID(ctx interface{}, userID interface{}, sessionID interface{}, when interface{}) *MockTx_RevokeUserSessionByID_Call

RevokeUserSessionByID is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • sessionID uint32
  • when time.Time

func (*MockTx_Expecter) Rollback

func (_e *MockTx_Expecter) Rollback() *MockTx_Rollback_Call

Rollback is a helper method to define mock.On call

func (*MockTx_Expecter) SetDownloadRecordSavePath

func (_e *MockTx_Expecter) SetDownloadRecordSavePath(ctx interface{}, id interface{}, path interface{}) *MockTx_SetDownloadRecordSavePath_Call

SetDownloadRecordSavePath is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • path string

func (*MockTx_Expecter) SetEpisodeLastSearchAt

func (_e *MockTx_Expecter) SetEpisodeLastSearchAt(ctx interface{}, id interface{}, when interface{}) *MockTx_SetEpisodeLastSearchAt_Call

SetEpisodeLastSearchAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockTx_Expecter) SetEpisodeMonitored

func (_e *MockTx_Expecter) SetEpisodeMonitored(ctx interface{}, id interface{}, monitored interface{}) *MockTx_SetEpisodeMonitored_Call

SetEpisodeMonitored is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • monitored bool

func (*MockTx_Expecter) SetEpisodeStatus

func (_e *MockTx_Expecter) SetEpisodeStatus(ctx interface{}, id interface{}, status interface{}) *MockTx_SetEpisodeStatus_Call

SetEpisodeStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status episode.Status

func (*MockTx_Expecter) SetMovieDigitalReleaseDate

func (_e *MockTx_Expecter) SetMovieDigitalReleaseDate(ctx interface{}, id interface{}, date interface{}) *MockTx_SetMovieDigitalReleaseDate_Call

SetMovieDigitalReleaseDate is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • date *time.Time

func (*MockTx_Expecter) SetMovieLastSearchAt

func (_e *MockTx_Expecter) SetMovieLastSearchAt(ctx interface{}, id interface{}, when interface{}) *MockTx_SetMovieLastSearchAt_Call

SetMovieLastSearchAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockTx_Expecter) SetSeasonMonitored

func (_e *MockTx_Expecter) SetSeasonMonitored(ctx interface{}, id interface{}, monitored interface{}) *MockTx_SetSeasonMonitored_Call

SetSeasonMonitored is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • monitored bool

func (*MockTx_Expecter) SetTVShowRefreshedAt

func (_e *MockTx_Expecter) SetTVShowRefreshedAt(ctx interface{}, id interface{}, when interface{}) *MockTx_SetTVShowRefreshedAt_Call

SetTVShowRefreshedAt is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • when time.Time

func (*MockTx_Expecter) SetTorrentSessionCompleted added in v1.1.0

func (_e *MockTx_Expecter) SetTorrentSessionCompleted(ctx interface{}, infoHash interface{}, at interface{}) *MockTx_SetTorrentSessionCompleted_Call

SetTorrentSessionCompleted is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • at time.Time

func (*MockTx_Expecter) SetTorrentSessionName added in v1.1.0

func (_e *MockTx_Expecter) SetTorrentSessionName(ctx interface{}, infoHash interface{}, name interface{}) *MockTx_SetTorrentSessionName_Call

SetTorrentSessionName is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • name string

func (*MockTx_Expecter) SetTorrentSessionPaused added in v1.1.0

func (_e *MockTx_Expecter) SetTorrentSessionPaused(ctx interface{}, infoHash interface{}, paused interface{}) *MockTx_SetTorrentSessionPaused_Call

SetTorrentSessionPaused is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string
  • paused bool

func (*MockTx_Expecter) SetTorrentSessionSeedStopped added in v1.1.0

func (_e *MockTx_Expecter) SetTorrentSessionSeedStopped(ctx interface{}, infoHash interface{}) *MockTx_SetTorrentSessionSeedStopped_Call

SetTorrentSessionSeedStopped is a helper method to define mock.On call

  • ctx context.Context
  • infoHash string

func (*MockTx_Expecter) SyncSeasonDownloadStateForRecord

func (_e *MockTx_Expecter) SyncSeasonDownloadStateForRecord(ctx interface{}, recordID interface{}, paused interface{}) *MockTx_SyncSeasonDownloadStateForRecord_Call

SyncSeasonDownloadStateForRecord is a helper method to define mock.On call

  • ctx context.Context
  • recordID uint32
  • paused bool

func (*MockTx_Expecter) TouchAPIKey added in v1.3.0

func (_e *MockTx_Expecter) TouchAPIKey(ctx interface{}, id interface{}, at interface{}) *MockTx_TouchAPIKey_Call

TouchAPIKey is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • at time.Time

func (*MockTx_Expecter) TouchSession

func (_e *MockTx_Expecter) TouchSession(ctx interface{}, jti interface{}, when interface{}) *MockTx_TouchSession_Call

TouchSession is a helper method to define mock.On call

  • ctx context.Context
  • jti string
  • when time.Time

func (*MockTx_Expecter) TruncateSessions

func (_e *MockTx_Expecter) TruncateSessions(ctx interface{}) *MockTx_TruncateSessions_Call

TruncateSessions is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) Tx

func (_e *MockTx_Expecter) Tx(ctx interface{}) *MockTx_Tx_Call

Tx is a helper method to define mock.On call

  • ctx context.Context

func (*MockTx_Expecter) UpcomingReleases

func (_e *MockTx_Expecter) UpcomingReleases(ctx interface{}, from interface{}, to interface{}) *MockTx_UpcomingReleases_Call

UpcomingReleases is a helper method to define mock.On call

  • ctx context.Context
  • from time.Time
  • to time.Time

func (*MockTx_Expecter) UpdateDownloadRecordStatus

func (_e *MockTx_Expecter) UpdateDownloadRecordStatus(ctx interface{}, id interface{}, status interface{}) *MockTx_UpdateDownloadRecordStatus_Call

UpdateDownloadRecordStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status downloadrecord.Status

func (*MockTx_Expecter) UpdateImportScanFileDecision

func (_e *MockTx_Expecter) UpdateImportScanFileDecision(ctx interface{}, scanID interface{}, fileID interface{}, decision interface{}, tmdbID interface{}) *MockTx_UpdateImportScanFileDecision_Call

UpdateImportScanFileDecision is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • fileID uint32
  • decision importscanfile.Decision
  • tmdbID *uint32

func (*MockTx_Expecter) UpdateImportScanFileOutcome

func (_e *MockTx_Expecter) UpdateImportScanFileOutcome(ctx interface{}, id interface{}, outcome interface{}, opts interface{}) *MockTx_UpdateImportScanFileOutcome_Call

UpdateImportScanFileOutcome is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • outcome importscanfile.Outcome
  • opts db.UpdateScanFileOutcomeOpts

func (*MockTx_Expecter) UpdateImportScanShowDecision

func (_e *MockTx_Expecter) UpdateImportScanShowDecision(ctx interface{}, scanID interface{}, showID interface{}, decision interface{}, tvdbID interface{}) *MockTx_UpdateImportScanShowDecision_Call

UpdateImportScanShowDecision is a helper method to define mock.On call

  • ctx context.Context
  • scanID uint32
  • showID uint32
  • decision importscanshow.Decision
  • tvdbID *uint32

func (*MockTx_Expecter) UpdateImportScanShowOutcome

func (_e *MockTx_Expecter) UpdateImportScanShowOutcome(ctx interface{}, id interface{}, outcome interface{}, opts interface{}) *MockTx_UpdateImportScanShowOutcome_Call

UpdateImportScanShowOutcome is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • outcome importscanshow.Outcome
  • opts db.UpdateScanShowOutcomeOpts

func (*MockTx_Expecter) UpdateImportScanStatus

func (_e *MockTx_Expecter) UpdateImportScanStatus(ctx interface{}, id interface{}, status interface{}, opts interface{}) *MockTx_UpdateImportScanStatus_Call

UpdateImportScanStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status importscan.Status
  • opts db.UpdateScanStatusOpts

func (*MockTx_Expecter) UpdateMediaFilePath

func (_e *MockTx_Expecter) UpdateMediaFilePath(ctx interface{}, id interface{}, path interface{}) *MockTx_UpdateMediaFilePath_Call

UpdateMediaFilePath is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • path string

func (*MockTx_Expecter) UpdateMovie

func (_e *MockTx_Expecter) UpdateMovie(ctx interface{}, id interface{}, p interface{}) *MockTx_UpdateMovie_Call

UpdateMovie is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateMovieParams

func (*MockTx_Expecter) UpdateMovieMetadata

func (_e *MockTx_Expecter) UpdateMovieMetadata(ctx interface{}, id interface{}, p interface{}) *MockTx_UpdateMovieMetadata_Call

UpdateMovieMetadata is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateMovieMetadataParams

func (*MockTx_Expecter) UpdateMovieStatus

func (_e *MockTx_Expecter) UpdateMovieStatus(ctx interface{}, id interface{}, status interface{}) *MockTx_UpdateMovieStatus_Call

UpdateMovieStatus is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • status movie.Status

func (*MockTx_Expecter) UpdateTVShow

func (_e *MockTx_Expecter) UpdateTVShow(ctx interface{}, id interface{}, p interface{}) *MockTx_UpdateTVShow_Call

UpdateTVShow is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateTVShowParams

func (*MockTx_Expecter) UpdateTVShowMetadata

func (_e *MockTx_Expecter) UpdateTVShowMetadata(ctx interface{}, id interface{}, p interface{}) *MockTx_UpdateTVShowMetadata_Call

UpdateTVShowMetadata is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateTVShowMetadataParams

func (*MockTx_Expecter) UpdateUser

func (_e *MockTx_Expecter) UpdateUser(ctx interface{}, id interface{}, p interface{}) *MockTx_UpdateUser_Call

UpdateUser is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • p db.UpdateUserParams

func (*MockTx_Expecter) UpdateUserPassword

func (_e *MockTx_Expecter) UpdateUserPassword(ctx interface{}, id interface{}, hash interface{}) *MockTx_UpdateUserPassword_Call

UpdateUserPassword is a helper method to define mock.On call

  • ctx context.Context
  • id uint32
  • hash string

func (*MockTx_Expecter) UserSessionExists

func (_e *MockTx_Expecter) UserSessionExists(ctx interface{}, userID interface{}, sessionID interface{}) *MockTx_UserSessionExists_Call

UserSessionExists is a helper method to define mock.On call

  • ctx context.Context
  • userID uint32
  • sessionID uint32

type MockTx_FilterImportScanFiles_Call

type MockTx_FilterImportScanFiles_Call struct {
	*mock.Call
}

MockTx_FilterImportScanFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterImportScanFiles'

func (*MockTx_FilterImportScanFiles_Call) Return

func (*MockTx_FilterImportScanFiles_Call) Run

type MockTx_FilterMovies_Call

type MockTx_FilterMovies_Call struct {
	*mock.Call
}

MockTx_FilterMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterMovies'

func (*MockTx_FilterMovies_Call) Return

func (_c *MockTx_FilterMovies_Call) Return(_a0 []*ent.Movie, _a1 int, _a2 error) *MockTx_FilterMovies_Call

func (*MockTx_FilterMovies_Call) Run

func (*MockTx_FilterMovies_Call) RunAndReturn

type MockTx_FindAPIKeyByHash_Call

type MockTx_FindAPIKeyByHash_Call struct {
	*mock.Call
}

MockTx_FindAPIKeyByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAPIKeyByHash'

func (*MockTx_FindAPIKeyByHash_Call) Return

func (*MockTx_FindAPIKeyByHash_Call) Run

func (*MockTx_FindAPIKeyByHash_Call) RunAndReturn

type MockTx_FindActiveDownloadRecordByID_Call

type MockTx_FindActiveDownloadRecordByID_Call struct {
	*mock.Call
}

MockTx_FindActiveDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindActiveDownloadRecordByID'

func (*MockTx_FindActiveDownloadRecordByID_Call) Return

func (*MockTx_FindActiveDownloadRecordByID_Call) Run

func (*MockTx_FindActiveDownloadRecordByID_Call) RunAndReturn

type MockTx_FindActiveRequest_Call

type MockTx_FindActiveRequest_Call struct {
	*mock.Call
}

MockTx_FindActiveRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindActiveRequest'

func (*MockTx_FindActiveRequest_Call) Return

func (*MockTx_FindActiveRequest_Call) Run

func (_c *MockTx_FindActiveRequest_Call) Run(run func(ctx context.Context, mediaType string, mediaID uint32)) *MockTx_FindActiveRequest_Call

func (*MockTx_FindActiveRequest_Call) RunAndReturn

type MockTx_FindImportScanFile_Call

type MockTx_FindImportScanFile_Call struct {
	*mock.Call
}

MockTx_FindImportScanFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScanFile'

func (*MockTx_FindImportScanFile_Call) Return

func (*MockTx_FindImportScanFile_Call) Run

func (*MockTx_FindImportScanFile_Call) RunAndReturn

type MockTx_FindImportScanShow_Call

type MockTx_FindImportScanShow_Call struct {
	*mock.Call
}

MockTx_FindImportScanShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScanShow'

func (*MockTx_FindImportScanShow_Call) Return

func (*MockTx_FindImportScanShow_Call) Run

func (*MockTx_FindImportScanShow_Call) RunAndReturn

type MockTx_FindImportScan_Call

type MockTx_FindImportScan_Call struct {
	*mock.Call
}

MockTx_FindImportScan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportScan'

func (*MockTx_FindImportScan_Call) Return

func (*MockTx_FindImportScan_Call) Run

func (*MockTx_FindImportScan_Call) RunAndReturn

type MockTx_FindImportingDownloadRecordByID_Call

type MockTx_FindImportingDownloadRecordByID_Call struct {
	*mock.Call
}

MockTx_FindImportingDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindImportingDownloadRecordByID'

func (*MockTx_FindImportingDownloadRecordByID_Call) Return

func (*MockTx_FindImportingDownloadRecordByID_Call) Run

func (*MockTx_FindImportingDownloadRecordByID_Call) RunAndReturn

type MockTx_FindInviteByTokenHash_Call

type MockTx_FindInviteByTokenHash_Call struct {
	*mock.Call
}

MockTx_FindInviteByTokenHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindInviteByTokenHash'

func (*MockTx_FindInviteByTokenHash_Call) Return

func (*MockTx_FindInviteByTokenHash_Call) Run

func (*MockTx_FindInviteByTokenHash_Call) RunAndReturn

type MockTx_FindMediaFileByEpisodeID_Call

type MockTx_FindMediaFileByEpisodeID_Call struct {
	*mock.Call
}

MockTx_FindMediaFileByEpisodeID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaFileByEpisodeID'

func (*MockTx_FindMediaFileByEpisodeID_Call) Return

func (*MockTx_FindMediaFileByEpisodeID_Call) Run

func (*MockTx_FindMediaFileByEpisodeID_Call) RunAndReturn

type MockTx_FindMediaFileByID_Call

type MockTx_FindMediaFileByID_Call struct {
	*mock.Call
}

MockTx_FindMediaFileByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaFileByID'

func (*MockTx_FindMediaFileByID_Call) Return

func (*MockTx_FindMediaFileByID_Call) Run

func (*MockTx_FindMediaFileByID_Call) RunAndReturn

type MockTx_FindMovieByID_Call

type MockTx_FindMovieByID_Call struct {
	*mock.Call
}

MockTx_FindMovieByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMovieByID'

func (*MockTx_FindMovieByID_Call) Return

func (*MockTx_FindMovieByID_Call) Run

func (*MockTx_FindMovieByID_Call) RunAndReturn

type MockTx_FindMovieByTMDBID_Call

type MockTx_FindMovieByTMDBID_Call struct {
	*mock.Call
}

MockTx_FindMovieByTMDBID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMovieByTMDBID'

func (*MockTx_FindMovieByTMDBID_Call) Return

func (*MockTx_FindMovieByTMDBID_Call) Run

func (*MockTx_FindMovieByTMDBID_Call) RunAndReturn

type MockTx_FindMoviesByTMDBIDs_Call

type MockTx_FindMoviesByTMDBIDs_Call struct {
	*mock.Call
}

MockTx_FindMoviesByTMDBIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMoviesByTMDBIDs'

func (*MockTx_FindMoviesByTMDBIDs_Call) Return

func (*MockTx_FindMoviesByTMDBIDs_Call) Run

func (*MockTx_FindMoviesByTMDBIDs_Call) RunAndReturn

type MockTx_FindOIDCIdentity_Call

type MockTx_FindOIDCIdentity_Call struct {
	*mock.Call
}

MockTx_FindOIDCIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOIDCIdentity'

func (*MockTx_FindOIDCIdentity_Call) Return

func (*MockTx_FindOIDCIdentity_Call) Run

func (_c *MockTx_FindOIDCIdentity_Call) Run(run func(ctx context.Context, provider string, subject string)) *MockTx_FindOIDCIdentity_Call

func (*MockTx_FindOIDCIdentity_Call) RunAndReturn

type MockTx_FindOpenImportScanForSource_Call

type MockTx_FindOpenImportScanForSource_Call struct {
	*mock.Call
}

MockTx_FindOpenImportScanForSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOpenImportScanForSource'

func (*MockTx_FindOpenImportScanForSource_Call) Return

func (*MockTx_FindOpenImportScanForSource_Call) Run

func (*MockTx_FindOpenImportScanForSource_Call) RunAndReturn

type MockTx_FindPendingDownloadRecordByID_Call

type MockTx_FindPendingDownloadRecordByID_Call struct {
	*mock.Call
}

MockTx_FindPendingDownloadRecordByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindPendingDownloadRecordByID'

func (*MockTx_FindPendingDownloadRecordByID_Call) Return

func (*MockTx_FindPendingDownloadRecordByID_Call) Run

func (*MockTx_FindPendingDownloadRecordByID_Call) RunAndReturn

type MockTx_FindSessionByJTI_Call

type MockTx_FindSessionByJTI_Call struct {
	*mock.Call
}

MockTx_FindSessionByJTI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSessionByJTI'

func (*MockTx_FindSessionByJTI_Call) Return

func (*MockTx_FindSessionByJTI_Call) Run

func (*MockTx_FindSessionByJTI_Call) RunAndReturn

type MockTx_FindTVShowByID_Call

type MockTx_FindTVShowByID_Call struct {
	*mock.Call
}

MockTx_FindTVShowByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTVShowByID'

func (*MockTx_FindTVShowByID_Call) Return

func (*MockTx_FindTVShowByID_Call) Run

func (*MockTx_FindTVShowByID_Call) RunAndReturn

type MockTx_FindTVShowByTVDBID_Call

type MockTx_FindTVShowByTVDBID_Call struct {
	*mock.Call
}

MockTx_FindTVShowByTVDBID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindTVShowByTVDBID'

func (*MockTx_FindTVShowByTVDBID_Call) Return

func (*MockTx_FindTVShowByTVDBID_Call) Run

func (*MockTx_FindTVShowByTVDBID_Call) RunAndReturn

type MockTx_FindUnusedInviteForEmail_Call

type MockTx_FindUnusedInviteForEmail_Call struct {
	*mock.Call
}

MockTx_FindUnusedInviteForEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUnusedInviteForEmail'

func (*MockTx_FindUnusedInviteForEmail_Call) Return

func (*MockTx_FindUnusedInviteForEmail_Call) Run

func (*MockTx_FindUnusedInviteForEmail_Call) RunAndReturn

type MockTx_FindUserByEmail_Call

type MockTx_FindUserByEmail_Call struct {
	*mock.Call
}

MockTx_FindUserByEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUserByEmail'

func (*MockTx_FindUserByEmail_Call) Return

func (*MockTx_FindUserByEmail_Call) Run

func (*MockTx_FindUserByEmail_Call) RunAndReturn

type MockTx_FindUserByID_Call

type MockTx_FindUserByID_Call struct {
	*mock.Call
}

MockTx_FindUserByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindUserByID'

func (*MockTx_FindUserByID_Call) Return

func (*MockTx_FindUserByID_Call) Run

func (*MockTx_FindUserByID_Call) RunAndReturn

type MockTx_GetRequest_Call

type MockTx_GetRequest_Call struct {
	*mock.Call
}

MockTx_GetRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRequest'

func (*MockTx_GetRequest_Call) Return

func (*MockTx_GetRequest_Call) Run

func (*MockTx_GetRequest_Call) RunAndReturn

type MockTx_IncrementEpisodeGrabFailures_Call

type MockTx_IncrementEpisodeGrabFailures_Call struct {
	*mock.Call
}

MockTx_IncrementEpisodeGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementEpisodeGrabFailures'

func (*MockTx_IncrementEpisodeGrabFailures_Call) Return

func (*MockTx_IncrementEpisodeGrabFailures_Call) Run

func (*MockTx_IncrementEpisodeGrabFailures_Call) RunAndReturn

type MockTx_IncrementImportScanProgress_Call

type MockTx_IncrementImportScanProgress_Call struct {
	*mock.Call
}

MockTx_IncrementImportScanProgress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementImportScanProgress'

func (*MockTx_IncrementImportScanProgress_Call) Return

func (*MockTx_IncrementImportScanProgress_Call) Run

func (*MockTx_IncrementImportScanProgress_Call) RunAndReturn

type MockTx_IncrementMovieGrabFailures_Call

type MockTx_IncrementMovieGrabFailures_Call struct {
	*mock.Call
}

MockTx_IncrementMovieGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncrementMovieGrabFailures'

func (*MockTx_IncrementMovieGrabFailures_Call) Return

func (*MockTx_IncrementMovieGrabFailures_Call) Run

func (*MockTx_IncrementMovieGrabFailures_Call) RunAndReturn

type MockTx_LatestImportedRecordForEpisode_Call

type MockTx_LatestImportedRecordForEpisode_Call struct {
	*mock.Call
}

MockTx_LatestImportedRecordForEpisode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestImportedRecordForEpisode'

func (*MockTx_LatestImportedRecordForEpisode_Call) Return

func (*MockTx_LatestImportedRecordForEpisode_Call) Run

func (*MockTx_LatestImportedRecordForEpisode_Call) RunAndReturn

type MockTx_LatestImportedRecordForMovie_Call

type MockTx_LatestImportedRecordForMovie_Call struct {
	*mock.Call
}

MockTx_LatestImportedRecordForMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestImportedRecordForMovie'

func (*MockTx_LatestImportedRecordForMovie_Call) Return

func (*MockTx_LatestImportedRecordForMovie_Call) Run

func (*MockTx_LatestImportedRecordForMovie_Call) RunAndReturn

type MockTx_ListAPIKeysByUser_Call

type MockTx_ListAPIKeysByUser_Call struct {
	*mock.Call
}

MockTx_ListAPIKeysByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAPIKeysByUser'

func (*MockTx_ListAPIKeysByUser_Call) Return

func (*MockTx_ListAPIKeysByUser_Call) Run

func (*MockTx_ListAPIKeysByUser_Call) RunAndReturn

type MockTx_ListActiveDownloadRecords_Call

type MockTx_ListActiveDownloadRecords_Call struct {
	*mock.Call
}

MockTx_ListActiveDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListActiveDownloadRecords'

func (*MockTx_ListActiveDownloadRecords_Call) Return

func (*MockTx_ListActiveDownloadRecords_Call) Run

func (*MockTx_ListActiveDownloadRecords_Call) RunAndReturn

type MockTx_ListAllEpisodeMediaFilePaths_Call

type MockTx_ListAllEpisodeMediaFilePaths_Call struct {
	*mock.Call
}

MockTx_ListAllEpisodeMediaFilePaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllEpisodeMediaFilePaths'

func (*MockTx_ListAllEpisodeMediaFilePaths_Call) Return

func (*MockTx_ListAllEpisodeMediaFilePaths_Call) Run

func (*MockTx_ListAllEpisodeMediaFilePaths_Call) RunAndReturn

type MockTx_ListAllMediaFilesWithOwners_Call added in v1.2.0

type MockTx_ListAllMediaFilesWithOwners_Call struct {
	*mock.Call
}

MockTx_ListAllMediaFilesWithOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAllMediaFilesWithOwners'

func (*MockTx_ListAllMediaFilesWithOwners_Call) Return added in v1.2.0

func (*MockTx_ListAllMediaFilesWithOwners_Call) Run added in v1.2.0

func (*MockTx_ListAllMediaFilesWithOwners_Call) RunAndReturn added in v1.2.0

type MockTx_ListDownloadHistory_Call

type MockTx_ListDownloadHistory_Call struct {
	*mock.Call
}

MockTx_ListDownloadHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDownloadHistory'

func (*MockTx_ListDownloadHistory_Call) Return

func (*MockTx_ListDownloadHistory_Call) Run

func (*MockTx_ListDownloadHistory_Call) RunAndReturn

type MockTx_ListDownloadingRecordsWithMovie_Call

type MockTx_ListDownloadingRecordsWithMovie_Call struct {
	*mock.Call
}

MockTx_ListDownloadingRecordsWithMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListDownloadingRecordsWithMovie'

func (*MockTx_ListDownloadingRecordsWithMovie_Call) Return

func (*MockTx_ListDownloadingRecordsWithMovie_Call) Run

func (*MockTx_ListDownloadingRecordsWithMovie_Call) RunAndReturn

type MockTx_ListEligibleEpisodesForSync_Call added in v1.2.0

type MockTx_ListEligibleEpisodesForSync_Call struct {
	*mock.Call
}

MockTx_ListEligibleEpisodesForSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEligibleEpisodesForSync'

func (*MockTx_ListEligibleEpisodesForSync_Call) Return added in v1.2.0

func (*MockTx_ListEligibleEpisodesForSync_Call) Run added in v1.2.0

func (_c *MockTx_ListEligibleEpisodesForSync_Call) Run(run func(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time, airedBefore time.Time)) *MockTx_ListEligibleEpisodesForSync_Call

func (*MockTx_ListEligibleEpisodesForSync_Call) RunAndReturn added in v1.2.0

type MockTx_ListEligibleMoviesForSync_Call

type MockTx_ListEligibleMoviesForSync_Call struct {
	*mock.Call
}

MockTx_ListEligibleMoviesForSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListEligibleMoviesForSync'

func (*MockTx_ListEligibleMoviesForSync_Call) Return

func (*MockTx_ListEligibleMoviesForSync_Call) Run

func (_c *MockTx_ListEligibleMoviesForSync_Call) Run(run func(ctx context.Context, maxGrabFailures uint8, notSearchedSince time.Time)) *MockTx_ListEligibleMoviesForSync_Call

func (*MockTx_ListEligibleMoviesForSync_Call) RunAndReturn

type MockTx_ListImportScanFilesForCommit_Call

type MockTx_ListImportScanFilesForCommit_Call struct {
	*mock.Call
}

MockTx_ListImportScanFilesForCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanFilesForCommit'

func (*MockTx_ListImportScanFilesForCommit_Call) Return

func (*MockTx_ListImportScanFilesForCommit_Call) Run

func (*MockTx_ListImportScanFilesForCommit_Call) RunAndReturn

type MockTx_ListImportScanShowsForCommit_Call

type MockTx_ListImportScanShowsForCommit_Call struct {
	*mock.Call
}

MockTx_ListImportScanShowsForCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanShowsForCommit'

func (*MockTx_ListImportScanShowsForCommit_Call) Return

func (*MockTx_ListImportScanShowsForCommit_Call) Run

func (*MockTx_ListImportScanShowsForCommit_Call) RunAndReturn

type MockTx_ListImportScanShows_Call

type MockTx_ListImportScanShows_Call struct {
	*mock.Call
}

MockTx_ListImportScanShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScanShows'

func (*MockTx_ListImportScanShows_Call) Return

func (*MockTx_ListImportScanShows_Call) Run

func (*MockTx_ListImportScanShows_Call) RunAndReturn

type MockTx_ListImportScans_Call

type MockTx_ListImportScans_Call struct {
	*mock.Call
}

MockTx_ListImportScans_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportScans'

func (*MockTx_ListImportScans_Call) Return

func (*MockTx_ListImportScans_Call) Run

func (*MockTx_ListImportScans_Call) RunAndReturn

type MockTx_ListImportingDownloadRecords_Call

type MockTx_ListImportingDownloadRecords_Call struct {
	*mock.Call
}

MockTx_ListImportingDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImportingDownloadRecords'

func (*MockTx_ListImportingDownloadRecords_Call) Return

func (*MockTx_ListImportingDownloadRecords_Call) Run

func (*MockTx_ListImportingDownloadRecords_Call) RunAndReturn

type MockTx_ListInvites_Call

type MockTx_ListInvites_Call struct {
	*mock.Call
}

MockTx_ListInvites_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInvites'

func (*MockTx_ListInvites_Call) Return

func (*MockTx_ListInvites_Call) Run

func (*MockTx_ListInvites_Call) RunAndReturn

func (_c *MockTx_ListInvites_Call) RunAndReturn(run func(context.Context) ([]*ent.Invite, error)) *MockTx_ListInvites_Call

type MockTx_ListMediaFilesByMovieID_Call

type MockTx_ListMediaFilesByMovieID_Call struct {
	*mock.Call
}

MockTx_ListMediaFilesByMovieID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMediaFilesByMovieID'

func (*MockTx_ListMediaFilesByMovieID_Call) Return

func (*MockTx_ListMediaFilesByMovieID_Call) Run

func (*MockTx_ListMediaFilesByMovieID_Call) RunAndReturn

type MockTx_ListMoviesForAdoption_Call

type MockTx_ListMoviesForAdoption_Call struct {
	*mock.Call
}

MockTx_ListMoviesForAdoption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMoviesForAdoption'

func (*MockTx_ListMoviesForAdoption_Call) Return

func (*MockTx_ListMoviesForAdoption_Call) Run

func (*MockTx_ListMoviesForAdoption_Call) RunAndReturn

type MockTx_ListMoviesStaleSince_Call

type MockTx_ListMoviesStaleSince_Call struct {
	*mock.Call
}

MockTx_ListMoviesStaleSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMoviesStaleSince'

func (*MockTx_ListMoviesStaleSince_Call) Return

func (*MockTx_ListMoviesStaleSince_Call) Run

func (*MockTx_ListMoviesStaleSince_Call) RunAndReturn

type MockTx_ListMovies_Call

type MockTx_ListMovies_Call struct {
	*mock.Call
}

MockTx_ListMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMovies'

func (*MockTx_ListMovies_Call) Return

func (_c *MockTx_ListMovies_Call) Return(_a0 []*ent.Movie, _a1 error) *MockTx_ListMovies_Call

func (*MockTx_ListMovies_Call) Run

func (_c *MockTx_ListMovies_Call) Run(run func(ctx context.Context, offset uint32, limit uint32)) *MockTx_ListMovies_Call

func (*MockTx_ListMovies_Call) RunAndReturn

type MockTx_ListPendingDownloadRecords_Call

type MockTx_ListPendingDownloadRecords_Call struct {
	*mock.Call
}

MockTx_ListPendingDownloadRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingDownloadRecords'

func (*MockTx_ListPendingDownloadRecords_Call) Return

func (*MockTx_ListPendingDownloadRecords_Call) Run

func (*MockTx_ListPendingDownloadRecords_Call) RunAndReturn

type MockTx_ListPendingImportScanFilePaths_Call

type MockTx_ListPendingImportScanFilePaths_Call struct {
	*mock.Call
}

MockTx_ListPendingImportScanFilePaths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingImportScanFilePaths'

func (*MockTx_ListPendingImportScanFilePaths_Call) Return

func (*MockTx_ListPendingImportScanFilePaths_Call) Run

func (*MockTx_ListPendingImportScanFilePaths_Call) RunAndReturn

type MockTx_ListPendingImportScanShowFolders_Call

type MockTx_ListPendingImportScanShowFolders_Call struct {
	*mock.Call
}

MockTx_ListPendingImportScanShowFolders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPendingImportScanShowFolders'

func (*MockTx_ListPendingImportScanShowFolders_Call) Return

func (*MockTx_ListPendingImportScanShowFolders_Call) Run

func (*MockTx_ListPendingImportScanShowFolders_Call) RunAndReturn

type MockTx_ListRequests_Call

type MockTx_ListRequests_Call struct {
	*mock.Call
}

MockTx_ListRequests_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRequests'

func (*MockTx_ListRequests_Call) Return

func (_c *MockTx_ListRequests_Call) Return(_a0 []*ent.Request, _a1 int, _a2 error) *MockTx_ListRequests_Call

func (*MockTx_ListRequests_Call) Run

func (*MockTx_ListRequests_Call) RunAndReturn

type MockTx_ListTVShows_Call

type MockTx_ListTVShows_Call struct {
	*mock.Call
}

MockTx_ListTVShows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTVShows'

func (*MockTx_ListTVShows_Call) Return

func (*MockTx_ListTVShows_Call) Run

func (_c *MockTx_ListTVShows_Call) Run(run func(ctx context.Context, offset uint32, limit uint32)) *MockTx_ListTVShows_Call

func (*MockTx_ListTVShows_Call) RunAndReturn

type MockTx_ListTorrentSessions_Call added in v1.1.0

type MockTx_ListTorrentSessions_Call struct {
	*mock.Call
}

MockTx_ListTorrentSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTorrentSessions'

func (*MockTx_ListTorrentSessions_Call) Return added in v1.1.0

func (*MockTx_ListTorrentSessions_Call) Run added in v1.1.0

func (*MockTx_ListTorrentSessions_Call) RunAndReturn added in v1.1.0

type MockTx_ListTvShowsForAdoption_Call

type MockTx_ListTvShowsForAdoption_Call struct {
	*mock.Call
}

MockTx_ListTvShowsForAdoption_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTvShowsForAdoption'

func (*MockTx_ListTvShowsForAdoption_Call) Return

func (*MockTx_ListTvShowsForAdoption_Call) Run

func (*MockTx_ListTvShowsForAdoption_Call) RunAndReturn

type MockTx_ListUpcomingEpisodes_Call

type MockTx_ListUpcomingEpisodes_Call struct {
	*mock.Call
}

MockTx_ListUpcomingEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUpcomingEpisodes'

func (*MockTx_ListUpcomingEpisodes_Call) Return

func (*MockTx_ListUpcomingEpisodes_Call) Run

func (*MockTx_ListUpcomingEpisodes_Call) RunAndReturn

type MockTx_ListUserSessions_Call

type MockTx_ListUserSessions_Call struct {
	*mock.Call
}

MockTx_ListUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserSessions'

func (*MockTx_ListUserSessions_Call) Return

func (*MockTx_ListUserSessions_Call) Run

func (*MockTx_ListUserSessions_Call) RunAndReturn

type MockTx_ListUsers_Call

type MockTx_ListUsers_Call struct {
	*mock.Call
}

MockTx_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'

func (*MockTx_ListUsers_Call) Return

func (_c *MockTx_ListUsers_Call) Return(_a0 []*ent.User, _a1 int, _a2 error) *MockTx_ListUsers_Call

func (*MockTx_ListUsers_Call) Run

func (*MockTx_ListUsers_Call) RunAndReturn

type MockTx_ListWantedEpisodes_Call

type MockTx_ListWantedEpisodes_Call struct {
	*mock.Call
}

MockTx_ListWantedEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWantedEpisodes'

func (*MockTx_ListWantedEpisodes_Call) Return

func (*MockTx_ListWantedEpisodes_Call) Run

func (*MockTx_ListWantedEpisodes_Call) RunAndReturn

type MockTx_ListWantedMovies_Call

type MockTx_ListWantedMovies_Call struct {
	*mock.Call
}

MockTx_ListWantedMovies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWantedMovies'

func (*MockTx_ListWantedMovies_Call) Return

func (*MockTx_ListWantedMovies_Call) Run

func (*MockTx_ListWantedMovies_Call) RunAndReturn

type MockTx_MarkDownloadRecordReplaceExisting_Call

type MockTx_MarkDownloadRecordReplaceExisting_Call struct {
	*mock.Call
}

MockTx_MarkDownloadRecordReplaceExisting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkDownloadRecordReplaceExisting'

func (*MockTx_MarkDownloadRecordReplaceExisting_Call) Return

func (*MockTx_MarkDownloadRecordReplaceExisting_Call) Run

func (*MockTx_MarkDownloadRecordReplaceExisting_Call) RunAndReturn

type MockTx_MarkRequestsAvailable_Call

type MockTx_MarkRequestsAvailable_Call struct {
	*mock.Call
}

MockTx_MarkRequestsAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkRequestsAvailable'

func (*MockTx_MarkRequestsAvailable_Call) Return

func (*MockTx_MarkRequestsAvailable_Call) Run

func (*MockTx_MarkRequestsAvailable_Call) RunAndReturn

type MockTx_MovieCreateTimesSince_Call

type MockTx_MovieCreateTimesSince_Call struct {
	*mock.Call
}

MockTx_MovieCreateTimesSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MovieCreateTimesSince'

func (*MockTx_MovieCreateTimesSince_Call) Return

func (*MockTx_MovieCreateTimesSince_Call) Run

func (*MockTx_MovieCreateTimesSince_Call) RunAndReturn

type MockTx_MovieHasMediaFile_Call

type MockTx_MovieHasMediaFile_Call struct {
	*mock.Call
}

MockTx_MovieHasMediaFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MovieHasMediaFile'

func (*MockTx_MovieHasMediaFile_Call) Return

func (*MockTx_MovieHasMediaFile_Call) Run

func (*MockTx_MovieHasMediaFile_Call) RunAndReturn

type MockTx_PurgeExpiredSessions_Call

type MockTx_PurgeExpiredSessions_Call struct {
	*mock.Call
}

MockTx_PurgeExpiredSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PurgeExpiredSessions'

func (*MockTx_PurgeExpiredSessions_Call) Return

func (*MockTx_PurgeExpiredSessions_Call) Run

func (*MockTx_PurgeExpiredSessions_Call) RunAndReturn

type MockTx_RecentActivity_Call

type MockTx_RecentActivity_Call struct {
	*mock.Call
}

MockTx_RecentActivity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecentActivity'

func (*MockTx_RecentActivity_Call) Return

func (*MockTx_RecentActivity_Call) Run

func (*MockTx_RecentActivity_Call) RunAndReturn

type MockTx_ReconcileEpisodes_Call

type MockTx_ReconcileEpisodes_Call struct {
	*mock.Call
}

MockTx_ReconcileEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReconcileEpisodes'

func (*MockTx_ReconcileEpisodes_Call) Return

func (*MockTx_ReconcileEpisodes_Call) Run

func (*MockTx_ReconcileEpisodes_Call) RunAndReturn

type MockTx_RecordEpisodeImportSuccess_Call

type MockTx_RecordEpisodeImportSuccess_Call struct {
	*mock.Call
}

MockTx_RecordEpisodeImportSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordEpisodeImportSuccess'

func (*MockTx_RecordEpisodeImportSuccess_Call) Return

func (*MockTx_RecordEpisodeImportSuccess_Call) Run

type MockTx_RecordImportFailure_Call

type MockTx_RecordImportFailure_Call struct {
	*mock.Call
}

MockTx_RecordImportFailure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordImportFailure'

func (*MockTx_RecordImportFailure_Call) Return

func (*MockTx_RecordImportFailure_Call) Run

func (*MockTx_RecordImportFailure_Call) RunAndReturn

type MockTx_RecordImportSuccess_Call

type MockTx_RecordImportSuccess_Call struct {
	*mock.Call
}

MockTx_RecordImportSuccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordImportSuccess'

func (*MockTx_RecordImportSuccess_Call) Return

func (*MockTx_RecordImportSuccess_Call) Run

func (*MockTx_RecordImportSuccess_Call) RunAndReturn

type MockTx_ReopenRequest_Call

type MockTx_ReopenRequest_Call struct {
	*mock.Call
}

MockTx_ReopenRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReopenRequest'

func (*MockTx_ReopenRequest_Call) Return

func (*MockTx_ReopenRequest_Call) Run

func (*MockTx_ReopenRequest_Call) RunAndReturn

type MockTx_ResetEpisodeGrabFailures_Call

type MockTx_ResetEpisodeGrabFailures_Call struct {
	*mock.Call
}

MockTx_ResetEpisodeGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetEpisodeGrabFailures'

func (*MockTx_ResetEpisodeGrabFailures_Call) Return

func (*MockTx_ResetEpisodeGrabFailures_Call) Run

func (*MockTx_ResetEpisodeGrabFailures_Call) RunAndReturn

type MockTx_ResetMovieGrabFailures_Call

type MockTx_ResetMovieGrabFailures_Call struct {
	*mock.Call
}

MockTx_ResetMovieGrabFailures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetMovieGrabFailures'

func (*MockTx_ResetMovieGrabFailures_Call) Return

func (*MockTx_ResetMovieGrabFailures_Call) Run

func (*MockTx_ResetMovieGrabFailures_Call) RunAndReturn

type MockTx_RevertMovieToWantedIfNoFile_Call

type MockTx_RevertMovieToWantedIfNoFile_Call struct {
	*mock.Call
}

MockTx_RevertMovieToWantedIfNoFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevertMovieToWantedIfNoFile'

func (*MockTx_RevertMovieToWantedIfNoFile_Call) Return

func (*MockTx_RevertMovieToWantedIfNoFile_Call) Run

func (*MockTx_RevertMovieToWantedIfNoFile_Call) RunAndReturn

type MockTx_RevertOrphanedDownloadingEpisodes_Call

type MockTx_RevertOrphanedDownloadingEpisodes_Call struct {
	*mock.Call
}

MockTx_RevertOrphanedDownloadingEpisodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevertOrphanedDownloadingEpisodes'

func (*MockTx_RevertOrphanedDownloadingEpisodes_Call) Return

func (*MockTx_RevertOrphanedDownloadingEpisodes_Call) Run

func (*MockTx_RevertOrphanedDownloadingEpisodes_Call) RunAndReturn

type MockTx_RevokeAllUserSessions_Call

type MockTx_RevokeAllUserSessions_Call struct {
	*mock.Call
}

MockTx_RevokeAllUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAllUserSessions'

func (*MockTx_RevokeAllUserSessions_Call) Return

func (*MockTx_RevokeAllUserSessions_Call) Run

func (*MockTx_RevokeAllUserSessions_Call) RunAndReturn

type MockTx_RevokeInvite_Call

type MockTx_RevokeInvite_Call struct {
	*mock.Call
}

MockTx_RevokeInvite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeInvite'

func (*MockTx_RevokeInvite_Call) Return

func (*MockTx_RevokeInvite_Call) Run

func (*MockTx_RevokeInvite_Call) RunAndReturn

type MockTx_RevokeOtherUserSessions_Call

type MockTx_RevokeOtherUserSessions_Call struct {
	*mock.Call
}

MockTx_RevokeOtherUserSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeOtherUserSessions'

func (*MockTx_RevokeOtherUserSessions_Call) Return

func (*MockTx_RevokeOtherUserSessions_Call) Run

func (*MockTx_RevokeOtherUserSessions_Call) RunAndReturn

type MockTx_RevokeSessionByJTI_Call

type MockTx_RevokeSessionByJTI_Call struct {
	*mock.Call
}

MockTx_RevokeSessionByJTI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeSessionByJTI'

func (*MockTx_RevokeSessionByJTI_Call) Return

func (*MockTx_RevokeSessionByJTI_Call) Run

func (*MockTx_RevokeSessionByJTI_Call) RunAndReturn

type MockTx_RevokeUserSessionByID_Call

type MockTx_RevokeUserSessionByID_Call struct {
	*mock.Call
}

MockTx_RevokeUserSessionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeUserSessionByID'

func (*MockTx_RevokeUserSessionByID_Call) Return

func (*MockTx_RevokeUserSessionByID_Call) Run

func (*MockTx_RevokeUserSessionByID_Call) RunAndReturn

type MockTx_Rollback_Call

type MockTx_Rollback_Call struct {
	*mock.Call
}

MockTx_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'

func (*MockTx_Rollback_Call) Return

func (*MockTx_Rollback_Call) Run

func (_c *MockTx_Rollback_Call) Run(run func()) *MockTx_Rollback_Call

func (*MockTx_Rollback_Call) RunAndReturn

func (_c *MockTx_Rollback_Call) RunAndReturn(run func() error) *MockTx_Rollback_Call

type MockTx_SetDownloadRecordSavePath_Call

type MockTx_SetDownloadRecordSavePath_Call struct {
	*mock.Call
}

MockTx_SetDownloadRecordSavePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDownloadRecordSavePath'

func (*MockTx_SetDownloadRecordSavePath_Call) Return

func (*MockTx_SetDownloadRecordSavePath_Call) Run

func (*MockTx_SetDownloadRecordSavePath_Call) RunAndReturn

type MockTx_SetEpisodeLastSearchAt_Call

type MockTx_SetEpisodeLastSearchAt_Call struct {
	*mock.Call
}

MockTx_SetEpisodeLastSearchAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeLastSearchAt'

func (*MockTx_SetEpisodeLastSearchAt_Call) Return

func (*MockTx_SetEpisodeLastSearchAt_Call) Run

func (*MockTx_SetEpisodeLastSearchAt_Call) RunAndReturn

type MockTx_SetEpisodeMonitored_Call

type MockTx_SetEpisodeMonitored_Call struct {
	*mock.Call
}

MockTx_SetEpisodeMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeMonitored'

func (*MockTx_SetEpisodeMonitored_Call) Return

func (*MockTx_SetEpisodeMonitored_Call) Run

func (*MockTx_SetEpisodeMonitored_Call) RunAndReturn

type MockTx_SetEpisodeStatus_Call

type MockTx_SetEpisodeStatus_Call struct {
	*mock.Call
}

MockTx_SetEpisodeStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEpisodeStatus'

func (*MockTx_SetEpisodeStatus_Call) Return

func (*MockTx_SetEpisodeStatus_Call) Run

func (*MockTx_SetEpisodeStatus_Call) RunAndReturn

type MockTx_SetMovieDigitalReleaseDate_Call

type MockTx_SetMovieDigitalReleaseDate_Call struct {
	*mock.Call
}

MockTx_SetMovieDigitalReleaseDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMovieDigitalReleaseDate'

func (*MockTx_SetMovieDigitalReleaseDate_Call) Return

func (*MockTx_SetMovieDigitalReleaseDate_Call) Run

func (*MockTx_SetMovieDigitalReleaseDate_Call) RunAndReturn

type MockTx_SetMovieLastSearchAt_Call

type MockTx_SetMovieLastSearchAt_Call struct {
	*mock.Call
}

MockTx_SetMovieLastSearchAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMovieLastSearchAt'

func (*MockTx_SetMovieLastSearchAt_Call) Return

func (*MockTx_SetMovieLastSearchAt_Call) Run

func (*MockTx_SetMovieLastSearchAt_Call) RunAndReturn

type MockTx_SetSeasonMonitored_Call

type MockTx_SetSeasonMonitored_Call struct {
	*mock.Call
}

MockTx_SetSeasonMonitored_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSeasonMonitored'

func (*MockTx_SetSeasonMonitored_Call) Return

func (*MockTx_SetSeasonMonitored_Call) Run

func (*MockTx_SetSeasonMonitored_Call) RunAndReturn

type MockTx_SetTVShowRefreshedAt_Call

type MockTx_SetTVShowRefreshedAt_Call struct {
	*mock.Call
}

MockTx_SetTVShowRefreshedAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTVShowRefreshedAt'

func (*MockTx_SetTVShowRefreshedAt_Call) Return

func (*MockTx_SetTVShowRefreshedAt_Call) Run

func (*MockTx_SetTVShowRefreshedAt_Call) RunAndReturn

type MockTx_SetTorrentSessionCompleted_Call added in v1.1.0

type MockTx_SetTorrentSessionCompleted_Call struct {
	*mock.Call
}

MockTx_SetTorrentSessionCompleted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionCompleted'

func (*MockTx_SetTorrentSessionCompleted_Call) Return added in v1.1.0

func (*MockTx_SetTorrentSessionCompleted_Call) Run added in v1.1.0

func (*MockTx_SetTorrentSessionCompleted_Call) RunAndReturn added in v1.1.0

type MockTx_SetTorrentSessionName_Call added in v1.1.0

type MockTx_SetTorrentSessionName_Call struct {
	*mock.Call
}

MockTx_SetTorrentSessionName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionName'

func (*MockTx_SetTorrentSessionName_Call) Return added in v1.1.0

func (*MockTx_SetTorrentSessionName_Call) Run added in v1.1.0

func (*MockTx_SetTorrentSessionName_Call) RunAndReturn added in v1.1.0

type MockTx_SetTorrentSessionPaused_Call added in v1.1.0

type MockTx_SetTorrentSessionPaused_Call struct {
	*mock.Call
}

MockTx_SetTorrentSessionPaused_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionPaused'

func (*MockTx_SetTorrentSessionPaused_Call) Return added in v1.1.0

func (*MockTx_SetTorrentSessionPaused_Call) Run added in v1.1.0

func (*MockTx_SetTorrentSessionPaused_Call) RunAndReturn added in v1.1.0

type MockTx_SetTorrentSessionSeedStopped_Call added in v1.1.0

type MockTx_SetTorrentSessionSeedStopped_Call struct {
	*mock.Call
}

MockTx_SetTorrentSessionSeedStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTorrentSessionSeedStopped'

func (*MockTx_SetTorrentSessionSeedStopped_Call) Return added in v1.1.0

func (*MockTx_SetTorrentSessionSeedStopped_Call) Run added in v1.1.0

func (*MockTx_SetTorrentSessionSeedStopped_Call) RunAndReturn added in v1.1.0

type MockTx_SyncSeasonDownloadStateForRecord_Call

type MockTx_SyncSeasonDownloadStateForRecord_Call struct {
	*mock.Call
}

MockTx_SyncSeasonDownloadStateForRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncSeasonDownloadStateForRecord'

func (*MockTx_SyncSeasonDownloadStateForRecord_Call) Return

func (*MockTx_SyncSeasonDownloadStateForRecord_Call) Run

func (*MockTx_SyncSeasonDownloadStateForRecord_Call) RunAndReturn

type MockTx_TouchAPIKey_Call added in v1.3.0

type MockTx_TouchAPIKey_Call struct {
	*mock.Call
}

MockTx_TouchAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TouchAPIKey'

func (*MockTx_TouchAPIKey_Call) Return added in v1.3.0

func (*MockTx_TouchAPIKey_Call) Run added in v1.3.0

func (*MockTx_TouchAPIKey_Call) RunAndReturn added in v1.3.0

type MockTx_TouchSession_Call

type MockTx_TouchSession_Call struct {
	*mock.Call
}

MockTx_TouchSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TouchSession'

func (*MockTx_TouchSession_Call) Return

func (*MockTx_TouchSession_Call) Run

func (*MockTx_TouchSession_Call) RunAndReturn

type MockTx_TruncateSessions_Call

type MockTx_TruncateSessions_Call struct {
	*mock.Call
}

MockTx_TruncateSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TruncateSessions'

func (*MockTx_TruncateSessions_Call) Return

func (*MockTx_TruncateSessions_Call) Run

func (*MockTx_TruncateSessions_Call) RunAndReturn

type MockTx_Tx_Call

type MockTx_Tx_Call struct {
	*mock.Call
}

MockTx_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'

func (*MockTx_Tx_Call) Return

func (_c *MockTx_Tx_Call) Return(_a0 db.Tx, _a1 error) *MockTx_Tx_Call

func (*MockTx_Tx_Call) Run

func (_c *MockTx_Tx_Call) Run(run func(ctx context.Context)) *MockTx_Tx_Call

func (*MockTx_Tx_Call) RunAndReturn

func (_c *MockTx_Tx_Call) RunAndReturn(run func(context.Context) (db.Tx, error)) *MockTx_Tx_Call

type MockTx_UpcomingReleases_Call

type MockTx_UpcomingReleases_Call struct {
	*mock.Call
}

MockTx_UpcomingReleases_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpcomingReleases'

func (*MockTx_UpcomingReleases_Call) Return

func (*MockTx_UpcomingReleases_Call) Run

func (*MockTx_UpcomingReleases_Call) RunAndReturn

type MockTx_UpdateDownloadRecordStatus_Call

type MockTx_UpdateDownloadRecordStatus_Call struct {
	*mock.Call
}

MockTx_UpdateDownloadRecordStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateDownloadRecordStatus'

func (*MockTx_UpdateDownloadRecordStatus_Call) Return

func (*MockTx_UpdateDownloadRecordStatus_Call) Run

func (*MockTx_UpdateDownloadRecordStatus_Call) RunAndReturn

type MockTx_UpdateImportScanFileDecision_Call

type MockTx_UpdateImportScanFileDecision_Call struct {
	*mock.Call
}

MockTx_UpdateImportScanFileDecision_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanFileDecision'

func (*MockTx_UpdateImportScanFileDecision_Call) Return

func (*MockTx_UpdateImportScanFileDecision_Call) Run

func (*MockTx_UpdateImportScanFileDecision_Call) RunAndReturn

type MockTx_UpdateImportScanFileOutcome_Call

type MockTx_UpdateImportScanFileOutcome_Call struct {
	*mock.Call
}

MockTx_UpdateImportScanFileOutcome_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanFileOutcome'

func (*MockTx_UpdateImportScanFileOutcome_Call) Return

func (*MockTx_UpdateImportScanFileOutcome_Call) Run

type MockTx_UpdateImportScanShowDecision_Call

type MockTx_UpdateImportScanShowDecision_Call struct {
	*mock.Call
}

MockTx_UpdateImportScanShowDecision_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanShowDecision'

func (*MockTx_UpdateImportScanShowDecision_Call) Return

func (*MockTx_UpdateImportScanShowDecision_Call) Run

func (*MockTx_UpdateImportScanShowDecision_Call) RunAndReturn

type MockTx_UpdateImportScanShowOutcome_Call

type MockTx_UpdateImportScanShowOutcome_Call struct {
	*mock.Call
}

MockTx_UpdateImportScanShowOutcome_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanShowOutcome'

func (*MockTx_UpdateImportScanShowOutcome_Call) Return

func (*MockTx_UpdateImportScanShowOutcome_Call) Run

type MockTx_UpdateImportScanStatus_Call

type MockTx_UpdateImportScanStatus_Call struct {
	*mock.Call
}

MockTx_UpdateImportScanStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateImportScanStatus'

func (*MockTx_UpdateImportScanStatus_Call) Return

func (*MockTx_UpdateImportScanStatus_Call) Run

type MockTx_UpdateMediaFilePath_Call

type MockTx_UpdateMediaFilePath_Call struct {
	*mock.Call
}

MockTx_UpdateMediaFilePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMediaFilePath'

func (*MockTx_UpdateMediaFilePath_Call) Return

func (*MockTx_UpdateMediaFilePath_Call) Run

func (*MockTx_UpdateMediaFilePath_Call) RunAndReturn

type MockTx_UpdateMovieMetadata_Call

type MockTx_UpdateMovieMetadata_Call struct {
	*mock.Call
}

MockTx_UpdateMovieMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovieMetadata'

func (*MockTx_UpdateMovieMetadata_Call) Return

func (*MockTx_UpdateMovieMetadata_Call) Run

func (*MockTx_UpdateMovieMetadata_Call) RunAndReturn

type MockTx_UpdateMovieStatus_Call

type MockTx_UpdateMovieStatus_Call struct {
	*mock.Call
}

MockTx_UpdateMovieStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovieStatus'

func (*MockTx_UpdateMovieStatus_Call) Return

func (*MockTx_UpdateMovieStatus_Call) Run

func (*MockTx_UpdateMovieStatus_Call) RunAndReturn

type MockTx_UpdateMovie_Call

type MockTx_UpdateMovie_Call struct {
	*mock.Call
}

MockTx_UpdateMovie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMovie'

func (*MockTx_UpdateMovie_Call) Return

func (*MockTx_UpdateMovie_Call) Run

func (*MockTx_UpdateMovie_Call) RunAndReturn

type MockTx_UpdateTVShowMetadata_Call

type MockTx_UpdateTVShowMetadata_Call struct {
	*mock.Call
}

MockTx_UpdateTVShowMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTVShowMetadata'

func (*MockTx_UpdateTVShowMetadata_Call) Return

func (*MockTx_UpdateTVShowMetadata_Call) Run

func (*MockTx_UpdateTVShowMetadata_Call) RunAndReturn

type MockTx_UpdateTVShow_Call

type MockTx_UpdateTVShow_Call struct {
	*mock.Call
}

MockTx_UpdateTVShow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateTVShow'

func (*MockTx_UpdateTVShow_Call) Return

func (*MockTx_UpdateTVShow_Call) Run

func (*MockTx_UpdateTVShow_Call) RunAndReturn

type MockTx_UpdateUserPassword_Call

type MockTx_UpdateUserPassword_Call struct {
	*mock.Call
}

MockTx_UpdateUserPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUserPassword'

func (*MockTx_UpdateUserPassword_Call) Return

func (*MockTx_UpdateUserPassword_Call) Run

func (*MockTx_UpdateUserPassword_Call) RunAndReturn

type MockTx_UpdateUser_Call

type MockTx_UpdateUser_Call struct {
	*mock.Call
}

MockTx_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'

func (*MockTx_UpdateUser_Call) Return

func (*MockTx_UpdateUser_Call) Run

func (*MockTx_UpdateUser_Call) RunAndReturn

type MockTx_UserSessionExists_Call

type MockTx_UserSessionExists_Call struct {
	*mock.Call
}

MockTx_UserSessionExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserSessionExists'

func (*MockTx_UserSessionExists_Call) Return

func (*MockTx_UserSessionExists_Call) Run

func (_c *MockTx_UserSessionExists_Call) Run(run func(ctx context.Context, userID uint32, sessionID uint32)) *MockTx_UserSessionExists_Call

func (*MockTx_UserSessionExists_Call) RunAndReturn

Jump to

Keyboard shortcuts

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