function

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const WasmMemorySizeLimit = uint64(vm.MemoryPageSize) * uint64(vm.MemoryLimitPages)

Variables

This section is empty.

Functions

Types

type Function

type Function struct {
	*vm.Function
	// contains filtered or unexported fields
}

func (*Function) Application

func (f *Function) Application() string

func (*Function) AssetId added in v1.0.11

func (f *Function) AssetId() string

func (*Function) CachePrefix

func (f *Function) CachePrefix() string

func (*Function) Close

func (f *Function) Close()

func (*Function) Commit

func (f *Function) Commit() string

func (*Function) Config

func (f *Function) Config() *structureSpec.Function

func (*Function) Context

func (f *Function) Context() context.Context

func (*Function) Handle

func (f *Function) Handle(w goHttp.ResponseWriter, r *goHttp.Request, matcher components.MatchDefinition) (t time.Time, err error)

func (*Function) Id

func (f *Function) Id() string

func (*Function) IsProvisioned added in v1.1.0

func (f *Function) IsProvisioned() bool

func (*Function) Match

func (f *Function) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)

func (*Function) Matcher

func (f *Function) Matcher() components.MatchDefinition

func (*Function) Metrics added in v1.1.0

func (f *Function) Metrics() *metrics.Function

func (*Function) Project

func (f *Function) Project() string

func (*Function) Provision added in v1.1.0

func (f *Function) Provision() (function httpComp.Serviceable, err error)

func (*Function) Ready

func (f *Function) Ready() error

func (*Function) Service

func (f *Function) Service() components.ServiceComponent

func (*Function) SmartOps

func (f *Function) SmartOps() (uint32, error)

func (*Function) Type

func (f *Function) Type() uint32

func (*Function) Validate

func (f *Function) Validate(matcher components.MatchDefinition) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL