policy

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEngine

func NewEngine(opts ...engineOption) (*cedarEngine, error)

func WithBytes

func WithBytes(name string, policyBytes []byte) engineOption

WithBytes specifies the bytes to load policies from.

func WithFile

func WithFile(policyFile string) engineOption

WithFile specifies the file to load policies from.

func WithPath

func WithPath(policyPath string) engineOption

WithPath specifies the path to load policies from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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