runtime

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 10 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"
	RuntimeCsharp     RuntimeExt = "cs"

	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(config *WrapperBuildArgsConfig) (*WrappedBuildInput, error)

type WrapperBuildArgsConfig added in v1.14.0

type WrapperBuildArgsConfig struct {
	ProjectDir           string
	ImageName            string
	Provider             string
	MembraneVersion      string
	OtelCollectorVersion string
	Telemetry            int
}

Jump to

Keyboard shortcuts

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