cloudevents

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverridesJSON

func OverridesJSON(ceo *duckv1.CloudEventOverrides, overrides ...ceOverrideOption) string

OverridesJSON returns the JSON representation of a duckv1.CloudEventOverrides, after applying some optional transformations to it.

func SetExtension

func SetExtension(key, value string) ceOverrideOption

SetExtension returns a ceOverrideOption which sets a given CloudEvents extension to an arbitrary value, if this extension isn't already set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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