plugins

package
v0.13.0-test.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	Id             string
	Module         wazero.CompiledModule
	Metadata       *metadata.Metadata
	FileName       string
	Language       langsupport.Language
	ExecutionPlans map[string]langsupport.ExecutionPlan
}

func GetPluginFromContext

func GetPluginFromContext(ctx context.Context) (*Plugin, bool)

func NewPlugin

func NewPlugin(ctx context.Context, cm wazero.CompiledModule, filename string, md *metadata.Metadata) (*Plugin, error)

func (*Plugin) BuildId

func (p *Plugin) BuildId() string

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NameAndVersion

func (p *Plugin) NameAndVersion() (name string, version string)

func (*Plugin) Version

func (p *Plugin) Version() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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