Versions in this module Expand all Collapse all v1 v1.0.1 Jun 9, 2021 v1.0.0 Jun 9, 2021 Changes in this version + const AuthToken + const EnvIamOpaAuthToken + const EnvIamOpaURL + const EnvPolicyOpaAuthToken + const EnvPolicyOpaURL + const URL + var DefaultKVS = config.KVS + var Help = config.HelpKVS + func Enabled(kvs config.KVS) bool + func SetPolicyOPAConfig(s config.Config, opaArgs Args) + type Args struct + AuthToken string + CloseRespFn func(r io.ReadCloser) + Transport http.RoundTripper + URL *xnet.URL + func LookupConfig(kv config.KVS, transport *http.Transport, closeRespFn func(io.ReadCloser)) (Args, error) + func (a *Args) UnmarshalJSON(data []byte) error + func (a *Args) Validate() error + type Opa struct + func New(args Args) *Opa + func (o *Opa) IsAllowed(args iampolicy.Args) (bool, error)