scriptutil

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputModeAutoResult       = "auto-result"
	OutputModeDisabled         = "disabled"
	OutputModeManualDelimiters = "manual-delimiters"
	OutputModeManualLastLine   = "manual-lastline"
)

Variables

This section is empty.

Functions

func FormatErrorExitCode

func FormatErrorExitCode(exitCode int, exitCodes []string, err error) error

func GenerateOutputDelimitersRegexp

func GenerateOutputDelimitersRegexp(start, end string) (*regexp.Regexp, error)

func ParseOutput

func ParseOutput(outStr, outputMode string, outputManualDelimiters []string) (resultLine string, err error)

func ValidateExitCodesUnreachable

func ValidateExitCodesUnreachable(exitCodes []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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