ipc

package
v0.0.0-...-5cee447 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PacifyWithDummy = true
	PacifyWithFake  = false
)

Variables

View Source
var ErrUnsupportedExecutor = errors.New("unsupported executor")
View Source
var ErrUseDummyExecutor = errors.New("using dummy executor")

Functions

func New

func Pacify

func Pacify(
	advanced common.AdvancedConfig,
	knownBy clif.KnownByCollection,
	fm common.FileManager,
	dummy bool,
) common.ExecutionAgent

Types

type DummyExecutor

type DummyExecutor struct {
	Name string
}

func (*DummyExecutor) Execute

func (e *DummyExecutor) Execute(args ...string) error

func (*DummyExecutor) Look

func (e *DummyExecutor) Look() (string, error)

func (*DummyExecutor) ProgName

func (e *DummyExecutor) ProgName() string

type ProgramExecutor

type ProgramExecutor struct {
	Name string
}

func (*ProgramExecutor) Execute

func (e *ProgramExecutor) Execute(args ...string) error

func (*ProgramExecutor) Look

func (e *ProgramExecutor) Look() (string, error)

func (*ProgramExecutor) ProgName

func (e *ProgramExecutor) ProgName() string

Jump to

Keyboard shortcuts

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