Documentation
¶
Overview ¶
Package fetch provides functions for fetching objects from the index service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCloudEventFromIndex ¶ added in v0.0.4
func GetCloudEventFromIndex(ctx context.Context, evtSvc *eventrepo.Service, indexKeys cloudevent.CloudEvent[eventrepo.ObjectInfo], buckets []string) (cloudevent.RawEvent, error)
GetCloudEventFromIndex gets an object from the index service by trying to get it from each bucket in the list returning the first successful result.
func ListCloudEventsFromIndexes ¶ added in v0.0.4
func ListCloudEventsFromIndexes(ctx context.Context, evtSvc *eventrepo.Service, indexKeys []cloudevent.CloudEvent[eventrepo.ObjectInfo], buckets []string) ([]cloudevent.RawEvent, error)
ListCloudEventsFromIndexes fetches a list of cloud events from the index service by trying to get them from each bucket in the list returning the first successful result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.