admin

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

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

func Config

func Config(ctx *context.Context)

func Dashboard

func Dashboard(ctx *context.Context)

func DeleteAuthSource added in v0.4.0

func DeleteAuthSource(ctx *context.Context)

func DeleteNotices added in v0.7.33

func DeleteNotices(ctx *context.Context)

func DeleteRepo added in v0.7.33

func DeleteRepo(ctx *context.Context)

func DeleteUser

func DeleteUser(ctx *context.Context)

func EditAuthSource added in v0.4.0

func EditAuthSource(ctx *context.Context)

func EditAuthSourcePost added in v0.4.0

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

func EditUser

func EditUser(ctx *context.Context)

func EditUserPost added in v0.3.0

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

func EmptyNotices added in v0.7.33

func EmptyNotices(ctx *context.Context)

func Monitor added in v0.5.0

func Monitor(ctx *context.Context)

func NewAuthSource added in v0.4.0

func NewAuthSource(ctx *context.Context)

func NewAuthSourcePost added in v0.4.0

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

func NewUser

func NewUser(ctx *context.Context)

func NewUserPost added in v0.3.0

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

func Notices added in v0.5.5

func Notices(ctx *context.Context)

func Organizations added in v0.5.0

func Organizations(ctx *context.Context)

func Repos added in v0.7.33

func Repos(ctx *context.Context)

func SendTestMail added in v0.9.0

func SendTestMail(ctx *context.Context)

func Users

func Users(ctx *context.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_HOOKS
	REINIT_MISSING_REPOSITORY
)

Jump to

Keyboard shortcuts

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