tooloutput

package
v1.166.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 1 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 tooloutput reads the output an export tool reports when a managed script calls it with platform.call (#1854): the managed resource it landed in or the portal asset it created, as the run records under its outputs beside what platform.export wrote. Extracted from internal/platform/scriptrun for its size budget.

Index

Constants

View Source
const (
	ToolTrinoExport   = "trino_export"
	ToolAPIExport     = "api_export"
	ToolGraphQLExport = "graphql_export"
)

Tools whose write inside a run is an output of the run (#1854). They are the right tools once a result is past a run's row cap, so the report a run produces that way is its output as much as a platform.export would be.

Variables

This section is empty.

Functions

func Of

func Of(tool string, args, result map[string]any) (script.RunOutput, bool)

Of reads the output an export tool reported, from the tool's own result: the managed resource it landed in, or the portal asset it created. Anything else -- another tool, or a result naming neither -- is not one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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