Documentation ¶
Index ¶
- func Create(ctx *middleware.Context, opt api.CreateRepoOption)
- func CreateDeployKey(ctx *middleware.Context, form api.CreateKeyOption)
- func CreateHook(ctx *middleware.Context, form api.CreateHookOption)
- func CreateOrgRepo(ctx *middleware.Context, opt api.CreateRepoOption)
- func CreateUserRepo(ctx *middleware.Context, owner *models.User, opt api.CreateRepoOption)
- func Delete(ctx *middleware.Context)
- func DeleteDeploykey(ctx *middleware.Context)
- func EditHook(ctx *middleware.Context, form api.EditHookOption)
- func Get(ctx *middleware.Context)
- func GetArchive(ctx *middleware.Context)
- func GetDeployKey(ctx *middleware.Context)
- func GetRawFile(ctx *middleware.Context)
- func HandleAddKeyError(ctx *middleware.Context, err error)
- func HandleCheckKeyStringError(ctx *middleware.Context, err error)
- func ListDeployKeys(ctx *middleware.Context)
- func ListHooks(ctx *middleware.Context)
- func ListMyRepos(ctx *middleware.Context)
- func Migrate(ctx *middleware.Context, form auth.MigrateRepoForm)
- func Search(ctx *middleware.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx *middleware.Context, opt api.CreateRepoOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create
func CreateDeployKey ¶
func CreateDeployKey(ctx *middleware.Context, form api.CreateKeyOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#add-a-new-deploy-key
func CreateHook ¶
func CreateHook(ctx *middleware.Context, form api.CreateHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#create-a-hook
func CreateOrgRepo ¶
func CreateOrgRepo(ctx *middleware.Context, opt api.CreateRepoOption)
func CreateUserRepo ¶ added in v0.8.10
func CreateUserRepo(ctx *middleware.Context, owner *models.User, opt api.CreateRepoOption)
func Delete ¶
func Delete(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories#delete
func DeleteDeploykey ¶
func DeleteDeploykey(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#remove-a-deploy-key
func EditHook ¶
func EditHook(ctx *middleware.Context, form api.EditHookOption)
https://github.com/gogits/go-gogs-client/wiki/Repositories#edit-a-hook
func Get ¶
func Get(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories#get
func GetArchive ¶
func GetArchive(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-archive
func GetDeployKey ¶
func GetDeployKey(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#get-a-deploy-key
func GetRawFile ¶
func GetRawFile(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content
func HandleAddKeyError ¶
func HandleAddKeyError(ctx *middleware.Context, err error)
func HandleCheckKeyStringError ¶
func HandleCheckKeyStringError(ctx *middleware.Context, err error)
func ListDeployKeys ¶
func ListDeployKeys(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories-Deploy-Keys#list-deploy-keys
func ListHooks ¶
func ListHooks(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks
func ListMyRepos ¶
func ListMyRepos(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories#list-your-repositories
func Migrate ¶
func Migrate(ctx *middleware.Context, form auth.MigrateRepoForm)
https://github.com/gogits/go-gogs-client/wiki/Repositories#migrate
func Search ¶
func Search(ctx *middleware.Context)
https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories
Types ¶
This section is empty.