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.
Click to show internal directories.
Click to hide internal directories.