runtime

package
v1.33.6 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime interface {
	ContainerName() string
	BuildIgnore(additional ...string) []string
	BaseDockerFile(w io.Writer) error
	BuildArgs() map[string]string
}

func NewCustomRuntime added in v1.23.0

func NewCustomRuntime(handler string, dockerfile string, args map[string]string) (Runtime, error)

func NewRunTimeFromHandler

func NewRunTimeFromHandler(handler string) (Runtime, error)

type RuntimeExt

type RuntimeExt string
const (
	RuntimeTypescript RuntimeExt = "ts"
	RuntimeJavascript RuntimeExt = "js"
	RuntimePython     RuntimeExt = "py"
	RuntimeGolang     RuntimeExt = "go"
	RuntimeCsharp     RuntimeExt = "cs"
	RuntimeJvm        RuntimeExt = "jar"

	RuntimeUnknown RuntimeExt = ""
)

Jump to

Keyboard shortcuts

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