Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
func ValidateConfig(config *config.UncorsConfig, fs afero.Fs) error
Types ¶
type CacheConfigValidator ¶
type CacheConfigValidator struct { Field string Value config.CacheConfig }
func (*CacheConfigValidator) IsValid ¶
func (c *CacheConfigValidator) IsValid(errors *validate.Errors)
type CacheValidator ¶
func (*CacheValidator) IsValid ¶
func (c *CacheValidator) IsValid(errors *validate.Errors)
type FakedataNodeValidator ¶ added in v0.3.0
func (*FakedataNodeValidator) IsValid ¶ added in v0.3.0
func (c *FakedataNodeValidator) IsValid(errors *validate.Errors)
type MappingValidator ¶
func (*MappingValidator) IsValid ¶
func (m *MappingValidator) IsValid(errors *validate.Errors)
type MockValidator ¶
func (*MockValidator) IsValid ¶
func (m *MockValidator) IsValid(errors *validate.Errors)
type ProxyValidator ¶
func (*ProxyValidator) IsValid ¶
func (p *ProxyValidator) IsValid(errors *validate.Errors)
type ResponseValidator ¶
func (*ResponseValidator) IsValid ¶
func (r *ResponseValidator) IsValid(errors *validate.Errors)
type StaticValidator ¶
type StaticValidator struct { Field string Value config.StaticDirectory Fs afero.Fs }
func (*StaticValidator) IsValid ¶
func (s *StaticValidator) IsValid(errors *validate.Errors)
type UncorsConfigValidator ¶
type UncorsConfigValidator struct {
// contains filtered or unexported fields
}
func (*UncorsConfigValidator) IsValid ¶
func (u *UncorsConfigValidator) IsValid(errors *validate.Errors)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.