Documentation
¶
Overview ¶
Package cloudevents contains helpers to interact with CloudEvents.
Index ¶
Constants ¶
View Source
const E2ECeExtension = "iotriggermeshe2e"
E2EInstanceCeExtension is a CloudEvent extension that is used to propagate the name of the test that generated the event.
Variables ¶
This section is empty.
Functions ¶
func NewEvent ¶
func NewEvent(f *framework.Framework) *cloudevents.Event
NewEvent generates a CloudEvent with dummy values.
func RunEventSender ¶
func RunEventSender(c clientset.Interface, namespace, url string, payload *cloudevents.Event) *batchv1.Job
RunEventSender runs a job which sends a CloudEvent payload to the given URL. The function doesn't wait for the job to complete, but the job gets retried in case of failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.