package
0.0.0-20240410142816-2c1c132dbb90
Repository: https://github.com/aeraki-mesh/aeraki.git
Documentation: pkg.go.dev
# Functions
ValidateFQDN checks a fully-qualified domain name.
ValidateMetaAttributeName validates a header name.
ValidatePercent checks that percent is in range.
ValidatePort checks that the network port is in range.
ValidatePortName validates a port name to DNS-1123.
ValidateProtocol validates a portocol name is known.
Warningf formats according to a format specifier and returns the string as a value that satisfies error.
WrapError turns an error into a Validation.
WrapWarning turns an error into a Validation as a warning.
# Variables
Aeraki contains Aeraki collections in the system.
AerakiMetaprotocolV1Alpha1Applicationprotocols describes the collection aeraki/metaprotocol/v1alpha1/applicationprotocols.
AerakiMetaprotocolV1Alpha1Metarouters describes the collection aeraki/metaprotocol/v1alpha1/metarouters.
ValidateApplicationProtocol checks that a v1alpha1 application protocol is well-formed.
ValidateMetaRouter checks that a v1alpha1 route rule is well-formed.
# Structs
AnalysisAwareError wraps analysis error.
Validation holds errors and warnings.