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(ctx *context.APIContext, form api.AddCollaboratorOption)
- func AddIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
- func ClearIssueLabels(ctx *context.APIContext)
- func Create(ctx *context.APIContext, opt api.CreateRepoOption)
- func CreateDeployKey(ctx *context.APIContext, form api.CreateKeyOption)
- func CreateHook(ctx *context.APIContext, form api.CreateHookOption)
- func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption)
- func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOption)
- func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
- func CreateMilestone(ctx *context.APIContext, form api.CreateMilestoneOption)
- func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption)
- func CreateUserRepo(ctx *context.APIContext, owner *models.User, opt api.CreateRepoOption)
- func Delete(ctx *context.APIContext)
- func DeleteDeploykey(ctx *context.APIContext)
- func DeleteHook(ctx *context.APIContext)
- func DeleteIssueLabel(ctx *context.APIContext)
- func DeleteLabel(ctx *context.APIContext)
- func DeleteMilestone(ctx *context.APIContext)
- func EditHook(ctx *context.APIContext, form api.EditHookOption)
- func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
- func EditIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
- func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
- func EditMilestone(ctx *context.APIContext, form api.EditMilestoneOption)
- func Get(ctx *context.APIContext)
- func GetArchive(ctx *context.APIContext)
- func GetBranch(ctx *context.APIContext)
- func GetDeployKey(ctx *context.APIContext)
- func GetEditorconfig(ctx *context.APIContext)
- func GetIssue(ctx *context.APIContext)
- func GetLabel(ctx *context.APIContext)
- func GetMilestone(ctx *context.APIContext)
- func GetRawFile(ctx *context.APIContext)
- func HandleAddKeyError(ctx *context.APIContext, err error)
- func HandleCheckKeyStringError(ctx *context.APIContext, err error)
- func ListBranches(ctx *context.APIContext)
- func ListDeployKeys(ctx *context.APIContext)
- func ListHooks(ctx *context.APIContext)
- func ListIssueComments(ctx *context.APIContext)
- func ListIssueLabels(ctx *context.APIContext)
- func ListIssues(ctx *context.APIContext)
- func ListLabels(ctx *context.APIContext)
- func ListMilestones(ctx *context.APIContext)
- func ListMyRepos(ctx *context.APIContext)
- func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm)
- func ReplaceIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
- func Search(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollaborator ¶
func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption)
func AddIssueLabels ¶
func AddIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
func ClearIssueLabels ¶
func ClearIssueLabels(ctx *context.APIContext)
func Create ¶
func Create(ctx *context.APIContext, opt api.CreateRepoOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create
func CreateDeployKey ¶
func CreateDeployKey(ctx *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(ctx *context.APIContext, form api.CreateHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create-a-hook
func CreateIssue ¶
func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption)
func CreateIssueComment ¶
func CreateIssueComment(ctx *context.APIContext, form api.CreateIssueCommentOption)
func CreateLabel ¶
func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
func CreateMilestone ¶
func CreateMilestone(ctx *context.APIContext, form api.CreateMilestoneOption)
func CreateOrgRepo ¶
func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption)
func CreateUserRepo ¶
func CreateUserRepo(ctx *context.APIContext, owner *models.User, opt api.CreateRepoOption)
func Delete ¶
func Delete(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#delete
func DeleteDeploykey ¶
func DeleteDeploykey(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#remove-a-deploy-key
func DeleteHook ¶
func DeleteHook(ctx *context.APIContext)
func DeleteIssueLabel ¶
func DeleteIssueLabel(ctx *context.APIContext)
func DeleteLabel ¶
func DeleteLabel(ctx *context.APIContext)
func DeleteMilestone ¶
func DeleteMilestone(ctx *context.APIContext)
func EditHook ¶
func EditHook(ctx *context.APIContext, form api.EditHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#edit-a-hook
func EditIssue ¶
func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
func EditIssueComment ¶
func EditIssueComment(ctx *context.APIContext, form api.EditIssueCommentOption)
func EditLabel ¶
func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
func EditMilestone ¶
func EditMilestone(ctx *context.APIContext, form api.EditMilestoneOption)
func Get ¶
func Get(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#get
func GetArchive ¶
func GetArchive(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-archive
func GetBranch ¶
func GetBranch(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch
func GetDeployKey ¶
func GetDeployKey(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#get-a-deploy-key
func GetEditorconfig ¶
func GetEditorconfig(ctx *context.APIContext)
func GetIssue ¶
func GetIssue(ctx *context.APIContext)
func GetLabel ¶
func GetLabel(ctx *context.APIContext)
func GetMilestone ¶
func GetMilestone(ctx *context.APIContext)
func GetRawFile ¶
func GetRawFile(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content
func HandleAddKeyError ¶
func HandleAddKeyError(ctx *context.APIContext, err error)
func HandleCheckKeyStringError ¶
func HandleCheckKeyStringError(ctx *context.APIContext, err error)
func ListBranches ¶
func ListBranches(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-branches
func ListDeployKeys ¶
func ListDeployKeys(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#list-deploy-keys
func ListHooks ¶
func ListHooks(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks
func ListIssueComments ¶
func ListIssueComments(ctx *context.APIContext)
func ListIssueLabels ¶
func ListIssueLabels(ctx *context.APIContext)
func ListIssues ¶
func ListIssues(ctx *context.APIContext)
func ListLabels ¶
func ListLabels(ctx *context.APIContext)
func ListMilestones ¶
func ListMilestones(ctx *context.APIContext)
func ListMyRepos ¶
func ListMyRepos(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-your-repositories
func Migrate ¶
func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm)
https://github.com/gogits/go-gogs-client/wiki/Repositories#migrate
func ReplaceIssueLabels ¶
func ReplaceIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
func Search ¶
func Search(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories
Types ¶
This section is empty.