render

package
v1.0.0-beta.28 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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