transcoder

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAttribute added in v1.1.0

func AddAttribute(attributeKind spec.Kind, value interface{}) binding.TransformerFactory

Add cloudevents attribute (if missing) during the encoding process

func AddExtension added in v1.1.0

func AddExtension(name string, value interface{}) binding.TransformerFactory

Add cloudevents extension (if missing) during the encoding process

func DeleteAttribute added in v1.1.0

func DeleteAttribute(attributeKind spec.Kind) binding.TransformerFactory

Delete cloudevents attribute during the encoding process

func DeleteExtension added in v1.1.0

func DeleteExtension(name string) binding.TransformerFactory

Delete cloudevents extension during the encoding process

func UpdateAttribute added in v1.1.0

func UpdateAttribute(attributeKind spec.Kind, updater func(interface{}) (interface{}, error)) binding.TransformerFactory

Update cloudevents attribute (if present) using the provided function during the encoding process

func UpdateExtension added in v1.1.0

func UpdateExtension(name string, updater func(interface{}) (interface{}, error)) binding.TransformerFactory

Update cloudevents extension (if present) using the provided function during the encoding process

func Version

func Version(version spec.Version) binding.TransformerFactory

Returns a TransformerFactory that converts the event context version to the specified one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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