Documentation
¶
Index ¶
- func CheckValueInOptions[T comparable](v T, opt any) (bool, error)
- func CheckValueSliceInOptions[T comparable](vSl []T, opt any) (bool, error)
- func ValidateValue(cType string, cTypeOpts model.ConfigTypeOptions, value any) error
- func ValidateValueSlice[T any](cType string, cTypeOpts model.ConfigTypeOptions, valSl []T) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckValueInOptions ¶ added in v0.33.0
func CheckValueInOptions[T comparable](v T, opt any) (bool, error)
func CheckValueSliceInOptions ¶ added in v0.33.0
func CheckValueSliceInOptions[T comparable](vSl []T, opt any) (bool, error)
func ValidateValue ¶
func ValidateValue(cType string, cTypeOpts model.ConfigTypeOptions, value any) error
func ValidateValueSlice ¶ added in v0.25.0
func ValidateValueSlice[T any](cType string, cTypeOpts model.ConfigTypeOptions, valSl []T) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.