Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHookMessageFactory ¶
type EventHookMessageFactory struct {
// contains filtered or unexported fields
}
this factory is intented to create a list of WebHookEventMessages from a list of EventGridEventResources so the messages can be relayed via queue to be published to MODM consumer webhook subscription
func NewEventHookMessageFactory ¶
func NewEventHookMessageFactory(filter filtering.EventGridEventFilter, client *armresources.DeploymentsClient, db *gorm.DB) *EventHookMessageFactory
func (*EventHookMessageFactory) Create ¶
func (f *EventHookMessageFactory) Create(ctx context.Context, matchAny d.LookupTags, eventGridEvents []*eventgrid.Event) []*sdk.EventHookMessage
Creates a list of messages from a list of EventGridEventResource
Click to show internal directories.
Click to hide internal directories.