Documentation
¶
Index ¶
- Constants
- func ContainerCommands(runtime types.Runtime, debug bool, hotDeploy bool) []string
- func ContainerEnvs(runtime types.Runtime, hotDeploy bool) []string
- func ContainerImage(runtime types.Runtime) string
- func GetMounts(runtime types.Runtime, sourceType workspace.SourceType, workDir string) []mount.Mount
- func MoveInlineCommand(runtime types.Runtime, sourcePath, depsPath string) []string
- func RuntimeDebugPort(runtime types.Runtime) string
Constants ¶
View Source
const ( ServerPort = "8080" FunctionMountPath = "/usr/src/app/function" KubelessPath = "/kubeless" KubelessTmpPath = "/tmp/kubeless" ContainerUser = "root" NodejsPath = "NODE_PATH=$(KUBELESS_INSTALL_VOLUME)/node_modules" NodejsDebugEndpoint = `9229` Python39Path = "PYTHONPATH=$(KUBELESS_INSTALL_VOLUME)/lib.python3.9/site-packages:$(KUBELESS_INSTALL_VOLUME)" Python312Path = "PYTHONPATH=$(KUBELESS_INSTALL_VOLUME)/lib.python3.12/site-packages:$(KUBELESS_INSTALL_VOLUME)" PythonHotDeploy = "CHERRYPY_RELOADED=true" PythonUnbuffered = "PYTHONUNBUFFERED=TRUE" PythonDebugEndpoint = `5678` )
Variables ¶
This section is empty.
Functions ¶
func ContainerCommands ¶
func ContainerImage ¶
func MoveInlineCommand ¶
func RuntimeDebugPort ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.