Documentation ¶
Index ¶
- 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 CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
- 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 EditHook(ctx *context.APIContext, form api.EditHookOption)
- func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
- func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
- func Get(ctx *context.APIContext)
- func GetArchive(ctx *context.APIContext)
- func GetBranch(ctx *context.APIContext)
- func GetDeployKey(ctx *context.APIContext)
- func GetIssue(ctx *context.APIContext)
- func GetLabel(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 ListIssueLabels(ctx *context.APIContext)
- func ListIssues(ctx *context.APIContext)
- func ListLabels(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 AddIssueLabels ¶ added in v0.9.60
func AddIssueLabels(ctx *context.APIContext, form api.IssueLabelsOption)
func ClearIssueLabels ¶ added in v0.9.60
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 ¶ added in v0.9.13
func CreateIssue(ctx *context.APIContext, form api.CreateIssueOption)
func CreateLabel ¶ added in v0.9.60
func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)
func CreateOrgRepo ¶
func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption)
func CreateUserRepo ¶ added in v0.8.10
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 ¶ added in v0.9.46
func DeleteHook(ctx *context.APIContext)
func DeleteIssueLabel ¶ added in v0.9.60
func DeleteIssueLabel(ctx *context.APIContext)
func DeleteLabel ¶ added in v0.9.60
func DeleteLabel(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 ¶ added in v0.9.13
func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
func EditLabel ¶ added in v0.9.60
func EditLabel(ctx *context.APIContext, form api.EditLabelOption)
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 ¶ added in v0.8.43
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 GetIssue ¶ added in v0.9.13
func GetIssue(ctx *context.APIContext)
func GetLabel ¶ added in v0.9.60
func GetLabel(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 ¶ added in v0.8.43
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 ListIssueLabels ¶ added in v0.9.60
func ListIssueLabels(ctx *context.APIContext)
func ListIssues ¶ added in v0.9.13
func ListIssues(ctx *context.APIContext)
func ListLabels ¶ added in v0.9.60
func ListLabels(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 ¶ added in v0.9.60
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.