policyengines

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyEngine

func NewPolicyEngine(ctx context.Context, basePrefix config.Prefix, name string) (policyengine.PolicyEngine, error)

func RegisterEngine

func RegisterEngine(basePrefix config.Prefix, factory Factory) string

Types

type Factory

type Factory interface {
	Name() string
	InitPrefix(prefix config.Prefix)
	NewPolicyEngine(ctx context.Context, prefix config.Prefix) (policyengine.PolicyEngine, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL