Documentation ¶
Overview ¶
Code generated by genservices. DO NOT EDIT.
Code generated by genservices. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(svc Service, r *mux.Router, regCtx *endpointutil.HandlerRegContext)
Types ¶
type BasicService ¶
type BasicService struct { ProviderFactory providers.Factory AnalysisLauncherQueue *repoanalyzes.LauncherProducer PullAnalyzeQueue *pullanalyzesqueue.Producer ActiveSubPolicy *policy.ActiveSubscription Cfg config.Config }
func (BasicService) HandleGithubWebhook ¶
func (s BasicService) HandleGithubWebhook(rc *request.AnonymousContext, req *GithubWebhook, body request.Body) error
type GithubWebhook ¶
type GithubWebhook struct { request.ShortRepo HookID string `request:",urlPart,"` EventType string `request:"X-GitHub-Event,header,"` DeliveryGUID string `request:"X-GitHub-Delivery,header,"` }
func (GithubWebhook) FillLogContext ¶
func (w GithubWebhook) FillLogContext(lctx logutil.Context)
type HandleGithubWebhookRequest ¶
type HandleGithubWebhookRequest struct { ReqRepo *GithubWebhook Body request.Body }
type HandleGithubWebhookResponse ¶
type HandleGithubWebhookResponse struct {
// contains filtered or unexported fields
}
type Service ¶
type Service interface { //url:/v1/repos/{owner}/{name}/hooks/{hookid} method:POST HandleGithubWebhook(rc *request.AnonymousContext, reqRepo *GithubWebhook, body request.Body) error }
Click to show internal directories.
Click to hide internal directories.