official

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 24 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 official owns official SDK driver orchestration and its evidence.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Record

func Record(ctx context.Context, o RecordOptions) (runErr error)

Record owns only the driver and orchestration facts. Each SDK peer starts the public record command, which owns its normal execution and publication.

func ResolveDriver

func ResolveDriver(provider string) (string, error)

Resolve only the console scripts shipped by the official-driver wheel. Recorded paths and caller-selected SDK drivers are never executable inputs. Shared by the record and official verification entry points.

func Verify

func Verify(ctx context.Context, o VerifyOptions) (runErr error)

Verify owns the SDK driver, not an execution or a protocol environment.

func WritePeerLauncher

func WritePeerLauncher(root, phase string, peer tool.Command) (string, error)

Launchers adapt SDKs that accept only an executable path. The runner alone chooses the protocol command, inputs and receipt for each independent run.

Types

type DriverPeer

type DriverPeer struct {
	tool.Command
	Probe *tool.Command `json:"probe,omitempty"`
}

type RecordOptions

type RecordOptions struct {
	FixtureDir     string
	URL            string
	TokenFile      string
	Command        string
	NativeArgs     []string
	Timeout        time.Duration
	ConnectTimeout time.Duration
}

type Request

type Request struct {
	Case      string `json:"case"`
	Materials string `json:"materials"`
	Runtime   string `json:"runtime"`
}

type VerifyOptions

type VerifyOptions struct {
	FixtureDir string
	Timeout    time.Duration
	Index      string
	Scenarios  string
	Archive    string
}

Jump to

Keyboard shortcuts

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