Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArtifactPubEvent ¶
CreateArtifactPubEvent creates a NewArtifactPublishedEvent CDEvent that is published as a CloudEvent. The key is the sha256 of the *processor.Document bytes that will be used to retrieve the processor.Document stored in the blob store. TODO (pxp928): change to use URI Reference field once the PR merges: https://github.com/cdevents/spec/pull/171
func DecodeEventSubject ¶
DecodeEventSubject takes in the collectedEvent bytes and converts it back into a CloudEvent to retrieve the necessary fields. The returned value is the subject of the event.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.