Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶
type AuditEvent struct { Data *string `json:"data"` Actor struct { Username *string `json:"username"` } `json:"actor"` ActorLocationIP *string `json:"actorLocationIp"` // contains filtered or unexported fields }
func (AuditEvent) Enrich ¶
func (auditEvent AuditEvent) Enrich(header http.Header, evt *datadogsender.Event, logger *zap.SugaredLogger)
type BuildOrTask ¶
type BuildOrTask struct { Build struct { ID *int64 `json:"id"` Status *string `json:"status"` Branch *string `json:"branch"` PullRequest *int64 `json:"pullRequest"` PullRequestDraft *bool `json:"pullRequestDraft"` ChangeIDInRepo *string `json:"changeIdInRepo"` User struct { Username *string `json:"username"` } `json:"user"` } `json:"build"` Task struct { ID *int64 `json:"id"` Name *string `json:"name"` Status *string `json:"status"` StatusTimestamp *int64 `json:"statusTimestamp"` InstanceType *string `json:"instanceType"` UniqueLabels []string `json:"uniqueLabels"` ManualRerunCount *int64 `json:"manualRerunCount"` LocalGroupID *int64 `json:"localGroupId"` } `json:"task"` // contains filtered or unexported fields }
func (BuildOrTask) Enrich ¶
func (buildOrTask BuildOrTask) Enrich(header http.Header, evt *datadogsender.Event, logger *zap.SugaredLogger)
type Payload ¶
type Payload interface {
Enrich(http.Header, *datadogsender.Event, *zap.SugaredLogger)
}
Click to show internal directories.
Click to hide internal directories.