runner

package
v0.0.0-...-8aeb8a1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAirbyteAlreadyTerminated = errors.New("Airbyte Runner has been already terminated. You can use it only once.")
View Source
var ErrNotReady = errors.New("not ready")

Functions

func ExecCmd

func ExecCmd(system, dir, cmd string, stdOutWriter, stdErrWriter io.Writer, timeout time.Duration, args ...string) error

ExecCmd executes command with args and uses stdOutWriter and stdErrWriter to pipe the result runs separate goroutine for timeout control

Types

type CompositeNotReadyError

type CompositeNotReadyError struct {
	// contains filtered or unexported fields
}

func NewCompositeNotReadyError

func NewCompositeNotReadyError(previousError string) *CompositeNotReadyError

func (*CompositeNotReadyError) Error

func (cnre *CompositeNotReadyError) Error() string

Error returns not ready error

func (*CompositeNotReadyError) PreviousError

func (cnre *CompositeNotReadyError) PreviousError() string

PreviousError returns previous error

Jump to

Keyboard shortcuts

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