render

package
v1.0.0-beta.59 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: Apache-2.0 Imports: 21 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

Index

Constants

View Source
const (
	Dry hydrationState = iota
	Hydrating
	Wet
)

constants for all the hydration states

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// PkgPath is the absolute path to the root package
	PkgPath string

	// Runtime knows how to pick a function runner for a given function
	Runtime fn.FunctionRuntime

	// ResultsDirPath is absolute path to the directory to write results
	ResultsDirPath string

	// Output is the writer to which the output resources are written
	Output io.Writer

	// RunnerOptions contains options controlling function execution.
	RunnerOptions fnruntime.RunnerOptions

	// FileSystem is the input filesystem to operate on
	FileSystem filesys.FileSystem
	// contains filtered or unexported fields
}

Renderer hydrates a given pkg by running the functions in the input pipeline

func (*Renderer) Execute

func (e *Renderer) Execute(ctx context.Context) (*fnresult.ResultList, error)

Execute runs a pipeline.

Jump to

Keyboard shortcuts

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