Documentation ¶
Index ¶
- Variables
- func AddApiKey(cmd *m.AddApiKeyCommand) error
- func AddDataSource(cmd *m.AddDataSourceCommand) error
- func AddOrgUser(cmd *m.AddOrgUserCommand) error
- func ChangeUserPassword(cmd *m.ChangeUserPasswordCommand) error
- func CreateAlertNotificationCommand(cmd *m.CreateAlertNotificationCommand) error
- func CreateDashboardSnapshot(cmd *m.CreateDashboardSnapshotCommand) error
- func CreateOrg(cmd *m.CreateOrgCommand) error
- func CreatePlaylist(cmd *m.CreatePlaylistCommand) error
- func CreateTempUser(cmd *m.CreateTempUserCommand) error
- func CreateUser(cmd *m.CreateUserCommand) error
- func DeleteAlertById(cmd *m.DeleteAlertCommand) error
- func DeleteAlertDefinition(dashboardId int64, sess *xorm.Session) error
- func DeleteAlertNotification(cmd *m.DeleteAlertNotificationCommand) error
- func DeleteApiKey(cmd *m.DeleteApiKeyCommand) error
- func DeleteDashboard(cmd *m.DeleteDashboardCommand) error
- func DeleteDashboardSnapshot(cmd *m.DeleteDashboardSnapshotCommand) error
- func DeleteDataSource(cmd *m.DeleteDataSourceCommand) error
- func DeleteExpiredSnapshots(cmd *m.DeleteExpiredSnapshotsCommand) error
- func DeleteOrg(cmd *m.DeleteOrgCommand) error
- func DeletePlaylist(cmd *m.DeletePlaylistCommand) error
- func DeleteUser(cmd *m.DeleteUserCommand) error
- func EnsureAdminUser()
- func GetAdminStats(query *m.GetAdminStatsQuery) error
- func GetAlertById(query *m.GetAlertByIdQuery) error
- func GetAlertNotifications(query *m.GetAlertNotificationsQuery) error
- func GetAlertNotificationsToSend(query *m.GetAlertNotificationsToSendQuery) error
- func GetAlertStatesForDashboard(query *m.GetAlertStatesForDashboardQuery) error
- func GetAlertsByDashboardId2(dashboardId int64, sess *xorm.Session) ([]*m.Alert, error)
- func GetAllAlertNotifications(query *m.GetAllAlertNotificationsQuery) error
- func GetAllAlertQueryHandler(query *m.GetAllAlertsQuery) error
- func GetApiKeyById(query *m.GetApiKeyByIdQuery) error
- func GetApiKeyByName(query *m.GetApiKeyByNameQuery) error
- func GetApiKeys(query *m.GetApiKeysQuery) error
- func GetDashboard(query *m.GetDashboardQuery) error
- func GetDashboardSlugById(query *m.GetDashboardSlugByIdQuery) error
- func GetDashboardSnapshot(query *m.GetDashboardSnapshotQuery) error
- func GetDashboardTags(query *m.GetDashboardTagsQuery) error
- func GetDashboards(query *m.GetDashboardsQuery) error
- func GetDashboardsByPluginId(query *m.GetDashboardsByPluginIdQuery) error
- func GetDataSourceById(query *m.GetDataSourceByIdQuery) error
- func GetDataSourceByName(query *m.GetDataSourceByNameQuery) error
- func GetDataSourceStats(query *m.GetDataSourceStatsQuery) error
- func GetDataSources(query *m.GetDataSourcesQuery) error
- func GetGlobalQuotaByTarget(query *m.GetGlobalQuotaByTargetQuery) error
- func GetOrgById(query *m.GetOrgByIdQuery) error
- func GetOrgByName(query *m.GetOrgByNameQuery) error
- func GetOrgQuotaByTarget(query *m.GetOrgQuotaByTargetQuery) error
- func GetOrgQuotas(query *m.GetOrgQuotasQuery) error
- func GetOrgUsers(query *m.GetOrgUsersQuery) error
- func GetPlaylist(query *m.GetPlaylistByIdQuery) error
- func GetPlaylistItem(query *m.GetPlaylistItemsByIdQuery) error
- func GetPluginSettingById(query *m.GetPluginSettingByIdQuery) error
- func GetPluginSettings(query *m.GetPluginSettingsQuery) error
- func GetPreferences(query *m.GetPreferencesQuery) error
- func GetPreferencesWithDefaults(query *m.GetPreferencesWithDefaultsQuery) error
- func GetSignedInUser(query *m.GetSignedInUserQuery) error
- func GetSystemStats(query *m.GetSystemStatsQuery) error
- func GetTempUserByCode(query *m.GetTempUserByCodeQuery) error
- func GetTempUsersQuery(query *m.GetTempUsersQuery) error
- func GetUserByEmail(query *m.GetUserByEmailQuery) error
- func GetUserById(query *m.GetUserByIdQuery) error
- func GetUserByLogin(query *m.GetUserByLoginQuery) error
- func GetUserOrgList(query *m.GetUserOrgListQuery) error
- func GetUserProfile(query *m.GetUserProfileQuery) error
- func GetUserQuotaByTarget(query *m.GetUserQuotaByTargetQuery) error
- func GetUserQuotas(query *m.GetUserQuotasQuery) error
- func GetUserStars(query *m.GetUserStarsQuery) error
- func HandleAlertsQuery(query *m.GetAlertsQuery) error
- func IsStarredByUser(query *m.IsStarredByUserQuery) error
- func LoadConfig()
- func NewEngine()
- func PauseAlert(cmd *m.PauseAlertCommand) error
- func PauseAllAlerts(cmd *m.PauseAllAlertCommand) error
- func RemoveOrgUser(cmd *m.RemoveOrgUserCommand) error
- func SaveAlerts(cmd *m.SaveAlertsCommand) error
- func SaveDashboard(cmd *m.SaveDashboardCommand) error
- func SavePreferences(cmd *m.SavePreferencesCommand) error
- func SearchDashboardSnapshots(query *m.GetDashboardSnapshotsQuery) error
- func SearchDashboards(query *search.FindPersistedDashboardsQuery) error
- func SearchOrgs(query *m.SearchOrgsQuery) error
- func SearchPlaylists(query *m.GetPlaylistsQuery) error
- func SearchUsers(query *m.SearchUsersQuery) error
- func SetAlertState(cmd *m.SetAlertStateCommand) error
- func SetEngine(engine *xorm.Engine) (err error)
- func SetUserHelpFlag(cmd *m.SetUserHelpFlagCommand) error
- func SetUsingOrg(cmd *m.SetUsingOrgCommand) error
- func StarDashboard(cmd *m.StarDashboardCommand) error
- func UnstarDashboard(cmd *m.UnstarDashboardCommand) error
- func UpdateAlertNotification(cmd *m.UpdateAlertNotificationCommand) error
- func UpdateDataSource(cmd *m.UpdateDataSourceCommand) error
- func UpdateOrg(cmd *m.UpdateOrgCommand) error
- func UpdateOrgAddress(cmd *m.UpdateOrgAddressCommand) error
- func UpdateOrgQuota(cmd *m.UpdateOrgQuotaCmd) error
- func UpdateOrgUser(cmd *m.UpdateOrgUserCommand) error
- func UpdatePlaylist(cmd *m.UpdatePlaylistCommand) error
- func UpdatePluginSetting(cmd *m.UpdatePluginSettingCmd) error
- func UpdatePluginSettingVersion(cmd *m.UpdatePluginSettingVersionCmd) error
- func UpdateTempUserStatus(cmd *m.UpdateTempUserStatusCommand) error
- func UpdateUser(cmd *m.UpdateUserCommand) error
- func UpdateUserPermissions(cmd *m.UpdateUserPermissionsCommand) error
- func UpdateUserQuota(cmd *m.UpdateUserQuotaCmd) error
- type DashboardSearchProjection
- type DashboardSlugDTO
- type DashboardTag
- type DatabaseConfig
- type SqlAnnotationRepo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HasEngine bool DbCfg DatabaseConfig UseSQLite3 bool )
Functions ¶
func AddApiKey ¶
func AddApiKey(cmd *m.AddApiKeyCommand) error
func AddDataSource ¶
func AddDataSource(cmd *m.AddDataSourceCommand) error
func AddOrgUser ¶
func AddOrgUser(cmd *m.AddOrgUserCommand) error
func ChangeUserPassword ¶
func ChangeUserPassword(cmd *m.ChangeUserPasswordCommand) error
func CreateAlertNotificationCommand ¶
func CreateAlertNotificationCommand(cmd *m.CreateAlertNotificationCommand) error
func CreateDashboardSnapshot ¶
func CreateDashboardSnapshot(cmd *m.CreateDashboardSnapshotCommand) error
func CreateOrg ¶
func CreateOrg(cmd *m.CreateOrgCommand) error
func CreatePlaylist ¶
func CreatePlaylist(cmd *m.CreatePlaylistCommand) error
func CreateTempUser ¶
func CreateTempUser(cmd *m.CreateTempUserCommand) error
func CreateUser ¶
func CreateUser(cmd *m.CreateUserCommand) error
func DeleteAlertById ¶
func DeleteAlertById(cmd *m.DeleteAlertCommand) error
func DeleteAlertDefinition ¶
func DeleteAlertNotification ¶
func DeleteAlertNotification(cmd *m.DeleteAlertNotificationCommand) error
func DeleteApiKey ¶
func DeleteApiKey(cmd *m.DeleteApiKeyCommand) error
func DeleteDashboard ¶
func DeleteDashboard(cmd *m.DeleteDashboardCommand) error
func DeleteDashboardSnapshot ¶
func DeleteDashboardSnapshot(cmd *m.DeleteDashboardSnapshotCommand) error
func DeleteDataSource ¶
func DeleteDataSource(cmd *m.DeleteDataSourceCommand) error
func DeleteExpiredSnapshots ¶
func DeleteExpiredSnapshots(cmd *m.DeleteExpiredSnapshotsCommand) error
func DeleteOrg ¶
func DeleteOrg(cmd *m.DeleteOrgCommand) error
func DeletePlaylist ¶
func DeletePlaylist(cmd *m.DeletePlaylistCommand) error
func DeleteUser ¶
func DeleteUser(cmd *m.DeleteUserCommand) error
func EnsureAdminUser ¶
func EnsureAdminUser()
func GetAdminStats ¶
func GetAdminStats(query *m.GetAdminStatsQuery) error
func GetAlertById ¶
func GetAlertById(query *m.GetAlertByIdQuery) error
func GetAlertNotifications ¶
func GetAlertNotifications(query *m.GetAlertNotificationsQuery) error
func GetAlertNotificationsToSend ¶
func GetAlertNotificationsToSend(query *m.GetAlertNotificationsToSendQuery) error
func GetAlertStatesForDashboard ¶
func GetAlertStatesForDashboard(query *m.GetAlertStatesForDashboardQuery) error
func GetAlertsByDashboardId2 ¶
func GetAllAlertNotifications ¶
func GetAllAlertNotifications(query *m.GetAllAlertNotificationsQuery) error
func GetAllAlertQueryHandler ¶
func GetAllAlertQueryHandler(query *m.GetAllAlertsQuery) error
func GetApiKeyById ¶
func GetApiKeyById(query *m.GetApiKeyByIdQuery) error
func GetApiKeyByName ¶
func GetApiKeyByName(query *m.GetApiKeyByNameQuery) error
func GetApiKeys ¶
func GetApiKeys(query *m.GetApiKeysQuery) error
func GetDashboard ¶
func GetDashboard(query *m.GetDashboardQuery) error
func GetDashboardSlugById ¶
func GetDashboardSlugById(query *m.GetDashboardSlugByIdQuery) error
func GetDashboardSnapshot ¶
func GetDashboardSnapshot(query *m.GetDashboardSnapshotQuery) error
func GetDashboardTags ¶
func GetDashboardTags(query *m.GetDashboardTagsQuery) error
func GetDashboards ¶
func GetDashboards(query *m.GetDashboardsQuery) error
func GetDashboardsByPluginId ¶
func GetDashboardsByPluginId(query *m.GetDashboardsByPluginIdQuery) error
func GetDataSourceById ¶
func GetDataSourceById(query *m.GetDataSourceByIdQuery) error
func GetDataSourceByName ¶
func GetDataSourceByName(query *m.GetDataSourceByNameQuery) error
func GetDataSourceStats ¶
func GetDataSourceStats(query *m.GetDataSourceStatsQuery) error
func GetDataSources ¶
func GetDataSources(query *m.GetDataSourcesQuery) error
func GetGlobalQuotaByTarget ¶
func GetGlobalQuotaByTarget(query *m.GetGlobalQuotaByTargetQuery) error
func GetOrgById ¶
func GetOrgById(query *m.GetOrgByIdQuery) error
func GetOrgByName ¶
func GetOrgByName(query *m.GetOrgByNameQuery) error
func GetOrgQuotaByTarget ¶
func GetOrgQuotaByTarget(query *m.GetOrgQuotaByTargetQuery) error
func GetOrgQuotas ¶
func GetOrgQuotas(query *m.GetOrgQuotasQuery) error
func GetOrgUsers ¶
func GetOrgUsers(query *m.GetOrgUsersQuery) error
func GetPlaylist ¶
func GetPlaylist(query *m.GetPlaylistByIdQuery) error
func GetPlaylistItem ¶
func GetPlaylistItem(query *m.GetPlaylistItemsByIdQuery) error
func GetPluginSettingById ¶
func GetPluginSettingById(query *m.GetPluginSettingByIdQuery) error
func GetPluginSettings ¶
func GetPluginSettings(query *m.GetPluginSettingsQuery) error
func GetPreferences ¶
func GetPreferences(query *m.GetPreferencesQuery) error
func GetPreferencesWithDefaults ¶
func GetPreferencesWithDefaults(query *m.GetPreferencesWithDefaultsQuery) error
func GetSignedInUser ¶
func GetSignedInUser(query *m.GetSignedInUserQuery) error
func GetSystemStats ¶
func GetSystemStats(query *m.GetSystemStatsQuery) error
func GetTempUserByCode ¶
func GetTempUserByCode(query *m.GetTempUserByCodeQuery) error
func GetTempUsersQuery ¶
func GetTempUsersQuery(query *m.GetTempUsersQuery) error
func GetUserByEmail ¶
func GetUserByEmail(query *m.GetUserByEmailQuery) error
func GetUserById ¶
func GetUserById(query *m.GetUserByIdQuery) error
func GetUserByLogin ¶
func GetUserByLogin(query *m.GetUserByLoginQuery) error
func GetUserOrgList ¶
func GetUserOrgList(query *m.GetUserOrgListQuery) error
func GetUserProfile ¶
func GetUserProfile(query *m.GetUserProfileQuery) error
func GetUserQuotaByTarget ¶
func GetUserQuotaByTarget(query *m.GetUserQuotaByTargetQuery) error
func GetUserQuotas ¶
func GetUserQuotas(query *m.GetUserQuotasQuery) error
func GetUserStars ¶
func GetUserStars(query *m.GetUserStarsQuery) error
func HandleAlertsQuery ¶
func HandleAlertsQuery(query *m.GetAlertsQuery) error
func IsStarredByUser ¶
func IsStarredByUser(query *m.IsStarredByUserQuery) error
func LoadConfig ¶
func LoadConfig()
func PauseAlert ¶
func PauseAlert(cmd *m.PauseAlertCommand) error
func PauseAllAlerts ¶
func PauseAllAlerts(cmd *m.PauseAllAlertCommand) error
func RemoveOrgUser ¶
func RemoveOrgUser(cmd *m.RemoveOrgUserCommand) error
func SaveAlerts ¶
func SaveAlerts(cmd *m.SaveAlertsCommand) error
func SaveDashboard ¶
func SaveDashboard(cmd *m.SaveDashboardCommand) error
func SavePreferences ¶
func SavePreferences(cmd *m.SavePreferencesCommand) error
func SearchDashboardSnapshots ¶
func SearchDashboardSnapshots(query *m.GetDashboardSnapshotsQuery) error
func SearchDashboards ¶
func SearchDashboards(query *search.FindPersistedDashboardsQuery) error
func SearchOrgs ¶
func SearchOrgs(query *m.SearchOrgsQuery) error
func SearchPlaylists ¶
func SearchPlaylists(query *m.GetPlaylistsQuery) error
func SearchUsers ¶
func SearchUsers(query *m.SearchUsersQuery) error
func SetAlertState ¶
func SetAlertState(cmd *m.SetAlertStateCommand) error
func SetUserHelpFlag ¶
func SetUserHelpFlag(cmd *m.SetUserHelpFlagCommand) error
func SetUsingOrg ¶
func SetUsingOrg(cmd *m.SetUsingOrgCommand) error
func StarDashboard ¶
func StarDashboard(cmd *m.StarDashboardCommand) error
func UnstarDashboard ¶
func UnstarDashboard(cmd *m.UnstarDashboardCommand) error
func UpdateAlertNotification ¶
func UpdateAlertNotification(cmd *m.UpdateAlertNotificationCommand) error
func UpdateDataSource ¶
func UpdateDataSource(cmd *m.UpdateDataSourceCommand) error
func UpdateOrg ¶
func UpdateOrg(cmd *m.UpdateOrgCommand) error
func UpdateOrgAddress ¶
func UpdateOrgAddress(cmd *m.UpdateOrgAddressCommand) error
func UpdateOrgQuota ¶
func UpdateOrgQuota(cmd *m.UpdateOrgQuotaCmd) error
func UpdateOrgUser ¶
func UpdateOrgUser(cmd *m.UpdateOrgUserCommand) error
func UpdatePlaylist ¶
func UpdatePlaylist(cmd *m.UpdatePlaylistCommand) error
func UpdatePluginSetting ¶
func UpdatePluginSetting(cmd *m.UpdatePluginSettingCmd) error
func UpdatePluginSettingVersion ¶
func UpdatePluginSettingVersion(cmd *m.UpdatePluginSettingVersionCmd) error
func UpdateTempUserStatus ¶
func UpdateTempUserStatus(cmd *m.UpdateTempUserStatusCommand) error
func UpdateUser ¶
func UpdateUser(cmd *m.UpdateUserCommand) error
func UpdateUserPermissions ¶
func UpdateUserPermissions(cmd *m.UpdateUserPermissionsCommand) error
func UpdateUserQuota ¶
func UpdateUserQuota(cmd *m.UpdateUserQuotaCmd) error
Types ¶
type DashboardSlugDTO ¶
type DashboardSlugDTO struct {
Slug string
}
type DashboardTag ¶
type DatabaseConfig ¶
type SqlAnnotationRepo ¶
type SqlAnnotationRepo struct { }
func (*SqlAnnotationRepo) Delete ¶
func (r *SqlAnnotationRepo) Delete(params *annotations.DeleteParams) error
func (*SqlAnnotationRepo) Find ¶
func (r *SqlAnnotationRepo) Find(query *annotations.ItemQuery) ([]*annotations.Item, error)
func (*SqlAnnotationRepo) Save ¶
func (r *SqlAnnotationRepo) Save(item *annotations.Item) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.