none

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPopulateFailed = errors.New("failed to populate working directory")
)

Functions

This section is empty.

Types

type Option added in v0.53.0

type Option func(parallels *PersistentWorkerInstance)

func WithLogger added in v0.53.0

func WithLogger(logger logger.Lightweight) Option

type PersistentWorkerInstance

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

func New

func New(opts ...Option) (*PersistentWorkerInstance, error)

func (*PersistentWorkerInstance) Close added in v0.45.0

func (pwi *PersistentWorkerInstance) Close() error

func (*PersistentWorkerInstance) Run

func (pwi *PersistentWorkerInstance) Run(ctx context.Context, config *runconfig.RunConfig) (err error)

func (*PersistentWorkerInstance) WorkingDirectory

func (pwi *PersistentWorkerInstance) WorkingDirectory(projectDir string, dirtyMode bool) string

Jump to

Keyboard shortcuts

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