starlark

package
v0.0.0-...-6a3170c Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFunctions

func NewFunctions(thread *starlark.Thread) (starlark.StringDict, error)

Types

type Command

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

func NewCommand

func NewCommand(script string, stdout io.ReadWriteCloser, stderr io.ReadWriteCloser, workDir string, env []string, username string) (*Command, error)

func (*Command) ExitCode

func (s *Command) ExitCode() int

func (*Command) GetPID

func (s *Command) GetPID() int

func (*Command) Read

func (s *Command) Read(buf []byte) (int, error)

func (*Command) Start

func (s *Command) Start() error

func (*Command) Wait

func (s *Command) Wait() <-chan error

Jump to

Keyboard shortcuts

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