taskrun

package
v0.149.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendNetworkEnforcementAudit

func AppendNetworkEnforcementAudit(s *store.Store, taskID, event, enforcement string, need sandbox.NetworkNeed, domains []string, localPorts []int) (string, error)

func ResolveRunEggConfigYAML

func ResolveRunEggConfigYAML(configPath, cwd string, unsandboxed bool) (string, error)

func RunTask

func RunTask(ctx context.Context, cfg *config.Config, s *store.Store, t *store.Task) error

func RunTaskTo

func RunTaskTo(ctx context.Context, cfg *config.Config, s *store.Store, t *store.Task, destination io.Writer) error

func RunTaskToWithOptions

func RunTaskToWithOptions(ctx context.Context, cfg *config.Config, s *store.Store, t *store.Task, destination io.Writer, options TaskRunOptions) (runErr error)

Types

type TaskRunOptions

type TaskRunOptions struct {
	UserHome     string
	SharedHost   bool
	AllowedPaths []string
}

Jump to

Keyboard shortcuts

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