package
1.0.5-rc1
Repository: https://github.com/2lambda123/dataman-cloud-swan.git
Documentation: pkg.go.dev

# Functions

EmptyError returns a string explanation of a "must not be empty" validation failure.
InclusiveRangeError returns a string explanation of a numeric "must be between" validation failure.
IsCIdentifier tests for a string that conforms the definition of an identifier in C.
IsConfigMapKey tests for a string that is a valid key for a ConfigMap or Secret.
IsDNS1035Label tests for a string that conforms to the definition of a label in DNS (RFC 1035).
IsDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123).
IsDNS1123Subdomain tests for a string that conforms to the definition of a subdomain in DNS (RFC 1123).
IsHTTPHeaderName checks that a string conforms to the Go HTTP library's definition of a valid header field name (a stricter subset than RFC7230).
IsQualifiedName tests whether the value passed is what Kubernetes calls a "qualified name".
IsValidGroupId tests that the argument is a valid Unix GID.
IsValidIP tests that the argument is a valid IP address.
IsValidLabelValue tests whether the value passed is a valid label value.
No description provided by the author
IsValidPortName check that the argument is valid syntax.
IsValidPortNum tests that the argument is a valid, non-zero port number.
IsValidUserId tests that the argument is a valid Unix UID.
IsWildcardDNS1123Subdomain tests for a string that conforms to the definition of a wildcard subdomain in DNS (RFC 1034 section 4.3.3).
MaxLenError returns a string explanation of a "string too long" validation failure.
RegexError returns a string explanation of a regex validation failure.

# Constants

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
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
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Operator represents a key/field's relationship to value(s).