script

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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 (s *ScriptExecutor) Execute(ctx context.Context, execCtx executor.ExecutionContext) (map[string]string, error)

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