shell

package
v0.0.0-...-b5423cc Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

View Source
const ResponseErrorFormat = "Failed to run shell command.\nError: %s\nOutput:%s"

Variables

This section is empty.

Functions

func NewRuntime

func NewRuntime(parentLogger logger.Logger, configuration *Configuration) (runtime.Runtime, error)

NewRuntime returns a new shell runtime

Types

type Configuration

type Configuration struct {
	*runtime.Configuration
	Arguments       string
	ResponseHeaders map[string]interface{}
}

func NewConfiguration

func NewConfiguration(runtimeConfiguration *runtime.Configuration) (*Configuration, error)

Jump to

Keyboard shortcuts

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