Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEvent ¶
type CloudEvent struct { Url string StartTime uint64 Counter uint64 // contains filtered or unexported fields }
Webhook handler implements handler.Handler interface, Notify event to Webhook channel
func (*CloudEvent) Handle ¶
func (m *CloudEvent) Handle(e event.StatemonitorEvent)
type CloudEventMessageData ¶
type CloudEventMessageData struct { Operation string `json:"operation"` Kind string `json:"kind"` ClusterUid string `json:"clusterUid"` Description string `json:"description"` ApiVersion string `json:"apiVersion"` Diff string `json:"diff"` }
EventMeta containes the meta data about the event occurred
Click to show internal directories.
Click to hide internal directories.