Documentation ¶
Index ¶
- Constants
- func ActivateEmail(ctx *context.Context)
- func AdoptOrDeleteRepository(ctx *context.Context)
- func Applications(ctx *context.Context)
- func ApplicationsPost(ctx *context.Context)
- func ApplicationsRegenerateSecret(ctx *context.Context)
- func Authentications(ctx *context.Context)
- func AvatarPost(ctx *context.Context)
- func ChangeConfig(ctx *context.Context)
- func CleanupExpiredData(ctx *context.Context)
- func Config(ctx *context.Context)
- func ConfigSettings(ctx *context.Context)
- func CronTasks(ctx *context.Context)
- func Dashboard(ctx *context.Context)
- func DashboardPost(ctx *context.Context)
- func DefaultOrSystemWebhooks(ctx *context.Context)
- func DeleteApplication(ctx *context.Context)
- func DeleteAuthSource(ctx *context.Context)
- func DeleteAvatar(ctx *context.Context)
- func DeleteDefaultOrSystemWebhook(ctx *context.Context)
- func DeleteNotices(ctx *context.Context)
- func DeletePackageVersion(ctx *context.Context)
- func DeleteRepo(ctx *context.Context)
- func DeleteUser(ctx *context.Context)
- func EditApplication(ctx *context.Context)
- func EditApplicationPost(ctx *context.Context)
- func EditAuthSource(ctx *context.Context)
- func EditAuthSourcePost(ctx *context.Context)
- func EditUser(ctx *context.Context)
- func EditUserPost(ctx *context.Context)
- func Emails(ctx *context.Context)
- func EmptyNotices(ctx *context.Context)
- func MonitorDiagnosis(ctx *context.Context)
- func MonitorStats(ctx *context.Context)
- func NewAuthSource(ctx *context.Context)
- func NewAuthSourcePost(ctx *context.Context)
- func NewUser(ctx *context.Context)
- func NewUserPost(ctx *context.Context)
- func Notices(ctx *context.Context)
- func Organizations(ctx *context.Context)
- func Packages(ctx *context.Context)
- func QueueManage(ctx *context.Context)
- func QueueRemoveAllItems(ctx *context.Context)
- func QueueSet(ctx *context.Context)
- func Queues(ctx *context.Context)
- func RedirectToDefaultSetting(ctx *context.Context)
- func Repos(ctx *context.Context)
- func SelfCheck(ctx *context.Context)
- func SendTestMail(ctx *context.Context)
- func Stacktrace(ctx *context.Context)
- func StacktraceCancel(ctx *context.Context)
- func SystemStatus(ctx *context.Context)
- func UnadoptedRepos(ctx *context.Context)
- func Users(ctx *context.Context)
- func ViewUser(ctx *context.Context)
Constants ¶
const UserSearchDefaultAdminSort = "alphabetically"
UserSearchDefaultAdminSort is the default sort type for admin view
Variables ¶
This section is empty.
Functions ¶
func ActivateEmail ¶
ActivateEmail serves a POST request for activating/deactivating a user's email
func AdoptOrDeleteRepository ¶
AdoptOrDeleteRepository adopts or deletes a repository
func Applications ¶ added in v1.17.4
Applications render org applications page (for org, at the moment, there are only OAuth2 applications)
func ApplicationsPost ¶ added in v1.17.4
ApplicationsPost response for adding an oauth2 application
func ApplicationsRegenerateSecret ¶ added in v1.17.4
ApplicationsRegenerateSecret handles the post request for regenerating the secret
func Authentications ¶
Authentications show authentication config page
func AvatarPost ¶ added in v1.16.0
AvatarPost response for change user's avatar request
func ChangeConfig ¶ added in v1.17.4
func CleanupExpiredData ¶ added in v1.21.0
func ConfigSettings ¶ added in v1.22.0
func DefaultOrSystemWebhooks ¶
DefaultOrSystemWebhooks renders both admin default and system webhook list pages
func DeleteApplication ¶ added in v1.17.4
DeleteApplication deletes the given oauth2 application
func DeleteAuthSource ¶
DeleteAuthSource response for deleting an auth source
func DeleteAvatar ¶ added in v1.16.0
DeleteAvatar render delete avatar page
func DeleteDefaultOrSystemWebhook ¶
DeleteDefaultOrSystemWebhook handler to delete an admin-defined system or default webhook
func DeleteNotices ¶
DeleteNotices delete the specific notices
func DeletePackageVersion ¶ added in v1.17.0
DeletePackageVersion deletes a package version
func EditApplication ¶ added in v1.17.4
EditApplication displays the given application
func EditApplicationPost ¶ added in v1.17.4
EditApplicationPost response for editing oauth2 application
func EditAuthSource ¶
EditAuthSource render editing auth source page
func EditAuthSourcePost ¶
EditAuthSourcePost response for editing auth source
func MonitorDiagnosis ¶ added in v1.20.0
func MonitorStats ¶ added in v1.20.0
func NewAuthSource ¶
NewAuthSource render adding a new auth source page
func NewAuthSourcePost ¶
NewAuthSourcePost response for adding an auth source
func NewUserPost ¶
NewUserPost response for adding a new user
func Organizations ¶
Organizations show all the organizations
func QueueManage ¶ added in v1.20.0
QueueManage shows details for a specific queue
func QueueRemoveAllItems ¶ added in v1.20.0
func QueueSet ¶ added in v1.20.0
QueueSet sets the maximum number of workers and other settings for this queue
func RedirectToDefaultSetting ¶ added in v1.20.0
func SendTestMail ¶
SendTestMail send test mail to confirm mail service is OK
func Stacktrace ¶ added in v1.20.0
Stacktrace show admin monitor goroutines page
func StacktraceCancel ¶ added in v1.20.0
StacktraceCancel cancels a process
func SystemStatus ¶ added in v1.22.0
func UnadoptedRepos ¶
UnadoptedRepos lists the unadopted repositories
Types ¶
This section is empty.