EventUtils
This project provides 3 elements for manipulating cloud events.
- Schema generation from Go structs
- Publishing of schemas to this schema registry
- The ability go generate functions and clients for those CloudEvents types.
An example deployment of the schema registry is provided at
https://schemas.in-the-cloud.dev
Walkthrough
cmd/typegen
This binary generates Knative Eventing
EventType
objects and JSON-schema representations based on Go structs.
cmd/publish
Command for publishing to a schema registry (see above)
cmd/generate
Commands for generating receive functions, transform functions, and events
clients from data in the schema registries.