re

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(name, runcmd string, bootstrapFunc rtypes.BootstrapFunc) *Builder

func (*Builder) ExecFile

func (b *Builder) ExecFile(file string) ([]byte, error)

func (*Builder) IfaceFile

func (b *Builder) IfaceFile() (*etypes.ExecutorIface, error)

func (*Builder) Instance

func (b *Builder) Instance(opts etypes.ExecutorOption) (etypes.Executor, error)

type Options

type Options struct {
	BootstrapFunc func(ctx rtypes.BootstrapContext) error
	Runcmd        string
}

type Runner

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

func New

func New(opts Options, eopts etypes.ExecutorOption) *Runner

func (*Runner) Close

func (r *Runner) Close() error

func (*Runner) Init

func (r *Runner) Init() error

func (*Runner) Process

func (r *Runner) Process(ev *event.Request) (*event.Response, error)

Directories

Path Synopsis
langs

Jump to

Keyboard shortcuts

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