rules

package
v0.0.0-...-182b3b8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package rules exposes github.com/oarkflow/rules ("Condition") as SPL builtins: publish a BCL decision definition against an in-process policy service, then evaluate it with facts to get back an effect/allow/score decision. This wraps only the core publish/evaluate/activate loop - workflows, chains, canary, blast-radius, and approvals are intentionally not exposed yet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RulesService

type RulesService struct {
	// contains filtered or unexported fields
}

RulesService wraps an in-process *rules.Service (memory-backed storage) as an SPL handle passed to rules_publish/rules_evaluate/rules_activate.

func (*RulesService) Inspect

func (s *RulesService) Inspect() string

func (*RulesService) Type

func (s *RulesService) Type() object.ObjectType

Jump to

Keyboard shortcuts

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