runtime

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 7 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() []string
	BaseDockerFile(w io.Writer) error
	BuildArgs() map[string]string
}

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"

	RuntimeUnknown RuntimeExt = ""
)

type WrappedBuildInput added in v1.12.0

type WrappedBuildInput struct {
	Args       map[string]string
	Dockerfile string
}

func WrapperBuildArgs added in v1.12.0

func WrapperBuildArgs(imageName string, provider string, version string) (*WrappedBuildInput, error)

Jump to

Keyboard shortcuts

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