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 ¶ added in v0.9.97
func AddCollaborator(c *context.APIContext, form api.AddCollaboratorOption)
func AddIssueLabels ¶ added in v0.9.60
func AddIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
func ClearIssueLabels ¶ added in v0.9.60
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 ¶ added in v0.9.13
func CreateIssue(c *context.APIContext, form api.CreateIssueOption)
func CreateIssueComment ¶ added in v0.9.97
func CreateIssueComment(c *context.APIContext, form api.CreateIssueCommentOption)
func CreateLabel ¶ added in v0.9.60
func CreateLabel(c *context.APIContext, form api.CreateLabelOption)
func CreateMilestone ¶ added in v0.9.97
func CreateMilestone(c *context.APIContext, form api.CreateMilestoneOption)
func CreateOrgRepo ¶
func CreateOrgRepo(c *context.APIContext, opt api.CreateRepoOption)
func CreateUserRepo ¶ added in v0.8.10
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 ¶ added in v0.10.1
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 ¶ added in v0.9.46
func DeleteHook(c *context.APIContext)
func DeleteIssueComment ¶ added in v0.9.113
func DeleteIssueComment(c *context.APIContext)
func DeleteIssueLabel ¶ added in v0.9.60
func DeleteIssueLabel(c *context.APIContext)
func DeleteLabel ¶ added in v0.9.60
func DeleteLabel(c *context.APIContext)
func DeleteMilestone ¶ added in v0.9.97
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 ¶ added in v0.9.13
func EditIssue(c *context.APIContext, form api.EditIssueOption)
func EditIssueComment ¶ added in v0.9.97
func EditIssueComment(c *context.APIContext, form api.EditIssueCommentOption)
func EditLabel ¶ added in v0.9.60
func EditLabel(c *context.APIContext, form api.EditLabelOption)
func EditMilestone ¶ added in v0.9.97
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 ¶ added in v0.8.43
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 ¶ added in v0.9.97
func GetEditorconfig(c *context.APIContext)
func GetIssue ¶ added in v0.9.13
func GetIssue(c *context.APIContext)
func GetLabel ¶ added in v0.9.60
func GetLabel(c *context.APIContext)
func GetMilestone ¶ added in v0.9.97
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 ¶ added in v0.10.1
func IsCollaborator(c *context.APIContext)
func ListBranches ¶ added in v0.8.43
func ListBranches(c *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-branches
func ListCollaborators ¶ added in v0.10.1
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 ¶ added in v0.9.128
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 ¶ added in v0.9.97
func ListIssueComments(c *context.APIContext)
func ListIssueLabels ¶ added in v0.9.60
func ListIssueLabels(c *context.APIContext)
func ListIssues ¶ added in v0.9.13
func ListIssues(c *context.APIContext)
func ListLabels ¶ added in v0.9.60
func ListLabels(c *context.APIContext)
func ListMilestones ¶ added in v0.9.97
func ListMilestones(c *context.APIContext)
func ListMyRepos ¶
func ListMyRepos(c *context.APIContext)
func ListOrgRepositories ¶ added in v0.10.1
func ListOrgRepositories(c *context.APIContext)
func ListRepoIssueComments ¶ added in v0.9.113
func ListRepoIssueComments(c *context.APIContext)
func ListUserIssues ¶ added in v0.10.1
func ListUserIssues(c *context.APIContext)
func ListUserRepositories ¶ added in v0.10.1
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 ¶ added in v0.11.4
func MirrorSync(c *context.APIContext)
func ReplaceIssueLabels ¶ added in v0.9.60
func ReplaceIssueLabels(c *context.APIContext, form api.IssueLabelsOption)
Types ¶
This section is empty.