admin

package
v0.0.0-...-d5aab6d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserBadges

func AddUserBadges(ctx *context.APIContext)

AddUserBadges add badges to a user

func AdoptRepository

func AdoptRepository(ctx *context.APIContext)

AdoptRepository will adopt an unadopted repository

func CreateHook

func CreateHook(ctx *context.APIContext)

CreateHook create a hook for an organization

func CreateOrg

func CreateOrg(ctx *context.APIContext)

CreateOrg api for create organization

func CreatePublicKey

func CreatePublicKey(ctx *context.APIContext)

CreatePublicKey api for creating a public key to a user

func CreateRepo

func CreateRepo(ctx *context.APIContext)

CreateRepo api for creating a repository

func CreateUser

func CreateUser(ctx *context.APIContext)

CreateUser create a user

func DeleteHook

func DeleteHook(ctx *context.APIContext)

DeleteHook delete a system hook

func DeleteUnadoptedRepository

func DeleteUnadoptedRepository(ctx *context.APIContext)

DeleteUnadoptedRepository will delete an unadopted repository

func DeleteUser

func DeleteUser(ctx *context.APIContext)

DeleteUser api for deleting a user

func DeleteUserBadges

func DeleteUserBadges(ctx *context.APIContext)

DeleteUserBadges delete a badge from a user

func DeleteUserPublicKey

func DeleteUserPublicKey(ctx *context.APIContext)

DeleteUserPublicKey api for deleting a user's public key

func EditHook

func EditHook(ctx *context.APIContext)

EditHook modify a hook of a repository

func EditUser

func EditUser(ctx *context.APIContext)

EditUser api for modifying a user's information

func GetAllEmails

func GetAllEmails(ctx *context.APIContext)

GetAllEmails

func GetAllOrgs

func GetAllOrgs(ctx *context.APIContext)

GetAllOrgs API for getting information of all the organizations

func GetHook

func GetHook(ctx *context.APIContext)

GetHook get an organization's hook by id

func GetRegistrationToken

func GetRegistrationToken(ctx *context.APIContext)

GetRegistrationToken returns the token to register global runners

func ListCronTasks

func ListCronTasks(ctx *context.APIContext)

ListCronTasks api for getting cron tasks

func ListHooks

func ListHooks(ctx *context.APIContext)

ListHooks list system's webhooks

func ListUnadoptedRepositories

func ListUnadoptedRepositories(ctx *context.APIContext)

ListUnadoptedRepositories lists the unadopted repositories that match the provided names

func ListUserBadges

func ListUserBadges(ctx *context.APIContext)

ListUserBadges lists all badges belonging to a user

func PostCronTask

func PostCronTask(ctx *context.APIContext)

PostCronTask api for getting cron tasks

func RenameUser

func RenameUser(ctx *context.APIContext)

RenameUser api for renaming a user

func SearchEmail

func SearchEmail(ctx *context.APIContext)

SearchEmail

func SearchUsers

func SearchUsers(ctx *context.APIContext)

SearchUsers API for getting information of the users according the filter conditions

Types

This section is empty.

Jump to

Keyboard shortcuts

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