Documentation ¶
Index ¶
- func GetIngestProjectEventWorkflowID(eid apievent.EventID, pid apiproject.ProjectID) string
- func TopicForEvent(id apievent.EventID) string
- func TopicForProject(id apiproject.ProjectID) string
- type Events
- func (e *Events) IngestEvent(ctx context.Context, id apievent.EventID, srcid apieventsrc.EventSourceID, ...) (apievent.EventID, error)
- func (e *Events) Init()
- func (e *Events) MonitorProjectEvents(ctx context.Context, ch chan<- *apievent.TrackIngestEventUpdate, ...) error
- func (e *Events) Start() error
- func (e *Events) TrackIngestEvent(ctx context.Context, ch chan<- *apievent.TrackIngestEventUpdate, ...) error
- type Stores
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIngestProjectEventWorkflowID ¶
func GetIngestProjectEventWorkflowID(eid apievent.EventID, pid apiproject.ProjectID) string
func TopicForEvent ¶ added in v0.6.0
func TopicForProject ¶ added in v0.10.0
func TopicForProject(id apiproject.ProjectID) string
Types ¶
type Events ¶
type Events struct { Temporal temporalclient.Client PubSub pubsub.PubSub Stores Stores Run func(workflow.Context, *apievent.Event, *apiproject.Project, string) (*apilang.RunSummary, error) L L.Nullable // contains filtered or unexported fields }
func (*Events) IngestEvent ¶
func (*Events) MonitorProjectEvents ¶ added in v0.10.0
func (e *Events) MonitorProjectEvents( ctx context.Context, ch chan<- *apievent.TrackIngestEventUpdate, pid apiproject.ProjectID, ) error
func (*Events) TrackIngestEvent ¶ added in v0.6.0
type Stores ¶
type Stores struct { Events eventsstore.Store EventSources eventsrcsstore.Store Projects projectsstore.Store Accounts accountsstore.Store }
Click to show internal directories.
Click to hide internal directories.