package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 16, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewEngine(opts ...engineOption) (*cedarEngine, error)
func WithBytes(name string, policyBytes []byte) engineOption
WithBytes specifies the bytes to load policies from.
func WithFile(policyFile string) engineOption
WithFile specifies the file to load policies from.
func WithPath(policyPath string) engineOption
WithPath specifies the path to load policies from.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.