Documentation
¶
Index ¶
- type StatefunTestSuite
- func (s *StatefunTestSuite) AfterTest(suiteName, testName string)
- func (env StatefunTestSuite) CacheValue(key string) (*easyjson.JSON, error)
- func (env StatefunTestSuite) OnAfterStartFunction(f statefun.OnAfterStartFunction, async bool)
- func (env StatefunTestSuite) Publish(subj string, data []byte) error
- func (env StatefunTestSuite) RegisterFunction(name string, handler statefun.FunctionLogicHandler, ...)
- func (env StatefunTestSuite) Request(provider plugins.RequestProvider, typename, id string, ...) (*easyjson.JSON, error)
- func (env StatefunTestSuite) Runtime() *statefun.Runtime
- func (env StatefunTestSuite) SetThisDomainPreffix(id string) string
- func (s *StatefunTestSuite) SetupTest()
- func (env StatefunTestSuite) Signal(provider plugins.SignalProvider, typename, id string, ...) error
- func (env StatefunTestSuite) StartRuntime() error
- func (env StatefunTestSuite) Stop()
- func (env StatefunTestSuite) Subscribe(subj string, h nats.MsgHandler) (*nats.Subscription, error)
- func (env StatefunTestSuite) SubscribeEgress(typename, id string) (*nats.Subscription, error)
- func (env StatefunTestSuite) SubscribeSync(subj string) (*nats.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatefunTestSuite ¶
func (*StatefunTestSuite) AfterTest ¶
func (s *StatefunTestSuite) AfterTest(suiteName, testName string)
func (StatefunTestSuite) CacheValue ¶
func (StatefunTestSuite) OnAfterStartFunction ¶
func (env StatefunTestSuite) OnAfterStartFunction(f statefun.OnAfterStartFunction, async bool)
func (StatefunTestSuite) RegisterFunction ¶
func (env StatefunTestSuite) RegisterFunction(name string, handler statefun.FunctionLogicHandler, cfg statefun.FunctionTypeConfig)
func (StatefunTestSuite) SetThisDomainPreffix ¶
func (*StatefunTestSuite) SetupTest ¶
func (s *StatefunTestSuite) SetupTest()
func (StatefunTestSuite) StartRuntime ¶
func (env StatefunTestSuite) StartRuntime() error
func (StatefunTestSuite) SubscribeEgress ¶
func (StatefunTestSuite) SubscribeSync ¶
Click to show internal directories.
Click to hide internal directories.