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 ¶ added in v0.9.46
func AddTeamMember(ctx *context.APIContext)
func AddTeamRepository ¶ added in v0.9.46
func AddTeamRepository(ctx *context.APIContext)
func CreateOrg ¶ added in v0.8.10
func CreateOrg(ctx *context.APIContext, form api.CreateOrgOption)
https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization
func CreatePublicKey ¶
func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)
https://github.com/gogits/go-gogs-client/wiki/Administration-Users#create-a-public-key-for-user
func CreateRepo ¶ added in v0.8.10
func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption)
https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository
func CreateTeam ¶ added in v0.9.46
func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)
func CreateUser ¶
func CreateUser(ctx *context.APIContext, form api.CreateUserOption)
https://github.com/gogits/go-gogs-client/wiki/Administration-Users#create-a-new-user
func DeleteUser ¶
func DeleteUser(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Administration-Users#delete-a-user
func EditUser ¶
func EditUser(ctx *context.APIContext, form api.EditUserOption)
https://github.com/gogits/go-gogs-client/wiki/Administration-Users#edit-an-existing-user
func GetRepositoryByParams ¶ added in v0.9.46
func GetRepositoryByParams(ctx *context.APIContext) *models.Repository
func RemoveTeamMember ¶ added in v0.9.46
func RemoveTeamMember(ctx *context.APIContext)
func RemoveTeamRepository ¶ added in v0.9.46
func RemoveTeamRepository(ctx *context.APIContext)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.