resulttest

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package resulttest supplies committed-result fixtures for transport tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

Commit saves an actual passed result with private content and retained evidence.

func Options

func Options(auth Authorizer, gate Gate) []engine.Option

Options installs test-only host ports. The fence assumes sequential fixture mutations; it is not an implementation of a deployed cross-process guard.

Types

type Authorizer

Authorizer implements current content permission for a test host.

func (Authorizer) AuthorizeResultContent

func (f Authorizer) AuthorizeResultContent(ctx context.Context, r verification.ResultContentRequest) error

AuthorizeResultContent calls the configured test permission check.

type Gate

Gate screens result content in transport fixtures.

func (Gate) Check

Check calls the configured test screener.

Jump to

Keyboard shortcuts

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