 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ValidateDir(path string, fldPath *field.Path) field.ErrorList
- func ValidateFile(path string, fldPath *field.Path) field.ErrorList
- func ValidateSecureURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)
- func ValidateSpecifiedIP(ipString string, fldPath *field.Path) field.ErrorList
- func ValidateSpecifiedIPPort(ipPortString string, fldPath *field.Path) field.ErrorList
- func ValidateURL(urlString string, fldPath *field.Path) (*url.URL, field.ErrorList)
- type ValidationResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSecureURL ¶
func ValidateSpecifiedIP ¶
func ValidateSpecifiedIPPort ¶
Types ¶
type ValidationResults ¶
TODO: this should just be two return arrays, no need to be clever
func ValidateStringSource ¶
func ValidateStringSource(s config.StringSource, fieldPath *field.Path) ValidationResults
func (*ValidationResults) AddErrors ¶
func (r *ValidationResults) AddErrors(errors ...*field.Error)
func (*ValidationResults) AddWarnings ¶
func (r *ValidationResults) AddWarnings(warnings ...*field.Error)
func (*ValidationResults) Append ¶
func (r *ValidationResults) Append(additionalResults ValidationResults)
 Click to show internal directories. 
   Click to hide internal directories.