This repo contains Go bindings of the JSON schema definitions for events generated by console.redhat.com
To install run:
$ go get -u github.com/RedHatInsights/event-schemas-go
api
: Defines a submodule with the current version of console.redhat.com CloudEvents.examples
: Contains examples on how to use this library.apps
andcore
: Go bindings for console.redhat.com cloud events.
The generate.js script generates the Go code.
This script is executed on any push to our main branch, ensuring it never goes out of sync.
The release process works with release-please-action. You can head to their documentation to learn more about it, but in a nutshell:
- Uses Conventional Commits
- Creates a PR when there is something to be released (patch, minor or major). Once that PR is merged, a new release occurs.
Docs are automatically generated and hosted on GoDoc: https://pkg.go.dev/github.com/RedHatInsights/event-schemas-go.