Title
#help
Rasmus Dencker

Rasmus Dencker

05/28/2022, 6:46 PM
I'm writing a Go script which generates Cerbos yaml manifests. Instead of having to rewrite ResourcePolicy etc structs, can I hook in and use some struct from the Cerbos repo? I tried using
<http://github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1|github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1>
which aaaalmost works; it just yields a bunch of extra
op
nodes in the yaml: