execprotocol

package
v2.0.0-...-00053fb Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package execprotocol runs dependency resolvers through the process protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

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

Process invokes a literal executable using the bounded JSON protocol. No shell interpolation or credential discovery occurs. Each session caches exact requests, including consumer kind and expected repository identity.

func NewProcess

func NewProcess(executable string, arguments []string, timeout time.Duration) *Process

NewProcess returns a resolver that runs executable with a copy of arguments. A zero timeout means 30 seconds per provider run.

func (*Process) NewSession

func (p *Process) NewSession() references.Resolver

NewSession returns a resolver for the same command with an empty cache.

func (*Process) Resolve

Jump to

Keyboard shortcuts

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