Versions in this module Expand all Collapse all v1 v1.22.38 Sep 25, 2022 v1.22.12 Mar 28, 2022 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func MustAsset(name string) []byte + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type BaseExecutor struct + func (b *BaseExecutor) CacheDir() (input string, output string) + func (b *BaseExecutor) Close() + func (b *BaseExecutor) CmdIn() *domain.ShellIn + func (b *BaseExecutor) GetResult() *domain.ShellOut + func (b *BaseExecutor) IsInteracting() bool + func (b *BaseExecutor) Kill() + func (b *BaseExecutor) Stdout() <-chan string + func (b *BaseExecutor) TtyId() string + func (b *BaseExecutor) TtyIn() chan<- string + func (b *BaseExecutor) TtyOut() <-chan string + type Executor interface + CacheDir func() (string, string) + Close func() + CmdIn func() *domain.ShellIn + GetResult func() *domain.ShellOut + Init func() error + IsInteracting func() bool + Kill func() + Start func() error + StartTty func(ttyId string, onStarted func(ttyId string)) error + Stdout func() <-chan string + StopTty func() + TtyId func() string + TtyIn func() chan<- string + TtyOut func() <-chan string + func NewExecutor(options Options) Executor + type Options struct + AgentId string + CacheSrcDir string + Cmd *domain.ShellIn + ConfigVars domain.Variables + K8s *domain.K8sConfig + Parent context.Context + PluginDir string + SecretVars domain.Variables + Vars domain.Variables + Volumes []*domain.DockerVolume + Workspace string + WorkspaceFromDockerVolume bool