pipe

package
v4.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

Factory connects to stack using standard streams (STDIN, STDOUT pipes).

func NewPipeFactory

func NewPipeFactory(log *zap.Logger) *Factory

NewPipeFactory returns new factory instance and starts listening

func (*Factory) Close

func (f *Factory) Close() error

Close the factory.

func (*Factory) SpawnWorkerWithContext added in v4.7.0

func (f *Factory) SpawnWorkerWithContext(ctx context.Context, cmd *exec.Cmd, options ...worker.Options) (*worker.Process, error)

SpawnWorkerWithContext Creates a new Process and connects it to goridge relay, method Wait() must be handled on the level above.

Jump to

Keyboard shortcuts

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