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