executorclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Overview

Package executorclient connects the unprivileged frontend to the Unix helper.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WasDispatched

func WasDispatched(err error) bool

Types

type CallError

type CallError struct {
	Dispatched bool
	// contains filtered or unexported fields
}

func (*CallError) Error

func (e *CallError) Error() string

func (*CallError) Unwrap

func (e *CallError) Unwrap() error

type Client

type Client struct {
	SocketPath string
	Timeout    time.Duration
	Dial       func(context.Context, string, string) (net.Conn, error)
}

func (*Client) Execute

func (c *Client) Execute(ctx context.Context, executionID string, value plan.Plan, grantID string, reservationID string, expiresAt time.Time) (executorprotocol.Response, error)

func (*Client) Ready

func (c *Client) Ready(ctx context.Context) error

Jump to

Keyboard shortcuts

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