local_template_executor

package
v0.1.3-beta02 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionResponse

type ExecutionResponse interface {
	GetStdOut() (*bytes.Buffer, bool)
	GetStdErr() (*bytes.Buffer, bool)
	GetExitCode() int
}

type Executor

type Executor interface {
	Execute(map[string]any) (ExecutionResponse, error)
}

func NewLocalTemplateExecutor

func NewLocalTemplateExecutor(commandName string, commandArgs []string, stdInStream *bytes.Buffer) Executor

Jump to

Keyboard shortcuts

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