Documentation ¶
Overview ¶
Copyright 2015 The Gogs Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
- func AddCollaborator(c *context.APIContext, form api.AddCollaboratorOption)
- func AddIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
- func ClearIssueLabels(c *context.APIContext)
- func Create(c *context.APIContext, opt api.CreateRepoOption)
- func CreateDeployKey(c *context.APIContext, form api.CreateKeyOption)
- func CreateHook(c *context.APIContext, form api.CreateHookOption)
- func CreateIssue(c *context.APIContext, form api.CreateIssueOption)
- func CreateIssueComment(c *context.APIContext, form api.CreateIssueCommentOption)
- func CreateLabel(c *context.APIContext, form api.CreateLabelOption)
- func CreateMilestone(c *context.APIContext, form api.CreateMilestoneOption)
- func CreateOrgRepo(c *context.APIContext, opt api.CreateRepoOption)
- func CreateUserRepo(c *context.APIContext, owner *models.User, opt api.CreateRepoOption)
- func Delete(c *context.APIContext)
- func DeleteCollaborator(c *context.APIContext)
- func DeleteDeploykey(c *context.APIContext)
- func DeleteHook(c *context.APIContext)
- func DeleteIssueComment(c *context.APIContext)
- func DeleteIssueLabel(c *context.APIContext)
- func DeleteLabel(c *context.APIContext)
- func DeleteMilestone(c *context.APIContext)
- func EditHook(c *context.APIContext, form api.EditHookOption)
- func EditIssue(c *context.APIContext, form api.EditIssueOption)
- func EditIssueComment(c *context.APIContext, form api.EditIssueCommentOption)
- func EditLabel(c *context.APIContext, form api.EditLabelOption)
- func EditMilestone(c *context.APIContext, form api.EditMilestoneOption)
- func Get(c *context.APIContext)
- func GetArchive(c *context.APIContext)
- func GetBranch(c *context.APIContext)
- func GetDeployKey(c *context.APIContext)
- func GetEditorconfig(c *context.APIContext)
- func GetIssue(c *context.APIContext)
- func GetLabel(c *context.APIContext)
- func GetMilestone(c *context.APIContext)
- func GetRawFile(c *context.APIContext)
- func HandleAddKeyError(c *context.APIContext, err error)
- func HandleCheckKeyStringError(c *context.APIContext, err error)
- func IsCollaborator(c *context.APIContext)
- func ListBranches(c *context.APIContext)
- func ListCollaborators(c *context.APIContext)
- func ListDeployKeys(c *context.APIContext)
- func ListForks(c *context.APIContext)
- func ListHooks(c *context.APIContext)
- func ListIssueComments(c *context.APIContext)
- func ListIssueLabels(c *context.APIContext)
- func ListIssues(c *context.APIContext)
- func ListLabels(c *context.APIContext)
- func ListMilestones(c *context.APIContext)
- func ListMyRepos(c *context.APIContext)
- func ListOrgRepositories(c *context.APIContext)
- func ListRepoIssueComments(c *context.APIContext)
- func ListUserIssues(c *context.APIContext)
- func ListUserRepositories(c *context.APIContext)
- func Migrate(c *context.APIContext, f form.MigrateRepo)
- func MirrorSync(c *context.APIContext)
- func ReplaceIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
- func Search(c *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollaborator ¶
func AddCollaborator(c *context.APIContext, form api.AddCollaboratorOption)
func AddIssueLabels ¶
func AddIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
func ClearIssueLabels ¶
func ClearIssueLabels(c *context.APIContext)
func Create ¶
func Create(c *context.APIContext, opt api.CreateRepoOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create
func CreateDeployKey ¶
func CreateDeployKey(c *context.APIContext, form api.CreateKeyOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#add-a-new-deploy-key
func CreateHook ¶
func CreateHook(c *context.APIContext, form api.CreateHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create-a-hook
func CreateIssue ¶
func CreateIssue(c *context.APIContext, form api.CreateIssueOption)
func CreateIssueComment ¶
func CreateIssueComment(c *context.APIContext, form api.CreateIssueCommentOption)
func CreateLabel ¶
func CreateLabel(c *context.APIContext, form api.CreateLabelOption)
func CreateMilestone ¶
func CreateMilestone(c *context.APIContext, form api.CreateMilestoneOption)
func CreateOrgRepo ¶
func CreateOrgRepo(c *context.APIContext, opt api.CreateRepoOption)
func CreateUserRepo ¶
func CreateUserRepo(c *context.APIContext, owner *models.User, opt api.CreateRepoOption)
func Delete ¶
func Delete(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#delete
func DeleteCollaborator ¶
func DeleteCollaborator(c *context.APIContext)
func DeleteDeploykey ¶
func DeleteDeploykey(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#remove-a-deploy-key
func DeleteHook ¶
func DeleteHook(c *context.APIContext)
func DeleteIssueComment ¶
func DeleteIssueComment(c *context.APIContext)
func DeleteIssueLabel ¶
func DeleteIssueLabel(c *context.APIContext)
func DeleteLabel ¶
func DeleteLabel(c *context.APIContext)
func DeleteMilestone ¶
func DeleteMilestone(c *context.APIContext)
func EditHook ¶
func EditHook(c *context.APIContext, form api.EditHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#edit-a-hook
func EditIssue ¶
func EditIssue(c *context.APIContext, form api.EditIssueOption)
func EditIssueComment ¶
func EditIssueComment(c *context.APIContext, form api.EditIssueCommentOption)
func EditLabel ¶
func EditLabel(c *context.APIContext, form api.EditLabelOption)
func EditMilestone ¶
func EditMilestone(c *context.APIContext, form api.EditMilestoneOption)
func Get ¶
func Get(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#get
func GetArchive ¶
func GetArchive(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-archive
func GetBranch ¶
func GetBranch(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch
func GetDeployKey ¶
func GetDeployKey(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#get-a-deploy-key
func GetEditorconfig ¶
func GetEditorconfig(c *context.APIContext)
func GetIssue ¶
func GetIssue(c *context.APIContext)
func GetLabel ¶
func GetLabel(c *context.APIContext)
func GetMilestone ¶
func GetMilestone(c *context.APIContext)
func GetRawFile ¶
func GetRawFile(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content
func HandleAddKeyError ¶
func HandleAddKeyError(c *context.APIContext, err error)
func HandleCheckKeyStringError ¶
func HandleCheckKeyStringError(c *context.APIContext, err error)
func IsCollaborator ¶
func IsCollaborator(c *context.APIContext)
func ListBranches ¶
func ListBranches(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-branches
func ListCollaborators ¶
func ListCollaborators(c *context.APIContext)
func ListDeployKeys ¶
func ListDeployKeys(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#list-deploy-keys
func ListForks ¶
func ListForks(c *context.APIContext)
func ListHooks ¶
func ListHooks(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks
func ListIssueComments ¶
func ListIssueComments(c *context.APIContext)
func ListIssueLabels ¶
func ListIssueLabels(c *context.APIContext)
func ListIssues ¶
func ListIssues(c *context.APIContext)
func ListLabels ¶
func ListLabels(c *context.APIContext)
func ListMilestones ¶
func ListMilestones(c *context.APIContext)
func ListMyRepos ¶
func ListMyRepos(c *context.APIContext)
func ListOrgRepositories ¶
func ListOrgRepositories(c *context.APIContext)
func ListRepoIssueComments ¶
func ListRepoIssueComments(c *context.APIContext)
func ListUserIssues ¶
func ListUserIssues(c *context.APIContext)
func ListUserRepositories ¶
func ListUserRepositories(c *context.APIContext)
func Migrate ¶
func Migrate(c *context.APIContext, f form.MigrateRepo)
https://github.com/gogits/go-gogs-client/wiki/Repositories#migrate
func MirrorSync ¶
func MirrorSync(c *context.APIContext)
func ReplaceIssueLabels ¶
func ReplaceIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
Types ¶
This section is empty.