shell

package
v1.18.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReporterName = "shell"

	ExecutionTimeout = 60 * time.Second
)

Variables

This section is empty.

Functions

func New

func New(opts ...NewOption) internal.Reporter

New creates a new shell reporter

Types

type NewOption

type NewOption func(*reporter)

NewOption allows specifying various configuration

func WithExecCommand

func WithExecCommand(execCommand execCommand) NewOption

func WithTimeout

func WithTimeout(timeout time.Duration) NewOption

WithTimeout specifies timeout to override when executing shell command

Jump to

Keyboard shortcuts

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