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