Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InstanceMaxRequests int = 64 InstanceMaxError int64 = 5 InstanceErrorCoolDown time.Duration = 30 * time.Minute ShadowMinBuff = 3 ShadowMaxAge time.Duration = 10 * time.Minute ShadowCleanInterval time.Duration = ShadowMaxAge / 2 ShadowMaxWait time.Duration = 1 * time.Second MaxGlobalInstances int64 = 128 * 1024 MemoryThreshold uint64 = 80 DefaultWasmMemory uint64 = 4 * 1024 * 1024 * 1024 )
View Source
var DebugFunctionCallsLogger vm.Logger
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, serviceable components.FunctionServiceable) (*Function, error)
func (*Function) Call ¶
Call takes instance and id, then calls the moduled function. Returns an error.
func (*Function) Instantiate ¶
Instantiate returns a runtime, plugin api, and error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.