rulepacks

package
v1.0.0-beta.150 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package rulepacks validates rule-pack identities at the composition boundary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(cfg *config.Config) error

ValidateConfig rejects invalid or duplicate enabled rule processors before the component manager constructs any component. Separate Config values are separate compositions, so replicas may reuse the same stable PackID.

func ValidateRuntimeUpdate

func ValidateRuntimeUpdate(instanceName string, previous *types.ComponentConfig, proposed types.ComponentConfig) error

ValidateRuntimeUpdate rejects rule-processor composition changes that cannot preserve the static owner binding established before ComponentManager.Start. Rule definitions and the explicitly supported runtime fields have their own processor-local update path; replacing or newly enabling the component would construct an unbound processor after BindRulePackContracts has already run.

Types

This section is empty.

Jump to

Keyboard shortcuts

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