Versions in this module Expand all Collapse all v1 v1.0.2 Apr 7, 2022 v1.0.1 Apr 7, 2022 Changes in this version + type FakeServer struct + func NewFakeService(address string) (common.Service, *FakeServer, error) + func (s *FakeServer) AddBindingInvocationHandler(name string, fn common.BindingInvocationHandler) error + func (s *FakeServer) AddServiceInvocationHandler(method string, fn common.ServiceInvocationHandler) error + func (s *FakeServer) AddTopicEventHandler(sub *common.Subscription, fn common.TopicEventHandler) error + func (s *FakeServer) ListInputBindings(ctx context.Context, in *empty.Empty) (*pb.ListInputBindingsResponse, error) + func (s *FakeServer) OnBindingEvent(ctx context.Context, in *pb.BindingEventRequest) (*pb.BindingEventResponse, error) + func (s *FakeServer) OnInvoke(ctx context.Context, in *cpb.InvokeRequest) (*cpb.InvokeResponse, error) + func (s *FakeServer) OnTopicEvent(ctx context.Context, in *pb.TopicEventRequest) (*pb.TopicEventResponse, error) + func (s *FakeServer) RegisterActorImplFactory(f actor.Factory, opts ...config.Option) + func (s *FakeServer) Start() error + func (s *FakeServer) Stop() error + type Runtime struct + func NewAsyncRuntime(port string) (*Runtime, error) + func (r *Runtime) GetHandler() interface{} + func (r *Runtime) Name() ofctx.Runtime + func (r *Runtime) RegisterCloudEventFunction(ctx context.Context, funcContext ofctx.RuntimeContext, ...) error + func (r *Runtime) RegisterHTTPFunction(ctx ofctx.RuntimeContext, prePlugins []plugin.Plugin, ...) error + func (r *Runtime) RegisterOpenFunction(ctx ofctx.RuntimeContext, prePlugins []plugin.Plugin, ...) error + func (r *Runtime) Start(ctx context.Context) error