proxyexecution

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ExitCodeExitError = 990

ExitCodeExitError of executed cmd could not be determined.

View Source
const ExitSuccessError = 991

ExitSuccessError ExitCode of successfully executed cmd could not be determined.

View Source
const ExtCodeError = 993

ExtCodeError general error occurred when executing cmd.

Variables

This section is empty.

Functions

func ExecuteDroxyCommand added in v0.5.1

func ExecuteDroxyCommand(args []string) int

Types

type CommandBuilder

type CommandBuilder interface {
	BuildCommandFromConfig(commandDef config.CommandDefinition) (*exec.Cmd, error)
}

Builder builds a executable command object.

type CommandResultHandler

type CommandResultHandler interface {
	HandleCommandResult(*exec.Cmd, error) int
}

CommandResultHandler handles the result of an executed command.

type CommandRunner

type CommandRunner interface {
	RunCommand(cmd *exec.Cmd) error
}

CommandRunner runs a command.

type ConfigLoader

type ConfigLoader interface {
	Load() config.Configuration
}

ConfigLoader loads configuration.

type ExecutableNameParser

type ExecutableNameParser interface {
	ParseCommandNameFromCommandLine() string
}

ExecutableNameParser parsed the name of the current executed file from cli arguments.

Jump to

Keyboard shortcuts

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