fn

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fn

type Fn struct {
	fnv1.UnimplementedFunctionRunnerServiceServer
	// contains filtered or unexported fields
}

func New

func New(opts Options) (*Fn, error)

New creates a hcl runner.

func (*Fn) RunFunction

func (f *Fn) RunFunction(_ context.Context, req *fnv1.RunFunctionRequest) (outRes *fnv1.RunFunctionResponse, finalErr error)

RunFunction runs the function.

type Options

type Options struct {
	Logger logging.Logger
	Debug  bool
}

Options are options for the cue runner.

Jump to

Keyboard shortcuts

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