scripting

package
v0.0.0-...-1414ade Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

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

func (*Exec) Location

func (e *Exec) Location() string

func (*Exec) Run

func (e *Exec) Run() error

type Script

type Script interface {
	Run() error
	Location() string
}

func NewScript

func NewScript(ctx context.Context, command string) (script Script, err error)

type ShellScript

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

func (*ShellScript) Location

func (s *ShellScript) Location() string

func (*ShellScript) Run

func (s *ShellScript) Run() error

type YaegiScript

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

func (*YaegiScript) Location

func (s *YaegiScript) Location() string

func (*YaegiScript) Run

func (s *YaegiScript) Run() (err error)

Directories

Path Synopsis
s

Jump to

Keyboard shortcuts

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