testvars

package
v1.26.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

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

func (Any) ApplicationFailure added in v1.26.0

func (a Any) ApplicationFailure() *failurepb.Failure

func (Any) EventID

func (a Any) EventID() int64

func (Any) Int

func (a Any) Int() int

func (Any) Int64 added in v1.26.2

func (a Any) Int64() int64

func (Any) Payload

func (a Any) Payload() *commonpb.Payload

func (Any) Payloads

func (a Any) Payloads() *commonpb.Payloads

func (Any) RunID added in v1.25.2

func (a Any) RunID() string

func (Any) String

func (a Any) String() string

type Global

type Global struct {
}

func (Global) ClusterName

func (c Global) ClusterName() string

func (Global) RemoteClusterName

func (c Global) RemoteClusterName() string

type TestVars

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

func New

func New(testNamer testNamer) *TestVars

func (*TestVars) ActivityID

func (tv *TestVars) ActivityID(key ...string) string

func (*TestVars) ActivityType

func (tv *TestVars) ActivityType(key ...string) *commonpb.ActivityType

func (*TestVars) Any

func (tv *TestVars) Any() Any

func (*TestVars) BuildId added in v1.26.2

func (tv *TestVars) BuildId(key ...string) string

func (*TestVars) ClientIdentity added in v1.25.0

func (tv *TestVars) ClientIdentity(key ...string) string

func (*TestVars) Deployment added in v1.26.2

func (tv *TestVars) Deployment(key ...string) *deployment.Deployment

func (*TestVars) DeploymentSeries added in v1.26.2

func (tv *TestVars) DeploymentSeries(key ...string) string

func (*TestVars) Global

func (tv *TestVars) Global() Global

func (*TestVars) HandlerName

func (tv *TestVars) HandlerName(key ...string) string

func (*TestVars) IndexName added in v1.26.2

func (tv *TestVars) IndexName(key ...string) string

func (*TestVars) InfiniteTimeout

func (tv *TestVars) InfiniteTimeout() *durationpb.Duration

func (*TestVars) MessageID

func (tv *TestVars) MessageID(key ...string) string

func (*TestVars) Namespace

func (tv *TestVars) Namespace(key ...string) *namespace.Namespace

func (*TestVars) NamespaceID

func (tv *TestVars) NamespaceID(key ...string) namespace.ID

func (*TestVars) NamespaceName

func (tv *TestVars) NamespaceName(key ...string) namespace.Name

func (*TestVars) QueryType added in v1.25.0

func (tv *TestVars) QueryType(key ...string) string

func (*TestVars) RunID

func (tv *TestVars) RunID(key ...string) string

func (*TestVars) StickyExecutionAttributes added in v1.26.2

func (tv *TestVars) StickyExecutionAttributes(timeout time.Duration, key ...string) *taskqueuepb.StickyExecutionAttributes

func (*TestVars) StickyTaskQueue

func (tv *TestVars) StickyTaskQueue(key ...string) *taskqueuepb.TaskQueue

func (*TestVars) String

func (tv *TestVars) String(key ...string) string

func (*TestVars) TaskQueue

func (tv *TestVars) TaskQueue(key ...string) *taskqueuepb.TaskQueue

func (*TestVars) TimerID

func (tv *TestVars) TimerID(key ...string) string

func (*TestVars) UpdateID

func (tv *TestVars) UpdateID(key ...string) string

func (*TestVars) UpdateRef

func (tv *TestVars) UpdateRef(key ...string) *updatepb.UpdateRef

func (*TestVars) WithActivityID

func (tv *TestVars) WithActivityID(activityID string, key ...string) *TestVars

func (*TestVars) WithActivityType

func (tv *TestVars) WithActivityType(workflowType string, key ...string) *TestVars

func (*TestVars) WithBuildId added in v1.26.2

func (tv *TestVars) WithBuildId(buildId string, key ...string) *TestVars

func (*TestVars) WithClientIdentity added in v1.25.0

func (tv *TestVars) WithClientIdentity(identity string, key ...string) *TestVars

func (*TestVars) WithDeploymentSeries added in v1.26.2

func (tv *TestVars) WithDeploymentSeries(series string, key ...string) *TestVars

func (*TestVars) WithHandlerName

func (tv *TestVars) WithHandlerName(handlerName string, key ...string) *TestVars

func (*TestVars) WithIndexName added in v1.26.2

func (tv *TestVars) WithIndexName(indexName string, key ...string) *TestVars

func (*TestVars) WithMessageID

func (tv *TestVars) WithMessageID(messageID string, key ...string) *TestVars

func (*TestVars) WithNamespaceID

func (tv *TestVars) WithNamespaceID(namespaceID namespace.ID, key ...string) *TestVars

func (*TestVars) WithNamespaceName

func (tv *TestVars) WithNamespaceName(namespaceName namespace.Name, key ...string) *TestVars

func (*TestVars) WithQueryType added in v1.25.0

func (tv *TestVars) WithQueryType(queryType string, key ...string) *TestVars

func (*TestVars) WithRunID

func (tv *TestVars) WithRunID(runID string, key ...string) *TestVars

func (*TestVars) WithStickyTaskQueue

func (tv *TestVars) WithStickyTaskQueue(stickyTaskQueue string, key ...string) *TestVars

func (*TestVars) WithString

func (tv *TestVars) WithString(str string, key ...string) *TestVars

func (*TestVars) WithTaskQueue

func (tv *TestVars) WithTaskQueue(taskQueue string, key ...string) *TestVars

func (*TestVars) WithTimerID

func (tv *TestVars) WithTimerID(timerID string, key ...string) *TestVars

func (*TestVars) WithUpdateID

func (tv *TestVars) WithUpdateID(updateID string, key ...string) *TestVars

func (*TestVars) WithWorkerIdentity

func (tv *TestVars) WithWorkerIdentity(identity string, key ...string) *TestVars

func (*TestVars) WithWorkflowID

func (tv *TestVars) WithWorkflowID(workflowID string, key ...string) *TestVars

func (*TestVars) WithWorkflowType

func (tv *TestVars) WithWorkflowType(workflowType string, key ...string) *TestVars

func (*TestVars) WorkerIdentity

func (tv *TestVars) WorkerIdentity(key ...string) string

func (*TestVars) WorkflowExecution

func (tv *TestVars) WorkflowExecution(key ...string) *commonpb.WorkflowExecution

func (*TestVars) WorkflowID

func (tv *TestVars) WorkflowID(key ...string) string

func (*TestVars) WorkflowType

func (tv *TestVars) WorkflowType(key ...string) *commonpb.WorkflowType

Jump to

Keyboard shortcuts

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