admin

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentications

func Authentications(ctx *context.Context)

Authentications show authentication config page

func Config

func Config(ctx *context.Context)

Config show admin config page

func Dashboard

func Dashboard(ctx *context.Context)

Dashboard show admin panel dashboard

func DeleteAuthSource

func DeleteAuthSource(ctx *context.Context)

DeleteAuthSource response for deleting an auth source

func DeleteNotices

func DeleteNotices(ctx *context.Context)

DeleteNotices delete the specific notices

func DeleteRepo

func DeleteRepo(ctx *context.Context)

DeleteRepo delete one repository

func DeleteUser

func DeleteUser(ctx *context.Context)

DeleteUser response for deleting a user

func EditAuthSource

func EditAuthSource(ctx *context.Context)

EditAuthSource render editing auth source page

func EditAuthSourcePost

func EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)

EditAuthSourcePost response for editing auth source

func EditUser

func EditUser(ctx *context.Context)

EditUser show editting user page

func EditUserPost

func EditUserPost(ctx *context.Context, form auth.AdminEditUserForm)

EditUserPost response for editting user

func EmptyNotices

func EmptyNotices(ctx *context.Context)

EmptyNotices delete all the notices

func Monitor

func Monitor(ctx *context.Context)

Monitor show admin monitor page

func NewAuthSource

func NewAuthSource(ctx *context.Context)

NewAuthSource render adding a new auth source page

func NewAuthSourcePost

func NewAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)

NewAuthSourcePost response for adding an auth source

func NewUser

func NewUser(ctx *context.Context)

NewUser render adding a new user page

func NewUserPost

func NewUserPost(ctx *context.Context, form auth.AdminCreateUserForm)

NewUserPost response for adding a new user

func Notices

func Notices(ctx *context.Context)

Notices show notices for admin

func Organizations

func Organizations(ctx *context.Context)

Organizations show all the organizations

func Repos

func Repos(ctx *context.Context)

Repos show all the repositories

func SendTestMail

func SendTestMail(ctx *context.Context)

SendTestMail send test mail to confirm mail service is OK

func Users

func Users(ctx *context.Context)

Users show all the users

Types

type Operation added in v1.0.0

type Operation int

Operation Operation types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL