Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelLambdaVersion = "lambda.refunc.io/version" LabelLambdaName = "lambda.refunc.io/name" AnnotationLambdaConcurrency = "lambda.refunc.io/concurrency" MaxLambdaConcurrency = 32 )
Variables ¶
View Source
var ( RefuncRoot = "/var/run/refunc" ConfigFile = "refunc.json" DefaultMain = "/var/runtime/bootstrap" AlterMainPath = "/opt/bootstrap" DefaultTaskRoot = "/var/task" DefaultRuntimeRoot = "/var/runtime" DefaultLayersRoot = "/opt" )
common vars
View Source
var LogFrameDelimer = []byte{165, 90, 0, 1} //0xA55A0001
Functions ¶
This section is empty.
Types ¶
type Loader ¶
Loader listens to address to load res and handles the bootstrap of a func
func NewSimpleLoader ¶
NewSimpleLoader creates a new simple loader, simple loader will listen POST reqeust at /init, and download resouces
Click to show internal directories.
Click to hide internal directories.