script

package
v0.14.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCapabilities added in v0.7.0

func GetCapabilities() executor.Capability

func GetSchema

func GetSchema() interface{}

func NewScriptExecutor

func NewScriptExecutor(name string, node executor.Node, execID string) (executor.Executor, error)

Types

type ScriptExecutor

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

func (*ScriptExecutor) Close added in v0.9.0

func (s *ScriptExecutor) Close() error

func (*ScriptExecutor) Execute

func (*ScriptExecutor) GetArtifactsDir added in v0.4.0

func (s *ScriptExecutor) GetArtifactsDir() string

type ScriptExecutorPlugin added in v0.9.0

type ScriptExecutorPlugin struct{}

ScriptExecutorPlugin implements executor.ExecutorPlugin for the script executor.

func (*ScriptExecutorPlugin) GetCapabilities added in v0.9.0

func (p *ScriptExecutorPlugin) GetCapabilities() executor.Capability

func (*ScriptExecutorPlugin) GetName added in v0.9.0

func (p *ScriptExecutorPlugin) GetName() string

func (*ScriptExecutorPlugin) GetSchema added in v0.9.0

func (p *ScriptExecutorPlugin) GetSchema() interface{}

func (*ScriptExecutorPlugin) New added in v0.9.0

func (p *ScriptExecutorPlugin) New(name string, node executor.Node, execID string) (executor.Executor, error)

type ScriptWithConfig

type ScriptWithConfig struct {
	Script      string `yaml:"script" json:"script" jsonschema:"title=script" jsonschema_extras:"widget=codeeditor"`
	Interpreter string `` /* 188-byte string literal not displayed */
	Extension   string `` /* 174-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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