Documentation ¶
Overview ¶
Package repohooks manages webhooks for VCS events
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRepohookOptions ¶
type EventUnmarshaler ¶
EventUnmarshaler validates the request using the secret and unmarshals the event contained in the request body. If the request is to be ignored then the unmarshaler should return vcs.ErrIgnoreEvent, explaining why the event was ignored.
type Options ¶
type Options struct { logr.Logger OrganizationService *organization.Service VCSProviderService *vcsprovider.Service GithubAppService *github.Service VCSEventBroker *vcs.Broker *sql.DB *internal.HostnameService }
type Service ¶
func (Service) AddHandlers ¶ added in v0.2.2
func (*Service) CreateRepohook ¶
func (*Service) DeleteUnreferencedRepohooks ¶
func (*Service) RegisterCloudHandler ¶
func (s *Service) RegisterCloudHandler(kind vcs.Kind, h EventUnmarshaler)
Click to show internal directories.
Click to hide internal directories.