adaptors

package
v0.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdaptorTypeScriptPlugin        = "script"
	AdaptorTypeScriptPluginVersion = "1.0"
)
View Source
const (
	AdaptorTypeGoPlugin = "goplugin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPluginAdaptor

type GoPluginAdaptor struct {
}

func NewGoPluginAdaptor

func NewGoPluginAdaptor(spec types.PluginSpec, scope types.PlugScope) (*GoPluginAdaptor, error)

func (GoPluginAdaptor) Name

func (g GoPluginAdaptor) Name() string

func (GoPluginAdaptor) Type

func (g GoPluginAdaptor) Type() types.PluginType

func (GoPluginAdaptor) Version

func (g GoPluginAdaptor) Version() string

type ScriptPluginAdaptor

type ScriptPluginAdaptor struct {
	// contains filtered or unexported fields
}

func NewScriptPluginAdaptor

func NewScriptPluginAdaptor(spec types.PluginSpec, scope types.PlugScope) (*ScriptPluginAdaptor, error)

func (*ScriptPluginAdaptor) Name

func (s *ScriptPluginAdaptor) Name() string

func (*ScriptPluginAdaptor) Run

func (*ScriptPluginAdaptor) Type

func (*ScriptPluginAdaptor) Version

func (s *ScriptPluginAdaptor) Version() string

Jump to

Keyboard shortcuts

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