Documentation ¶
Index ¶
- type OrgListResponse
- type SQLStoreMock
- func (m *SQLStoreMock) AddOrgUser(ctx context.Context, cmd *models.AddOrgUserCommand) error
- func (m *SQLStoreMock) AddTeamMember(userID int64, orgID int64, teamID int64, isExternal bool, ...) error
- func (m *SQLStoreMock) CreateAlertNotificationCommand(ctx context.Context, cmd *models.CreateAlertNotificationCommand) error
- func (m *SQLStoreMock) CreateLoginAttempt(ctx context.Context, cmd *models.CreateLoginAttemptCommand) error
- func (m *SQLStoreMock) CreateTeam(name string, email string, orgID int64) (models.Team, error)
- func (m *SQLStoreMock) CreateTempUser(ctx context.Context, cmd *models.CreateTempUserCommand) error
- func (m *SQLStoreMock) CreateUser(ctx context.Context, cmd user.CreateUserCommand) (*user.User, error)
- func (m *SQLStoreMock) DeleteAlertNotification(ctx context.Context, cmd *models.DeleteAlertNotificationCommand) error
- func (m *SQLStoreMock) DeleteAlertNotificationWithUid(ctx context.Context, cmd *models.DeleteAlertNotificationWithUidCommand) error
- func (m *SQLStoreMock) DeleteOldLoginAttempts(ctx context.Context, cmd *models.DeleteOldLoginAttemptsCommand) error
- func (m *SQLStoreMock) DeleteOrg(ctx context.Context, cmd *models.DeleteOrgCommand) error
- func (m SQLStoreMock) DeleteOrphanedProvisionedDashboards(ctx context.Context, cmd *models.DeleteOrphanedProvisionedDashboardsCommand) error
- func (m *SQLStoreMock) DeleteTeam(ctx context.Context, cmd *models.DeleteTeamCommand) error
- func (m *SQLStoreMock) ExpireOldUserInvites(ctx context.Context, cmd *models.ExpireTempUsersCommand) error
- func (m *SQLStoreMock) GetAPIKeyByHash(ctx context.Context, hash string) (*apikey.APIKey, error)
- func (m *SQLStoreMock) GetAdminStats(ctx context.Context, query *models.GetAdminStatsQuery) error
- func (m *SQLStoreMock) GetAlertById(ctx context.Context, query *models.GetAlertByIdQuery) error
- func (m *SQLStoreMock) GetAlertNotificationUidWithId(ctx context.Context, query *models.GetAlertNotificationUidQuery) error
- func (m *SQLStoreMock) GetAlertNotifications(ctx context.Context, query *models.GetAlertNotificationsQuery) error
- func (m *SQLStoreMock) GetAlertNotificationsWithUid(ctx context.Context, query *models.GetAlertNotificationsWithUidQuery) error
- func (m *SQLStoreMock) GetAlertNotificationsWithUidToSend(ctx context.Context, query *models.GetAlertNotificationsWithUidToSendQuery) error
- func (m *SQLStoreMock) GetAlertNotifiersUsageStats(ctx context.Context, query *models.GetAlertNotifierUsageStatsQuery) error
- func (m *SQLStoreMock) GetAlertStatesForDashboard(ctx context.Context, query *models.GetAlertStatesForDashboardQuery) error
- func (m *SQLStoreMock) GetAllAlertNotifications(ctx context.Context, query *models.GetAllAlertNotificationsQuery) error
- func (m *SQLStoreMock) GetAllAlertQueryHandler(ctx context.Context, query *models.GetAllAlertsQuery) error
- func (m *SQLStoreMock) GetDBHealthQuery(ctx context.Context, query *models.GetDBHealthQuery) error
- func (m *SQLStoreMock) GetDBType() core.DbType
- func (m SQLStoreMock) GetDashboardACLInfoList(ctx context.Context, query *models.GetDashboardACLInfoListQuery) error
- func (m *SQLStoreMock) GetDashboardTags(ctx context.Context, query *models.GetDashboardTagsQuery) error
- func (m *SQLStoreMock) GetDashboards(ctx context.Context, query *models.GetDashboardsQuery) error
- func (m *SQLStoreMock) GetDataSourceAccessStats(ctx context.Context, query *models.GetDataSourceAccessStatsQuery) error
- func (m *SQLStoreMock) GetDataSourceStats(ctx context.Context, query *models.GetDataSourceStatsQuery) error
- func (m *SQLStoreMock) GetDialect() migrator.Dialect
- func (m *SQLStoreMock) GetGlobalQuotaByTarget(ctx context.Context, query *models.GetGlobalQuotaByTargetQuery) error
- func (m *SQLStoreMock) GetOrCreateAlertNotificationState(ctx context.Context, cmd *models.GetOrCreateNotificationStateQuery) error
- func (m *SQLStoreMock) GetOrgById(ctx context.Context, cmd *models.GetOrgByIdQuery) error
- func (m *SQLStoreMock) GetOrgByName(name string) (*models.Org, error)
- func (m *SQLStoreMock) GetOrgByNameHandler(ctx context.Context, query *models.GetOrgByNameQuery) error
- func (m *SQLStoreMock) GetOrgQuotaByTarget(ctx context.Context, query *models.GetOrgQuotaByTargetQuery) error
- func (m *SQLStoreMock) GetOrgQuotas(ctx context.Context, query *models.GetOrgQuotasQuery) error
- func (m *SQLStoreMock) GetOrgUsers(ctx context.Context, query *models.GetOrgUsersQuery) error
- func (m *SQLStoreMock) GetSignedInUser(ctx context.Context, query *models.GetSignedInUserQuery) error
- func (m *SQLStoreMock) GetSqlxSession() *session.SessionDB
- func (m *SQLStoreMock) GetSystemStats(ctx context.Context, query *models.GetSystemStatsQuery) error
- func (m *SQLStoreMock) GetTeamById(ctx context.Context, query *models.GetTeamByIdQuery) error
- func (m SQLStoreMock) GetTeamMembers(ctx context.Context, query *models.GetTeamMembersQuery) error
- func (m *SQLStoreMock) GetTeamsByUser(ctx context.Context, query *models.GetTeamsByUserQuery) error
- func (m *SQLStoreMock) GetTempUserByCode(ctx context.Context, query *models.GetTempUserByCodeQuery) error
- func (m *SQLStoreMock) GetTempUsersQuery(ctx context.Context, query *models.GetTempUsersQuery) error
- func (m *SQLStoreMock) GetUserLoginAttemptCount(ctx context.Context, query *models.GetUserLoginAttemptCountQuery) error
- func (m *SQLStoreMock) GetUserProfile(ctx context.Context, query *models.GetUserProfileQuery) error
- func (m *SQLStoreMock) GetUserQuotaByTarget(ctx context.Context, query *models.GetUserQuotaByTargetQuery) error
- func (m *SQLStoreMock) GetUserQuotas(ctx context.Context, query *models.GetUserQuotasQuery) error
- func (m SQLStoreMock) GetUserTeamMemberships(ctx context.Context, orgID, userID int64, external bool) ([]*models.TeamMemberDTO, error)
- func (m *SQLStoreMock) HandleAlertsQuery(ctx context.Context, query *models.GetAlertsQuery) error
- func (m *SQLStoreMock) HasAdminPermissionInDashboardsOrFolders(ctx context.Context, ...) error
- func (m *SQLStoreMock) HasEditPermissionInFolders(ctx context.Context, query *models.HasEditPermissionInFoldersQuery) error
- func (m *SQLStoreMock) InTransaction(ctx context.Context, fn func(ctx context.Context) error) error
- func (m *SQLStoreMock) IsAdminOfTeams(ctx context.Context, query *models.IsAdminOfTeamsQuery) error
- func (m *SQLStoreMock) IsTeamMember(orgId int64, teamId int64, userId int64) (bool, error)
- func (m *SQLStoreMock) Migrate(_ bool) error
- func (m *SQLStoreMock) NewSession(ctx context.Context) *sqlstore.DBSession
- func (m *SQLStoreMock) PauseAlert(ctx context.Context, cmd *models.PauseAlertCommand) error
- func (m *SQLStoreMock) PauseAllAlerts(ctx context.Context, cmd *models.PauseAllAlertCommand) error
- func (m *SQLStoreMock) Quote(value string) string
- func (m *SQLStoreMock) RemoveTeamMember(ctx context.Context, cmd *models.RemoveTeamMemberCommand) error
- func (m *SQLStoreMock) Reset() error
- func (m *SQLStoreMock) SearchOrgUsers(ctx context.Context, query *models.SearchOrgUsersQuery) error
- func (m *SQLStoreMock) SearchOrgs(ctx context.Context, query *models.SearchOrgsQuery) error
- func (m *SQLStoreMock) SearchTeams(ctx context.Context, query *models.SearchTeamsQuery) error
- func (m *SQLStoreMock) SetAlertNotificationStateToCompleteCommand(ctx context.Context, cmd *models.SetAlertNotificationStateToCompleteCommand) error
- func (m *SQLStoreMock) SetAlertNotificationStateToPendingCommand(ctx context.Context, cmd *models.SetAlertNotificationStateToPendingCommand) error
- func (m SQLStoreMock) SetAlertState(ctx context.Context, cmd *models.SetAlertStateCommand) error
- func (m *SQLStoreMock) SetUserHelpFlag(ctx context.Context, cmd *models.SetUserHelpFlagCommand) error
- func (m *SQLStoreMock) Sync() error
- func (m *SQLStoreMock) UpdateAlertNotification(ctx context.Context, cmd *models.UpdateAlertNotificationCommand) error
- func (m *SQLStoreMock) UpdateAlertNotificationWithUid(ctx context.Context, cmd *models.UpdateAlertNotificationWithUidCommand) error
- func (m *SQLStoreMock) UpdateOrgAddress(ctx context.Context, cmd *models.UpdateOrgAddressCommand) error
- func (m *SQLStoreMock) UpdateOrgQuota(ctx context.Context, cmd *models.UpdateOrgQuotaCmd) error
- func (m *SQLStoreMock) UpdateOrgUser(ctx context.Context, cmd *models.UpdateOrgUserCommand) error
- func (m *SQLStoreMock) UpdateTeam(ctx context.Context, cmd *models.UpdateTeamCommand) error
- func (m *SQLStoreMock) UpdateTeamMember(ctx context.Context, cmd *models.UpdateTeamMemberCommand) error
- func (m *SQLStoreMock) UpdateTempUserStatus(ctx context.Context, cmd *models.UpdateTempUserStatusCommand) error
- func (m *SQLStoreMock) UpdateTempUserWithEmailSent(ctx context.Context, cmd *models.UpdateTempUserWithEmailSentCommand) error
- func (m *SQLStoreMock) UpdateUserPermissions(userID int64, isAdmin bool) error
- func (m *SQLStoreMock) UpdateUserQuota(ctx context.Context, cmd *models.UpdateUserQuotaCmd) error
- func (m *SQLStoreMock) WithDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
- func (m *SQLStoreMock) WithNewDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
- func (m *SQLStoreMock) WithTransactionalDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrgListResponse ¶
type SQLStoreMock ¶
type SQLStoreMock struct { LastGetAlertsQuery *models.GetAlertsQuery LastLoginAttemptCommand *models.CreateLoginAttemptCommand LatestUserId int64 ExpectedUser *user.User ExpectedAlert *models.Alert ExpectedPluginSetting *models.PluginSetting ExpectedDashboards []*models.Dashboard ExpectedDashboardACLInfoList []*models.DashboardACLInfoDTO ExpectedUserOrgList []*models.UserOrgDTO ExpectedOrgListResponse OrgListResponse ExpectedTeamsByUser []*models.TeamDTO ExpectedSearchOrgList []*models.OrgDTO ExpectedSearchUsers models.SearchUserQueryResult ExpectedOrg *models.Org ExpectedSystemStats *models.SystemStats ExpectedDataSourceStats []*models.DataSourceStats ExpectedDataSourcesAccessStats []*models.DataSourceAccessStats ExpectedNotifierUsageStats []*models.NotifierUsageStats ExpectedPersistedDashboards models.HitList ExpectedSignedInUser *user.SignedInUser ExpectedUserStars map[int64]bool ExpectedLoginAttempts int64 ExpectedError error ExpectedSetUsingOrgError error }
func NewSQLStoreMock ¶
func NewSQLStoreMock() *SQLStoreMock
func (*SQLStoreMock) AddOrgUser ¶
func (m *SQLStoreMock) AddOrgUser(ctx context.Context, cmd *models.AddOrgUserCommand) error
func (*SQLStoreMock) AddTeamMember ¶
func (m *SQLStoreMock) AddTeamMember(userID int64, orgID int64, teamID int64, isExternal bool, permission models.PermissionType) error
func (*SQLStoreMock) CreateAlertNotificationCommand ¶
func (m *SQLStoreMock) CreateAlertNotificationCommand(ctx context.Context, cmd *models.CreateAlertNotificationCommand) error
func (*SQLStoreMock) CreateLoginAttempt ¶
func (m *SQLStoreMock) CreateLoginAttempt(ctx context.Context, cmd *models.CreateLoginAttemptCommand) error
func (*SQLStoreMock) CreateTeam ¶
func (*SQLStoreMock) CreateTempUser ¶
func (m *SQLStoreMock) CreateTempUser(ctx context.Context, cmd *models.CreateTempUserCommand) error
func (*SQLStoreMock) CreateUser ¶
func (m *SQLStoreMock) CreateUser(ctx context.Context, cmd user.CreateUserCommand) (*user.User, error)
func (*SQLStoreMock) DeleteAlertNotification ¶
func (m *SQLStoreMock) DeleteAlertNotification(ctx context.Context, cmd *models.DeleteAlertNotificationCommand) error
func (*SQLStoreMock) DeleteAlertNotificationWithUid ¶
func (m *SQLStoreMock) DeleteAlertNotificationWithUid(ctx context.Context, cmd *models.DeleteAlertNotificationWithUidCommand) error
func (*SQLStoreMock) DeleteOldLoginAttempts ¶
func (m *SQLStoreMock) DeleteOldLoginAttempts(ctx context.Context, cmd *models.DeleteOldLoginAttemptsCommand) error
func (*SQLStoreMock) DeleteOrg ¶
func (m *SQLStoreMock) DeleteOrg(ctx context.Context, cmd *models.DeleteOrgCommand) error
func (SQLStoreMock) DeleteOrphanedProvisionedDashboards ¶
func (m SQLStoreMock) DeleteOrphanedProvisionedDashboards(ctx context.Context, cmd *models.DeleteOrphanedProvisionedDashboardsCommand) error
func (*SQLStoreMock) DeleteTeam ¶
func (m *SQLStoreMock) DeleteTeam(ctx context.Context, cmd *models.DeleteTeamCommand) error
func (*SQLStoreMock) ExpireOldUserInvites ¶
func (m *SQLStoreMock) ExpireOldUserInvites(ctx context.Context, cmd *models.ExpireTempUsersCommand) error
func (*SQLStoreMock) GetAPIKeyByHash ¶
func (*SQLStoreMock) GetAdminStats ¶
func (m *SQLStoreMock) GetAdminStats(ctx context.Context, query *models.GetAdminStatsQuery) error
func (*SQLStoreMock) GetAlertById ¶
func (m *SQLStoreMock) GetAlertById(ctx context.Context, query *models.GetAlertByIdQuery) error
func (*SQLStoreMock) GetAlertNotificationUidWithId ¶
func (m *SQLStoreMock) GetAlertNotificationUidWithId(ctx context.Context, query *models.GetAlertNotificationUidQuery) error
func (*SQLStoreMock) GetAlertNotifications ¶
func (m *SQLStoreMock) GetAlertNotifications(ctx context.Context, query *models.GetAlertNotificationsQuery) error
func (*SQLStoreMock) GetAlertNotificationsWithUid ¶
func (m *SQLStoreMock) GetAlertNotificationsWithUid(ctx context.Context, query *models.GetAlertNotificationsWithUidQuery) error
func (*SQLStoreMock) GetAlertNotificationsWithUidToSend ¶
func (m *SQLStoreMock) GetAlertNotificationsWithUidToSend(ctx context.Context, query *models.GetAlertNotificationsWithUidToSendQuery) error
func (*SQLStoreMock) GetAlertNotifiersUsageStats ¶
func (m *SQLStoreMock) GetAlertNotifiersUsageStats(ctx context.Context, query *models.GetAlertNotifierUsageStatsQuery) error
func (*SQLStoreMock) GetAlertStatesForDashboard ¶
func (m *SQLStoreMock) GetAlertStatesForDashboard(ctx context.Context, query *models.GetAlertStatesForDashboardQuery) error
func (*SQLStoreMock) GetAllAlertNotifications ¶
func (m *SQLStoreMock) GetAllAlertNotifications(ctx context.Context, query *models.GetAllAlertNotificationsQuery) error
func (*SQLStoreMock) GetAllAlertQueryHandler ¶
func (m *SQLStoreMock) GetAllAlertQueryHandler(ctx context.Context, query *models.GetAllAlertsQuery) error
func (*SQLStoreMock) GetDBHealthQuery ¶
func (m *SQLStoreMock) GetDBHealthQuery(ctx context.Context, query *models.GetDBHealthQuery) error
func (*SQLStoreMock) GetDBType ¶
func (m *SQLStoreMock) GetDBType() core.DbType
func (SQLStoreMock) GetDashboardACLInfoList ¶
func (m SQLStoreMock) GetDashboardACLInfoList(ctx context.Context, query *models.GetDashboardACLInfoListQuery) error
func (*SQLStoreMock) GetDashboardTags ¶
func (m *SQLStoreMock) GetDashboardTags(ctx context.Context, query *models.GetDashboardTagsQuery) error
func (*SQLStoreMock) GetDashboards ¶
func (m *SQLStoreMock) GetDashboards(ctx context.Context, query *models.GetDashboardsQuery) error
func (*SQLStoreMock) GetDataSourceAccessStats ¶
func (m *SQLStoreMock) GetDataSourceAccessStats(ctx context.Context, query *models.GetDataSourceAccessStatsQuery) error
func (*SQLStoreMock) GetDataSourceStats ¶
func (m *SQLStoreMock) GetDataSourceStats(ctx context.Context, query *models.GetDataSourceStatsQuery) error
func (*SQLStoreMock) GetDialect ¶
func (m *SQLStoreMock) GetDialect() migrator.Dialect
func (*SQLStoreMock) GetGlobalQuotaByTarget ¶
func (m *SQLStoreMock) GetGlobalQuotaByTarget(ctx context.Context, query *models.GetGlobalQuotaByTargetQuery) error
func (*SQLStoreMock) GetOrCreateAlertNotificationState ¶
func (m *SQLStoreMock) GetOrCreateAlertNotificationState(ctx context.Context, cmd *models.GetOrCreateNotificationStateQuery) error
func (*SQLStoreMock) GetOrgById ¶
func (m *SQLStoreMock) GetOrgById(ctx context.Context, cmd *models.GetOrgByIdQuery) error
func (*SQLStoreMock) GetOrgByName ¶
func (m *SQLStoreMock) GetOrgByName(name string) (*models.Org, error)
func (*SQLStoreMock) GetOrgByNameHandler ¶
func (m *SQLStoreMock) GetOrgByNameHandler(ctx context.Context, query *models.GetOrgByNameQuery) error
func (*SQLStoreMock) GetOrgQuotaByTarget ¶
func (m *SQLStoreMock) GetOrgQuotaByTarget(ctx context.Context, query *models.GetOrgQuotaByTargetQuery) error
func (*SQLStoreMock) GetOrgQuotas ¶
func (m *SQLStoreMock) GetOrgQuotas(ctx context.Context, query *models.GetOrgQuotasQuery) error
func (*SQLStoreMock) GetOrgUsers ¶
func (m *SQLStoreMock) GetOrgUsers(ctx context.Context, query *models.GetOrgUsersQuery) error
func (*SQLStoreMock) GetSignedInUser ¶
func (m *SQLStoreMock) GetSignedInUser(ctx context.Context, query *models.GetSignedInUserQuery) error
func (*SQLStoreMock) GetSqlxSession ¶
func (m *SQLStoreMock) GetSqlxSession() *session.SessionDB
func (*SQLStoreMock) GetSystemStats ¶
func (m *SQLStoreMock) GetSystemStats(ctx context.Context, query *models.GetSystemStatsQuery) error
func (*SQLStoreMock) GetTeamById ¶
func (m *SQLStoreMock) GetTeamById(ctx context.Context, query *models.GetTeamByIdQuery) error
func (SQLStoreMock) GetTeamMembers ¶
func (m SQLStoreMock) GetTeamMembers(ctx context.Context, query *models.GetTeamMembersQuery) error
func (*SQLStoreMock) GetTeamsByUser ¶
func (m *SQLStoreMock) GetTeamsByUser(ctx context.Context, query *models.GetTeamsByUserQuery) error
func (*SQLStoreMock) GetTempUserByCode ¶
func (m *SQLStoreMock) GetTempUserByCode(ctx context.Context, query *models.GetTempUserByCodeQuery) error
func (*SQLStoreMock) GetTempUsersQuery ¶
func (m *SQLStoreMock) GetTempUsersQuery(ctx context.Context, query *models.GetTempUsersQuery) error
func (*SQLStoreMock) GetUserLoginAttemptCount ¶
func (m *SQLStoreMock) GetUserLoginAttemptCount(ctx context.Context, query *models.GetUserLoginAttemptCountQuery) error
func (*SQLStoreMock) GetUserProfile ¶
func (m *SQLStoreMock) GetUserProfile(ctx context.Context, query *models.GetUserProfileQuery) error
func (*SQLStoreMock) GetUserQuotaByTarget ¶
func (m *SQLStoreMock) GetUserQuotaByTarget(ctx context.Context, query *models.GetUserQuotaByTargetQuery) error
func (*SQLStoreMock) GetUserQuotas ¶
func (m *SQLStoreMock) GetUserQuotas(ctx context.Context, query *models.GetUserQuotasQuery) error
func (SQLStoreMock) GetUserTeamMemberships ¶
func (m SQLStoreMock) GetUserTeamMemberships(ctx context.Context, orgID, userID int64, external bool) ([]*models.TeamMemberDTO, error)
func (*SQLStoreMock) HandleAlertsQuery ¶
func (m *SQLStoreMock) HandleAlertsQuery(ctx context.Context, query *models.GetAlertsQuery) error
func (*SQLStoreMock) HasAdminPermissionInDashboardsOrFolders ¶
func (m *SQLStoreMock) HasAdminPermissionInDashboardsOrFolders(ctx context.Context, query *models.HasAdminPermissionInDashboardsOrFoldersQuery) error
func (*SQLStoreMock) HasEditPermissionInFolders ¶
func (m *SQLStoreMock) HasEditPermissionInFolders(ctx context.Context, query *models.HasEditPermissionInFoldersQuery) error
func (*SQLStoreMock) InTransaction ¶
func (*SQLStoreMock) IsAdminOfTeams ¶
func (m *SQLStoreMock) IsAdminOfTeams(ctx context.Context, query *models.IsAdminOfTeamsQuery) error
func (*SQLStoreMock) IsTeamMember ¶
func (*SQLStoreMock) Migrate ¶
func (m *SQLStoreMock) Migrate(_ bool) error
func (*SQLStoreMock) NewSession ¶
func (m *SQLStoreMock) NewSession(ctx context.Context) *sqlstore.DBSession
func (*SQLStoreMock) PauseAlert ¶
func (m *SQLStoreMock) PauseAlert(ctx context.Context, cmd *models.PauseAlertCommand) error
func (*SQLStoreMock) PauseAllAlerts ¶
func (m *SQLStoreMock) PauseAllAlerts(ctx context.Context, cmd *models.PauseAllAlertCommand) error
func (*SQLStoreMock) Quote ¶
func (m *SQLStoreMock) Quote(value string) string
func (*SQLStoreMock) RemoveTeamMember ¶
func (m *SQLStoreMock) RemoveTeamMember(ctx context.Context, cmd *models.RemoveTeamMemberCommand) error
func (*SQLStoreMock) Reset ¶
func (m *SQLStoreMock) Reset() error
func (*SQLStoreMock) SearchOrgUsers ¶
func (m *SQLStoreMock) SearchOrgUsers(ctx context.Context, query *models.SearchOrgUsersQuery) error
func (*SQLStoreMock) SearchOrgs ¶
func (m *SQLStoreMock) SearchOrgs(ctx context.Context, query *models.SearchOrgsQuery) error
func (*SQLStoreMock) SearchTeams ¶
func (m *SQLStoreMock) SearchTeams(ctx context.Context, query *models.SearchTeamsQuery) error
func (*SQLStoreMock) SetAlertNotificationStateToCompleteCommand ¶
func (m *SQLStoreMock) SetAlertNotificationStateToCompleteCommand(ctx context.Context, cmd *models.SetAlertNotificationStateToCompleteCommand) error
func (*SQLStoreMock) SetAlertNotificationStateToPendingCommand ¶
func (m *SQLStoreMock) SetAlertNotificationStateToPendingCommand(ctx context.Context, cmd *models.SetAlertNotificationStateToPendingCommand) error
func (SQLStoreMock) SetAlertState ¶
func (m SQLStoreMock) SetAlertState(ctx context.Context, cmd *models.SetAlertStateCommand) error
func (*SQLStoreMock) SetUserHelpFlag ¶
func (m *SQLStoreMock) SetUserHelpFlag(ctx context.Context, cmd *models.SetUserHelpFlagCommand) error
func (*SQLStoreMock) Sync ¶
func (m *SQLStoreMock) Sync() error
func (*SQLStoreMock) UpdateAlertNotification ¶
func (m *SQLStoreMock) UpdateAlertNotification(ctx context.Context, cmd *models.UpdateAlertNotificationCommand) error
func (*SQLStoreMock) UpdateAlertNotificationWithUid ¶
func (m *SQLStoreMock) UpdateAlertNotificationWithUid(ctx context.Context, cmd *models.UpdateAlertNotificationWithUidCommand) error
func (*SQLStoreMock) UpdateOrgAddress ¶
func (m *SQLStoreMock) UpdateOrgAddress(ctx context.Context, cmd *models.UpdateOrgAddressCommand) error
func (*SQLStoreMock) UpdateOrgQuota ¶
func (m *SQLStoreMock) UpdateOrgQuota(ctx context.Context, cmd *models.UpdateOrgQuotaCmd) error
func (*SQLStoreMock) UpdateOrgUser ¶
func (m *SQLStoreMock) UpdateOrgUser(ctx context.Context, cmd *models.UpdateOrgUserCommand) error
func (*SQLStoreMock) UpdateTeam ¶
func (m *SQLStoreMock) UpdateTeam(ctx context.Context, cmd *models.UpdateTeamCommand) error
func (*SQLStoreMock) UpdateTeamMember ¶
func (m *SQLStoreMock) UpdateTeamMember(ctx context.Context, cmd *models.UpdateTeamMemberCommand) error
func (*SQLStoreMock) UpdateTempUserStatus ¶
func (m *SQLStoreMock) UpdateTempUserStatus(ctx context.Context, cmd *models.UpdateTempUserStatusCommand) error
func (*SQLStoreMock) UpdateTempUserWithEmailSent ¶
func (m *SQLStoreMock) UpdateTempUserWithEmailSent(ctx context.Context, cmd *models.UpdateTempUserWithEmailSentCommand) error
func (*SQLStoreMock) UpdateUserPermissions ¶
func (m *SQLStoreMock) UpdateUserPermissions(userID int64, isAdmin bool) error
func (*SQLStoreMock) UpdateUserQuota ¶
func (m *SQLStoreMock) UpdateUserQuota(ctx context.Context, cmd *models.UpdateUserQuotaCmd) error
func (*SQLStoreMock) WithDbSession ¶
func (m *SQLStoreMock) WithDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
func (*SQLStoreMock) WithNewDbSession ¶
func (m *SQLStoreMock) WithNewDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
func (*SQLStoreMock) WithTransactionalDbSession ¶
func (m *SQLStoreMock) WithTransactionalDbSession(ctx context.Context, callback sqlstore.DBTransactionFunc) error
Click to show internal directories.
Click to hide internal directories.