local

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalEnvironment

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

LocalEnvironment executes tools directly on the local filesystem/processes. Lifecycle methods are no-ops except Destroy, which marks the environment as inactive to prevent further execution.

func NewLocalEnvironment

func NewLocalEnvironment(workDir string, logger *slog.Logger) *LocalEnvironment

func (*LocalEnvironment) Capabilities

func (e *LocalEnvironment) Capabilities() environment.Capabilities

func (*LocalEnvironment) Create

func (*LocalEnvironment) CreateSnapshot

func (*LocalEnvironment) Destroy

func (e *LocalEnvironment) Destroy(context.Context) error

func (*LocalEnvironment) ExecuteTool

func (*LocalEnvironment) Pause

func (*LocalEnvironment) Resume

func (*LocalEnvironment) Rollback

func (*LocalEnvironment) State

Jump to

Keyboard shortcuts

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