Documentation ¶
Index ¶
- Constants
- func Authentications(ctx *middleware.Context)
- func Config(ctx *middleware.Context)
- func Dashboard(ctx *middleware.Context)
- func DeleteAuthSource(ctx *middleware.Context)
- func DeleteNotice(ctx *middleware.Context)
- func DeleteUser(ctx *middleware.Context)
- func EditAuthSource(ctx *middleware.Context)
- func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm)
- func EditUser(ctx *middleware.Context)
- func EditUserPost(ctx *middleware.Context, form auth.AdminEditUserForm)
- func Monitor(ctx *middleware.Context)
- func NewAuthSource(ctx *middleware.Context)
- func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm)
- func NewUser(ctx *middleware.Context)
- func NewUserPost(ctx *middleware.Context, form auth.RegisterForm)
- func Notices(ctx *middleware.Context)
- func Organizations(ctx *middleware.Context)
- func Repositories(ctx *middleware.Context)
- func Users(ctx *middleware.Context)
- type AdminOperation
Constants ¶
View Source
const ( DASHBOARD base.TplName = "admin/dashboard" CONFIG base.TplName = "admin/config" MONITOR base.TplName = "admin/monitor" )
View Source
const ( AUTHS base.TplName = "admin/auth/list" AUTH_NEW base.TplName = "admin/auth/new" AUTH_EDIT base.TplName = "admin/auth/edit" )
View Source
const ( USERS base.TplName = "admin/user/list" USER_NEW base.TplName = "admin/user/new" USER_EDIT base.TplName = "admin/user/edit" )
View Source
const (
NOTICES base.TplName = "admin/notice"
)
View Source
const (
ORGS base.TplName = "admin/org/list"
)
View Source
const (
REPOS base.TplName = "admin/repo/list"
)
Variables ¶
This section is empty.
Functions ¶
func Authentications ¶ added in v0.5.0
func Authentications(ctx *middleware.Context)
func Config ¶
func Config(ctx *middleware.Context)
func Dashboard ¶
func Dashboard(ctx *middleware.Context)
func DeleteAuthSource ¶ added in v0.4.0
func DeleteAuthSource(ctx *middleware.Context)
func DeleteNotice ¶ added in v0.5.5
func DeleteNotice(ctx *middleware.Context)
func DeleteUser ¶
func DeleteUser(ctx *middleware.Context)
func EditAuthSource ¶ added in v0.4.0
func EditAuthSource(ctx *middleware.Context)
func EditAuthSourcePost ¶ added in v0.4.0
func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm)
func EditUser ¶
func EditUser(ctx *middleware.Context)
func EditUserPost ¶ added in v0.3.0
func EditUserPost(ctx *middleware.Context, form auth.AdminEditUserForm)
func Monitor ¶ added in v0.5.0
func Monitor(ctx *middleware.Context)
func NewAuthSource ¶ added in v0.4.0
func NewAuthSource(ctx *middleware.Context)
func NewAuthSourcePost ¶ added in v0.4.0
func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm)
func NewUser ¶
func NewUser(ctx *middleware.Context)
func NewUserPost ¶ added in v0.3.0
func NewUserPost(ctx *middleware.Context, form auth.RegisterForm)
func Notices ¶ added in v0.5.5
func Notices(ctx *middleware.Context)
func Organizations ¶ added in v0.5.0
func Organizations(ctx *middleware.Context)
func Repositories ¶
func Repositories(ctx *middleware.Context)
func Users ¶
func Users(ctx *middleware.Context)
Types ¶
type AdminOperation ¶ added in v0.5.0
type AdminOperation int
Operation types.
const ( CLEAN_UNBIND_OAUTH AdminOperation = iota + 1 CLEAN_INACTIVATE_USER CLEAN_REPO_ARCHIVES GIT_GC_REPOS )
Click to show internal directories.
Click to hide internal directories.