cloudevents

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cloudevents contains helpers to interact with CloudEvents.

Index

Constants

View Source
const E2ECeExtension = "iotriggermeshe2e"

E2ECeExtension 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 NewHelloEvent

func NewHelloEvent(f *framework.Framework) *cloudevents.Event

NewHelloEvent 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL