engine

package
v0.0.0-...-200b26a Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package engine is responsible for making policy decisions

Package engine is responsible for making policy decisions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	v1.PathPolicy
	KeySet keyset.KeySet
	Client client.Client
	Type   policy.Type
}

Action encapsulates information needed to begin executing a policy

type PolicyEngine

type PolicyEngine interface {
	Evaluate(msg *authnz.TargetMsg) (*Action, error)
}

PolicyEngine is responsible for making policy decisions

func New

func New(store policy2.PolicyStore) (PolicyEngine, error)

New creates a PolicyEngine

Jump to

Keyboard shortcuts

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