stepruncmd

package
v2.40.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func New

func New(name string, args []string, workDir string, envs, secrets []string, timeout, noOutputTimeout time.Duration, stdout io.Writer, logger log.Logger) Cmd

func (*Cmd) Run

func (c *Cmd) Run() (int, error)

type StdoutWriter

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

func NewStdoutWriter

func NewStdoutWriter(secrets []string, dest io.Writer, logger log.Logger) StdoutWriter

func (StdoutWriter) Close

func (w StdoutWriter) Close() error

func (StdoutWriter) ErrorMessages

func (w StdoutWriter) ErrorMessages() []string

func (StdoutWriter) Write

func (w StdoutWriter) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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