function

package
v0.0.0-...-9202c9a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NameRegex = regexp.MustCompile(`^[a-zA-Z0-9-_]+$`)

Functions

func CheckAndSetDefaults

func CheckAndSetDefaults(cfg *v1alpha1.Function) error

Types

type ExecCtx

type ExecCtx interface {
	Logger() *zap.SugaredLogger
	PathPrefix(override ...string) string
	VolumeRegistry() volume.Registry
	App() app.App
}

type Function

type Function interface {
	Config() v1alpha1.Function
	Exec(ctx context.Context, execCtx ExecCtx) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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