execprovider

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "exec"

ProviderName is the name of the exec provider.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecProvider

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

ExecProvider provides shell command execution operations.

func NewExecProvider

func NewExecProvider() *ExecProvider

NewExecProvider creates a new exec provider instance.

func (*ExecProvider) Descriptor

func (p *ExecProvider) Descriptor() *provider.Descriptor

Descriptor returns the provider's descriptor.

func (*ExecProvider) Execute

func (p *ExecProvider) Execute(ctx context.Context, input any) (*provider.Output, error)

Execute performs the command execution.

Jump to

Keyboard shortcuts

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