Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OpaProvider ¶ added in v0.2.0
type OpaProvider struct { // Context is the context that the OPA policy is being evaluated in Context context.Context `json:"context" yaml:"context"` // Spec is the specification of the OPA policy Spec OpaSpec `json:"spec" yaml:"spec"` }
func (OpaProvider) Evaluate ¶ added in v0.2.0
func (o OpaProvider) Evaluate(resources types.DomainResources) (types.Result, error)
Click to show internal directories.
Click to hide internal directories.