Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleEventFromFlux2 ¶
func HandleEventFromFlux2(w http.ResponseWriter, r *http.Request)
func NewHttpServer ¶ added in v0.20.2
Types ¶
type Event ¶
type Event struct { InvolvedObject struct { Kind string `json:"kind"` Namespace string `json:"namespace"` Name string `json:"name"` UID string `json:"uid"` APIVersion string `json:"apiVersion"` ResourceVersion string `json:"resourceVersion"` } `json:"involvedObject"` Severity string `json:"severity"` Timestamp time.Time `json:"timestamp"` Message string `json:"message"` Reason string `json:"reason"` ReportingController string `json:"reportingController"` ReportingInstance string `json:"reportingInstance"` }
Click to show internal directories.
Click to hide internal directories.