admin

package
v0.12.10-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

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 Authentications(c *context.Context)

func Config

func Config(c *context.Context)

func Dashboard

func Dashboard(c *context.Context)

func DeleteAuthSource

func DeleteAuthSource(c *context.Context)

func DeleteNotices

func DeleteNotices(c *context.Context)

func DeleteRepo

func DeleteRepo(c *context.Context)

func DeleteUser

func DeleteUser(c *context.Context)

func EditAuthSource

func EditAuthSource(c *context.Context)

func EditAuthSourcePost

func EditAuthSourcePost(c *context.Context, f form.Authentication)

func EditUser

func EditUser(c *context.Context)

func EditUserPost

func EditUserPost(c *context.Context, f form.AdminEditUser)

func EmptyNotices

func EmptyNotices(c *context.Context)

func Monitor

func Monitor(c *context.Context)

func NewAuthSource

func NewAuthSource(c *context.Context)

func NewAuthSourcePost

func NewAuthSourcePost(c *context.Context, f form.Authentication)

func NewUser

func NewUser(c *context.Context)

func NewUserPost

func NewUserPost(c *context.Context, f form.AdminCrateUser)

func Notices

func Notices(c *context.Context)

func Operation

func Operation(c *context.Context)

func Organizations

func Organizations(c *context.Context)

func Repos

func Repos(c *context.Context)

func SendTestMail

func SendTestMail(c *context.Context)

func Users

func Users(c *context.Context)

Types

type AdminOperation

type AdminOperation int

Operation types.

const (
	CleanInactivateUser AdminOperation = iota + 1
	CleanRepoArchives
	CleanMissingRepos
	GitGCRepos
	SyncSSHAuthorizedKey
	SyncRepositoryHooks
	ReinitMissingRepository
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL