Documentation ¶
Index ¶
- type Webhook
- type Webhooks
- func (wb *Webhooks) AvailableWebhooks() []Webhook
- func (wb *Webhooks) Description() string
- func (wb *Webhooks) Listen(events chan agent.Event)
- func (rb *Webhooks) Process(e agent.Event) error
- func (wb *Webhooks) SampleConfig() string
- func (wb *Webhooks) Start(events chan agent.Event) error
- func (rb *Webhooks) Stop()
- func (rb *Webhooks) Subscribe() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhooks ¶
type Webhooks struct { ServiceAddress string `mapstructure:"service_address"` Github *github.GithubWebhook }
func NewWebhooks ¶
func NewWebhooks() *Webhooks
func (*Webhooks) AvailableWebhooks ¶
Looks for fields which implement Webhook interface
func (*Webhooks) Description ¶
func (*Webhooks) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.