Documentation ¶
Index ¶
- func AddTeamMember(ctx *context.APIContext)
- func AddTeamRepository(ctx *context.APIContext)
- 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 CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)
- func CreateUser(ctx *context.APIContext, form api.CreateUserOption)
- func DeleteUser(ctx *context.APIContext)
- func EditUser(ctx *context.APIContext, form api.EditUserOption)
- func GetRepositoryByParams(ctx *context.APIContext) *models.Repository
- func RemoveTeamMember(ctx *context.APIContext)
- func RemoveTeamRepository(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTeamMember ¶
func AddTeamMember(ctx *context.APIContext)
AddTeamMember api for add a member to a team
func AddTeamRepository ¶
func AddTeamRepository(ctx *context.APIContext)
AddTeamRepository api for adding a repository to a team
func CreateOrg ¶
func CreateOrg(ctx *context.APIContext, form api.CreateOrgOption)
CreateOrg api for create organization see https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization
func CreatePublicKey ¶
func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
CreatePublicKey api for creating a public key to a user see https://github.com/gogits/go-gogs-client/wiki/Administration-Users#create-a-public-key-for-user
func CreateRepo ¶
func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption)
CreateRepo api for creating a repository see https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository
func CreateTeam ¶
func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)
CreateTeam api for create a team
func CreateUser ¶
func CreateUser(ctx *context.APIContext, form api.CreateUserOption)
CreateUser api for creating a user see https://github.com/gogits/go-gogs-client/wiki/Administration-Users#create-a-new-user
func DeleteUser ¶
func DeleteUser(ctx *context.APIContext)
DeleteUser api for deleting a user https://github.com/gogits/go-gogs-client/wiki/Administration-Users#delete-a-user
func EditUser ¶
func EditUser(ctx *context.APIContext, form api.EditUserOption)
EditUser api for modifying a user's information see https://github.com/gogits/go-gogs-client/wiki/Administration-Users#edit-an-existing-user
func GetRepositoryByParams ¶
func GetRepositoryByParams(ctx *context.APIContext) *models.Repository
GetRepositoryByParams api for getting repository by orgnizition ID and repo name
func RemoveTeamMember ¶
func RemoveTeamMember(ctx *context.APIContext)
RemoveTeamMember api for remove one member from a team
func RemoveTeamRepository ¶
func RemoveTeamRepository(ctx *context.APIContext)
RemoveTeamRepository api for removing a repository from a team
Types ¶
This section is empty.