Documentation ¶
Index ¶
- type MockStore
- func (_m *MockStore) BatchCreateUserRoles(ctx context.Context, arg []db.BatchCreateUserRolesParams) *db.BatchCreateUserRolesBatchResults
- func (_m *MockStore) BatchDeleteUserRoles(ctx context.Context, arg []db.BatchDeleteUserRolesParams) *db.BatchDeleteUserRolesBatchResults
- func (_m *MockStore) BulkCreateUserRoles(ctx context.Context, arg []db.UserRolesParams) ([]db.UserRolesParams, []error)
- func (_m *MockStore) BulkDeleteUserRoles(ctx context.Context, arg []db.UserRolesParams) []error
- func (_m *MockStore) CountLufftStationMsg(ctx context.Context, stationID int64) (int64, error)
- func (_m *MockStore) CountObservations(ctx context.Context, arg db.CountObservationsParams) (int64, error)
- func (_m *MockStore) CountRoles(ctx context.Context) (int64, error)
- func (_m *MockStore) CountStationObservations(ctx context.Context, arg db.CountStationObservationsParams) (int64, error)
- func (_m *MockStore) CountStations(ctx context.Context, status pgtype.Text) (int64, error)
- func (_m *MockStore) CountStationsWithinBBox(ctx context.Context, arg db.CountStationsWithinBBoxParams) (int64, error)
- func (_m *MockStore) CountStationsWithinRadius(ctx context.Context, arg db.CountStationsWithinRadiusParams) (int64, error)
- func (_m *MockStore) CountUsers(ctx context.Context) (int64, error)
- func (_m *MockStore) CreateCurrentObservation(ctx context.Context, arg db.CreateCurrentObservationParams) (db.ObservationsCurrent, error)
- func (_m *MockStore) CreateGLabsLoad(ctx context.Context, arg db.CreateGLabsLoadParams) (db.GlabsLoad, error)
- func (_m *MockStore) CreateRole(ctx context.Context, arg db.CreateRoleParams) (db.Role, error)
- func (_m *MockStore) CreateSession(ctx context.Context, arg db.CreateSessionParams) (db.Session, error)
- func (_m *MockStore) CreateSimAccessToken(ctx context.Context, arg db.CreateSimAccessTokenParams) (db.SimAccessToken, error)
- func (_m *MockStore) CreateSimCard(ctx context.Context, arg db.CreateSimCardParams) (db.SimCard, error)
- func (_m *MockStore) CreateStation(ctx context.Context, arg db.CreateStationParams) (db.ObservationsStation, error)
- func (_m *MockStore) CreateStationHealth(ctx context.Context, arg db.CreateStationHealthParams) (db.ObservationsStationhealth, error)
- func (_m *MockStore) CreateStationObservation(ctx context.Context, arg db.CreateStationObservationParams) (db.ObservationsObservation, error)
- func (_m *MockStore) CreateUser(ctx context.Context, arg db.CreateUserParams) (db.User, error)
- func (_m *MockStore) DeleteRole(ctx context.Context, id int64) error
- func (_m *MockStore) DeleteSession(ctx context.Context, id uuid.UUID) error
- func (_m *MockStore) DeleteSimAccessToken(ctx context.Context, accessToken string) error
- func (_m *MockStore) DeleteStation(ctx context.Context, id int64) error
- func (_m *MockStore) DeleteStationHealth(ctx context.Context, arg db.DeleteStationHealthParams) error
- func (_m *MockStore) DeleteStationObservation(ctx context.Context, arg db.DeleteStationObservationParams) error
- func (_m *MockStore) DeleteUser(ctx context.Context, id int64) error
- func (_m *MockStore) EXPECT() *MockStore_Expecter
- func (_m *MockStore) FirstOrCreateSimAccessTokenTx(ctx context.Context, arg db.FirstOrCreateSimAccessTokenTxParams) (db.FirstOrCreateSimAccessTokenTxResult, error)
- func (_m *MockStore) GetLatestStationObservation(ctx context.Context, id int64) (db.GetLatestStationObservationRow, error)
- func (_m *MockStore) GetNearestLatestStationObservation(ctx context.Context, arg db.GetNearestLatestStationObservationParams) (db.GetNearestLatestStationObservationRow, error)
- func (_m *MockStore) GetRole(ctx context.Context, id int64) (db.Role, error)
- func (_m *MockStore) GetRoleByName(ctx context.Context, name string) (db.Role, error)
- func (_m *MockStore) GetSession(ctx context.Context, id uuid.UUID) (db.Session, error)
- func (_m *MockStore) GetSimAccessToken(ctx context.Context, accessToken string) (db.SimAccessToken, error)
- func (_m *MockStore) GetSimCard(ctx context.Context, mobileNumber string) (db.SimCard, error)
- func (_m *MockStore) GetStation(ctx context.Context, id int64) (db.ObservationsStation, error)
- func (_m *MockStore) GetStationByMobileNumber(ctx context.Context, mobileNumber pgtype.Text) (db.ObservationsStation, error)
- func (_m *MockStore) GetStationHealth(ctx context.Context, arg db.GetStationHealthParams) (db.ObservationsStationhealth, error)
- func (_m *MockStore) GetStationObservation(ctx context.Context, arg db.GetStationObservationParams) (db.ObservationsObservation, error)
- func (_m *MockStore) GetUser(ctx context.Context, id int64) (db.User, error)
- func (_m *MockStore) GetUserByEmail(ctx context.Context, email string) (db.User, error)
- func (_m *MockStore) GetUserByUsername(ctx context.Context, username string) (db.User, error)
- func (_m *MockStore) InsertCurrentObservations(ctx context.Context) ([]db.ObservationsCurrent, error)
- func (_m *MockStore) ListLatestObservations(ctx context.Context) ([]db.ListLatestObservationsRow, error)
- func (_m *MockStore) ListLufftStationMsg(ctx context.Context, arg db.ListLufftStationMsgParams) ([]db.ListLufftStationMsgRow, error)
- func (_m *MockStore) ListObservations(ctx context.Context, arg db.ListObservationsParams) ([]db.ObservationsObservation, error)
- func (_m *MockStore) ListRoles(ctx context.Context, arg db.ListRolesParams) ([]db.Role, error)
- func (_m *MockStore) ListStationHealths(ctx context.Context, arg db.ListStationHealthsParams) ([]db.ObservationsStationhealth, error)
- func (_m *MockStore) ListStationObservations(ctx context.Context, arg db.ListStationObservationsParams) ([]db.ObservationsObservation, error)
- func (_m *MockStore) ListStations(ctx context.Context, arg db.ListStationsParams) ([]db.ObservationsStation, error)
- func (_m *MockStore) ListStationsWithinBBox(ctx context.Context, arg db.ListStationsWithinBBoxParams) ([]db.ObservationsStation, error)
- func (_m *MockStore) ListStationsWithinRadius(ctx context.Context, arg db.ListStationsWithinRadiusParams) ([]db.ObservationsStation, error)
- func (_m *MockStore) ListUserRoles(ctx context.Context, userID int64) ([]string, error)
- func (_m *MockStore) ListUsers(ctx context.Context, arg db.ListUsersParams) ([]db.User, error)
- func (_m *MockStore) UpdateRole(ctx context.Context, arg db.UpdateRoleParams) (db.Role, error)
- func (_m *MockStore) UpdateStation(ctx context.Context, arg db.UpdateStationParams) (db.ObservationsStation, error)
- func (_m *MockStore) UpdateStationHealth(ctx context.Context, arg db.UpdateStationHealthParams) (db.ObservationsStationhealth, error)
- func (_m *MockStore) UpdateStationObservation(ctx context.Context, arg db.UpdateStationObservationParams) (db.ObservationsObservation, error)
- func (_m *MockStore) UpdateUser(ctx context.Context, arg db.UpdateUserParams) (db.User, error)
- type MockStore_BatchCreateUserRoles_Call
- func (_c *MockStore_BatchCreateUserRoles_Call) Return(_a0 *db.BatchCreateUserRolesBatchResults) *MockStore_BatchCreateUserRoles_Call
- func (_c *MockStore_BatchCreateUserRoles_Call) Run(run func(ctx context.Context, arg []db.BatchCreateUserRolesParams)) *MockStore_BatchCreateUserRoles_Call
- func (_c *MockStore_BatchCreateUserRoles_Call) RunAndReturn(...) *MockStore_BatchCreateUserRoles_Call
- type MockStore_BatchDeleteUserRoles_Call
- func (_c *MockStore_BatchDeleteUserRoles_Call) Return(_a0 *db.BatchDeleteUserRolesBatchResults) *MockStore_BatchDeleteUserRoles_Call
- func (_c *MockStore_BatchDeleteUserRoles_Call) Run(run func(ctx context.Context, arg []db.BatchDeleteUserRolesParams)) *MockStore_BatchDeleteUserRoles_Call
- func (_c *MockStore_BatchDeleteUserRoles_Call) RunAndReturn(...) *MockStore_BatchDeleteUserRoles_Call
- type MockStore_BulkCreateUserRoles_Call
- func (_c *MockStore_BulkCreateUserRoles_Call) Return(ret []db.UserRolesParams, errs []error) *MockStore_BulkCreateUserRoles_Call
- func (_c *MockStore_BulkCreateUserRoles_Call) Run(run func(ctx context.Context, arg []db.UserRolesParams)) *MockStore_BulkCreateUserRoles_Call
- func (_c *MockStore_BulkCreateUserRoles_Call) RunAndReturn(...) *MockStore_BulkCreateUserRoles_Call
- type MockStore_BulkDeleteUserRoles_Call
- func (_c *MockStore_BulkDeleteUserRoles_Call) Return(_a0 []error) *MockStore_BulkDeleteUserRoles_Call
- func (_c *MockStore_BulkDeleteUserRoles_Call) Run(run func(ctx context.Context, arg []db.UserRolesParams)) *MockStore_BulkDeleteUserRoles_Call
- func (_c *MockStore_BulkDeleteUserRoles_Call) RunAndReturn(run func(context.Context, []db.UserRolesParams) []error) *MockStore_BulkDeleteUserRoles_Call
- type MockStore_CountLufftStationMsg_Call
- func (_c *MockStore_CountLufftStationMsg_Call) Return(_a0 int64, _a1 error) *MockStore_CountLufftStationMsg_Call
- func (_c *MockStore_CountLufftStationMsg_Call) Run(run func(ctx context.Context, stationID int64)) *MockStore_CountLufftStationMsg_Call
- func (_c *MockStore_CountLufftStationMsg_Call) RunAndReturn(run func(context.Context, int64) (int64, error)) *MockStore_CountLufftStationMsg_Call
- type MockStore_CountObservations_Call
- func (_c *MockStore_CountObservations_Call) Return(_a0 int64, _a1 error) *MockStore_CountObservations_Call
- func (_c *MockStore_CountObservations_Call) Run(run func(ctx context.Context, arg db.CountObservationsParams)) *MockStore_CountObservations_Call
- func (_c *MockStore_CountObservations_Call) RunAndReturn(run func(context.Context, db.CountObservationsParams) (int64, error)) *MockStore_CountObservations_Call
- type MockStore_CountRoles_Call
- func (_c *MockStore_CountRoles_Call) Return(_a0 int64, _a1 error) *MockStore_CountRoles_Call
- func (_c *MockStore_CountRoles_Call) Run(run func(ctx context.Context)) *MockStore_CountRoles_Call
- func (_c *MockStore_CountRoles_Call) RunAndReturn(run func(context.Context) (int64, error)) *MockStore_CountRoles_Call
- type MockStore_CountStationObservations_Call
- func (_c *MockStore_CountStationObservations_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationObservations_Call
- func (_c *MockStore_CountStationObservations_Call) Run(run func(ctx context.Context, arg db.CountStationObservationsParams)) *MockStore_CountStationObservations_Call
- func (_c *MockStore_CountStationObservations_Call) RunAndReturn(run func(context.Context, db.CountStationObservationsParams) (int64, error)) *MockStore_CountStationObservations_Call
- type MockStore_CountStationsWithinBBox_Call
- func (_c *MockStore_CountStationsWithinBBox_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationsWithinBBox_Call
- func (_c *MockStore_CountStationsWithinBBox_Call) Run(run func(ctx context.Context, arg db.CountStationsWithinBBoxParams)) *MockStore_CountStationsWithinBBox_Call
- func (_c *MockStore_CountStationsWithinBBox_Call) RunAndReturn(run func(context.Context, db.CountStationsWithinBBoxParams) (int64, error)) *MockStore_CountStationsWithinBBox_Call
- type MockStore_CountStationsWithinRadius_Call
- func (_c *MockStore_CountStationsWithinRadius_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationsWithinRadius_Call
- func (_c *MockStore_CountStationsWithinRadius_Call) Run(run func(ctx context.Context, arg db.CountStationsWithinRadiusParams)) *MockStore_CountStationsWithinRadius_Call
- func (_c *MockStore_CountStationsWithinRadius_Call) RunAndReturn(run func(context.Context, db.CountStationsWithinRadiusParams) (int64, error)) *MockStore_CountStationsWithinRadius_Call
- type MockStore_CountStations_Call
- func (_c *MockStore_CountStations_Call) Return(_a0 int64, _a1 error) *MockStore_CountStations_Call
- func (_c *MockStore_CountStations_Call) Run(run func(ctx context.Context, status pgtype.Text)) *MockStore_CountStations_Call
- func (_c *MockStore_CountStations_Call) RunAndReturn(run func(context.Context, pgtype.Text) (int64, error)) *MockStore_CountStations_Call
- type MockStore_CountUsers_Call
- func (_c *MockStore_CountUsers_Call) Return(_a0 int64, _a1 error) *MockStore_CountUsers_Call
- func (_c *MockStore_CountUsers_Call) Run(run func(ctx context.Context)) *MockStore_CountUsers_Call
- func (_c *MockStore_CountUsers_Call) RunAndReturn(run func(context.Context) (int64, error)) *MockStore_CountUsers_Call
- type MockStore_CreateCurrentObservation_Call
- func (_c *MockStore_CreateCurrentObservation_Call) Return(_a0 db.ObservationsCurrent, _a1 error) *MockStore_CreateCurrentObservation_Call
- func (_c *MockStore_CreateCurrentObservation_Call) Run(run func(ctx context.Context, arg db.CreateCurrentObservationParams)) *MockStore_CreateCurrentObservation_Call
- func (_c *MockStore_CreateCurrentObservation_Call) RunAndReturn(...) *MockStore_CreateCurrentObservation_Call
- type MockStore_CreateGLabsLoad_Call
- func (_c *MockStore_CreateGLabsLoad_Call) Return(_a0 db.GlabsLoad, _a1 error) *MockStore_CreateGLabsLoad_Call
- func (_c *MockStore_CreateGLabsLoad_Call) Run(run func(ctx context.Context, arg db.CreateGLabsLoadParams)) *MockStore_CreateGLabsLoad_Call
- func (_c *MockStore_CreateGLabsLoad_Call) RunAndReturn(run func(context.Context, db.CreateGLabsLoadParams) (db.GlabsLoad, error)) *MockStore_CreateGLabsLoad_Call
- type MockStore_CreateRole_Call
- func (_c *MockStore_CreateRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_CreateRole_Call
- func (_c *MockStore_CreateRole_Call) Run(run func(ctx context.Context, arg db.CreateRoleParams)) *MockStore_CreateRole_Call
- func (_c *MockStore_CreateRole_Call) RunAndReturn(run func(context.Context, db.CreateRoleParams) (db.Role, error)) *MockStore_CreateRole_Call
- type MockStore_CreateSession_Call
- func (_c *MockStore_CreateSession_Call) Return(_a0 db.Session, _a1 error) *MockStore_CreateSession_Call
- func (_c *MockStore_CreateSession_Call) Run(run func(ctx context.Context, arg db.CreateSessionParams)) *MockStore_CreateSession_Call
- func (_c *MockStore_CreateSession_Call) RunAndReturn(run func(context.Context, db.CreateSessionParams) (db.Session, error)) *MockStore_CreateSession_Call
- type MockStore_CreateSimAccessToken_Call
- func (_c *MockStore_CreateSimAccessToken_Call) Return(_a0 db.SimAccessToken, _a1 error) *MockStore_CreateSimAccessToken_Call
- func (_c *MockStore_CreateSimAccessToken_Call) Run(run func(ctx context.Context, arg db.CreateSimAccessTokenParams)) *MockStore_CreateSimAccessToken_Call
- func (_c *MockStore_CreateSimAccessToken_Call) RunAndReturn(...) *MockStore_CreateSimAccessToken_Call
- type MockStore_CreateSimCard_Call
- func (_c *MockStore_CreateSimCard_Call) Return(_a0 db.SimCard, _a1 error) *MockStore_CreateSimCard_Call
- func (_c *MockStore_CreateSimCard_Call) Run(run func(ctx context.Context, arg db.CreateSimCardParams)) *MockStore_CreateSimCard_Call
- func (_c *MockStore_CreateSimCard_Call) RunAndReturn(run func(context.Context, db.CreateSimCardParams) (db.SimCard, error)) *MockStore_CreateSimCard_Call
- type MockStore_CreateStationHealth_Call
- func (_c *MockStore_CreateStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_CreateStationHealth_Call
- func (_c *MockStore_CreateStationHealth_Call) Run(run func(ctx context.Context, arg db.CreateStationHealthParams)) *MockStore_CreateStationHealth_Call
- func (_c *MockStore_CreateStationHealth_Call) RunAndReturn(...) *MockStore_CreateStationHealth_Call
- type MockStore_CreateStationObservation_Call
- func (_c *MockStore_CreateStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_CreateStationObservation_Call
- func (_c *MockStore_CreateStationObservation_Call) Run(run func(ctx context.Context, arg db.CreateStationObservationParams)) *MockStore_CreateStationObservation_Call
- func (_c *MockStore_CreateStationObservation_Call) RunAndReturn(...) *MockStore_CreateStationObservation_Call
- type MockStore_CreateStation_Call
- func (_c *MockStore_CreateStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_CreateStation_Call
- func (_c *MockStore_CreateStation_Call) Run(run func(ctx context.Context, arg db.CreateStationParams)) *MockStore_CreateStation_Call
- func (_c *MockStore_CreateStation_Call) RunAndReturn(...) *MockStore_CreateStation_Call
- type MockStore_CreateUser_Call
- func (_c *MockStore_CreateUser_Call) Return(_a0 db.User, _a1 error) *MockStore_CreateUser_Call
- func (_c *MockStore_CreateUser_Call) Run(run func(ctx context.Context, arg db.CreateUserParams)) *MockStore_CreateUser_Call
- func (_c *MockStore_CreateUser_Call) RunAndReturn(run func(context.Context, db.CreateUserParams) (db.User, error)) *MockStore_CreateUser_Call
- type MockStore_DeleteRole_Call
- func (_c *MockStore_DeleteRole_Call) Return(_a0 error) *MockStore_DeleteRole_Call
- func (_c *MockStore_DeleteRole_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteRole_Call
- func (_c *MockStore_DeleteRole_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteRole_Call
- type MockStore_DeleteSession_Call
- func (_c *MockStore_DeleteSession_Call) Return(_a0 error) *MockStore_DeleteSession_Call
- func (_c *MockStore_DeleteSession_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockStore_DeleteSession_Call
- func (_c *MockStore_DeleteSession_Call) RunAndReturn(run func(context.Context, uuid.UUID) error) *MockStore_DeleteSession_Call
- type MockStore_DeleteSimAccessToken_Call
- func (_c *MockStore_DeleteSimAccessToken_Call) Return(_a0 error) *MockStore_DeleteSimAccessToken_Call
- func (_c *MockStore_DeleteSimAccessToken_Call) Run(run func(ctx context.Context, accessToken string)) *MockStore_DeleteSimAccessToken_Call
- func (_c *MockStore_DeleteSimAccessToken_Call) RunAndReturn(run func(context.Context, string) error) *MockStore_DeleteSimAccessToken_Call
- type MockStore_DeleteStationHealth_Call
- func (_c *MockStore_DeleteStationHealth_Call) Return(_a0 error) *MockStore_DeleteStationHealth_Call
- func (_c *MockStore_DeleteStationHealth_Call) Run(run func(ctx context.Context, arg db.DeleteStationHealthParams)) *MockStore_DeleteStationHealth_Call
- func (_c *MockStore_DeleteStationHealth_Call) RunAndReturn(run func(context.Context, db.DeleteStationHealthParams) error) *MockStore_DeleteStationHealth_Call
- type MockStore_DeleteStationObservation_Call
- func (_c *MockStore_DeleteStationObservation_Call) Return(_a0 error) *MockStore_DeleteStationObservation_Call
- func (_c *MockStore_DeleteStationObservation_Call) Run(run func(ctx context.Context, arg db.DeleteStationObservationParams)) *MockStore_DeleteStationObservation_Call
- func (_c *MockStore_DeleteStationObservation_Call) RunAndReturn(run func(context.Context, db.DeleteStationObservationParams) error) *MockStore_DeleteStationObservation_Call
- type MockStore_DeleteStation_Call
- func (_c *MockStore_DeleteStation_Call) Return(_a0 error) *MockStore_DeleteStation_Call
- func (_c *MockStore_DeleteStation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteStation_Call
- func (_c *MockStore_DeleteStation_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteStation_Call
- type MockStore_DeleteUser_Call
- func (_c *MockStore_DeleteUser_Call) Return(_a0 error) *MockStore_DeleteUser_Call
- func (_c *MockStore_DeleteUser_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteUser_Call
- func (_c *MockStore_DeleteUser_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteUser_Call
- type MockStore_Expecter
- func (_e *MockStore_Expecter) BatchCreateUserRoles(ctx interface{}, arg interface{}) *MockStore_BatchCreateUserRoles_Call
- func (_e *MockStore_Expecter) BatchDeleteUserRoles(ctx interface{}, arg interface{}) *MockStore_BatchDeleteUserRoles_Call
- func (_e *MockStore_Expecter) BulkCreateUserRoles(ctx interface{}, arg interface{}) *MockStore_BulkCreateUserRoles_Call
- func (_e *MockStore_Expecter) BulkDeleteUserRoles(ctx interface{}, arg interface{}) *MockStore_BulkDeleteUserRoles_Call
- func (_e *MockStore_Expecter) CountLufftStationMsg(ctx interface{}, stationID interface{}) *MockStore_CountLufftStationMsg_Call
- func (_e *MockStore_Expecter) CountObservations(ctx interface{}, arg interface{}) *MockStore_CountObservations_Call
- func (_e *MockStore_Expecter) CountRoles(ctx interface{}) *MockStore_CountRoles_Call
- func (_e *MockStore_Expecter) CountStationObservations(ctx interface{}, arg interface{}) *MockStore_CountStationObservations_Call
- func (_e *MockStore_Expecter) CountStations(ctx interface{}, status interface{}) *MockStore_CountStations_Call
- func (_e *MockStore_Expecter) CountStationsWithinBBox(ctx interface{}, arg interface{}) *MockStore_CountStationsWithinBBox_Call
- func (_e *MockStore_Expecter) CountStationsWithinRadius(ctx interface{}, arg interface{}) *MockStore_CountStationsWithinRadius_Call
- func (_e *MockStore_Expecter) CountUsers(ctx interface{}) *MockStore_CountUsers_Call
- func (_e *MockStore_Expecter) CreateCurrentObservation(ctx interface{}, arg interface{}) *MockStore_CreateCurrentObservation_Call
- func (_e *MockStore_Expecter) CreateGLabsLoad(ctx interface{}, arg interface{}) *MockStore_CreateGLabsLoad_Call
- func (_e *MockStore_Expecter) CreateRole(ctx interface{}, arg interface{}) *MockStore_CreateRole_Call
- func (_e *MockStore_Expecter) CreateSession(ctx interface{}, arg interface{}) *MockStore_CreateSession_Call
- func (_e *MockStore_Expecter) CreateSimAccessToken(ctx interface{}, arg interface{}) *MockStore_CreateSimAccessToken_Call
- func (_e *MockStore_Expecter) CreateSimCard(ctx interface{}, arg interface{}) *MockStore_CreateSimCard_Call
- func (_e *MockStore_Expecter) CreateStation(ctx interface{}, arg interface{}) *MockStore_CreateStation_Call
- func (_e *MockStore_Expecter) CreateStationHealth(ctx interface{}, arg interface{}) *MockStore_CreateStationHealth_Call
- func (_e *MockStore_Expecter) CreateStationObservation(ctx interface{}, arg interface{}) *MockStore_CreateStationObservation_Call
- func (_e *MockStore_Expecter) CreateUser(ctx interface{}, arg interface{}) *MockStore_CreateUser_Call
- func (_e *MockStore_Expecter) DeleteRole(ctx interface{}, id interface{}) *MockStore_DeleteRole_Call
- func (_e *MockStore_Expecter) DeleteSession(ctx interface{}, id interface{}) *MockStore_DeleteSession_Call
- func (_e *MockStore_Expecter) DeleteSimAccessToken(ctx interface{}, accessToken interface{}) *MockStore_DeleteSimAccessToken_Call
- func (_e *MockStore_Expecter) DeleteStation(ctx interface{}, id interface{}) *MockStore_DeleteStation_Call
- func (_e *MockStore_Expecter) DeleteStationHealth(ctx interface{}, arg interface{}) *MockStore_DeleteStationHealth_Call
- func (_e *MockStore_Expecter) DeleteStationObservation(ctx interface{}, arg interface{}) *MockStore_DeleteStationObservation_Call
- func (_e *MockStore_Expecter) DeleteUser(ctx interface{}, id interface{}) *MockStore_DeleteUser_Call
- func (_e *MockStore_Expecter) FirstOrCreateSimAccessTokenTx(ctx interface{}, arg interface{}) *MockStore_FirstOrCreateSimAccessTokenTx_Call
- func (_e *MockStore_Expecter) GetLatestStationObservation(ctx interface{}, id interface{}) *MockStore_GetLatestStationObservation_Call
- func (_e *MockStore_Expecter) GetNearestLatestStationObservation(ctx interface{}, arg interface{}) *MockStore_GetNearestLatestStationObservation_Call
- func (_e *MockStore_Expecter) GetRole(ctx interface{}, id interface{}) *MockStore_GetRole_Call
- func (_e *MockStore_Expecter) GetRoleByName(ctx interface{}, name interface{}) *MockStore_GetRoleByName_Call
- func (_e *MockStore_Expecter) GetSession(ctx interface{}, id interface{}) *MockStore_GetSession_Call
- func (_e *MockStore_Expecter) GetSimAccessToken(ctx interface{}, accessToken interface{}) *MockStore_GetSimAccessToken_Call
- func (_e *MockStore_Expecter) GetSimCard(ctx interface{}, mobileNumber interface{}) *MockStore_GetSimCard_Call
- func (_e *MockStore_Expecter) GetStation(ctx interface{}, id interface{}) *MockStore_GetStation_Call
- func (_e *MockStore_Expecter) GetStationByMobileNumber(ctx interface{}, mobileNumber interface{}) *MockStore_GetStationByMobileNumber_Call
- func (_e *MockStore_Expecter) GetStationHealth(ctx interface{}, arg interface{}) *MockStore_GetStationHealth_Call
- func (_e *MockStore_Expecter) GetStationObservation(ctx interface{}, arg interface{}) *MockStore_GetStationObservation_Call
- func (_e *MockStore_Expecter) GetUser(ctx interface{}, id interface{}) *MockStore_GetUser_Call
- func (_e *MockStore_Expecter) GetUserByEmail(ctx interface{}, email interface{}) *MockStore_GetUserByEmail_Call
- func (_e *MockStore_Expecter) GetUserByUsername(ctx interface{}, username interface{}) *MockStore_GetUserByUsername_Call
- func (_e *MockStore_Expecter) InsertCurrentObservations(ctx interface{}) *MockStore_InsertCurrentObservations_Call
- func (_e *MockStore_Expecter) ListLatestObservations(ctx interface{}) *MockStore_ListLatestObservations_Call
- func (_e *MockStore_Expecter) ListLufftStationMsg(ctx interface{}, arg interface{}) *MockStore_ListLufftStationMsg_Call
- func (_e *MockStore_Expecter) ListObservations(ctx interface{}, arg interface{}) *MockStore_ListObservations_Call
- func (_e *MockStore_Expecter) ListRoles(ctx interface{}, arg interface{}) *MockStore_ListRoles_Call
- func (_e *MockStore_Expecter) ListStationHealths(ctx interface{}, arg interface{}) *MockStore_ListStationHealths_Call
- func (_e *MockStore_Expecter) ListStationObservations(ctx interface{}, arg interface{}) *MockStore_ListStationObservations_Call
- func (_e *MockStore_Expecter) ListStations(ctx interface{}, arg interface{}) *MockStore_ListStations_Call
- func (_e *MockStore_Expecter) ListStationsWithinBBox(ctx interface{}, arg interface{}) *MockStore_ListStationsWithinBBox_Call
- func (_e *MockStore_Expecter) ListStationsWithinRadius(ctx interface{}, arg interface{}) *MockStore_ListStationsWithinRadius_Call
- func (_e *MockStore_Expecter) ListUserRoles(ctx interface{}, userID interface{}) *MockStore_ListUserRoles_Call
- func (_e *MockStore_Expecter) ListUsers(ctx interface{}, arg interface{}) *MockStore_ListUsers_Call
- func (_e *MockStore_Expecter) UpdateRole(ctx interface{}, arg interface{}) *MockStore_UpdateRole_Call
- func (_e *MockStore_Expecter) UpdateStation(ctx interface{}, arg interface{}) *MockStore_UpdateStation_Call
- func (_e *MockStore_Expecter) UpdateStationHealth(ctx interface{}, arg interface{}) *MockStore_UpdateStationHealth_Call
- func (_e *MockStore_Expecter) UpdateStationObservation(ctx interface{}, arg interface{}) *MockStore_UpdateStationObservation_Call
- func (_e *MockStore_Expecter) UpdateUser(ctx interface{}, arg interface{}) *MockStore_UpdateUser_Call
- type MockStore_FirstOrCreateSimAccessTokenTx_Call
- func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) Return(_a0 db.FirstOrCreateSimAccessTokenTxResult, _a1 error) *MockStore_FirstOrCreateSimAccessTokenTx_Call
- func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) Run(run func(ctx context.Context, arg db.FirstOrCreateSimAccessTokenTxParams)) *MockStore_FirstOrCreateSimAccessTokenTx_Call
- func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) RunAndReturn(...) *MockStore_FirstOrCreateSimAccessTokenTx_Call
- type MockStore_GetLatestStationObservation_Call
- func (_c *MockStore_GetLatestStationObservation_Call) Return(_a0 db.GetLatestStationObservationRow, _a1 error) *MockStore_GetLatestStationObservation_Call
- func (_c *MockStore_GetLatestStationObservation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetLatestStationObservation_Call
- func (_c *MockStore_GetLatestStationObservation_Call) RunAndReturn(run func(context.Context, int64) (db.GetLatestStationObservationRow, error)) *MockStore_GetLatestStationObservation_Call
- type MockStore_GetNearestLatestStationObservation_Call
- func (_c *MockStore_GetNearestLatestStationObservation_Call) Return(_a0 db.GetNearestLatestStationObservationRow, _a1 error) *MockStore_GetNearestLatestStationObservation_Call
- func (_c *MockStore_GetNearestLatestStationObservation_Call) Run(run func(ctx context.Context, arg db.GetNearestLatestStationObservationParams)) *MockStore_GetNearestLatestStationObservation_Call
- func (_c *MockStore_GetNearestLatestStationObservation_Call) RunAndReturn(...) *MockStore_GetNearestLatestStationObservation_Call
- type MockStore_GetRoleByName_Call
- func (_c *MockStore_GetRoleByName_Call) Return(_a0 db.Role, _a1 error) *MockStore_GetRoleByName_Call
- func (_c *MockStore_GetRoleByName_Call) Run(run func(ctx context.Context, name string)) *MockStore_GetRoleByName_Call
- func (_c *MockStore_GetRoleByName_Call) RunAndReturn(run func(context.Context, string) (db.Role, error)) *MockStore_GetRoleByName_Call
- type MockStore_GetRole_Call
- func (_c *MockStore_GetRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_GetRole_Call
- func (_c *MockStore_GetRole_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetRole_Call
- func (_c *MockStore_GetRole_Call) RunAndReturn(run func(context.Context, int64) (db.Role, error)) *MockStore_GetRole_Call
- type MockStore_GetSession_Call
- func (_c *MockStore_GetSession_Call) Return(_a0 db.Session, _a1 error) *MockStore_GetSession_Call
- func (_c *MockStore_GetSession_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockStore_GetSession_Call
- func (_c *MockStore_GetSession_Call) RunAndReturn(run func(context.Context, uuid.UUID) (db.Session, error)) *MockStore_GetSession_Call
- type MockStore_GetSimAccessToken_Call
- func (_c *MockStore_GetSimAccessToken_Call) Return(_a0 db.SimAccessToken, _a1 error) *MockStore_GetSimAccessToken_Call
- func (_c *MockStore_GetSimAccessToken_Call) Run(run func(ctx context.Context, accessToken string)) *MockStore_GetSimAccessToken_Call
- func (_c *MockStore_GetSimAccessToken_Call) RunAndReturn(run func(context.Context, string) (db.SimAccessToken, error)) *MockStore_GetSimAccessToken_Call
- type MockStore_GetSimCard_Call
- func (_c *MockStore_GetSimCard_Call) Return(_a0 db.SimCard, _a1 error) *MockStore_GetSimCard_Call
- func (_c *MockStore_GetSimCard_Call) Run(run func(ctx context.Context, mobileNumber string)) *MockStore_GetSimCard_Call
- func (_c *MockStore_GetSimCard_Call) RunAndReturn(run func(context.Context, string) (db.SimCard, error)) *MockStore_GetSimCard_Call
- type MockStore_GetStationByMobileNumber_Call
- func (_c *MockStore_GetStationByMobileNumber_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_GetStationByMobileNumber_Call
- func (_c *MockStore_GetStationByMobileNumber_Call) Run(run func(ctx context.Context, mobileNumber pgtype.Text)) *MockStore_GetStationByMobileNumber_Call
- func (_c *MockStore_GetStationByMobileNumber_Call) RunAndReturn(run func(context.Context, pgtype.Text) (db.ObservationsStation, error)) *MockStore_GetStationByMobileNumber_Call
- type MockStore_GetStationHealth_Call
- func (_c *MockStore_GetStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_GetStationHealth_Call
- func (_c *MockStore_GetStationHealth_Call) Run(run func(ctx context.Context, arg db.GetStationHealthParams)) *MockStore_GetStationHealth_Call
- func (_c *MockStore_GetStationHealth_Call) RunAndReturn(...) *MockStore_GetStationHealth_Call
- type MockStore_GetStationObservation_Call
- func (_c *MockStore_GetStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_GetStationObservation_Call
- func (_c *MockStore_GetStationObservation_Call) Run(run func(ctx context.Context, arg db.GetStationObservationParams)) *MockStore_GetStationObservation_Call
- func (_c *MockStore_GetStationObservation_Call) RunAndReturn(...) *MockStore_GetStationObservation_Call
- type MockStore_GetStation_Call
- func (_c *MockStore_GetStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_GetStation_Call
- func (_c *MockStore_GetStation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetStation_Call
- func (_c *MockStore_GetStation_Call) RunAndReturn(run func(context.Context, int64) (db.ObservationsStation, error)) *MockStore_GetStation_Call
- type MockStore_GetUserByEmail_Call
- func (_c *MockStore_GetUserByEmail_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUserByEmail_Call
- func (_c *MockStore_GetUserByEmail_Call) Run(run func(ctx context.Context, email string)) *MockStore_GetUserByEmail_Call
- func (_c *MockStore_GetUserByEmail_Call) RunAndReturn(run func(context.Context, string) (db.User, error)) *MockStore_GetUserByEmail_Call
- type MockStore_GetUserByUsername_Call
- func (_c *MockStore_GetUserByUsername_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUserByUsername_Call
- func (_c *MockStore_GetUserByUsername_Call) Run(run func(ctx context.Context, username string)) *MockStore_GetUserByUsername_Call
- func (_c *MockStore_GetUserByUsername_Call) RunAndReturn(run func(context.Context, string) (db.User, error)) *MockStore_GetUserByUsername_Call
- type MockStore_GetUser_Call
- func (_c *MockStore_GetUser_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUser_Call
- func (_c *MockStore_GetUser_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetUser_Call
- func (_c *MockStore_GetUser_Call) RunAndReturn(run func(context.Context, int64) (db.User, error)) *MockStore_GetUser_Call
- type MockStore_InsertCurrentObservations_Call
- func (_c *MockStore_InsertCurrentObservations_Call) Return(_a0 []db.ObservationsCurrent, _a1 error) *MockStore_InsertCurrentObservations_Call
- func (_c *MockStore_InsertCurrentObservations_Call) Run(run func(ctx context.Context)) *MockStore_InsertCurrentObservations_Call
- func (_c *MockStore_InsertCurrentObservations_Call) RunAndReturn(run func(context.Context) ([]db.ObservationsCurrent, error)) *MockStore_InsertCurrentObservations_Call
- type MockStore_ListLatestObservations_Call
- func (_c *MockStore_ListLatestObservations_Call) Return(_a0 []db.ListLatestObservationsRow, _a1 error) *MockStore_ListLatestObservations_Call
- func (_c *MockStore_ListLatestObservations_Call) Run(run func(ctx context.Context)) *MockStore_ListLatestObservations_Call
- func (_c *MockStore_ListLatestObservations_Call) RunAndReturn(run func(context.Context) ([]db.ListLatestObservationsRow, error)) *MockStore_ListLatestObservations_Call
- type MockStore_ListLufftStationMsg_Call
- func (_c *MockStore_ListLufftStationMsg_Call) Return(_a0 []db.ListLufftStationMsgRow, _a1 error) *MockStore_ListLufftStationMsg_Call
- func (_c *MockStore_ListLufftStationMsg_Call) Run(run func(ctx context.Context, arg db.ListLufftStationMsgParams)) *MockStore_ListLufftStationMsg_Call
- func (_c *MockStore_ListLufftStationMsg_Call) RunAndReturn(...) *MockStore_ListLufftStationMsg_Call
- type MockStore_ListObservations_Call
- func (_c *MockStore_ListObservations_Call) Return(_a0 []db.ObservationsObservation, _a1 error) *MockStore_ListObservations_Call
- func (_c *MockStore_ListObservations_Call) Run(run func(ctx context.Context, arg db.ListObservationsParams)) *MockStore_ListObservations_Call
- func (_c *MockStore_ListObservations_Call) RunAndReturn(...) *MockStore_ListObservations_Call
- type MockStore_ListRoles_Call
- func (_c *MockStore_ListRoles_Call) Return(_a0 []db.Role, _a1 error) *MockStore_ListRoles_Call
- func (_c *MockStore_ListRoles_Call) Run(run func(ctx context.Context, arg db.ListRolesParams)) *MockStore_ListRoles_Call
- func (_c *MockStore_ListRoles_Call) RunAndReturn(run func(context.Context, db.ListRolesParams) ([]db.Role, error)) *MockStore_ListRoles_Call
- type MockStore_ListStationHealths_Call
- func (_c *MockStore_ListStationHealths_Call) Return(_a0 []db.ObservationsStationhealth, _a1 error) *MockStore_ListStationHealths_Call
- func (_c *MockStore_ListStationHealths_Call) Run(run func(ctx context.Context, arg db.ListStationHealthsParams)) *MockStore_ListStationHealths_Call
- func (_c *MockStore_ListStationHealths_Call) RunAndReturn(...) *MockStore_ListStationHealths_Call
- type MockStore_ListStationObservations_Call
- func (_c *MockStore_ListStationObservations_Call) Return(_a0 []db.ObservationsObservation, _a1 error) *MockStore_ListStationObservations_Call
- func (_c *MockStore_ListStationObservations_Call) Run(run func(ctx context.Context, arg db.ListStationObservationsParams)) *MockStore_ListStationObservations_Call
- func (_c *MockStore_ListStationObservations_Call) RunAndReturn(...) *MockStore_ListStationObservations_Call
- type MockStore_ListStationsWithinBBox_Call
- func (_c *MockStore_ListStationsWithinBBox_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStationsWithinBBox_Call
- func (_c *MockStore_ListStationsWithinBBox_Call) Run(run func(ctx context.Context, arg db.ListStationsWithinBBoxParams)) *MockStore_ListStationsWithinBBox_Call
- func (_c *MockStore_ListStationsWithinBBox_Call) RunAndReturn(...) *MockStore_ListStationsWithinBBox_Call
- type MockStore_ListStationsWithinRadius_Call
- func (_c *MockStore_ListStationsWithinRadius_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStationsWithinRadius_Call
- func (_c *MockStore_ListStationsWithinRadius_Call) Run(run func(ctx context.Context, arg db.ListStationsWithinRadiusParams)) *MockStore_ListStationsWithinRadius_Call
- func (_c *MockStore_ListStationsWithinRadius_Call) RunAndReturn(...) *MockStore_ListStationsWithinRadius_Call
- type MockStore_ListStations_Call
- func (_c *MockStore_ListStations_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStations_Call
- func (_c *MockStore_ListStations_Call) Run(run func(ctx context.Context, arg db.ListStationsParams)) *MockStore_ListStations_Call
- func (_c *MockStore_ListStations_Call) RunAndReturn(...) *MockStore_ListStations_Call
- type MockStore_ListUserRoles_Call
- func (_c *MockStore_ListUserRoles_Call) Return(_a0 []string, _a1 error) *MockStore_ListUserRoles_Call
- func (_c *MockStore_ListUserRoles_Call) Run(run func(ctx context.Context, userID int64)) *MockStore_ListUserRoles_Call
- func (_c *MockStore_ListUserRoles_Call) RunAndReturn(run func(context.Context, int64) ([]string, error)) *MockStore_ListUserRoles_Call
- type MockStore_ListUsers_Call
- func (_c *MockStore_ListUsers_Call) Return(_a0 []db.User, _a1 error) *MockStore_ListUsers_Call
- func (_c *MockStore_ListUsers_Call) Run(run func(ctx context.Context, arg db.ListUsersParams)) *MockStore_ListUsers_Call
- func (_c *MockStore_ListUsers_Call) RunAndReturn(run func(context.Context, db.ListUsersParams) ([]db.User, error)) *MockStore_ListUsers_Call
- type MockStore_UpdateRole_Call
- func (_c *MockStore_UpdateRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_UpdateRole_Call
- func (_c *MockStore_UpdateRole_Call) Run(run func(ctx context.Context, arg db.UpdateRoleParams)) *MockStore_UpdateRole_Call
- func (_c *MockStore_UpdateRole_Call) RunAndReturn(run func(context.Context, db.UpdateRoleParams) (db.Role, error)) *MockStore_UpdateRole_Call
- type MockStore_UpdateStationHealth_Call
- func (_c *MockStore_UpdateStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_UpdateStationHealth_Call
- func (_c *MockStore_UpdateStationHealth_Call) Run(run func(ctx context.Context, arg db.UpdateStationHealthParams)) *MockStore_UpdateStationHealth_Call
- func (_c *MockStore_UpdateStationHealth_Call) RunAndReturn(...) *MockStore_UpdateStationHealth_Call
- type MockStore_UpdateStationObservation_Call
- func (_c *MockStore_UpdateStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_UpdateStationObservation_Call
- func (_c *MockStore_UpdateStationObservation_Call) Run(run func(ctx context.Context, arg db.UpdateStationObservationParams)) *MockStore_UpdateStationObservation_Call
- func (_c *MockStore_UpdateStationObservation_Call) RunAndReturn(...) *MockStore_UpdateStationObservation_Call
- type MockStore_UpdateStation_Call
- func (_c *MockStore_UpdateStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_UpdateStation_Call
- func (_c *MockStore_UpdateStation_Call) Run(run func(ctx context.Context, arg db.UpdateStationParams)) *MockStore_UpdateStation_Call
- func (_c *MockStore_UpdateStation_Call) RunAndReturn(...) *MockStore_UpdateStation_Call
- type MockStore_UpdateUser_Call
- func (_c *MockStore_UpdateUser_Call) Return(_a0 db.User, _a1 error) *MockStore_UpdateUser_Call
- func (_c *MockStore_UpdateUser_Call) Run(run func(ctx context.Context, arg db.UpdateUserParams)) *MockStore_UpdateUser_Call
- func (_c *MockStore_UpdateUser_Call) RunAndReturn(run func(context.Context, db.UpdateUserParams) (db.User, error)) *MockStore_UpdateUser_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
MockStore is an autogenerated mock type for the Store type
func NewMockStore ¶
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) BatchCreateUserRoles ¶
func (_m *MockStore) BatchCreateUserRoles(ctx context.Context, arg []db.BatchCreateUserRolesParams) *db.BatchCreateUserRolesBatchResults
BatchCreateUserRoles provides a mock function with given fields: ctx, arg
func (*MockStore) BatchDeleteUserRoles ¶
func (_m *MockStore) BatchDeleteUserRoles(ctx context.Context, arg []db.BatchDeleteUserRolesParams) *db.BatchDeleteUserRolesBatchResults
BatchDeleteUserRoles provides a mock function with given fields: ctx, arg
func (*MockStore) BulkCreateUserRoles ¶
func (_m *MockStore) BulkCreateUserRoles(ctx context.Context, arg []db.UserRolesParams) ([]db.UserRolesParams, []error)
BulkCreateUserRoles provides a mock function with given fields: ctx, arg
func (*MockStore) BulkDeleteUserRoles ¶
BulkDeleteUserRoles provides a mock function with given fields: ctx, arg
func (*MockStore) CountLufftStationMsg ¶
CountLufftStationMsg provides a mock function with given fields: ctx, stationID
func (*MockStore) CountObservations ¶
func (_m *MockStore) CountObservations(ctx context.Context, arg db.CountObservationsParams) (int64, error)
CountObservations provides a mock function with given fields: ctx, arg
func (*MockStore) CountRoles ¶
CountRoles provides a mock function with given fields: ctx
func (*MockStore) CountStationObservations ¶
func (_m *MockStore) CountStationObservations(ctx context.Context, arg db.CountStationObservationsParams) (int64, error)
CountStationObservations provides a mock function with given fields: ctx, arg
func (*MockStore) CountStations ¶
CountStations provides a mock function with given fields: ctx, status
func (*MockStore) CountStationsWithinBBox ¶
func (_m *MockStore) CountStationsWithinBBox(ctx context.Context, arg db.CountStationsWithinBBoxParams) (int64, error)
CountStationsWithinBBox provides a mock function with given fields: ctx, arg
func (*MockStore) CountStationsWithinRadius ¶
func (_m *MockStore) CountStationsWithinRadius(ctx context.Context, arg db.CountStationsWithinRadiusParams) (int64, error)
CountStationsWithinRadius provides a mock function with given fields: ctx, arg
func (*MockStore) CountUsers ¶
CountUsers provides a mock function with given fields: ctx
func (*MockStore) CreateCurrentObservation ¶
func (_m *MockStore) CreateCurrentObservation(ctx context.Context, arg db.CreateCurrentObservationParams) (db.ObservationsCurrent, error)
CreateCurrentObservation provides a mock function with given fields: ctx, arg
func (*MockStore) CreateGLabsLoad ¶
func (_m *MockStore) CreateGLabsLoad(ctx context.Context, arg db.CreateGLabsLoadParams) (db.GlabsLoad, error)
CreateGLabsLoad provides a mock function with given fields: ctx, arg
func (*MockStore) CreateRole ¶
CreateRole provides a mock function with given fields: ctx, arg
func (*MockStore) CreateSession ¶
func (_m *MockStore) CreateSession(ctx context.Context, arg db.CreateSessionParams) (db.Session, error)
CreateSession provides a mock function with given fields: ctx, arg
func (*MockStore) CreateSimAccessToken ¶
func (_m *MockStore) CreateSimAccessToken(ctx context.Context, arg db.CreateSimAccessTokenParams) (db.SimAccessToken, error)
CreateSimAccessToken provides a mock function with given fields: ctx, arg
func (*MockStore) CreateSimCard ¶
func (_m *MockStore) CreateSimCard(ctx context.Context, arg db.CreateSimCardParams) (db.SimCard, error)
CreateSimCard provides a mock function with given fields: ctx, arg
func (*MockStore) CreateStation ¶
func (_m *MockStore) CreateStation(ctx context.Context, arg db.CreateStationParams) (db.ObservationsStation, error)
CreateStation provides a mock function with given fields: ctx, arg
func (*MockStore) CreateStationHealth ¶
func (_m *MockStore) CreateStationHealth(ctx context.Context, arg db.CreateStationHealthParams) (db.ObservationsStationhealth, error)
CreateStationHealth provides a mock function with given fields: ctx, arg
func (*MockStore) CreateStationObservation ¶
func (_m *MockStore) CreateStationObservation(ctx context.Context, arg db.CreateStationObservationParams) (db.ObservationsObservation, error)
CreateStationObservation provides a mock function with given fields: ctx, arg
func (*MockStore) CreateUser ¶
CreateUser provides a mock function with given fields: ctx, arg
func (*MockStore) DeleteRole ¶
DeleteRole provides a mock function with given fields: ctx, id
func (*MockStore) DeleteSession ¶
DeleteSession provides a mock function with given fields: ctx, id
func (*MockStore) DeleteSimAccessToken ¶
DeleteSimAccessToken provides a mock function with given fields: ctx, accessToken
func (*MockStore) DeleteStation ¶
DeleteStation provides a mock function with given fields: ctx, id
func (*MockStore) DeleteStationHealth ¶
func (_m *MockStore) DeleteStationHealth(ctx context.Context, arg db.DeleteStationHealthParams) error
DeleteStationHealth provides a mock function with given fields: ctx, arg
func (*MockStore) DeleteStationObservation ¶
func (_m *MockStore) DeleteStationObservation(ctx context.Context, arg db.DeleteStationObservationParams) error
DeleteStationObservation provides a mock function with given fields: ctx, arg
func (*MockStore) DeleteUser ¶
DeleteUser provides a mock function with given fields: ctx, id
func (*MockStore) EXPECT ¶
func (_m *MockStore) EXPECT() *MockStore_Expecter
func (*MockStore) FirstOrCreateSimAccessTokenTx ¶
func (_m *MockStore) FirstOrCreateSimAccessTokenTx(ctx context.Context, arg db.FirstOrCreateSimAccessTokenTxParams) (db.FirstOrCreateSimAccessTokenTxResult, error)
FirstOrCreateSimAccessTokenTx provides a mock function with given fields: ctx, arg
func (*MockStore) GetLatestStationObservation ¶
func (_m *MockStore) GetLatestStationObservation(ctx context.Context, id int64) (db.GetLatestStationObservationRow, error)
GetLatestStationObservation provides a mock function with given fields: ctx, id
func (*MockStore) GetNearestLatestStationObservation ¶
func (_m *MockStore) GetNearestLatestStationObservation(ctx context.Context, arg db.GetNearestLatestStationObservationParams) (db.GetNearestLatestStationObservationRow, error)
GetNearestLatestStationObservation provides a mock function with given fields: ctx, arg
func (*MockStore) GetRoleByName ¶
GetRoleByName provides a mock function with given fields: ctx, name
func (*MockStore) GetSession ¶
GetSession provides a mock function with given fields: ctx, id
func (*MockStore) GetSimAccessToken ¶
func (_m *MockStore) GetSimAccessToken(ctx context.Context, accessToken string) (db.SimAccessToken, error)
GetSimAccessToken provides a mock function with given fields: ctx, accessToken
func (*MockStore) GetSimCard ¶
GetSimCard provides a mock function with given fields: ctx, mobileNumber
func (*MockStore) GetStation ¶
GetStation provides a mock function with given fields: ctx, id
func (*MockStore) GetStationByMobileNumber ¶
func (_m *MockStore) GetStationByMobileNumber(ctx context.Context, mobileNumber pgtype.Text) (db.ObservationsStation, error)
GetStationByMobileNumber provides a mock function with given fields: ctx, mobileNumber
func (*MockStore) GetStationHealth ¶
func (_m *MockStore) GetStationHealth(ctx context.Context, arg db.GetStationHealthParams) (db.ObservationsStationhealth, error)
GetStationHealth provides a mock function with given fields: ctx, arg
func (*MockStore) GetStationObservation ¶
func (_m *MockStore) GetStationObservation(ctx context.Context, arg db.GetStationObservationParams) (db.ObservationsObservation, error)
GetStationObservation provides a mock function with given fields: ctx, arg
func (*MockStore) GetUserByEmail ¶
GetUserByEmail provides a mock function with given fields: ctx, email
func (*MockStore) GetUserByUsername ¶
GetUserByUsername provides a mock function with given fields: ctx, username
func (*MockStore) InsertCurrentObservations ¶
func (_m *MockStore) InsertCurrentObservations(ctx context.Context) ([]db.ObservationsCurrent, error)
InsertCurrentObservations provides a mock function with given fields: ctx
func (*MockStore) ListLatestObservations ¶
func (_m *MockStore) ListLatestObservations(ctx context.Context) ([]db.ListLatestObservationsRow, error)
ListLatestObservations provides a mock function with given fields: ctx
func (*MockStore) ListLufftStationMsg ¶
func (_m *MockStore) ListLufftStationMsg(ctx context.Context, arg db.ListLufftStationMsgParams) ([]db.ListLufftStationMsgRow, error)
ListLufftStationMsg provides a mock function with given fields: ctx, arg
func (*MockStore) ListObservations ¶
func (_m *MockStore) ListObservations(ctx context.Context, arg db.ListObservationsParams) ([]db.ObservationsObservation, error)
ListObservations provides a mock function with given fields: ctx, arg
func (*MockStore) ListStationHealths ¶
func (_m *MockStore) ListStationHealths(ctx context.Context, arg db.ListStationHealthsParams) ([]db.ObservationsStationhealth, error)
ListStationHealths provides a mock function with given fields: ctx, arg
func (*MockStore) ListStationObservations ¶
func (_m *MockStore) ListStationObservations(ctx context.Context, arg db.ListStationObservationsParams) ([]db.ObservationsObservation, error)
ListStationObservations provides a mock function with given fields: ctx, arg
func (*MockStore) ListStations ¶
func (_m *MockStore) ListStations(ctx context.Context, arg db.ListStationsParams) ([]db.ObservationsStation, error)
ListStations provides a mock function with given fields: ctx, arg
func (*MockStore) ListStationsWithinBBox ¶
func (_m *MockStore) ListStationsWithinBBox(ctx context.Context, arg db.ListStationsWithinBBoxParams) ([]db.ObservationsStation, error)
ListStationsWithinBBox provides a mock function with given fields: ctx, arg
func (*MockStore) ListStationsWithinRadius ¶
func (_m *MockStore) ListStationsWithinRadius(ctx context.Context, arg db.ListStationsWithinRadiusParams) ([]db.ObservationsStation, error)
ListStationsWithinRadius provides a mock function with given fields: ctx, arg
func (*MockStore) ListUserRoles ¶
ListUserRoles provides a mock function with given fields: ctx, userID
func (*MockStore) UpdateRole ¶
UpdateRole provides a mock function with given fields: ctx, arg
func (*MockStore) UpdateStation ¶
func (_m *MockStore) UpdateStation(ctx context.Context, arg db.UpdateStationParams) (db.ObservationsStation, error)
UpdateStation provides a mock function with given fields: ctx, arg
func (*MockStore) UpdateStationHealth ¶
func (_m *MockStore) UpdateStationHealth(ctx context.Context, arg db.UpdateStationHealthParams) (db.ObservationsStationhealth, error)
UpdateStationHealth provides a mock function with given fields: ctx, arg
func (*MockStore) UpdateStationObservation ¶
func (_m *MockStore) UpdateStationObservation(ctx context.Context, arg db.UpdateStationObservationParams) (db.ObservationsObservation, error)
UpdateStationObservation provides a mock function with given fields: ctx, arg
func (*MockStore) UpdateUser ¶
UpdateUser provides a mock function with given fields: ctx, arg
type MockStore_BatchCreateUserRoles_Call ¶
MockStore_BatchCreateUserRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCreateUserRoles'
func (*MockStore_BatchCreateUserRoles_Call) Return ¶
func (_c *MockStore_BatchCreateUserRoles_Call) Return(_a0 *db.BatchCreateUserRolesBatchResults) *MockStore_BatchCreateUserRoles_Call
func (*MockStore_BatchCreateUserRoles_Call) Run ¶
func (_c *MockStore_BatchCreateUserRoles_Call) Run(run func(ctx context.Context, arg []db.BatchCreateUserRolesParams)) *MockStore_BatchCreateUserRoles_Call
func (*MockStore_BatchCreateUserRoles_Call) RunAndReturn ¶
func (_c *MockStore_BatchCreateUserRoles_Call) RunAndReturn(run func(context.Context, []db.BatchCreateUserRolesParams) *db.BatchCreateUserRolesBatchResults) *MockStore_BatchCreateUserRoles_Call
type MockStore_BatchDeleteUserRoles_Call ¶
MockStore_BatchDeleteUserRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchDeleteUserRoles'
func (*MockStore_BatchDeleteUserRoles_Call) Return ¶
func (_c *MockStore_BatchDeleteUserRoles_Call) Return(_a0 *db.BatchDeleteUserRolesBatchResults) *MockStore_BatchDeleteUserRoles_Call
func (*MockStore_BatchDeleteUserRoles_Call) Run ¶
func (_c *MockStore_BatchDeleteUserRoles_Call) Run(run func(ctx context.Context, arg []db.BatchDeleteUserRolesParams)) *MockStore_BatchDeleteUserRoles_Call
func (*MockStore_BatchDeleteUserRoles_Call) RunAndReturn ¶
func (_c *MockStore_BatchDeleteUserRoles_Call) RunAndReturn(run func(context.Context, []db.BatchDeleteUserRolesParams) *db.BatchDeleteUserRolesBatchResults) *MockStore_BatchDeleteUserRoles_Call
type MockStore_BulkCreateUserRoles_Call ¶
MockStore_BulkCreateUserRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkCreateUserRoles'
func (*MockStore_BulkCreateUserRoles_Call) Return ¶
func (_c *MockStore_BulkCreateUserRoles_Call) Return(ret []db.UserRolesParams, errs []error) *MockStore_BulkCreateUserRoles_Call
func (*MockStore_BulkCreateUserRoles_Call) Run ¶
func (_c *MockStore_BulkCreateUserRoles_Call) Run(run func(ctx context.Context, arg []db.UserRolesParams)) *MockStore_BulkCreateUserRoles_Call
func (*MockStore_BulkCreateUserRoles_Call) RunAndReturn ¶
func (_c *MockStore_BulkCreateUserRoles_Call) RunAndReturn(run func(context.Context, []db.UserRolesParams) ([]db.UserRolesParams, []error)) *MockStore_BulkCreateUserRoles_Call
type MockStore_BulkDeleteUserRoles_Call ¶
MockStore_BulkDeleteUserRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkDeleteUserRoles'
func (*MockStore_BulkDeleteUserRoles_Call) Return ¶
func (_c *MockStore_BulkDeleteUserRoles_Call) Return(_a0 []error) *MockStore_BulkDeleteUserRoles_Call
func (*MockStore_BulkDeleteUserRoles_Call) Run ¶
func (_c *MockStore_BulkDeleteUserRoles_Call) Run(run func(ctx context.Context, arg []db.UserRolesParams)) *MockStore_BulkDeleteUserRoles_Call
func (*MockStore_BulkDeleteUserRoles_Call) RunAndReturn ¶
func (_c *MockStore_BulkDeleteUserRoles_Call) RunAndReturn(run func(context.Context, []db.UserRolesParams) []error) *MockStore_BulkDeleteUserRoles_Call
type MockStore_CountLufftStationMsg_Call ¶
MockStore_CountLufftStationMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountLufftStationMsg'
func (*MockStore_CountLufftStationMsg_Call) Return ¶
func (_c *MockStore_CountLufftStationMsg_Call) Return(_a0 int64, _a1 error) *MockStore_CountLufftStationMsg_Call
func (*MockStore_CountLufftStationMsg_Call) Run ¶
func (_c *MockStore_CountLufftStationMsg_Call) Run(run func(ctx context.Context, stationID int64)) *MockStore_CountLufftStationMsg_Call
func (*MockStore_CountLufftStationMsg_Call) RunAndReturn ¶
func (_c *MockStore_CountLufftStationMsg_Call) RunAndReturn(run func(context.Context, int64) (int64, error)) *MockStore_CountLufftStationMsg_Call
type MockStore_CountObservations_Call ¶
MockStore_CountObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountObservations'
func (*MockStore_CountObservations_Call) Return ¶
func (_c *MockStore_CountObservations_Call) Return(_a0 int64, _a1 error) *MockStore_CountObservations_Call
func (*MockStore_CountObservations_Call) Run ¶
func (_c *MockStore_CountObservations_Call) Run(run func(ctx context.Context, arg db.CountObservationsParams)) *MockStore_CountObservations_Call
func (*MockStore_CountObservations_Call) RunAndReturn ¶
func (_c *MockStore_CountObservations_Call) RunAndReturn(run func(context.Context, db.CountObservationsParams) (int64, error)) *MockStore_CountObservations_Call
type MockStore_CountRoles_Call ¶
MockStore_CountRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountRoles'
func (*MockStore_CountRoles_Call) Return ¶
func (_c *MockStore_CountRoles_Call) Return(_a0 int64, _a1 error) *MockStore_CountRoles_Call
func (*MockStore_CountRoles_Call) Run ¶
func (_c *MockStore_CountRoles_Call) Run(run func(ctx context.Context)) *MockStore_CountRoles_Call
func (*MockStore_CountRoles_Call) RunAndReturn ¶
func (_c *MockStore_CountRoles_Call) RunAndReturn(run func(context.Context) (int64, error)) *MockStore_CountRoles_Call
type MockStore_CountStationObservations_Call ¶
MockStore_CountStationObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountStationObservations'
func (*MockStore_CountStationObservations_Call) Return ¶
func (_c *MockStore_CountStationObservations_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationObservations_Call
func (*MockStore_CountStationObservations_Call) Run ¶
func (_c *MockStore_CountStationObservations_Call) Run(run func(ctx context.Context, arg db.CountStationObservationsParams)) *MockStore_CountStationObservations_Call
func (*MockStore_CountStationObservations_Call) RunAndReturn ¶
func (_c *MockStore_CountStationObservations_Call) RunAndReturn(run func(context.Context, db.CountStationObservationsParams) (int64, error)) *MockStore_CountStationObservations_Call
type MockStore_CountStationsWithinBBox_Call ¶
MockStore_CountStationsWithinBBox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountStationsWithinBBox'
func (*MockStore_CountStationsWithinBBox_Call) Return ¶
func (_c *MockStore_CountStationsWithinBBox_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationsWithinBBox_Call
func (*MockStore_CountStationsWithinBBox_Call) Run ¶
func (_c *MockStore_CountStationsWithinBBox_Call) Run(run func(ctx context.Context, arg db.CountStationsWithinBBoxParams)) *MockStore_CountStationsWithinBBox_Call
func (*MockStore_CountStationsWithinBBox_Call) RunAndReturn ¶
func (_c *MockStore_CountStationsWithinBBox_Call) RunAndReturn(run func(context.Context, db.CountStationsWithinBBoxParams) (int64, error)) *MockStore_CountStationsWithinBBox_Call
type MockStore_CountStationsWithinRadius_Call ¶
MockStore_CountStationsWithinRadius_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountStationsWithinRadius'
func (*MockStore_CountStationsWithinRadius_Call) Return ¶
func (_c *MockStore_CountStationsWithinRadius_Call) Return(_a0 int64, _a1 error) *MockStore_CountStationsWithinRadius_Call
func (*MockStore_CountStationsWithinRadius_Call) Run ¶
func (_c *MockStore_CountStationsWithinRadius_Call) Run(run func(ctx context.Context, arg db.CountStationsWithinRadiusParams)) *MockStore_CountStationsWithinRadius_Call
func (*MockStore_CountStationsWithinRadius_Call) RunAndReturn ¶
func (_c *MockStore_CountStationsWithinRadius_Call) RunAndReturn(run func(context.Context, db.CountStationsWithinRadiusParams) (int64, error)) *MockStore_CountStationsWithinRadius_Call
type MockStore_CountStations_Call ¶
MockStore_CountStations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountStations'
func (*MockStore_CountStations_Call) Return ¶
func (_c *MockStore_CountStations_Call) Return(_a0 int64, _a1 error) *MockStore_CountStations_Call
func (*MockStore_CountStations_Call) Run ¶
func (_c *MockStore_CountStations_Call) Run(run func(ctx context.Context, status pgtype.Text)) *MockStore_CountStations_Call
func (*MockStore_CountStations_Call) RunAndReturn ¶
func (_c *MockStore_CountStations_Call) RunAndReturn(run func(context.Context, pgtype.Text) (int64, error)) *MockStore_CountStations_Call
type MockStore_CountUsers_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 (_c *MockStore_CountUsers_Call) Return(_a0 int64, _a1 error) *MockStore_CountUsers_Call
func (*MockStore_CountUsers_Call) Run ¶
func (_c *MockStore_CountUsers_Call) Run(run func(ctx context.Context)) *MockStore_CountUsers_Call
func (*MockStore_CountUsers_Call) RunAndReturn ¶
func (_c *MockStore_CountUsers_Call) RunAndReturn(run func(context.Context) (int64, error)) *MockStore_CountUsers_Call
type MockStore_CreateCurrentObservation_Call ¶
MockStore_CreateCurrentObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCurrentObservation'
func (*MockStore_CreateCurrentObservation_Call) Return ¶
func (_c *MockStore_CreateCurrentObservation_Call) Return(_a0 db.ObservationsCurrent, _a1 error) *MockStore_CreateCurrentObservation_Call
func (*MockStore_CreateCurrentObservation_Call) Run ¶
func (_c *MockStore_CreateCurrentObservation_Call) Run(run func(ctx context.Context, arg db.CreateCurrentObservationParams)) *MockStore_CreateCurrentObservation_Call
func (*MockStore_CreateCurrentObservation_Call) RunAndReturn ¶
func (_c *MockStore_CreateCurrentObservation_Call) RunAndReturn(run func(context.Context, db.CreateCurrentObservationParams) (db.ObservationsCurrent, error)) *MockStore_CreateCurrentObservation_Call
type MockStore_CreateGLabsLoad_Call ¶
MockStore_CreateGLabsLoad_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateGLabsLoad'
func (*MockStore_CreateGLabsLoad_Call) Return ¶
func (_c *MockStore_CreateGLabsLoad_Call) Return(_a0 db.GlabsLoad, _a1 error) *MockStore_CreateGLabsLoad_Call
func (*MockStore_CreateGLabsLoad_Call) Run ¶
func (_c *MockStore_CreateGLabsLoad_Call) Run(run func(ctx context.Context, arg db.CreateGLabsLoadParams)) *MockStore_CreateGLabsLoad_Call
func (*MockStore_CreateGLabsLoad_Call) RunAndReturn ¶
func (_c *MockStore_CreateGLabsLoad_Call) RunAndReturn(run func(context.Context, db.CreateGLabsLoadParams) (db.GlabsLoad, error)) *MockStore_CreateGLabsLoad_Call
type MockStore_CreateRole_Call ¶
MockStore_CreateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRole'
func (*MockStore_CreateRole_Call) Return ¶
func (_c *MockStore_CreateRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_CreateRole_Call
func (*MockStore_CreateRole_Call) Run ¶
func (_c *MockStore_CreateRole_Call) Run(run func(ctx context.Context, arg db.CreateRoleParams)) *MockStore_CreateRole_Call
func (*MockStore_CreateRole_Call) RunAndReturn ¶
func (_c *MockStore_CreateRole_Call) RunAndReturn(run func(context.Context, db.CreateRoleParams) (db.Role, error)) *MockStore_CreateRole_Call
type MockStore_CreateSession_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 (_c *MockStore_CreateSession_Call) Return(_a0 db.Session, _a1 error) *MockStore_CreateSession_Call
func (*MockStore_CreateSession_Call) Run ¶
func (_c *MockStore_CreateSession_Call) Run(run func(ctx context.Context, arg db.CreateSessionParams)) *MockStore_CreateSession_Call
func (*MockStore_CreateSession_Call) RunAndReturn ¶
func (_c *MockStore_CreateSession_Call) RunAndReturn(run func(context.Context, db.CreateSessionParams) (db.Session, error)) *MockStore_CreateSession_Call
type MockStore_CreateSimAccessToken_Call ¶
MockStore_CreateSimAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSimAccessToken'
func (*MockStore_CreateSimAccessToken_Call) Return ¶
func (_c *MockStore_CreateSimAccessToken_Call) Return(_a0 db.SimAccessToken, _a1 error) *MockStore_CreateSimAccessToken_Call
func (*MockStore_CreateSimAccessToken_Call) Run ¶
func (_c *MockStore_CreateSimAccessToken_Call) Run(run func(ctx context.Context, arg db.CreateSimAccessTokenParams)) *MockStore_CreateSimAccessToken_Call
func (*MockStore_CreateSimAccessToken_Call) RunAndReturn ¶
func (_c *MockStore_CreateSimAccessToken_Call) RunAndReturn(run func(context.Context, db.CreateSimAccessTokenParams) (db.SimAccessToken, error)) *MockStore_CreateSimAccessToken_Call
type MockStore_CreateSimCard_Call ¶
MockStore_CreateSimCard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSimCard'
func (*MockStore_CreateSimCard_Call) Return ¶
func (_c *MockStore_CreateSimCard_Call) Return(_a0 db.SimCard, _a1 error) *MockStore_CreateSimCard_Call
func (*MockStore_CreateSimCard_Call) Run ¶
func (_c *MockStore_CreateSimCard_Call) Run(run func(ctx context.Context, arg db.CreateSimCardParams)) *MockStore_CreateSimCard_Call
func (*MockStore_CreateSimCard_Call) RunAndReturn ¶
func (_c *MockStore_CreateSimCard_Call) RunAndReturn(run func(context.Context, db.CreateSimCardParams) (db.SimCard, error)) *MockStore_CreateSimCard_Call
type MockStore_CreateStationHealth_Call ¶
MockStore_CreateStationHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStationHealth'
func (*MockStore_CreateStationHealth_Call) Return ¶
func (_c *MockStore_CreateStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_CreateStationHealth_Call
func (*MockStore_CreateStationHealth_Call) Run ¶
func (_c *MockStore_CreateStationHealth_Call) Run(run func(ctx context.Context, arg db.CreateStationHealthParams)) *MockStore_CreateStationHealth_Call
func (*MockStore_CreateStationHealth_Call) RunAndReturn ¶
func (_c *MockStore_CreateStationHealth_Call) RunAndReturn(run func(context.Context, db.CreateStationHealthParams) (db.ObservationsStationhealth, error)) *MockStore_CreateStationHealth_Call
type MockStore_CreateStationObservation_Call ¶
MockStore_CreateStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStationObservation'
func (*MockStore_CreateStationObservation_Call) Return ¶
func (_c *MockStore_CreateStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_CreateStationObservation_Call
func (*MockStore_CreateStationObservation_Call) Run ¶
func (_c *MockStore_CreateStationObservation_Call) Run(run func(ctx context.Context, arg db.CreateStationObservationParams)) *MockStore_CreateStationObservation_Call
func (*MockStore_CreateStationObservation_Call) RunAndReturn ¶
func (_c *MockStore_CreateStationObservation_Call) RunAndReturn(run func(context.Context, db.CreateStationObservationParams) (db.ObservationsObservation, error)) *MockStore_CreateStationObservation_Call
type MockStore_CreateStation_Call ¶
MockStore_CreateStation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStation'
func (*MockStore_CreateStation_Call) Return ¶
func (_c *MockStore_CreateStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_CreateStation_Call
func (*MockStore_CreateStation_Call) Run ¶
func (_c *MockStore_CreateStation_Call) Run(run func(ctx context.Context, arg db.CreateStationParams)) *MockStore_CreateStation_Call
func (*MockStore_CreateStation_Call) RunAndReturn ¶
func (_c *MockStore_CreateStation_Call) RunAndReturn(run func(context.Context, db.CreateStationParams) (db.ObservationsStation, error)) *MockStore_CreateStation_Call
type MockStore_CreateUser_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 (_c *MockStore_CreateUser_Call) Return(_a0 db.User, _a1 error) *MockStore_CreateUser_Call
func (*MockStore_CreateUser_Call) Run ¶
func (_c *MockStore_CreateUser_Call) Run(run func(ctx context.Context, arg db.CreateUserParams)) *MockStore_CreateUser_Call
func (*MockStore_CreateUser_Call) RunAndReturn ¶
func (_c *MockStore_CreateUser_Call) RunAndReturn(run func(context.Context, db.CreateUserParams) (db.User, error)) *MockStore_CreateUser_Call
type MockStore_DeleteRole_Call ¶
MockStore_DeleteRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRole'
func (*MockStore_DeleteRole_Call) Return ¶
func (_c *MockStore_DeleteRole_Call) Return(_a0 error) *MockStore_DeleteRole_Call
func (*MockStore_DeleteRole_Call) Run ¶
func (_c *MockStore_DeleteRole_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteRole_Call
func (*MockStore_DeleteRole_Call) RunAndReturn ¶
func (_c *MockStore_DeleteRole_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteRole_Call
type MockStore_DeleteSession_Call ¶
MockStore_DeleteSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSession'
func (*MockStore_DeleteSession_Call) Return ¶
func (_c *MockStore_DeleteSession_Call) Return(_a0 error) *MockStore_DeleteSession_Call
func (*MockStore_DeleteSession_Call) Run ¶
func (_c *MockStore_DeleteSession_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockStore_DeleteSession_Call
func (*MockStore_DeleteSession_Call) RunAndReturn ¶
func (_c *MockStore_DeleteSession_Call) RunAndReturn(run func(context.Context, uuid.UUID) error) *MockStore_DeleteSession_Call
type MockStore_DeleteSimAccessToken_Call ¶
MockStore_DeleteSimAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSimAccessToken'
func (*MockStore_DeleteSimAccessToken_Call) Return ¶
func (_c *MockStore_DeleteSimAccessToken_Call) Return(_a0 error) *MockStore_DeleteSimAccessToken_Call
func (*MockStore_DeleteSimAccessToken_Call) Run ¶
func (_c *MockStore_DeleteSimAccessToken_Call) Run(run func(ctx context.Context, accessToken string)) *MockStore_DeleteSimAccessToken_Call
func (*MockStore_DeleteSimAccessToken_Call) RunAndReturn ¶
func (_c *MockStore_DeleteSimAccessToken_Call) RunAndReturn(run func(context.Context, string) error) *MockStore_DeleteSimAccessToken_Call
type MockStore_DeleteStationHealth_Call ¶
MockStore_DeleteStationHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStationHealth'
func (*MockStore_DeleteStationHealth_Call) Return ¶
func (_c *MockStore_DeleteStationHealth_Call) Return(_a0 error) *MockStore_DeleteStationHealth_Call
func (*MockStore_DeleteStationHealth_Call) Run ¶
func (_c *MockStore_DeleteStationHealth_Call) Run(run func(ctx context.Context, arg db.DeleteStationHealthParams)) *MockStore_DeleteStationHealth_Call
func (*MockStore_DeleteStationHealth_Call) RunAndReturn ¶
func (_c *MockStore_DeleteStationHealth_Call) RunAndReturn(run func(context.Context, db.DeleteStationHealthParams) error) *MockStore_DeleteStationHealth_Call
type MockStore_DeleteStationObservation_Call ¶
MockStore_DeleteStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStationObservation'
func (*MockStore_DeleteStationObservation_Call) Return ¶
func (_c *MockStore_DeleteStationObservation_Call) Return(_a0 error) *MockStore_DeleteStationObservation_Call
func (*MockStore_DeleteStationObservation_Call) Run ¶
func (_c *MockStore_DeleteStationObservation_Call) Run(run func(ctx context.Context, arg db.DeleteStationObservationParams)) *MockStore_DeleteStationObservation_Call
func (*MockStore_DeleteStationObservation_Call) RunAndReturn ¶
func (_c *MockStore_DeleteStationObservation_Call) RunAndReturn(run func(context.Context, db.DeleteStationObservationParams) error) *MockStore_DeleteStationObservation_Call
type MockStore_DeleteStation_Call ¶
MockStore_DeleteStation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStation'
func (*MockStore_DeleteStation_Call) Return ¶
func (_c *MockStore_DeleteStation_Call) Return(_a0 error) *MockStore_DeleteStation_Call
func (*MockStore_DeleteStation_Call) Run ¶
func (_c *MockStore_DeleteStation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteStation_Call
func (*MockStore_DeleteStation_Call) RunAndReturn ¶
func (_c *MockStore_DeleteStation_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteStation_Call
type MockStore_DeleteUser_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 (_c *MockStore_DeleteUser_Call) Return(_a0 error) *MockStore_DeleteUser_Call
func (*MockStore_DeleteUser_Call) Run ¶
func (_c *MockStore_DeleteUser_Call) Run(run func(ctx context.Context, id int64)) *MockStore_DeleteUser_Call
func (*MockStore_DeleteUser_Call) RunAndReturn ¶
func (_c *MockStore_DeleteUser_Call) RunAndReturn(run func(context.Context, int64) error) *MockStore_DeleteUser_Call
type MockStore_Expecter ¶
type MockStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStore_Expecter) BatchCreateUserRoles ¶
func (_e *MockStore_Expecter) BatchCreateUserRoles(ctx interface{}, arg interface{}) *MockStore_BatchCreateUserRoles_Call
BatchCreateUserRoles is a helper method to define mock.On call
- ctx context.Context
- arg []db.BatchCreateUserRolesParams
func (*MockStore_Expecter) BatchDeleteUserRoles ¶
func (_e *MockStore_Expecter) BatchDeleteUserRoles(ctx interface{}, arg interface{}) *MockStore_BatchDeleteUserRoles_Call
BatchDeleteUserRoles is a helper method to define mock.On call
- ctx context.Context
- arg []db.BatchDeleteUserRolesParams
func (*MockStore_Expecter) BulkCreateUserRoles ¶
func (_e *MockStore_Expecter) BulkCreateUserRoles(ctx interface{}, arg interface{}) *MockStore_BulkCreateUserRoles_Call
BulkCreateUserRoles is a helper method to define mock.On call
- ctx context.Context
- arg []db.UserRolesParams
func (*MockStore_Expecter) BulkDeleteUserRoles ¶
func (_e *MockStore_Expecter) BulkDeleteUserRoles(ctx interface{}, arg interface{}) *MockStore_BulkDeleteUserRoles_Call
BulkDeleteUserRoles is a helper method to define mock.On call
- ctx context.Context
- arg []db.UserRolesParams
func (*MockStore_Expecter) CountLufftStationMsg ¶
func (_e *MockStore_Expecter) CountLufftStationMsg(ctx interface{}, stationID interface{}) *MockStore_CountLufftStationMsg_Call
CountLufftStationMsg is a helper method to define mock.On call
- ctx context.Context
- stationID int64
func (*MockStore_Expecter) CountObservations ¶
func (_e *MockStore_Expecter) CountObservations(ctx interface{}, arg interface{}) *MockStore_CountObservations_Call
CountObservations is a helper method to define mock.On call
- ctx context.Context
- arg db.CountObservationsParams
func (*MockStore_Expecter) CountRoles ¶
func (_e *MockStore_Expecter) CountRoles(ctx interface{}) *MockStore_CountRoles_Call
CountRoles is a helper method to define mock.On call
- ctx context.Context
func (*MockStore_Expecter) CountStationObservations ¶
func (_e *MockStore_Expecter) CountStationObservations(ctx interface{}, arg interface{}) *MockStore_CountStationObservations_Call
CountStationObservations is a helper method to define mock.On call
- ctx context.Context
- arg db.CountStationObservationsParams
func (*MockStore_Expecter) CountStations ¶
func (_e *MockStore_Expecter) CountStations(ctx interface{}, status interface{}) *MockStore_CountStations_Call
CountStations is a helper method to define mock.On call
- ctx context.Context
- status pgtype.Text
func (*MockStore_Expecter) CountStationsWithinBBox ¶
func (_e *MockStore_Expecter) CountStationsWithinBBox(ctx interface{}, arg interface{}) *MockStore_CountStationsWithinBBox_Call
CountStationsWithinBBox is a helper method to define mock.On call
- ctx context.Context
- arg db.CountStationsWithinBBoxParams
func (*MockStore_Expecter) CountStationsWithinRadius ¶
func (_e *MockStore_Expecter) CountStationsWithinRadius(ctx interface{}, arg interface{}) *MockStore_CountStationsWithinRadius_Call
CountStationsWithinRadius is a helper method to define mock.On call
- ctx context.Context
- arg db.CountStationsWithinRadiusParams
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) CreateCurrentObservation ¶
func (_e *MockStore_Expecter) CreateCurrentObservation(ctx interface{}, arg interface{}) *MockStore_CreateCurrentObservation_Call
CreateCurrentObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateCurrentObservationParams
func (*MockStore_Expecter) CreateGLabsLoad ¶
func (_e *MockStore_Expecter) CreateGLabsLoad(ctx interface{}, arg interface{}) *MockStore_CreateGLabsLoad_Call
CreateGLabsLoad is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateGLabsLoadParams
func (*MockStore_Expecter) CreateRole ¶
func (_e *MockStore_Expecter) CreateRole(ctx interface{}, arg interface{}) *MockStore_CreateRole_Call
CreateRole is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateRoleParams
func (*MockStore_Expecter) CreateSession ¶
func (_e *MockStore_Expecter) CreateSession(ctx interface{}, arg interface{}) *MockStore_CreateSession_Call
CreateSession is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateSessionParams
func (*MockStore_Expecter) CreateSimAccessToken ¶
func (_e *MockStore_Expecter) CreateSimAccessToken(ctx interface{}, arg interface{}) *MockStore_CreateSimAccessToken_Call
CreateSimAccessToken is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateSimAccessTokenParams
func (*MockStore_Expecter) CreateSimCard ¶
func (_e *MockStore_Expecter) CreateSimCard(ctx interface{}, arg interface{}) *MockStore_CreateSimCard_Call
CreateSimCard is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateSimCardParams
func (*MockStore_Expecter) CreateStation ¶
func (_e *MockStore_Expecter) CreateStation(ctx interface{}, arg interface{}) *MockStore_CreateStation_Call
CreateStation is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateStationParams
func (*MockStore_Expecter) CreateStationHealth ¶
func (_e *MockStore_Expecter) CreateStationHealth(ctx interface{}, arg interface{}) *MockStore_CreateStationHealth_Call
CreateStationHealth is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateStationHealthParams
func (*MockStore_Expecter) CreateStationObservation ¶
func (_e *MockStore_Expecter) CreateStationObservation(ctx interface{}, arg interface{}) *MockStore_CreateStationObservation_Call
CreateStationObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateStationObservationParams
func (*MockStore_Expecter) CreateUser ¶
func (_e *MockStore_Expecter) CreateUser(ctx interface{}, arg interface{}) *MockStore_CreateUser_Call
CreateUser is a helper method to define mock.On call
- ctx context.Context
- arg db.CreateUserParams
func (*MockStore_Expecter) DeleteRole ¶
func (_e *MockStore_Expecter) DeleteRole(ctx interface{}, id interface{}) *MockStore_DeleteRole_Call
DeleteRole is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) DeleteSession ¶
func (_e *MockStore_Expecter) DeleteSession(ctx interface{}, id interface{}) *MockStore_DeleteSession_Call
DeleteSession is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*MockStore_Expecter) DeleteSimAccessToken ¶
func (_e *MockStore_Expecter) DeleteSimAccessToken(ctx interface{}, accessToken interface{}) *MockStore_DeleteSimAccessToken_Call
DeleteSimAccessToken is a helper method to define mock.On call
- ctx context.Context
- accessToken string
func (*MockStore_Expecter) DeleteStation ¶
func (_e *MockStore_Expecter) DeleteStation(ctx interface{}, id interface{}) *MockStore_DeleteStation_Call
DeleteStation is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) DeleteStationHealth ¶
func (_e *MockStore_Expecter) DeleteStationHealth(ctx interface{}, arg interface{}) *MockStore_DeleteStationHealth_Call
DeleteStationHealth is a helper method to define mock.On call
- ctx context.Context
- arg db.DeleteStationHealthParams
func (*MockStore_Expecter) DeleteStationObservation ¶
func (_e *MockStore_Expecter) DeleteStationObservation(ctx interface{}, arg interface{}) *MockStore_DeleteStationObservation_Call
DeleteStationObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.DeleteStationObservationParams
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 int64
func (*MockStore_Expecter) FirstOrCreateSimAccessTokenTx ¶
func (_e *MockStore_Expecter) FirstOrCreateSimAccessTokenTx(ctx interface{}, arg interface{}) *MockStore_FirstOrCreateSimAccessTokenTx_Call
FirstOrCreateSimAccessTokenTx is a helper method to define mock.On call
- ctx context.Context
- arg db.FirstOrCreateSimAccessTokenTxParams
func (*MockStore_Expecter) GetLatestStationObservation ¶
func (_e *MockStore_Expecter) GetLatestStationObservation(ctx interface{}, id interface{}) *MockStore_GetLatestStationObservation_Call
GetLatestStationObservation is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) GetNearestLatestStationObservation ¶
func (_e *MockStore_Expecter) GetNearestLatestStationObservation(ctx interface{}, arg interface{}) *MockStore_GetNearestLatestStationObservation_Call
GetNearestLatestStationObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.GetNearestLatestStationObservationParams
func (*MockStore_Expecter) GetRole ¶
func (_e *MockStore_Expecter) GetRole(ctx interface{}, id interface{}) *MockStore_GetRole_Call
GetRole is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) GetRoleByName ¶
func (_e *MockStore_Expecter) GetRoleByName(ctx interface{}, name interface{}) *MockStore_GetRoleByName_Call
GetRoleByName is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockStore_Expecter) GetSession ¶
func (_e *MockStore_Expecter) GetSession(ctx interface{}, id interface{}) *MockStore_GetSession_Call
GetSession is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*MockStore_Expecter) GetSimAccessToken ¶
func (_e *MockStore_Expecter) GetSimAccessToken(ctx interface{}, accessToken interface{}) *MockStore_GetSimAccessToken_Call
GetSimAccessToken is a helper method to define mock.On call
- ctx context.Context
- accessToken string
func (*MockStore_Expecter) GetSimCard ¶
func (_e *MockStore_Expecter) GetSimCard(ctx interface{}, mobileNumber interface{}) *MockStore_GetSimCard_Call
GetSimCard is a helper method to define mock.On call
- ctx context.Context
- mobileNumber string
func (*MockStore_Expecter) GetStation ¶
func (_e *MockStore_Expecter) GetStation(ctx interface{}, id interface{}) *MockStore_GetStation_Call
GetStation is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) GetStationByMobileNumber ¶
func (_e *MockStore_Expecter) GetStationByMobileNumber(ctx interface{}, mobileNumber interface{}) *MockStore_GetStationByMobileNumber_Call
GetStationByMobileNumber is a helper method to define mock.On call
- ctx context.Context
- mobileNumber pgtype.Text
func (*MockStore_Expecter) GetStationHealth ¶
func (_e *MockStore_Expecter) GetStationHealth(ctx interface{}, arg interface{}) *MockStore_GetStationHealth_Call
GetStationHealth is a helper method to define mock.On call
- ctx context.Context
- arg db.GetStationHealthParams
func (*MockStore_Expecter) GetStationObservation ¶
func (_e *MockStore_Expecter) GetStationObservation(ctx interface{}, arg interface{}) *MockStore_GetStationObservation_Call
GetStationObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.GetStationObservationParams
func (*MockStore_Expecter) GetUser ¶
func (_e *MockStore_Expecter) GetUser(ctx interface{}, id interface{}) *MockStore_GetUser_Call
GetUser is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*MockStore_Expecter) GetUserByEmail ¶
func (_e *MockStore_Expecter) GetUserByEmail(ctx interface{}, email interface{}) *MockStore_GetUserByEmail_Call
GetUserByEmail is a helper method to define mock.On call
- ctx context.Context
- email string
func (*MockStore_Expecter) GetUserByUsername ¶
func (_e *MockStore_Expecter) GetUserByUsername(ctx interface{}, username interface{}) *MockStore_GetUserByUsername_Call
GetUserByUsername is a helper method to define mock.On call
- ctx context.Context
- username string
func (*MockStore_Expecter) InsertCurrentObservations ¶
func (_e *MockStore_Expecter) InsertCurrentObservations(ctx interface{}) *MockStore_InsertCurrentObservations_Call
InsertCurrentObservations is a helper method to define mock.On call
- ctx context.Context
func (*MockStore_Expecter) ListLatestObservations ¶
func (_e *MockStore_Expecter) ListLatestObservations(ctx interface{}) *MockStore_ListLatestObservations_Call
ListLatestObservations is a helper method to define mock.On call
- ctx context.Context
func (*MockStore_Expecter) ListLufftStationMsg ¶
func (_e *MockStore_Expecter) ListLufftStationMsg(ctx interface{}, arg interface{}) *MockStore_ListLufftStationMsg_Call
ListLufftStationMsg is a helper method to define mock.On call
- ctx context.Context
- arg db.ListLufftStationMsgParams
func (*MockStore_Expecter) ListObservations ¶
func (_e *MockStore_Expecter) ListObservations(ctx interface{}, arg interface{}) *MockStore_ListObservations_Call
ListObservations is a helper method to define mock.On call
- ctx context.Context
- arg db.ListObservationsParams
func (*MockStore_Expecter) ListRoles ¶
func (_e *MockStore_Expecter) ListRoles(ctx interface{}, arg interface{}) *MockStore_ListRoles_Call
ListRoles is a helper method to define mock.On call
- ctx context.Context
- arg db.ListRolesParams
func (*MockStore_Expecter) ListStationHealths ¶
func (_e *MockStore_Expecter) ListStationHealths(ctx interface{}, arg interface{}) *MockStore_ListStationHealths_Call
ListStationHealths is a helper method to define mock.On call
- ctx context.Context
- arg db.ListStationHealthsParams
func (*MockStore_Expecter) ListStationObservations ¶
func (_e *MockStore_Expecter) ListStationObservations(ctx interface{}, arg interface{}) *MockStore_ListStationObservations_Call
ListStationObservations is a helper method to define mock.On call
- ctx context.Context
- arg db.ListStationObservationsParams
func (*MockStore_Expecter) ListStations ¶
func (_e *MockStore_Expecter) ListStations(ctx interface{}, arg interface{}) *MockStore_ListStations_Call
ListStations is a helper method to define mock.On call
- ctx context.Context
- arg db.ListStationsParams
func (*MockStore_Expecter) ListStationsWithinBBox ¶
func (_e *MockStore_Expecter) ListStationsWithinBBox(ctx interface{}, arg interface{}) *MockStore_ListStationsWithinBBox_Call
ListStationsWithinBBox is a helper method to define mock.On call
- ctx context.Context
- arg db.ListStationsWithinBBoxParams
func (*MockStore_Expecter) ListStationsWithinRadius ¶
func (_e *MockStore_Expecter) ListStationsWithinRadius(ctx interface{}, arg interface{}) *MockStore_ListStationsWithinRadius_Call
ListStationsWithinRadius is a helper method to define mock.On call
- ctx context.Context
- arg db.ListStationsWithinRadiusParams
func (*MockStore_Expecter) ListUserRoles ¶
func (_e *MockStore_Expecter) ListUserRoles(ctx interface{}, userID interface{}) *MockStore_ListUserRoles_Call
ListUserRoles is a helper method to define mock.On call
- ctx context.Context
- userID int64
func (*MockStore_Expecter) ListUsers ¶
func (_e *MockStore_Expecter) ListUsers(ctx interface{}, arg interface{}) *MockStore_ListUsers_Call
ListUsers is a helper method to define mock.On call
- ctx context.Context
- arg db.ListUsersParams
func (*MockStore_Expecter) UpdateRole ¶
func (_e *MockStore_Expecter) UpdateRole(ctx interface{}, arg interface{}) *MockStore_UpdateRole_Call
UpdateRole is a helper method to define mock.On call
- ctx context.Context
- arg db.UpdateRoleParams
func (*MockStore_Expecter) UpdateStation ¶
func (_e *MockStore_Expecter) UpdateStation(ctx interface{}, arg interface{}) *MockStore_UpdateStation_Call
UpdateStation is a helper method to define mock.On call
- ctx context.Context
- arg db.UpdateStationParams
func (*MockStore_Expecter) UpdateStationHealth ¶
func (_e *MockStore_Expecter) UpdateStationHealth(ctx interface{}, arg interface{}) *MockStore_UpdateStationHealth_Call
UpdateStationHealth is a helper method to define mock.On call
- ctx context.Context
- arg db.UpdateStationHealthParams
func (*MockStore_Expecter) UpdateStationObservation ¶
func (_e *MockStore_Expecter) UpdateStationObservation(ctx interface{}, arg interface{}) *MockStore_UpdateStationObservation_Call
UpdateStationObservation is a helper method to define mock.On call
- ctx context.Context
- arg db.UpdateStationObservationParams
func (*MockStore_Expecter) UpdateUser ¶
func (_e *MockStore_Expecter) UpdateUser(ctx interface{}, arg interface{}) *MockStore_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- arg db.UpdateUserParams
type MockStore_FirstOrCreateSimAccessTokenTx_Call ¶
MockStore_FirstOrCreateSimAccessTokenTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FirstOrCreateSimAccessTokenTx'
func (*MockStore_FirstOrCreateSimAccessTokenTx_Call) Return ¶
func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) Return(_a0 db.FirstOrCreateSimAccessTokenTxResult, _a1 error) *MockStore_FirstOrCreateSimAccessTokenTx_Call
func (*MockStore_FirstOrCreateSimAccessTokenTx_Call) Run ¶
func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) Run(run func(ctx context.Context, arg db.FirstOrCreateSimAccessTokenTxParams)) *MockStore_FirstOrCreateSimAccessTokenTx_Call
func (*MockStore_FirstOrCreateSimAccessTokenTx_Call) RunAndReturn ¶
func (_c *MockStore_FirstOrCreateSimAccessTokenTx_Call) RunAndReturn(run func(context.Context, db.FirstOrCreateSimAccessTokenTxParams) (db.FirstOrCreateSimAccessTokenTxResult, error)) *MockStore_FirstOrCreateSimAccessTokenTx_Call
type MockStore_GetLatestStationObservation_Call ¶
MockStore_GetLatestStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestStationObservation'
func (*MockStore_GetLatestStationObservation_Call) Return ¶
func (_c *MockStore_GetLatestStationObservation_Call) Return(_a0 db.GetLatestStationObservationRow, _a1 error) *MockStore_GetLatestStationObservation_Call
func (*MockStore_GetLatestStationObservation_Call) Run ¶
func (_c *MockStore_GetLatestStationObservation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetLatestStationObservation_Call
func (*MockStore_GetLatestStationObservation_Call) RunAndReturn ¶
func (_c *MockStore_GetLatestStationObservation_Call) RunAndReturn(run func(context.Context, int64) (db.GetLatestStationObservationRow, error)) *MockStore_GetLatestStationObservation_Call
type MockStore_GetNearestLatestStationObservation_Call ¶
MockStore_GetNearestLatestStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNearestLatestStationObservation'
func (*MockStore_GetNearestLatestStationObservation_Call) Run ¶
func (_c *MockStore_GetNearestLatestStationObservation_Call) Run(run func(ctx context.Context, arg db.GetNearestLatestStationObservationParams)) *MockStore_GetNearestLatestStationObservation_Call
func (*MockStore_GetNearestLatestStationObservation_Call) RunAndReturn ¶
type MockStore_GetRoleByName_Call ¶
MockStore_GetRoleByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRoleByName'
func (*MockStore_GetRoleByName_Call) Return ¶
func (_c *MockStore_GetRoleByName_Call) Return(_a0 db.Role, _a1 error) *MockStore_GetRoleByName_Call
func (*MockStore_GetRoleByName_Call) Run ¶
func (_c *MockStore_GetRoleByName_Call) Run(run func(ctx context.Context, name string)) *MockStore_GetRoleByName_Call
func (*MockStore_GetRoleByName_Call) RunAndReturn ¶
func (_c *MockStore_GetRoleByName_Call) RunAndReturn(run func(context.Context, string) (db.Role, error)) *MockStore_GetRoleByName_Call
type MockStore_GetRole_Call ¶
MockStore_GetRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRole'
func (*MockStore_GetRole_Call) Return ¶
func (_c *MockStore_GetRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_GetRole_Call
func (*MockStore_GetRole_Call) Run ¶
func (_c *MockStore_GetRole_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetRole_Call
func (*MockStore_GetRole_Call) RunAndReturn ¶
func (_c *MockStore_GetRole_Call) RunAndReturn(run func(context.Context, int64) (db.Role, error)) *MockStore_GetRole_Call
type MockStore_GetSession_Call ¶
MockStore_GetSession_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSession'
func (*MockStore_GetSession_Call) Return ¶
func (_c *MockStore_GetSession_Call) Return(_a0 db.Session, _a1 error) *MockStore_GetSession_Call
func (*MockStore_GetSession_Call) Run ¶
func (_c *MockStore_GetSession_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockStore_GetSession_Call
func (*MockStore_GetSession_Call) RunAndReturn ¶
func (_c *MockStore_GetSession_Call) RunAndReturn(run func(context.Context, uuid.UUID) (db.Session, error)) *MockStore_GetSession_Call
type MockStore_GetSimAccessToken_Call ¶
MockStore_GetSimAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSimAccessToken'
func (*MockStore_GetSimAccessToken_Call) Return ¶
func (_c *MockStore_GetSimAccessToken_Call) Return(_a0 db.SimAccessToken, _a1 error) *MockStore_GetSimAccessToken_Call
func (*MockStore_GetSimAccessToken_Call) Run ¶
func (_c *MockStore_GetSimAccessToken_Call) Run(run func(ctx context.Context, accessToken string)) *MockStore_GetSimAccessToken_Call
func (*MockStore_GetSimAccessToken_Call) RunAndReturn ¶
func (_c *MockStore_GetSimAccessToken_Call) RunAndReturn(run func(context.Context, string) (db.SimAccessToken, error)) *MockStore_GetSimAccessToken_Call
type MockStore_GetSimCard_Call ¶
MockStore_GetSimCard_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSimCard'
func (*MockStore_GetSimCard_Call) Return ¶
func (_c *MockStore_GetSimCard_Call) Return(_a0 db.SimCard, _a1 error) *MockStore_GetSimCard_Call
func (*MockStore_GetSimCard_Call) Run ¶
func (_c *MockStore_GetSimCard_Call) Run(run func(ctx context.Context, mobileNumber string)) *MockStore_GetSimCard_Call
func (*MockStore_GetSimCard_Call) RunAndReturn ¶
func (_c *MockStore_GetSimCard_Call) RunAndReturn(run func(context.Context, string) (db.SimCard, error)) *MockStore_GetSimCard_Call
type MockStore_GetStationByMobileNumber_Call ¶
MockStore_GetStationByMobileNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStationByMobileNumber'
func (*MockStore_GetStationByMobileNumber_Call) Return ¶
func (_c *MockStore_GetStationByMobileNumber_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_GetStationByMobileNumber_Call
func (*MockStore_GetStationByMobileNumber_Call) Run ¶
func (_c *MockStore_GetStationByMobileNumber_Call) Run(run func(ctx context.Context, mobileNumber pgtype.Text)) *MockStore_GetStationByMobileNumber_Call
func (*MockStore_GetStationByMobileNumber_Call) RunAndReturn ¶
func (_c *MockStore_GetStationByMobileNumber_Call) RunAndReturn(run func(context.Context, pgtype.Text) (db.ObservationsStation, error)) *MockStore_GetStationByMobileNumber_Call
type MockStore_GetStationHealth_Call ¶
MockStore_GetStationHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStationHealth'
func (*MockStore_GetStationHealth_Call) Return ¶
func (_c *MockStore_GetStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_GetStationHealth_Call
func (*MockStore_GetStationHealth_Call) Run ¶
func (_c *MockStore_GetStationHealth_Call) Run(run func(ctx context.Context, arg db.GetStationHealthParams)) *MockStore_GetStationHealth_Call
func (*MockStore_GetStationHealth_Call) RunAndReturn ¶
func (_c *MockStore_GetStationHealth_Call) RunAndReturn(run func(context.Context, db.GetStationHealthParams) (db.ObservationsStationhealth, error)) *MockStore_GetStationHealth_Call
type MockStore_GetStationObservation_Call ¶
MockStore_GetStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStationObservation'
func (*MockStore_GetStationObservation_Call) Return ¶
func (_c *MockStore_GetStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_GetStationObservation_Call
func (*MockStore_GetStationObservation_Call) Run ¶
func (_c *MockStore_GetStationObservation_Call) Run(run func(ctx context.Context, arg db.GetStationObservationParams)) *MockStore_GetStationObservation_Call
func (*MockStore_GetStationObservation_Call) RunAndReturn ¶
func (_c *MockStore_GetStationObservation_Call) RunAndReturn(run func(context.Context, db.GetStationObservationParams) (db.ObservationsObservation, error)) *MockStore_GetStationObservation_Call
type MockStore_GetStation_Call ¶
MockStore_GetStation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStation'
func (*MockStore_GetStation_Call) Return ¶
func (_c *MockStore_GetStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_GetStation_Call
func (*MockStore_GetStation_Call) Run ¶
func (_c *MockStore_GetStation_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetStation_Call
func (*MockStore_GetStation_Call) RunAndReturn ¶
func (_c *MockStore_GetStation_Call) RunAndReturn(run func(context.Context, int64) (db.ObservationsStation, error)) *MockStore_GetStation_Call
type MockStore_GetUserByEmail_Call ¶
MockStore_GetUserByEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByEmail'
func (*MockStore_GetUserByEmail_Call) Return ¶
func (_c *MockStore_GetUserByEmail_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUserByEmail_Call
func (*MockStore_GetUserByEmail_Call) Run ¶
func (_c *MockStore_GetUserByEmail_Call) Run(run func(ctx context.Context, email string)) *MockStore_GetUserByEmail_Call
func (*MockStore_GetUserByEmail_Call) RunAndReturn ¶
func (_c *MockStore_GetUserByEmail_Call) RunAndReturn(run func(context.Context, string) (db.User, error)) *MockStore_GetUserByEmail_Call
type MockStore_GetUserByUsername_Call ¶
MockStore_GetUserByUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserByUsername'
func (*MockStore_GetUserByUsername_Call) Return ¶
func (_c *MockStore_GetUserByUsername_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUserByUsername_Call
func (*MockStore_GetUserByUsername_Call) Run ¶
func (_c *MockStore_GetUserByUsername_Call) Run(run func(ctx context.Context, username string)) *MockStore_GetUserByUsername_Call
func (*MockStore_GetUserByUsername_Call) RunAndReturn ¶
func (_c *MockStore_GetUserByUsername_Call) RunAndReturn(run func(context.Context, string) (db.User, error)) *MockStore_GetUserByUsername_Call
type MockStore_GetUser_Call ¶
MockStore_GetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUser'
func (*MockStore_GetUser_Call) Return ¶
func (_c *MockStore_GetUser_Call) Return(_a0 db.User, _a1 error) *MockStore_GetUser_Call
func (*MockStore_GetUser_Call) Run ¶
func (_c *MockStore_GetUser_Call) Run(run func(ctx context.Context, id int64)) *MockStore_GetUser_Call
func (*MockStore_GetUser_Call) RunAndReturn ¶
func (_c *MockStore_GetUser_Call) RunAndReturn(run func(context.Context, int64) (db.User, error)) *MockStore_GetUser_Call
type MockStore_InsertCurrentObservations_Call ¶
MockStore_InsertCurrentObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertCurrentObservations'
func (*MockStore_InsertCurrentObservations_Call) Return ¶
func (_c *MockStore_InsertCurrentObservations_Call) Return(_a0 []db.ObservationsCurrent, _a1 error) *MockStore_InsertCurrentObservations_Call
func (*MockStore_InsertCurrentObservations_Call) Run ¶
func (_c *MockStore_InsertCurrentObservations_Call) Run(run func(ctx context.Context)) *MockStore_InsertCurrentObservations_Call
func (*MockStore_InsertCurrentObservations_Call) RunAndReturn ¶
func (_c *MockStore_InsertCurrentObservations_Call) RunAndReturn(run func(context.Context) ([]db.ObservationsCurrent, error)) *MockStore_InsertCurrentObservations_Call
type MockStore_ListLatestObservations_Call ¶
MockStore_ListLatestObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLatestObservations'
func (*MockStore_ListLatestObservations_Call) Return ¶
func (_c *MockStore_ListLatestObservations_Call) Return(_a0 []db.ListLatestObservationsRow, _a1 error) *MockStore_ListLatestObservations_Call
func (*MockStore_ListLatestObservations_Call) Run ¶
func (_c *MockStore_ListLatestObservations_Call) Run(run func(ctx context.Context)) *MockStore_ListLatestObservations_Call
func (*MockStore_ListLatestObservations_Call) RunAndReturn ¶
func (_c *MockStore_ListLatestObservations_Call) RunAndReturn(run func(context.Context) ([]db.ListLatestObservationsRow, error)) *MockStore_ListLatestObservations_Call
type MockStore_ListLufftStationMsg_Call ¶
MockStore_ListLufftStationMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLufftStationMsg'
func (*MockStore_ListLufftStationMsg_Call) Return ¶
func (_c *MockStore_ListLufftStationMsg_Call) Return(_a0 []db.ListLufftStationMsgRow, _a1 error) *MockStore_ListLufftStationMsg_Call
func (*MockStore_ListLufftStationMsg_Call) Run ¶
func (_c *MockStore_ListLufftStationMsg_Call) Run(run func(ctx context.Context, arg db.ListLufftStationMsgParams)) *MockStore_ListLufftStationMsg_Call
func (*MockStore_ListLufftStationMsg_Call) RunAndReturn ¶
func (_c *MockStore_ListLufftStationMsg_Call) RunAndReturn(run func(context.Context, db.ListLufftStationMsgParams) ([]db.ListLufftStationMsgRow, error)) *MockStore_ListLufftStationMsg_Call
type MockStore_ListObservations_Call ¶
MockStore_ListObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListObservations'
func (*MockStore_ListObservations_Call) Return ¶
func (_c *MockStore_ListObservations_Call) Return(_a0 []db.ObservationsObservation, _a1 error) *MockStore_ListObservations_Call
func (*MockStore_ListObservations_Call) Run ¶
func (_c *MockStore_ListObservations_Call) Run(run func(ctx context.Context, arg db.ListObservationsParams)) *MockStore_ListObservations_Call
func (*MockStore_ListObservations_Call) RunAndReturn ¶
func (_c *MockStore_ListObservations_Call) RunAndReturn(run func(context.Context, db.ListObservationsParams) ([]db.ObservationsObservation, error)) *MockStore_ListObservations_Call
type MockStore_ListRoles_Call ¶
MockStore_ListRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRoles'
func (*MockStore_ListRoles_Call) Return ¶
func (_c *MockStore_ListRoles_Call) Return(_a0 []db.Role, _a1 error) *MockStore_ListRoles_Call
func (*MockStore_ListRoles_Call) Run ¶
func (_c *MockStore_ListRoles_Call) Run(run func(ctx context.Context, arg db.ListRolesParams)) *MockStore_ListRoles_Call
func (*MockStore_ListRoles_Call) RunAndReturn ¶
func (_c *MockStore_ListRoles_Call) RunAndReturn(run func(context.Context, db.ListRolesParams) ([]db.Role, error)) *MockStore_ListRoles_Call
type MockStore_ListStationHealths_Call ¶
MockStore_ListStationHealths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStationHealths'
func (*MockStore_ListStationHealths_Call) Return ¶
func (_c *MockStore_ListStationHealths_Call) Return(_a0 []db.ObservationsStationhealth, _a1 error) *MockStore_ListStationHealths_Call
func (*MockStore_ListStationHealths_Call) Run ¶
func (_c *MockStore_ListStationHealths_Call) Run(run func(ctx context.Context, arg db.ListStationHealthsParams)) *MockStore_ListStationHealths_Call
func (*MockStore_ListStationHealths_Call) RunAndReturn ¶
func (_c *MockStore_ListStationHealths_Call) RunAndReturn(run func(context.Context, db.ListStationHealthsParams) ([]db.ObservationsStationhealth, error)) *MockStore_ListStationHealths_Call
type MockStore_ListStationObservations_Call ¶
MockStore_ListStationObservations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStationObservations'
func (*MockStore_ListStationObservations_Call) Return ¶
func (_c *MockStore_ListStationObservations_Call) Return(_a0 []db.ObservationsObservation, _a1 error) *MockStore_ListStationObservations_Call
func (*MockStore_ListStationObservations_Call) Run ¶
func (_c *MockStore_ListStationObservations_Call) Run(run func(ctx context.Context, arg db.ListStationObservationsParams)) *MockStore_ListStationObservations_Call
func (*MockStore_ListStationObservations_Call) RunAndReturn ¶
func (_c *MockStore_ListStationObservations_Call) RunAndReturn(run func(context.Context, db.ListStationObservationsParams) ([]db.ObservationsObservation, error)) *MockStore_ListStationObservations_Call
type MockStore_ListStationsWithinBBox_Call ¶
MockStore_ListStationsWithinBBox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStationsWithinBBox'
func (*MockStore_ListStationsWithinBBox_Call) Return ¶
func (_c *MockStore_ListStationsWithinBBox_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStationsWithinBBox_Call
func (*MockStore_ListStationsWithinBBox_Call) Run ¶
func (_c *MockStore_ListStationsWithinBBox_Call) Run(run func(ctx context.Context, arg db.ListStationsWithinBBoxParams)) *MockStore_ListStationsWithinBBox_Call
func (*MockStore_ListStationsWithinBBox_Call) RunAndReturn ¶
func (_c *MockStore_ListStationsWithinBBox_Call) RunAndReturn(run func(context.Context, db.ListStationsWithinBBoxParams) ([]db.ObservationsStation, error)) *MockStore_ListStationsWithinBBox_Call
type MockStore_ListStationsWithinRadius_Call ¶
MockStore_ListStationsWithinRadius_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStationsWithinRadius'
func (*MockStore_ListStationsWithinRadius_Call) Return ¶
func (_c *MockStore_ListStationsWithinRadius_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStationsWithinRadius_Call
func (*MockStore_ListStationsWithinRadius_Call) Run ¶
func (_c *MockStore_ListStationsWithinRadius_Call) Run(run func(ctx context.Context, arg db.ListStationsWithinRadiusParams)) *MockStore_ListStationsWithinRadius_Call
func (*MockStore_ListStationsWithinRadius_Call) RunAndReturn ¶
func (_c *MockStore_ListStationsWithinRadius_Call) RunAndReturn(run func(context.Context, db.ListStationsWithinRadiusParams) ([]db.ObservationsStation, error)) *MockStore_ListStationsWithinRadius_Call
type MockStore_ListStations_Call ¶
MockStore_ListStations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStations'
func (*MockStore_ListStations_Call) Return ¶
func (_c *MockStore_ListStations_Call) Return(_a0 []db.ObservationsStation, _a1 error) *MockStore_ListStations_Call
func (*MockStore_ListStations_Call) Run ¶
func (_c *MockStore_ListStations_Call) Run(run func(ctx context.Context, arg db.ListStationsParams)) *MockStore_ListStations_Call
func (*MockStore_ListStations_Call) RunAndReturn ¶
func (_c *MockStore_ListStations_Call) RunAndReturn(run func(context.Context, db.ListStationsParams) ([]db.ObservationsStation, error)) *MockStore_ListStations_Call
type MockStore_ListUserRoles_Call ¶
MockStore_ListUserRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserRoles'
func (*MockStore_ListUserRoles_Call) Return ¶
func (_c *MockStore_ListUserRoles_Call) Return(_a0 []string, _a1 error) *MockStore_ListUserRoles_Call
func (*MockStore_ListUserRoles_Call) Run ¶
func (_c *MockStore_ListUserRoles_Call) Run(run func(ctx context.Context, userID int64)) *MockStore_ListUserRoles_Call
func (*MockStore_ListUserRoles_Call) RunAndReturn ¶
func (_c *MockStore_ListUserRoles_Call) RunAndReturn(run func(context.Context, int64) ([]string, error)) *MockStore_ListUserRoles_Call
type MockStore_ListUsers_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 []db.User, _a1 error) *MockStore_ListUsers_Call
func (*MockStore_ListUsers_Call) Run ¶
func (_c *MockStore_ListUsers_Call) Run(run func(ctx context.Context, arg db.ListUsersParams)) *MockStore_ListUsers_Call
func (*MockStore_ListUsers_Call) RunAndReturn ¶
func (_c *MockStore_ListUsers_Call) RunAndReturn(run func(context.Context, db.ListUsersParams) ([]db.User, error)) *MockStore_ListUsers_Call
type MockStore_UpdateRole_Call ¶
MockStore_UpdateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRole'
func (*MockStore_UpdateRole_Call) Return ¶
func (_c *MockStore_UpdateRole_Call) Return(_a0 db.Role, _a1 error) *MockStore_UpdateRole_Call
func (*MockStore_UpdateRole_Call) Run ¶
func (_c *MockStore_UpdateRole_Call) Run(run func(ctx context.Context, arg db.UpdateRoleParams)) *MockStore_UpdateRole_Call
func (*MockStore_UpdateRole_Call) RunAndReturn ¶
func (_c *MockStore_UpdateRole_Call) RunAndReturn(run func(context.Context, db.UpdateRoleParams) (db.Role, error)) *MockStore_UpdateRole_Call
type MockStore_UpdateStationHealth_Call ¶
MockStore_UpdateStationHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStationHealth'
func (*MockStore_UpdateStationHealth_Call) Return ¶
func (_c *MockStore_UpdateStationHealth_Call) Return(_a0 db.ObservationsStationhealth, _a1 error) *MockStore_UpdateStationHealth_Call
func (*MockStore_UpdateStationHealth_Call) Run ¶
func (_c *MockStore_UpdateStationHealth_Call) Run(run func(ctx context.Context, arg db.UpdateStationHealthParams)) *MockStore_UpdateStationHealth_Call
func (*MockStore_UpdateStationHealth_Call) RunAndReturn ¶
func (_c *MockStore_UpdateStationHealth_Call) RunAndReturn(run func(context.Context, db.UpdateStationHealthParams) (db.ObservationsStationhealth, error)) *MockStore_UpdateStationHealth_Call
type MockStore_UpdateStationObservation_Call ¶
MockStore_UpdateStationObservation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStationObservation'
func (*MockStore_UpdateStationObservation_Call) Return ¶
func (_c *MockStore_UpdateStationObservation_Call) Return(_a0 db.ObservationsObservation, _a1 error) *MockStore_UpdateStationObservation_Call
func (*MockStore_UpdateStationObservation_Call) Run ¶
func (_c *MockStore_UpdateStationObservation_Call) Run(run func(ctx context.Context, arg db.UpdateStationObservationParams)) *MockStore_UpdateStationObservation_Call
func (*MockStore_UpdateStationObservation_Call) RunAndReturn ¶
func (_c *MockStore_UpdateStationObservation_Call) RunAndReturn(run func(context.Context, db.UpdateStationObservationParams) (db.ObservationsObservation, error)) *MockStore_UpdateStationObservation_Call
type MockStore_UpdateStation_Call ¶
MockStore_UpdateStation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStation'
func (*MockStore_UpdateStation_Call) Return ¶
func (_c *MockStore_UpdateStation_Call) Return(_a0 db.ObservationsStation, _a1 error) *MockStore_UpdateStation_Call
func (*MockStore_UpdateStation_Call) Run ¶
func (_c *MockStore_UpdateStation_Call) Run(run func(ctx context.Context, arg db.UpdateStationParams)) *MockStore_UpdateStation_Call
func (*MockStore_UpdateStation_Call) RunAndReturn ¶
func (_c *MockStore_UpdateStation_Call) RunAndReturn(run func(context.Context, db.UpdateStationParams) (db.ObservationsStation, error)) *MockStore_UpdateStation_Call
type MockStore_UpdateUser_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 (_c *MockStore_UpdateUser_Call) Return(_a0 db.User, _a1 error) *MockStore_UpdateUser_Call
func (*MockStore_UpdateUser_Call) Run ¶
func (_c *MockStore_UpdateUser_Call) Run(run func(ctx context.Context, arg db.UpdateUserParams)) *MockStore_UpdateUser_Call
func (*MockStore_UpdateUser_Call) RunAndReturn ¶
func (_c *MockStore_UpdateUser_Call) RunAndReturn(run func(context.Context, db.UpdateUserParams) (db.User, error)) *MockStore_UpdateUser_Call