Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaunchOpts ¶
type Runtime ¶
type Runtime interface {
DevImageName() string
ContainerName() string
FunctionDockerfile(funcCtxDir, version, provider string, w io.Writer) error
FunctionDockerfileForCodeAsConfig(w io.Writer) error // FunctionDockerfileForCodeAsConfig generates a base image for code-as-config
LaunchOptsForFunction(stackDir string) (LaunchOpts, error)
LaunchOptsForFunctionCollect(stackDir string) (LaunchOpts, error)
}
func NewRunTimeFromHandler ¶
type RuntimeExt ¶
type RuntimeExt string
const ( RuntimeTypescript RuntimeExt = "ts" RuntimeJavascript RuntimeExt = "js" RuntimePython RuntimeExt = "py" RuntimeGolang RuntimeExt = "go" RuntimeJava RuntimeExt = "java" RuntimeUnknown RuntimeExt = "" )
Click to show internal directories.
Click to hide internal directories.