Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Add an optional ServiceName field to event schema
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Hale <[email protected]>
  • Loading branch information
njhale committed Jul 27, 2023
1 parent ff1e20f commit a044c99
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/apis/internal.acorn.io/v1/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ type EventInstance struct {
// +optional
AppName string `json:"appName,omitempty"`

// ServiceName is the name of the service that the event is related to, if any.
// +optional
ServiceName string `json:"serviceName,omitempty"`

// Resource identifies the object the Event is regarding.
// +optional
Resource *EventResource `json:"resource,omitempty"`
Expand Down
14 changes: 14 additions & 0 deletions pkg/openapi/generated/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a044c99

Please sign in to comment.