function

package
v1.206.3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(r io.Reader, w io.Writer) error

Types

type EdgeRuntimeAPI

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

func NewEdgeRuntimeAPI

func NewEdgeRuntimeAPI(project string, client api.ClientWithResponses, bundler EszipBundler) EdgeRuntimeAPI

func (*EdgeRuntimeAPI) UpsertFunctions

func (s *EdgeRuntimeAPI) UpsertFunctions(ctx context.Context, functionConfig config.FunctionConfig, filter ...func(string) bool) error

type EszipBundler

type EszipBundler interface {
	Bundle(ctx context.Context, entrypoint string, importMap string, output io.Writer) error
}

func NewNativeBundler

func NewNativeBundler(tempDir string, fsys fs.FS) EszipBundler

Jump to

Keyboard shortcuts

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