Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct{}
Factory is a factory for creating rego policy enforcers.
func (*Factory) Create ¶
func (f *Factory) Create(policyConfig config.PolicyPluginConfig) (policyprovider.PolicyProvider, error)
Create creates a new policy enforcer based on the policy provided in config.
Click to show internal directories.
Click to hide internal directories.