executionmode

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package executionmode provides fail-closed adapters for process roles that may compose execution-capable use cases but are not authorized to execute locally.

Index

Constants

This section is empty.

Variables

View Source
var ErrDispatchOnly = errors.New("local tool execution is disabled in dispatch-only mode")

Functions

This section is empty.

Types

type DispatchOnly

type DispatchOnly struct{}

DispatchOnly satisfies execution ports required by API-side service composition. Queue-backed paths must return before any of these methods are reached.

func (DispatchOnly) Acquire

func (DispatchOnly) Generate

func (DispatchOnly) Generate(context.Context, string) (*sbom.SBOM, error)

func (DispatchOnly) Name

func (DispatchOnly) Name() string

func (DispatchOnly) Run

func (DispatchOnly) Scan

func (DispatchOnly) Submit

func (DispatchOnly) Submit(func(context.Context)) error

Jump to

Keyboard shortcuts

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