admin

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 31 Imported by: 64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdoptRepository added in v1.13.0

func AdoptRepository(ctx *context.APIContext)

AdoptRepository will adopt an unadopted repository

func CreateHook added in v1.19.0

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 added in v1.19.0

func DeleteHook(ctx *context.APIContext)

DeleteHook delete a system hook

func DeleteUnadoptedRepository added in v1.13.0

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 DeleteUserPublicKey added in v1.4.0

func DeleteUserPublicKey(ctx *context.APIContext)

DeleteUserPublicKey api for deleting a user's public key

func EditHook added in v1.19.0

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 added in v1.20.0

func GetAllEmails(ctx *context.APIContext)

GetAllEmails

func GetAllOrgs added in v1.8.0

func GetAllOrgs(ctx *context.APIContext)

GetAllOrgs API for getting information of all the organizations

func GetHook added in v1.19.0

func GetHook(ctx *context.APIContext)

GetHook get an organization's hook by id

func ListCronTasks added in v1.13.0

func ListCronTasks(ctx *context.APIContext)

ListCronTasks api for getting cron tasks

func ListHooks added in v1.19.0

func ListHooks(ctx *context.APIContext)

ListHooks list system's webhooks

func ListUnadoptedRepositories added in v1.13.0

func ListUnadoptedRepositories(ctx *context.APIContext)

ListUnadoptedRepositories lists the unadopted repositories that match the provided names

func PostCronTask added in v1.13.0

func PostCronTask(ctx *context.APIContext)

PostCronTask api for getting cron tasks

func RenameUser added in v1.20.0

func RenameUser(ctx *context.APIContext)

RenameUser api for renaming a user

func SearchEmail added in v1.20.0

func SearchEmail(ctx *context.APIContext)

SearchEmail

func SearchUsers added in v1.20.0

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