runner

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: AGPL-3.0-or-later Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDBFailure = errors.New("db failure")

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func (*Service) ExecFunction

func (s *Service) ExecFunction(
	ctx context.Context,
	fn *model.Function,
	invocationID string,
	input string,
	environment map[string]string,
	secrets map[string]string,
) (*string, error)

func (*Service) SetupFunction added in v1.2.0

func (s *Service) SetupFunction(ctx context.Context, functionName string, clientName string, input string) (*model.Function, *string, error)

Jump to

Keyboard shortcuts

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