Documentation ¶
Index ¶
- func HandleAll(repos core.RepositoryStore) http.HandlerFunc
- func HandleChown(repos core.RepositoryStore) http.HandlerFunc
- func HandleDisable(repos core.RepositoryStore, sender core.WebhookSender) http.HandlerFunc
- func HandleEnable(hooks core.HookService, repos core.RepositoryStore, sender core.WebhookSender) http.HandlerFunc
- func HandleFind() http.HandlerFunc
- func HandleRepair(hooks core.HookService, repoz core.RepositoryService, ...) http.HandlerFunc
- func HandleUpdate(repos core.RepositoryStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAll ¶
func HandleAll(repos core.RepositoryStore) http.HandlerFunc
HandleAll returns an http.HandlerFunc that processes http requests to list all repositories in the database.
func HandleChown ¶
func HandleChown(repos core.RepositoryStore) http.HandlerFunc
HandleChown returns an http.HandlerFunc that processes http requests to chown the repository to the currently authenticated user.
func HandleDisable ¶
func HandleDisable( repos core.RepositoryStore, sender core.WebhookSender, ) http.HandlerFunc
HandleDisable returns an http.HandlerFunc that processes http requests to disable a repository in the system.
func HandleEnable ¶
func HandleEnable( hooks core.HookService, repos core.RepositoryStore, sender core.WebhookSender, ) http.HandlerFunc
HandleEnable returns an http.HandlerFunc that processes http requests to enable a repository in the system.
func HandleFind ¶
func HandleFind() http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes the json-encoded repository details to the response body.
func HandleRepair ¶
func HandleRepair( hooks core.HookService, repoz core.RepositoryService, repos core.RepositoryStore, users core.UserStore, link string, ) http.HandlerFunc
HandleRepair returns an http.HandlerFunc that processes http requests to repair the repository hooks and sync the repository details.
func HandleUpdate ¶
func HandleUpdate(repos core.RepositoryStore) http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that processes http requests to update the repository details.
Types ¶
This section is empty.