Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckField ¶ added in v1.32.0
func CheckField( add func(bufprotosource.Descriptor, bufprotosource.Location, []bufprotosource.Location, string, ...interface{}), field bufprotosource.Field, ) error
CheckField validates that all rules on the field are valid, and any CEL expressions compile.
For a set of rules to be valid, it must
- permit _some_ value
- have a type compatible with the field it validates.
func CheckMessage ¶ added in v1.32.0
func CheckMessage( add func(bufprotosource.Descriptor, bufprotosource.Location, []bufprotosource.Location, string, ...interface{}), message bufprotosource.Message, ) error
CheckMessage validates that all rules on the message are valid, and any CEL expressions compile.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.