run

package
v0.1.127 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalApp

type LocalApp struct {
	*apiv1.AppRun
	Command *command.StringCommand
}

func (*LocalApp) Run

func (a *LocalApp) Run(outputCh chan<- *apiv1.RunOutputResponse) (*LocalAppRunInfo, error)

type LocalAppRunInfo

type LocalAppRunInfo struct {
	*command.Cmd
	*LocalApp
	// contains filtered or unexported fields
}

func NewLocalAppRunInfo

func NewLocalAppRunInfo(a *LocalApp) (*LocalAppRunInfo, error)

func (*LocalAppRunInfo) Run

func (a *LocalAppRunInfo) Run(outputCh chan<- *apiv1.RunOutputResponse) error

func (*LocalAppRunInfo) Stop

func (a *LocalAppRunInfo) Stop() error

func (*LocalAppRunInfo) Wait

func (a *LocalAppRunInfo) Wait() error

type LocalDependency

type LocalDependency struct {
	*apiv1.DependencyRun
}

func (*LocalDependency) Run

type LocalDependencyRunInfo

type LocalDependencyRunInfo struct {
	*command.Cmd
	*LocalDependency
	StdoutCh chan string
	StderrCh chan string
}

type LocalRunResult

type LocalRunResult struct {
	Apps     map[string]*LocalAppRunInfo
	Deps     map[string]*LocalDependencyRunInfo
	OutputCh chan *apiv1.RunOutputResponse
}

func Local added in v0.1.28

func Local(ctx context.Context, localApps []*LocalApp, localDeps []*LocalDependency) (*LocalRunResult, error)

func (*LocalRunResult) Stop

func (l *LocalRunResult) Stop() error

func (*LocalRunResult) Wait

func (l *LocalRunResult) Wait() error

type PluginInfo

type PluginInfo struct {
	Response *apiv1.RunStartResponse
	// contains filtered or unexported fields
}

func (*PluginInfo) Wait

func (i *PluginInfo) Wait() error

type PluginRunResult

type PluginRunResult struct {
	Info     map[*plugins.Plugin]*PluginInfo
	OutputCh chan *apiv1.RunOutputResponse
}

func ThroughPlugin added in v0.1.28

func ThroughPlugin(ctx context.Context, runMap map[*plugins.Plugin]*apiv1.RunRequest) (*PluginRunResult, error)

func (*PluginRunResult) Stop

func (l *PluginRunResult) Stop() error

func (*PluginRunResult) Wait

func (l *PluginRunResult) Wait() error

Jump to

Keyboard shortcuts

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