Documentation ¶
Index ¶
- Variables
- type Function
- func (f *Function) Call(runtime vm.Runtime, id uint32) (err error)
- func (f *Function) CallTime() time.Duration
- func (f *Function) ColdStart() time.Duration
- func (f *Function) Instantiate() (runtime vm.Runtime, pluginApi interface{}, err error)
- func (f *Function) MemoryMax() uint64
- func (f *Function) Shadows() *Shadows
- type Shadows
Constants ¶
This section is empty.
Variables ¶
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, branch, commit string) (*Function, error)
func (*Function) Call ¶ added in v1.0.11
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.