Documentation ¶
Index ¶
- func AddAttribute(attributeKind spec.Kind, value interface{}) binding.TransformerFactory
- func AddExtension(name string, value interface{}) binding.TransformerFactory
- func DeleteAttribute(attributeKind spec.Kind) binding.TransformerFactory
- func DeleteExtension(name string) binding.TransformerFactory
- func UpdateAttribute(attributeKind spec.Kind, updater func(interface{}) (interface{}, error)) binding.TransformerFactory
- func UpdateExtension(name string, updater func(interface{}) (interface{}, error)) binding.TransformerFactory
- func Version(version spec.Version) binding.TransformerFactory
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.