admin

package
v0.9.97 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Index

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

func Authentications(ctx *context.Context)

func Config

func Config(ctx *context.Context)

func Dashboard

func Dashboard(ctx *context.Context)

func DeleteAuthSource

func DeleteAuthSource(ctx *context.Context)

func DeleteNotices

func DeleteNotices(ctx *context.Context)

func DeleteRepo

func DeleteRepo(ctx *context.Context)

func DeleteUser

func DeleteUser(ctx *context.Context)

func EditAuthSource

func EditAuthSource(ctx *context.Context)

func EditAuthSourcePost

func EditAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)

func EditUser

func EditUser(ctx *context.Context)

func EditUserPost

func EditUserPost(ctx *context.Context, form auth.AdminEditUserForm)

func EmptyNotices

func EmptyNotices(ctx *context.Context)

func Monitor

func Monitor(ctx *context.Context)

func NewAuthSource

func NewAuthSource(ctx *context.Context)

func NewAuthSourcePost

func NewAuthSourcePost(ctx *context.Context, form auth.AuthenticationForm)

func NewUser

func NewUser(ctx *context.Context)

func NewUserPost

func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm)

func Notices

func Notices(ctx *context.Context)

func Organizations

func Organizations(ctx *context.Context)

func Repos

func Repos(ctx *context.Context)

func SendTestMail

func SendTestMail(ctx *context.Context)

func Users

func Users(ctx *context.Context)

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_UPDATE_HOOK
	REINIT_MISSING_REPOSITORY
)

Jump to

Keyboard shortcuts

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