Documentation ¶
Index ¶
- type Config
- type Event
- type EventResponse
- type Runtime
- func (r *Runtime) CreateFuncChannel() error
- func (r *Runtime) EnqueueEvent(event *Event)
- func (r *Runtime) GetPendingEventsCount() int
- func (r *Runtime) OnBindingEvent(ctx *context.Context, event *common.BindingEvent) ([]byte, error)
- func (r *Runtime) OnTopicEvent(ctx *context.Context, event *common.TopicEvent) error
- func (r *Runtime) ProcessEvents()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
func NewEvent ¶
func NewEvent(ctx *context.Context, bindingEvent *common.BindingEvent, topicEvent *common.TopicEvent, respCh chan *EventResponse) Event
type EventResponse ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func NewFuncRuntime ¶
func NewFuncRuntime(config *Config, ctx *ofctx.FunctionContext) *Runtime
func (*Runtime) CreateFuncChannel ¶
func (*Runtime) EnqueueEvent ¶
func (*Runtime) GetPendingEventsCount ¶
func (*Runtime) OnBindingEvent ¶
func (*Runtime) OnTopicEvent ¶
func (*Runtime) ProcessEvents ¶
func (r *Runtime) ProcessEvents()
Click to show internal directories.
Click to hide internal directories.