Documentation
¶
Index ¶
- type Webhook
- type Webhooks
- func (wb *Webhooks) AvailableWebhooks() []Webhook
- func (wb *Webhooks) Description() string
- func (wb *Webhooks) Gather(_ telegraf.Accumulator) error
- func (wb *Webhooks) Listen(acc telegraf.Accumulator)
- func (wb *Webhooks) SampleConfig() string
- func (wb *Webhooks) Start(acc telegraf.Accumulator) error
- func (rb *Webhooks) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhooks ¶
type Webhooks struct {
ServiceAddress string
Github *github.GithubWebhook
Filestack *filestack.FilestackWebhook
Mandrill *mandrill.MandrillWebhook
Rollbar *rollbar.RollbarWebhook
}
func NewWebhooks ¶
func NewWebhooks() *Webhooks
func (*Webhooks) AvailableWebhooks ¶
Looks for fields which implement Webhook interface
func (*Webhooks) Description ¶
func (*Webhooks) Listen ¶
func (wb *Webhooks) Listen(acc telegraf.Accumulator)
func (*Webhooks) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.