Documentation ¶
Index ¶
- func GetGravatarUrl(text string) string
- type AdminCreateUserForm
- type AdminUpdateUserForm
- type AdminUpdateUserPasswordForm
- type AdminUpdateUserPermissionsForm
- type AdminUserListItem
- type CurrentUser
- type Dashboard
- type DashboardMeta
- type DataSource
- type LoginCommand
- type MetricQueryResultDataDto
- type MetricQueryResultDto
- type NewApiKeyResult
- type UserStars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGravatarUrl ¶
Types ¶
type AdminCreateUserForm ¶
type AdminUpdateUserForm ¶
type AdminUpdateUserPasswordForm ¶
type AdminUpdateUserPasswordForm struct {
Password string `json:"password" binding:"Required"`
}
type AdminUpdateUserPermissionsForm ¶
type AdminUpdateUserPermissionsForm struct {
IsGrafanaAdmin bool `json:"IsGrafanaAdmin" binding:"Required"`
}
type AdminUserListItem ¶
type CurrentUser ¶
type CurrentUser struct { IsSignedIn bool `json:"isSignedIn"` Login string `json:"login"` Email string `json:"email"` Name string `json:"name"` LightTheme bool `json:"lightTheme"` OrgRole m.RoleType `json:"orgRole"` OrgName string `json:"orgName"` IsGrafanaAdmin bool `json:"isGrafanaAdmin"` GravatarUrl string `json:"gravatarUrl"` }
type Dashboard ¶
type Dashboard struct { Meta DashboardMeta `json:"meta"` Model map[string]interface{} `json:"model"` }
type DashboardMeta ¶
type DataSource ¶
type DataSource struct { Id int64 `json:"id"` OrgId int64 `json:"orgId"` Name string `json:"name"` Type string `json:"type"` Access m.DsAccess `json:"access"` Url string `json:"url"` Password string `json:"password"` User string `json:"user"` Database string `json:"database"` BasicAuth bool `json:"basicAuth"` BasicAuthUser string `json:"basicAuthUser"` BasicAuthPassword string `json:"basicAuthPassword"` IsDefault bool `json:"isDefault"` JsonData map[string]interface{} `json:"jsonData"` }
type LoginCommand ¶
type MetricQueryResultDto ¶
type MetricQueryResultDto struct {
Data []MetricQueryResultDataDto `json:"data"`
}
type NewApiKeyResult ¶
Click to show internal directories.
Click to hide internal directories.