admin

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActivateEmail added in v1.11.2

func ActivateEmail(ctx *context.Context)

ActivateEmail serves a POST request for activating/deactivating a user's email

func AddWorkers added in v1.11.0

func AddWorkers(ctx *context.Context)

AddWorkers adds workers to a worker group

func AdoptOrDeleteRepository added in v1.13.0

func AdoptOrDeleteRepository(ctx *context.Context)

AdoptOrDeleteRepository adopts or deletes a repository

func Authentications

func Authentications(ctx *context.Context)

Authentications show authentication config page

func Config

func Config(ctx *context.Context)

Config show admin config page

func Dashboard

func Dashboard(ctx *context.Context)

Dashboard show admin panel dashboard

func DashboardPost added in v1.11.2

func DashboardPost(ctx *context.Context, form auth.AdminDashboardForm)

DashboardPost run an admin operation

func DefaultOrSystemWebhooks added in v1.12.0

func DefaultOrSystemWebhooks(ctx *context.Context)

DefaultOrSystemWebhooks renders both admin default and system webhook list pages

func DeleteAuthSource

func DeleteAuthSource(ctx *context.Context)

DeleteAuthSource response for deleting an auth source

func DeleteDefaultOrSystemWebhook added in v1.12.0

func DeleteDefaultOrSystemWebhook(ctx *context.Context)

DeleteDefaultOrSystemWebhook handler to delete an admin-defined system or default webhook

func DeleteNotices

func DeleteNotices(ctx *context.Context)

DeleteNotices delete the specific notices

func DeleteRepo

func DeleteRepo(ctx *context.Context)

DeleteRepo delete one repository

func DeleteUser

func DeleteUser(ctx *context.Context)

DeleteUser response for deleting a user

func EditAuthSource

func EditAuthSource(ctx *context.Context)

EditAuthSource render editing auth source page

func EditAuthSourcePost

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

EditAuthSourcePost response for editing auth source

func EditUser

func EditUser(ctx *context.Context)

EditUser show editting user page

func EditUserPost

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

EditUserPost response for editting user

func Emails added in v1.11.2

func Emails(ctx *context.Context)

Emails show all emails

func EmptyNotices

func EmptyNotices(ctx *context.Context)

EmptyNotices delete all the notices

func Flush added in v1.12.0

func Flush(ctx *context.Context)

Flush flushes a queue

func Monitor

func Monitor(ctx *context.Context)

Monitor show admin monitor page

func MonitorCancel added in v1.11.0

func MonitorCancel(ctx *context.Context)

MonitorCancel cancels a process

func NewAuthSource

func NewAuthSource(ctx *context.Context)

NewAuthSource render adding a new auth source page

func NewAuthSourcePost

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

NewAuthSourcePost response for adding an auth source

func NewUser

func NewUser(ctx *context.Context)

NewUser render adding a new user page

func NewUserPost

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

NewUserPost response for adding a new user

func Notices

func Notices(ctx *context.Context)

Notices show notices for admin

func Organizations

func Organizations(ctx *context.Context)

Organizations show all the organizations

func Queue added in v1.11.0

func Queue(ctx *context.Context)

Queue shows details for a specific queue

func Repos

func Repos(ctx *context.Context)

Repos show all the repositories

func SendTestMail

func SendTestMail(ctx *context.Context)

SendTestMail send test mail to confirm mail service is OK

func SetQueueSettings added in v1.11.0

func SetQueueSettings(ctx *context.Context)

SetQueueSettings sets the maximum number of workers and other settings for this queue

func UnadoptedRepos added in v1.13.0

func UnadoptedRepos(ctx *context.Context)

UnadoptedRepos lists the unadopted repositories

func Users

func Users(ctx *context.Context)

Users show all the users

func WorkerCancel added in v1.11.0

func WorkerCancel(ctx *context.Context)

WorkerCancel cancels a worker group

Types

This section is empty.

Jump to

Keyboard shortcuts

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