Documentation ¶
Index ¶
- type Validator
- func (v *Validator) LoadSchema(schema string) (string, error)
- func (v *Validator) ProcessAutoFields(pluginInstance string) (string, error)
- func (v *Validator) SchemaAsJSON(schemaName string) (string, error)
- func (v *Validator) UnloadSchema(schema string) error
- func (v *Validator) Validate(pluginInstance string) error
- func (v *Validator) ValidateSchema(schema string) (string, error)
- type ValidatorOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(opts ValidatorOpts) (*Validator, error)
func (*Validator) ProcessAutoFields ¶
func (*Validator) SchemaAsJSON ¶
func (*Validator) UnloadSchema ¶ added in v0.4.4
type ValidatorOpts ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.