This folder contains the definitions of Protocol Buffers used by Styra Enterprise OPA.
We use Buf to manage and generate source code from the protocol buffer definitions.
The protobuf definitions here are a mirror of what we have pushed to the buf.build/styra/enterprise-opa
repository in the Buf Registry.
Running buf generate
in this folder (or ./buf.gen.yaml
if you're on a Linux system) should create the necessary Golang files under a folder named gen/
.
For supporting other languages, you will need to modify the buf.gen.yaml
file to add the appropriate generation arguments for your language of choice.
To lint the protobuf files, try running buf lint
in this folder.
The contents of this folder (Buf files and protobuf definitions) are released under the Apache v2.0 license license.