bash

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Begin    string = "Begin"
	End      string = "End"
	ReadFile string = "ReadFile"
)
View Source
const (
	// BlobSizeMax Temporal Limit, in MBs, for BLOBs size in an Event when a warning is thrown in the server logs.
	BlobSizeMax = 512 * 1024
)

Variables

View Source
var (
	ErrBlobTooLarge = errors.New("blob is too large")
)

Functions

This section is empty.

Types

type BeginInput

type BeginInput struct{}

type BeginOutput

type BeginOutput struct {
	HostTaskQueue string
	SessionDir    string
}

type EndInput

type EndInput struct {
	SessionDir string
}

type EndOutput

type EndOutput struct{}

type Input

type Input struct {
	Args       map[string]string
	StdinData  []byte
	WithStdout bool
	WithStderr bool
}

type Output

type Output struct {
	Command    string
	ExitCode   int
	StdoutData []byte
	StderrData []byte
}

type ReadFileInput

type ReadFileInput struct {
	SessionDir string
	FileName   string
}

type ReadFileOutput

type ReadFileOutput struct {
	Data []byte
}

Jump to

Keyboard shortcuts

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