Documentation ¶
Overview ¶
Package admin contains controllers for system wide administrative actions.
Index ¶
- Constants
- type Controller
- func (c *Controller) HandleCachesClear() http.Handler
- func (c *Controller) HandleCachesIndex() http.Handler
- func (c *Controller) HandleEmailUpdate() http.Handler
- func (c *Controller) HandleEventsShow() http.Handler
- func (c *Controller) HandleInfoShow() http.Handler
- func (c *Controller) HandleMobileAppsShow() http.Handler
- func (c *Controller) HandleRealmsAdd() http.Handler
- func (c *Controller) HandleRealmsCreate() http.Handler
- func (c *Controller) HandleRealmsIndex() http.Handler
- func (c *Controller) HandleRealmsRemove() http.Handler
- func (c *Controller) HandleRealmsUpdate() http.Handler
- func (c *Controller) HandleSMSUpdate() http.Handler
- func (c *Controller) HandleSystemAdminCreate() http.Handler
- func (c *Controller) HandleSystemAdminRevoke() http.Handler
- func (c *Controller) HandleUserDelete() http.Handler
- func (c *Controller) HandleUserShow() http.Handler
- func (c *Controller) HandleUsersIndex() http.Handler
Constants ¶
const ( // QueryFromSearch is the query key for a starting time. QueryFromSearch = "from" // QueryToSearch is the query key for an ending time. QueryToSearch = "to" // QueryRealmIDSearch is the query key to filter by realmID. QueryRealmIDSearch = "realm_id" // QueryIncludeTest is the query key to filter on events from test or not. QueryIncludeTest = "include_test" )
const (
// QueryKeySearch is the query key where the search query exists.
QueryKeySearch = "q"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) HandleCachesClear ¶ added in v0.12.1
func (c *Controller) HandleCachesClear() http.Handler
HandleCachesClear clears the given caches.
func (*Controller) HandleCachesIndex ¶ added in v0.12.1
func (c *Controller) HandleCachesIndex() http.Handler
HandleCachesIndex shows the caches page.
func (*Controller) HandleEmailUpdate ¶ added in v0.14.0
func (c *Controller) HandleEmailUpdate() http.Handler
HandleEmailUpdate creates or updates the Email config.
func (*Controller) HandleEventsShow ¶ added in v0.16.0
func (c *Controller) HandleEventsShow() http.Handler
HandleEventsShow shows event logs.
func (*Controller) HandleInfoShow ¶ added in v0.9.0
func (c *Controller) HandleInfoShow() http.Handler
HandleInfoShow renders the list of system admins.
func (*Controller) HandleMobileAppsShow ¶ added in v0.16.0
func (c *Controller) HandleMobileAppsShow() http.Handler
HandleMobileAppsShow shows the configured mobile apps.
func (*Controller) HandleRealmsAdd ¶ added in v0.16.0
func (c *Controller) HandleRealmsAdd() http.Handler
func (*Controller) HandleRealmsCreate ¶ added in v0.9.0
func (c *Controller) HandleRealmsCreate() http.Handler
func (*Controller) HandleRealmsIndex ¶ added in v0.9.0
func (c *Controller) HandleRealmsIndex() http.Handler
func (*Controller) HandleRealmsRemove ¶ added in v0.16.0
func (c *Controller) HandleRealmsRemove() http.Handler
func (*Controller) HandleRealmsUpdate ¶ added in v0.10.0
func (c *Controller) HandleRealmsUpdate() http.Handler
func (*Controller) HandleSMSUpdate ¶ added in v0.10.0
func (c *Controller) HandleSMSUpdate() http.Handler
HandleSMSUpdate creates or updates the SMS config.
func (*Controller) HandleSystemAdminCreate ¶ added in v0.16.0
func (c *Controller) HandleSystemAdminCreate() http.Handler
HandleSystemAdminCreate creates a new system admin.
func (*Controller) HandleSystemAdminRevoke ¶ added in v0.16.0
func (c *Controller) HandleSystemAdminRevoke() http.Handler
HandleSystemAdminRevoke removes admin from a system admin.
func (*Controller) HandleUserDelete ¶ added in v0.16.0
func (c *Controller) HandleUserDelete() http.Handler
HandleUserDelete deletes a user from the system.
func (*Controller) HandleUserShow ¶ added in v0.16.0
func (c *Controller) HandleUserShow() http.Handler
HandleUserShow renders details about a user.
func (*Controller) HandleUsersIndex ¶ added in v0.9.0
func (c *Controller) HandleUsersIndex() http.Handler
HandleUsersIndex renders the list of all non-system-admin users.