Documentation ¶
Index ¶
- 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 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 EditHook(ctx *context.APIContext, form api.EditHookOption)
- func EditIssue(ctx *context.APIContext, form api.EditIssueOption)
- 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 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 ListIssues(ctx *context.APIContext)
- func ListMyRepos(ctx *context.APIContext)
- func Migrate(ctx *context.APIContext, form auth.MigrateRepoForm)
- func Search(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 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 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 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 ListIssues ¶ added in v0.9.13
func ListIssues(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 Search ¶
func Search(ctx *context.APIContext)
https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories
Types ¶
This section is empty.