Documentation ¶
Index ¶
- Constants
- func Authentications(c *context.Context)
- func Config(c *context.Context)
- func Dashboard(c *context.Context)
- func DeleteAuthSource(c *context.Context)
- func DeleteNotices(c *context.Context)
- func DeleteRepo(c *context.Context)
- func DeleteUser(c *context.Context)
- func EditAuthSource(c *context.Context)
- func EditAuthSourcePost(c *context.Context, f form.Authentication)
- func EditUser(c *context.Context)
- func EditUserPost(c *context.Context, f form.AdminEditUser)
- func EmptyNotices(c *context.Context)
- func Monitor(c *context.Context)
- func NewAuthSource(c *context.Context)
- func NewAuthSourcePost(c *context.Context, f form.Authentication)
- func NewUser(c *context.Context)
- func NewUserPost(c *context.Context, f form.AdminCrateUser)
- func Notices(c *context.Context)
- func Organizations(c *context.Context)
- func Repos(c *context.Context)
- func SendTestMail(c *context.Context)
- func Users(c *context.Context)
- type AdminOperation
Constants ¶
View Source
const ( DASHBOARD = "admin/dashboard" CONFIG = "admin/config" MONITOR = "admin/monitor" )
View Source
const ( AUTHS = "admin/auth/list" AUTH_NEW = "admin/auth/new" AUTH_EDIT = "admin/auth/edit" )
View Source
const ( USERS = "admin/user/list" USER_NEW = "admin/user/new" USER_EDIT = "admin/user/edit" )
View Source
const (
NOTICES = "admin/notice"
)
View Source
const (
ORGS = "admin/org/list"
)
View Source
const (
REPOS = "admin/repo/list"
)
Variables ¶
This section is empty.
Functions ¶
func Authentications ¶
func DeleteAuthSource ¶
func DeleteNotices ¶
func DeleteRepo ¶
func DeleteUser ¶
func EditAuthSource ¶
func EditAuthSourcePost ¶
func EditAuthSourcePost(c *context.Context, f form.Authentication)
func EditUserPost ¶
func EditUserPost(c *context.Context, f form.AdminEditUser)
func EmptyNotices ¶
func NewAuthSource ¶
func NewAuthSourcePost ¶
func NewAuthSourcePost(c *context.Context, f form.Authentication)
func NewUserPost ¶
func NewUserPost(c *context.Context, f form.AdminCrateUser)
func Organizations ¶
func SendTestMail ¶
Types ¶
type AdminOperation ¶
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_HOOKS REINIT_MISSING_REPOSITORY )
Click to show internal directories.
Click to hide internal directories.