# Functions
Each returns a validation rule that loops through an iterable (map, slice or array) and validates each value inside with the provided rules.
Error takes an error and turns an ozzo-validation.Errors into a gRPC status error with field violations populated.
IsDurationRange implements validation.Rule to check if a proto duration is in the given range.
No description provided by the author
StructField returns a *validation.FieldRules (can be used as an arg to validation.ValidateStruct) that validates a nested struct value only if the struct value is non-nil.
StructInterface is similar to StructField but validates interface-type fields that are non-nil and match the type t exactly.
StructJSONPB validates a jsonpb-encoded field (type []byte) within a struct.
StructOneof is a special-case helper to validate struct values within a oneof field from a protobuf-generated struct.
# Variables
IsDuration implements validation.Rule to check if a value is a valid duration from a proto duration.
IsPrivateCIDRBlock implements validation.Rule to check if a value is a valid IPv4 CIDR block within the ranges that are considered valid.
IsVersion implements validation.Rule to check if the supplied string is considered a valid Semantic Versioning (semver) string.
MeetsVersionConstraint implements validation.Rule to check if a supplied version is a valid according to the constraints supplied.
# Structs
No description provided by the author
EachRule is a validation rule that validates elements in a map/slice/array using the specified list of rules.
No description provided by the author