Documentation ¶
Index ¶
- func HandleCreate(repos core.RepositoryStore, crons core.CronStore) http.HandlerFunc
- func HandleDelete(repos core.RepositoryStore, crons core.CronStore) http.HandlerFunc
- func HandleExec(users core.UserStore, repos core.RepositoryStore, crons core.CronStore, ...) http.HandlerFunc
- func HandleFind(repos core.RepositoryStore, crons core.CronStore) http.HandlerFunc
- func HandleList(repos core.RepositoryStore, crons core.CronStore) http.HandlerFunc
- func HandleUpdate(repos core.RepositoryStore, crons core.CronStore) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate( repos core.RepositoryStore, crons core.CronStore, ) http.HandlerFunc
HandleCreate returns an http.HandlerFunc that processes http requests to create a new cronjob.
func HandleDelete ¶
func HandleDelete( repos core.RepositoryStore, crons core.CronStore, ) http.HandlerFunc
HandleDelete returns an http.HandlerFunc that processes http requests to delete the cron job.
func HandleExec ¶ added in v1.5.0
func HandleExec( users core.UserStore, repos core.RepositoryStore, crons core.CronStore, commits core.CommitService, trigger core.Triggerer, ) http.HandlerFunc
HandleExec returns an http.HandlerFunc that processes http requests to execute a cronjob on-demand.
func HandleFind ¶
func HandleFind( repos core.RepositoryStore, crons core.CronStore, ) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes json-encoded cronjob details to the the response body.
func HandleList ¶
func HandleList( repos core.RepositoryStore, crons core.CronStore, ) http.HandlerFunc
HandleList returns an http.HandlerFunc that writes a json-encoded list of cron jobs to the response body.
func HandleUpdate ¶
func HandleUpdate( repos core.RepositoryStore, crons core.CronStore, ) http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that processes http requests to enable or disable a cron job.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.