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 ¶ 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(c *context.Context, f form.Authentication)
func EditUserPost ¶ added in v0.3.0
func EditUserPost(c *context.Context, f form.AdminEditUser)
func EmptyNotices ¶ added in v0.7.33
func NewAuthSource ¶ added in v0.4.0
func NewAuthSourcePost ¶ added in v0.4.0
func NewAuthSourcePost(c *context.Context, f form.Authentication)
func NewUserPost ¶ added in v0.3.0
func NewUserPost(c *context.Context, f form.AdminCrateUser)
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_HOOKS REINIT_MISSING_REPOSITORY )
Click to show internal directories.
Click to hide internal directories.