Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deploy ¶
type Deploy struct {
EventName string `json:"event_name"`
Data DeployData `json:"data"`
}
type DeployData ¶
type DeployData struct {
Deploy DeployDataDeploy `json:"deploy"`
}
type DeployDataDeploy ¶
type DummyEvent ¶
type DummyEvent struct {
EventName string `json:"event_name"`
}
type NewItem ¶
type NewItem struct {
EventName string `json:"event_name"`
Data NewItemData `json:"data"`
}
type NewItemData ¶
type NewItemData struct {
Item NewItemDataItem `json:"item"`
}
type NewItemDataItem ¶
type NewItemDataItem struct {
ID int `json:"id"`
Environment string `json:"environment"`
ProjectID int `json:"project_id"`
LastOccurence NewItemDataItemLastOccurence `json:"last_occurrence"`
}
type Occurrence ¶
type Occurrence struct {
EventName string `json:"event_name"`
Data OccurrenceData `json:"data"`
}
func (*Occurrence) Fields ¶
func (o *Occurrence) Fields() map[string]interface{}
func (*Occurrence) Tags ¶
func (o *Occurrence) Tags() map[string]string
type OccurrenceData ¶
type OccurrenceData struct {
Item OccurrenceDataItem `json:"item"`
Occurrence OccurrenceDataOccurrence `json:"occurrence"`
}
type OccurrenceDataItem ¶
type RollbarWebhook ¶
func (*RollbarWebhook) Register ¶
func (rb *RollbarWebhook) Register(router *mux.Router, acc telegraf.Accumulator, log telegraf.Logger)
Click to show internal directories.
Click to hide internal directories.