package validate
import "cuelang.org/go/internal/core/validate"
Package validate collects errors from an evaluated Vertex.
Index ¶
Functions ¶
func Validate ¶
Validate checks that a value has certain properties. The value must have been evaluated.
Types ¶
type Config ¶
type Config struct { // Concrete, if true, requires that all values be concrete. Concrete bool // Final, if true, checks that there are no required fields left. Final bool // DisallowCycles indicates that there may not be cycles. DisallowCycles bool // AllErrors continues descending into a Vertex, even if errors are found. AllErrors bool }
Source Files ¶
validate.go
- Version
- v0.12.0 (latest)
- Published
- Jan 30, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 8 hours ago –
Tools for package owners.