driveapi

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package driveapi is the engine's API for the loop: pursuit.drive turns the loop on for one opted-in pursuit, and pursuit.again is a person's answer for a change the loop holds for them. It only converts and calls internal/state/drive, which holds the loop; it never merges.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods

func Methods(where func(ctx context.Context, repo string) (work.Submitter, string, error), name func(ctx context.Context, root string) string,
	bind func(root string) (staterun.StartIn, error), refused func(error) error) []api.Method

Methods returns pursuit.drive and pursuit.again. where opens a repo's state and finds its root, replying bad_request for a repo the engine cannot serve. name names the person running Physa on this machine, as the CLI names them, for a root; "" when none can be had. bind loads a root's harness binding as run.start does, replying bad_request when no run can start from it, or the engine's own error when it runs no loop. refused turns a store's refusal into bad_request and leaves faults as they are.

Types

This section is empty.

Jump to

Keyboard shortcuts

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