admin

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2015 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 added in v0.5.0

func Authentications(ctx *middleware.Context)

func Config

func Config(ctx *middleware.Context)

func Dashboard

func Dashboard(ctx *middleware.Context)

func DeleteAuthSource added in v0.4.0

func DeleteAuthSource(ctx *middleware.Context)

func DeleteNotices added in v0.7.33

func DeleteNotices(ctx *middleware.Context)

func DeleteRepo added in v0.7.33

func DeleteRepo(ctx *middleware.Context)

func DeleteUser

func DeleteUser(ctx *middleware.Context)

func EditAuthSource added in v0.4.0

func EditAuthSource(ctx *middleware.Context)

func EditAuthSourcePost added in v0.4.0

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

func EditUser

func EditUser(ctx *middleware.Context)

func EditUserPost added in v0.3.0

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

func EmptyNotices added in v0.7.33

func EmptyNotices(ctx *middleware.Context)

func Monitor added in v0.5.0

func Monitor(ctx *middleware.Context)

func NewAuthSource added in v0.4.0

func NewAuthSource(ctx *middleware.Context)

func NewAuthSourcePost added in v0.4.0

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

func NewUser

func NewUser(ctx *middleware.Context)

func NewUserPost added in v0.3.0

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

func Notices added in v0.5.5

func Notices(ctx *middleware.Context)

func Organizations added in v0.5.0

func Organizations(ctx *middleware.Context)

func Repos added in v0.7.33

func Repos(ctx *middleware.Context)

func Users

func Users(ctx *middleware.Context)

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

type AuthSource added in v0.6.15

type AuthSource struct {
	Name string
	Type models.LoginType
}

Jump to

Keyboard shortcuts

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