run

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalApp

type LocalApp struct {
	*types.AppRun
}

func (*LocalApp) Run

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

type LocalAppRunInfo

type LocalAppRunInfo struct {
	*util.CmdInfo
	*LocalApp
	// contains filtered or unexported fields
}

func NewLocalAppRunInfo

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

func (*LocalAppRunInfo) Run

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

func (*LocalAppRunInfo) Stop

func (a *LocalAppRunInfo) Stop() error

func (*LocalAppRunInfo) Wait

func (a *LocalAppRunInfo) Wait() error

type LocalDependency

type LocalDependency struct {
	*types.DependencyRun
}

func (*LocalDependency) Run

type LocalDependencyRunInfo

type LocalDependencyRunInfo struct {
	*util.CmdInfo
	*LocalDependency
	StdoutCh chan string
	StderrCh chan string
}

type LocalRunResult

type LocalRunResult struct {
	Apps     map[string]*LocalAppRunInfo
	Deps     map[string]*LocalDependencyRunInfo
	OutputCh chan *plugin_go.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 *plugin_go.RunningResponse
	// 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 *plugin_go.RunOutputResponse
}

func ThroughPlugin added in v0.1.28

func ThroughPlugin(ctx context.Context, runMap map[*plugins.Plugin]*plugin_go.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