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 ¶
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 ¶
func (p *Process) Resolve(ctx context.Context, request references.Request) (references.ResolutionRecord, error)
Click to show internal directories.
Click to hide internal directories.