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
Click to show internal directories.
Click to hide internal directories.