Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Protocol string `json:"protocol"` Identity string `json:"identity"` ID string `json:"id"` Version string `json:"version"` Timestamp int64 `json:"timestamp"` Type string `json:"type"` Machine string `json:"machine"` Name string `json:"name"` }
func (*Event) CloudEvent ¶
func (e *Event) CloudEvent(data any) cloudevents.Event
CloudEvent creates a CloudEvent from the state notification
func (*Event) MachineName ¶ added in v0.24.0
MachineName is the name of the autonomous agent
func (*Event) WatcherType ¶
WatcherType is the type of watcher the notification is for - exec, file etc
Click to show internal directories.
Click to hide internal directories.