Versions in this module Expand all Collapse all v0 v0.1.0 Sep 27, 2022 Changes in this version + type LuaValidator struct + func NewLuaValidator(opts Opts) (*LuaValidator, error) + func (v *LuaValidator) GetAvailablePluginNames(ctx context.Context) []string + func (v *LuaValidator) GetRawLuaSchema(ctx context.Context, name string) ([]byte, error) + func (v *LuaValidator) LoadPatch(pgkName string) error + func (v *LuaValidator) LoadSchemasFromEmbed(fs embed.FS, dirName string) error + func (v *LuaValidator) ProcessDefaults(ctx context.Context, plugin *grpcModel.Plugin) error + func (v *LuaValidator) SetStoreLoader(storeLoader util.StoreLoader) + func (v *LuaValidator) Validate(ctx context.Context, plugin *grpcModel.Plugin) error + func (v *LuaValidator) ValidateSchema(ctx context.Context, pluginSchema string) (string, error) + type Opts struct + InjectFS *embed.FS + Logger *zap.Logger + StoreLoader util.StoreLoader