Help us shape the future of Go! Take the 2026 Go Developer Survey

definition

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithCaptureSafety added in v0.14.0

func WithCaptureSafety(inner tool.Definition, declared tool.DeclaredCaptureSafety) tool.Definition

WithCaptureSafety returns inner declaring declared. Every standard definition this module exports is wrapped, so an assembly's capture-safety descriptor reflects what each tool actually does rather than Harness's declare-nothing default.

Types

type BuildError

type BuildError struct {
	Definition string
	Dependency string
	Cause      error
}

BuildError reports an invalid dependency captured by a standard tool definition before any invokable tool is exposed.

func (*BuildError) Error

func (err *BuildError) Error() string

func (*BuildError) Unwrap

func (err *BuildError) Unwrap() error

Jump to

Keyboard shortcuts

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