python

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Type = "python"

Variables

This section is empty.

Functions

This section is empty.

Types

type Function added in v0.7.1

type Function struct {
	ParamsSchema    []*pluginutils.Schema
	ResultSchema    []*pluginutils.Schema
	Name            string
	SkipSchemaCheck bool
	Func            func(params models.Object) models.Object
}

func (*Function) Run added in v0.7.1

func (f *Function) Run(params models.Object) models.Object

type Python

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

func (*Python) Get added in v0.7.1

func (p *Python) Get(name string) interface{}

func (*Python) Load added in v0.7.1

func (p *Python) Load(opts *models.PluginLoadOptions)

func (*Python) Run added in v0.7.1

func (p *Python) Run(function string, params models.Object) (result models.Object)

func (*Python) Set added in v0.7.1

func (p *Python) Set(name string, val interface{})

func (*Python) Type added in v0.6.5

func (p *Python) Type() string

type Variable added in v0.7.1

type Variable struct {
	Name     string
	Nullable bool
	Getter   func(name string) interface{}
	Setter   func(name string, val interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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