Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Configs = configset.Set[Config]{ Default: &Config{ Monitor: defaultMonitorConfig, }, Dev: &Config{ Monitor: defaultMonitorConfig, StartDevServerIfNotUp: true, DevServer: testsuite.DevServerOptions{ LogLevel: zapcore.WarnLevel.String(), EnableUI: true, }, }, Test: &Config{ Monitor: defaultMonitorConfig, AlwaysStartDevServer: true, DevServer: testsuite.DevServerOptions{ LogLevel: zapcore.WarnLevel.String(), }, }, } )
Functions ¶
Types ¶
type Client ¶
type Client interface { Start(context.Context) error Stop(context.Context) error Temporal() client.Client TemporalAddr() (frontend, ui string) }
func NewFromClient ¶ added in v0.3.1
type Config ¶
type Config struct { Monitor MonitorConfig `koanf:"monitor"` AlwaysStartDevServer bool `koanf:"always_start_dev_server"` StartDevServerIfNotUp bool `koanf:"start_dev_server_if_not_up"` HostPort string `koanf:"hostport"` Namespace string `koanf:"namespace"` // DevServer.ClientOptions is not used. DevServer testsuite.DevServerOptions `koanf:"dev_server"` TLS tlsConfig `koanf:"tls"` }
type MonitorConfig ¶ added in v0.3.1
type WorkflowContextAsGoContext ¶
type WorkflowContextAsGoContext struct { workflow.Context // contains filtered or unexported fields }
func (*WorkflowContextAsGoContext) Deadline ¶
func (wctx *WorkflowContextAsGoContext) Deadline() (time.Time, bool)
func (*WorkflowContextAsGoContext) Done ¶
func (wctx *WorkflowContextAsGoContext) Done() <-chan struct{}
func (*WorkflowContextAsGoContext) Err ¶
func (wctx *WorkflowContextAsGoContext) Err() error
func (*WorkflowContextAsGoContext) Value ¶
func (wctx *WorkflowContextAsGoContext) Value(key any) any
Click to show internal directories.
Click to hide internal directories.