plugin

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 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) Execute added in v0.4.10

func (v *Validator) Execute(args ...string) (string, 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) ProcessAutoFieldsAndTransform added in v0.6.3

func (v *Validator) ProcessAutoFieldsAndTransform(plugin string) (string, error)

func (*Validator) SchemaAsJSON

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

func (*Validator) Transform added in v0.6.3

func (v *Validator) Transform(plugin 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