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 Operation(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 ( 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 ( CleanInactivateUser AdminOperation = iota + 1 CleanRepoArchives CleanMissingRepos GitGCRepos SyncSSHAuthorizedKey SyncRepositoryHooks ReinitMissingRepository )
Click to show internal directories.
Click to hide internal directories.