Documentation ¶
Index ¶
- type ValidationRule
- func (r *ValidationRule) AddValidator(newValidator validator.Validator, additionalDetails string)
- func (r *ValidationRule) Name() string
- func (r *ValidationRule) Scope() config.ValidationScope
- func (r *ValidationRule) ValidationTexts() []string
- func (r *ValidationRule) Validators() []ValidatorWithDetails
- type ValidatorWithDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidationRule ¶
type ValidationRule struct {
// contains filtered or unexported fields
}
func New ¶
func New(name string, scope config.ValidationScope) *ValidationRule
func (*ValidationRule) AddValidator ¶
func (r *ValidationRule) AddValidator(newValidator validator.Validator, additionalDetails string)
func (*ValidationRule) Name ¶
func (r *ValidationRule) Name() string
func (*ValidationRule) Scope ¶
func (r *ValidationRule) Scope() config.ValidationScope
func (*ValidationRule) ValidationTexts ¶
func (r *ValidationRule) ValidationTexts() []string
func (*ValidationRule) Validators ¶
func (r *ValidationRule) Validators() []ValidatorWithDetails
Click to show internal directories.
Click to hide internal directories.