tests

package
v0.0.0-...-071f0a0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 29 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurer

type Configurer interface {
	// UnmarshalKey takes a single key and unmarshal it into a Struct.
	UnmarshalKey(name string, out any) error
	// Has checks if config section exists.
	Has(name string) bool
}

type TemporalInterceptorPlugin

type TemporalInterceptorPlugin struct {
	// contains filtered or unexported fields
}

func (*TemporalInterceptorPlugin) Init

func (*TemporalInterceptorPlugin) Name

func (pt *TemporalInterceptorPlugin) Name() string

func (*TemporalInterceptorPlugin) Serve

func (pt *TemporalInterceptorPlugin) Serve() chan error

func (*TemporalInterceptorPlugin) Stop

func (*TemporalInterceptorPlugin) WorkerInterceptor

type TestServer

type TestServer struct {
	Client temporalClient.Client
}

func NewTestServer

func NewTestServer(t *testing.T, stopCh chan struct{}, wg *sync.WaitGroup) *TestServer

func NewTestServerLA

func NewTestServerLA(t *testing.T, stopCh chan struct{}, wg *sync.WaitGroup) *TestServer

func NewTestServerTLS

func NewTestServerTLS(t *testing.T, stopCh chan struct{}, wg *sync.WaitGroup, configName string) *TestServer

func NewTestServerWithInterceptor

func NewTestServerWithInterceptor(t *testing.T, stopCh chan struct{}, wg *sync.WaitGroup) *TestServer

func NewTestServerWithMetrics

func NewTestServerWithMetrics(t *testing.T, stopCh chan struct{}, cfg Configurer, wg *sync.WaitGroup) *TestServer

func NewTestServerWithOtelInterceptor

func NewTestServerWithOtelInterceptor(t *testing.T, stopCh chan struct{}, wg *sync.WaitGroup) *TestServer

func (*TestServer) AssertContainsEvent

func (s *TestServer) AssertContainsEvent(client temporalClient.Client, t *testing.T, w temporalClient.WorkflowRun, assert func(*history.HistoryEvent) bool)

func (*TestServer) AssertNotContainsEvent

func (s *TestServer) AssertNotContainsEvent(client temporalClient.Client, t *testing.T, w temporalClient.WorkflowRun, assert func(*history.HistoryEvent) bool)

Jump to

Keyboard shortcuts

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