fn

package
v1.0.0-beta.14 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionRunner

type FunctionRunner interface {
	// Run method accepts resourceList in wireformat and returns resourceList in wire format.
	Run(r io.Reader, w io.Writer) error
}

FunctionRunner knows how to run a function.

type FunctionRuntime

type FunctionRuntime interface {
	GetRunner(ctx context.Context, fn *v1.Function) (FunctionRunner, error)
}

FunctionRuntime provides a way to obtain a function runner to be used for a given function configuration.

type RenderOptions

type RenderOptions struct {
	PkgPath string
	Runtime FunctionRuntime
}

type Renderer

type Renderer interface {
	Render(ctx context.Context, pkg filesys.FileSystem, opts RenderOptions) error
}

Jump to

Keyboard shortcuts

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