invokers

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertInvoker

type AssertInvoker struct {
	Logger types.Logger
}

func NewAssertInvoker added in v0.0.4

func NewAssertInvoker(logger types.Logger) *AssertInvoker

func (*AssertInvoker) Invoke

func (a *AssertInvoker) Invoke(task types.Task, _, prevOutput string) (output string, err error)

func (*AssertInvoker) Supports

func (a *AssertInvoker) Supports(task types.Task) bool

type ExecInvoker

type ExecInvoker struct {
	Logger types.Logger
}

func NewExecInvoker added in v0.0.4

func NewExecInvoker(logger types.Logger) *ExecInvoker

func (*ExecInvoker) Invoke

func (e *ExecInvoker) Invoke(task types.Task, workDir, _ string) (output string, err error)

func (*ExecInvoker) Supports

func (e *ExecInvoker) Supports(task types.Task) bool

type FileInvoker

type FileInvoker struct {
	Logger types.Logger
}

func NewFileInvoker added in v0.0.4

func NewFileInvoker(logger types.Logger) *FileInvoker

func (*FileInvoker) Invoke

func (f *FileInvoker) Invoke(task types.Task, workDir, _ string) (output string, err error)

func (*FileInvoker) Supports

func (f *FileInvoker) Supports(task types.Task) bool

Jump to

Keyboard shortcuts

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