executor

package
v0.92.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package executor provides the pipeline execution engine.

Index

Constants

View Source
const (
	StateIdle    = "IDLE"
	StateRunning = "RUNNING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func New

func New(runtimeType string) *Engine

func (*Engine) Close added in v0.92.0

func (e *Engine) Close() error

Close cleans up the engine's runtime resources.

func (*Engine) Run

func (e *Engine) Run(ctx context.Context, t *types.Task) error

func (*Engine) State

func (e *Engine) State() string

type Limits

type Limits struct {
	DefaultCPUsLimit   string
	DefaultMemoryLimit string
}

type Mode

type Mode string

Directories

Path Synopsis
Package runtime implements pipeline task execution runtimes.
Package runtime implements pipeline task execution runtimes.
capability
Package capability implements capability-based execution runtime.
Package capability implements capability-based execution runtime.
docker
Package docker implements the Docker execution runtime.
Package docker implements the Docker execution runtime.
machine
Package machine implements the machine execution runtime.
Package machine implements the machine execution runtime.
shell
Package shell implements the shell command execution runtime.
Package shell implements the shell command execution runtime.

Jump to

Keyboard shortcuts

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