MCPcopy Create free account
hub / github.com/temporalio/temporal / deploymentOptions

Method deploymentOptions

tests/task_queue_stats_test.go:1568–1574  ·  view source on GitHub ↗

TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function.

(tqName string)

Source from the content-addressed store, hash-verified

1566
1567// TODO: Remove this once older stats tests are refactored to use the createDeploymentOptions function.
1568func (s *taskQueueStatsContext) deploymentOptions(tqName string) *deploymentpb.WorkerDeploymentOptions {
1569 return &deploymentpb.WorkerDeploymentOptions{
1570 DeploymentName: tqName + "-deployment",
1571 BuildId: "build-id",
1572 WorkerVersioningMode: enumspb.WORKER_VERSIONING_MODE_VERSIONED,
1573 }
1574}
1575
1576func validateTaskQueueStatsStrict(
1577 t require.TestingT,

Calls

no outgoing calls

Tested by

no test coverage detected