Documentation ¶
Index ¶
- Constants
- func New(srv components.ServiceComponent, object tns.Object, ...) (http.Serviceable, error)
- type Function
- func (f *Function) Application() string
- func (f *Function) AssetId() string
- func (f *Function) Branch() string
- func (f *Function) CachePrefix() string
- func (f *Function) Close()
- func (f *Function) Commit() string
- func (f *Function) Config() *structureSpec.Function
- func (f *Function) Context() context.Context
- func (f *Function) Handle(w goHttp.ResponseWriter, r *goHttp.Request, matcher components.MatchDefinition) (t time.Time, err error)
- func (f *Function) Id() string
- func (f *Function) IsProvisioned() bool
- func (f *Function) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)
- func (f *Function) Matcher() components.MatchDefinition
- func (f *Function) Metrics() *metrics.Function
- func (f *Function) Project() string
- func (f *Function) Provision() (function httpComp.Serviceable, err error)
- func (f *Function) Ready() error
- func (f *Function) Service() components.ServiceComponent
- func (f *Function) SmartOps() (uint32, error)
- func (f *Function) Type() uint32
- func (f *Function) Validate(matcher components.MatchDefinition) error
Constants ¶
View Source
const WasmMemorySizeLimit = uint64(vm.MemoryPageSize) * uint64(vm.MemoryLimitPages)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(srv components.ServiceComponent, object tns.Object, matcher *common.MatchDefinition) (http.Serviceable, error)
Types ¶
type Function ¶
func (*Function) Application ¶
func (*Function) CachePrefix ¶
func (*Function) Config ¶
func (f *Function) Config() *structureSpec.Function
func (*Function) Handle ¶
func (f *Function) Handle(w goHttp.ResponseWriter, r *goHttp.Request, matcher components.MatchDefinition) (t time.Time, err error)
func (*Function) IsProvisioned ¶
func (*Function) Match ¶
func (f *Function) Match(matcher components.MatchDefinition) (currentMatchIndex matcherSpec.Index)
func (*Function) Matcher ¶
func (f *Function) Matcher() components.MatchDefinition
func (*Function) Provision ¶
func (f *Function) Provision() (function httpComp.Serviceable, err error)
func (*Function) Service ¶
func (f *Function) Service() components.ServiceComponent
func (*Function) Validate ¶
func (f *Function) Validate(matcher components.MatchDefinition) error
Click to show internal directories.
Click to hide internal directories.