Documentation ¶
Index ¶
- Constants
- func Authentications(ctx *context.Context)
- func Config(ctx *context.Context)
- func Dashboard(ctx *context.Context)
- func DeleteAuthSource(ctx *context.Context)
- func DeleteNotices(ctx *context.Context)
- func DeleteRepo(ctx *context.Context)
- func DeleteUser(ctx *context.Context)
- func EditAuthSource(ctx *context.Context)
- func EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)
- func EditUser(ctx *context.Context)
- func EditUserPost(ctx *context.Context, form auth.AdminEditUserForm)
- func EmptyNotices(ctx *context.Context)
- func Monitor(ctx *context.Context)
- func NewAuthSource(ctx *context.Context)
- func NewAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)
- func NewUser(ctx *context.Context)
- func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm)
- func Notices(ctx *context.Context)
- func Organizations(ctx *context.Context)
- func Repos(ctx *context.Context)
- func SendTestMail(ctx *context.Context)
- func Users(ctx *context.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 DeleteAuthSource ¶ added in v0.4.0
func DeleteNotices ¶ added in v0.7.33
func DeleteRepo ¶ added in v0.7.33
func DeleteUser ¶
func EditAuthSource ¶ added in v0.4.0
func EditAuthSourcePost ¶ added in v0.4.0
func EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)
func EditUserPost ¶ added in v0.3.0
func EditUserPost(ctx *context.Context, form auth.AdminEditUserForm)
func EmptyNotices ¶ added in v0.7.33
func NewAuthSource ¶ added in v0.4.0
func NewAuthSourcePost ¶ added in v0.4.0
func NewAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)
func NewUserPost ¶ added in v0.3.0
func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm)
func Organizations ¶ added in v0.5.0
func SendTestMail ¶ added in v0.9.0
Types ¶
type AdminOperation ¶ added in v0.5.0
type AdminOperation int
Operation types.
const ( CLEAN_INACTIVATE_USER AdminOperation = iota + 1 CLEAN_REPO_ARCHIVES CLEAN_MISSING_REPOS GIT_GC_REPOS SYNC_SSH_AUTHORIZED_KEY SYNC_REPOSITORY_UPDATE_HOOK REINIT_MISSING_REPOSITORY )
Click to show internal directories.
Click to hide internal directories.