Join Slack
Powered by
I'm writing a Go script which generates Cerbos yam...
# help
r
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
github.com/cerbos/cerbos/api/genpb/cerbos/policy/v1
which
aaaalmost
works; it just yields a bunch of extra
op
nodes in the yaml:
8
Views
Open in Slack
Previous
Next