package
0.0.0-20241125151401-e66715b925b4
Repository: https://github.com/zenoss/serviced.git
Documentation: pkg.go.dev

# Functions

ExcludeChars makes sure there characters in a field are valid.
No description provided by the author
IsIP checks to see if the value is a valid IP address.
IsSubnet16 checks to see if the value is a valid /16 subnet.
IsSubnetCIDR checks to see if the value is a valid cidr subnet.
NewValidationError creates a ValidationError with an empty slice of errors.
NewViolation creates a violation error.
NotEmpty check to see if the value is not an empty string or a string with just whitespace characters, returns an error if empty.
StringsEqual checks to see that strings are equal, optional msg to use instead of default.
StringsEqual checks to see that strings are equal, optional msg to use instead of default.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ValidationError is an error that contains other errors.
Violation is an error type for validation violations.