exec

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecPlugin

type ExecPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*ExecPlugin) GetInstances

func (p *ExecPlugin) GetInstances() []plugins.Instance

type Instance

type Instance struct {
	config.InternalConfig

	Commands    []string          `toml:"commands"`
	Timeout     config.Duration   `toml:"timeout"`
	Concurrency int               `toml:"concurrency"`
	Mode        string            `toml:"mode"`
	EnvVars     map[string]string `toml:"env_vars"`
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

Jump to

Keyboard shortcuts

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