Discover Packages
github.com/curt-hash/validity
output
cel
package
Version:
v0.0.0-...-4995b57
Opens a new window with list of versions in this module.
Published: Jun 7, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package cel implements the CEL output plugin. It also exports Compile, the
IR-to-CEL translation, for in-process use.
Validator is the type-checked CEL validator for one definition. Its
expression evaluates true exactly when a value of that type, bound to the
variable self, satisfies the definition's constraints.
Compile builds a type-checked CEL Validator for each top-level definition in
ir. It returns an error if any constraint cannot be expressed in CEL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.