tooloutput

package
v1.140.0 Latest Latest
Warning

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

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

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