plugin

package
v0.4.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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) LoadSchema

func (v *Validator) LoadSchema(schema string) (string, error)

func (*Validator) ProcessAutoFields

func (v *Validator) ProcessAutoFields(pluginInstance string) (string, error)

func (*Validator) SchemaAsJSON

func (v *Validator) SchemaAsJSON(schemaName string) (string, error)

func (*Validator) UnloadSchema added in v0.4.4

func (v *Validator) UnloadSchema(schema string) error

func (*Validator) Validate

func (v *Validator) Validate(pluginInstance string) error

func (*Validator) ValidateSchema added in v0.4.4

func (v *Validator) ValidateSchema(schema string) (string, error)

type ValidatorOpts added in v0.3.0

type ValidatorOpts struct {
	InjectFS *embed.FS
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL