policyengines

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicyEngine

func NewPolicyEngine(ctx context.Context, baseConfig config.Section, name string) (policyengine.PolicyEngine, error)

func RegisterEngine

func RegisterEngine(factory Factory) string

Types

type Factory

type Factory interface {
	Name() string
	InitConfig(conf config.Section)
	NewPolicyEngine(ctx context.Context, conf config.Section) (policyengine.PolicyEngine, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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