package
0.38.1
Repository: https://github.com/determined-ai/determined.git
Documentation: pkg.go.dev

# Functions

BetweenInclusive checks whether `actual` is between `lower` and `upper` inclusive.
Contains checks whether the actual value is contained in the expected list.
Equal checks whether the arguments are equal (via reflect.DeepEqual).
False checks whether the condition is false.
GreaterThan checks whether `actual` is greater than `expected`.
GreaterThanOrEqualTo checks whether `actual` is greater than or equal to `expected`.
In checks whether the first argument is in the second argument.
IsValidK8sLabel checks whether the first argument is a valid Kubernetes label.
LenBetween checks whether the length of the first argument is between the second and third arguments.
LessThan checks whether `actual` is less than `expected`.
LessThanOrEqualTo checks whether `actual` is less than or equal to `expected`.
Match checks whether the first argument matches the regular expression of the second argument.
NotEmpty checks whether the first argument is empty string.
Panic panics if the error is not nil.
True checks whether the condition is true.
TrueSilent checks whether the condition is true.
Validate returns an error if any of the provided validators have failed.

# Interfaces

Validatable is implemented by anything that has fields that should be validated.

# Type aliases

Validator returns an error if the validation fails and nil otherwise.