testvars

package
v1.27.0-128.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 25 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) InfiniteTimeout

func (a Any) InfiniteTimeout() *durationpb.Duration

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() string

func (*TestVars) ActivityType

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

func (*TestVars) Any

func (tv *TestVars) Any() Any

----------- Generic methods ------------

func (*TestVars) BuildID

func (tv *TestVars) BuildID() string

func (*TestVars) ClientIdentity added in v1.25.0

func (tv *TestVars) ClientIdentity() string

func (*TestVars) Deployment added in v1.26.2

func (tv *TestVars) Deployment() *deploymentpb.Deployment

[cleanup-wv-pre-release]

func (*TestVars) DeploymentSeries added in v1.26.2

func (tv *TestVars) DeploymentSeries() string

[cleanup-wv-pre-release]

func (*TestVars) DeploymentVersion

func (tv *TestVars) DeploymentVersion() *deploymentspb.WorkerDeploymentVersion

func (*TestVars) DeploymentVersionString

func (tv *TestVars) DeploymentVersionString() string

func (*TestVars) DeploymentVersionTransition

func (tv *TestVars) DeploymentVersionTransition() *workflowpb.DeploymentVersionTransition

func (*TestVars) Global

func (tv *TestVars) Global() Global

func (*TestVars) HandlerName

func (tv *TestVars) HandlerName() string

func (*TestVars) IndexName added in v1.26.2

func (tv *TestVars) IndexName() string

func (*TestVars) MessageID

func (tv *TestVars) MessageID() string

func (*TestVars) Namespace

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

func (*TestVars) NamespaceID

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

func (*TestVars) NamespaceName

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

func (*TestVars) Operation

func (tv *TestVars) Operation() string

func (*TestVars) Query

func (tv *TestVars) Query() *querypb.WorkflowQuery

func (*TestVars) QueryType added in v1.25.0

func (tv *TestVars) QueryType() string

func (*TestVars) RequestID

func (tv *TestVars) RequestID() string

func (*TestVars) RunID

func (tv *TestVars) RunID() string

RunID is different from other getters. By default, it returns an empty string. This is to simplify the usage of WorkflowExecution() which most of the time doesn't need RunID. Otherwise, RunID can be set explicitly using WithRunID.

func (*TestVars) Service

func (tv *TestVars) Service() string

func (*TestVars) SignalName

func (tv *TestVars) SignalName() string

func (*TestVars) StickyExecutionAttributes added in v1.26.2

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

func (*TestVars) StickyTaskQueue

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

func (*TestVars) TaskQueue

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

func (*TestVars) TimerID

func (tv *TestVars) TimerID() string

func (*TestVars) UpdateID

func (tv *TestVars) UpdateID() string

func (*TestVars) UpdateRef

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

func (*TestVars) VersioningOverridePinned

func (tv *TestVars) VersioningOverridePinned() *workflowpb.VersioningOverride

func (*TestVars) WithActivityIDNumber

func (tv *TestVars) WithActivityIDNumber(n int) *TestVars

func (*TestVars) WithBuildIDNumber

func (tv *TestVars) WithBuildIDNumber(n int) *TestVars

func (*TestVars) WithDeploymentSeriesNumber

func (tv *TestVars) WithDeploymentSeriesNumber(n int) *TestVars

[cleanup-wv-pre-release]

func (*TestVars) WithMessageIDNumber

func (tv *TestVars) WithMessageIDNumber(n int) *TestVars

func (*TestVars) WithNamespaceID

func (tv *TestVars) WithNamespaceID(namespaceID namespace.ID) *TestVars

func (*TestVars) WithNamespaceName

func (tv *TestVars) WithNamespaceName(namespaceName namespace.Name) *TestVars

func (*TestVars) WithRequestID

func (tv *TestVars) WithRequestID(requestID string) *TestVars

func (*TestVars) WithRunID

func (tv *TestVars) WithRunID(runID string) *TestVars

func (*TestVars) WithTaskQueue

func (tv *TestVars) WithTaskQueue(taskQueue string) *TestVars

func (*TestVars) WithTaskQueueNumber

func (tv *TestVars) WithTaskQueueNumber(n int) *TestVars

func (*TestVars) WithTimerIDNumber

func (tv *TestVars) WithTimerIDNumber(n int) *TestVars

func (*TestVars) WithUpdateIDNumber

func (tv *TestVars) WithUpdateIDNumber(n int) *TestVars

func (*TestVars) WithWorkflowIDNumber

func (tv *TestVars) WithWorkflowIDNumber(n int) *TestVars

func (*TestVars) WorkerDeploymentOptions

func (tv *TestVars) WorkerDeploymentOptions(versioned bool) *deploymentpb.WorkerDeploymentOptions

func (*TestVars) WorkerIdentity

func (tv *TestVars) WorkerIdentity() string

func (*TestVars) WorkflowExecution

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

func (*TestVars) WorkflowID

func (tv *TestVars) WorkflowID() string

func (*TestVars) WorkflowType

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

Jump to

Keyboard shortcuts

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