Documentation ¶
Index ¶
- func CreateOrg(ctx *context.APIContext, form api.CreateOrgOption)
- func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
- func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption)
- func CreateUser(ctx *context.APIContext, form api.CreateUserOption)
- func DeleteUser(ctx *context.APIContext)
- func DeleteUserPublicKey(ctx *context.APIContext)
- func EditUser(ctx *context.APIContext, form api.EditUserOption)
- func GetAllOrgs(ctx *context.APIContext)
- func GetAllUsers(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrg ¶
func CreateOrg(ctx *context.APIContext, form api.CreateOrgOption)
CreateOrg api for create organization
func CreatePublicKey ¶
func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
CreatePublicKey api for creating a public key to a user
func CreateRepo ¶
func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption)
CreateRepo api for creating a repository
func CreateUser ¶
func CreateUser(ctx *context.APIContext, form api.CreateUserOption)
CreateUser create a user
func DeleteUserPublicKey ¶ added in v1.4.0
func DeleteUserPublicKey(ctx *context.APIContext)
DeleteUserPublicKey api for deleting a user's public key
func EditUser ¶
func EditUser(ctx *context.APIContext, form api.EditUserOption)
EditUser api for modifying a user's information
func GetAllOrgs ¶ added in v1.8.1
func GetAllOrgs(ctx *context.APIContext)
GetAllOrgs API for getting information of all the organizations
func GetAllUsers ¶ added in v1.8.1
func GetAllUsers(ctx *context.APIContext)
GetAllUsers API for getting information of all the users
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.