Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 11,253 callers
Method
Equal
(VisibilityValue)
chasm/visibility_value.go:15
↓ 11,033 callers
Method
NoError
NoError asserts that err is nil. Deprecated: use require.NoError with the parent test or suite instead. TODO: remove once all tests are migrated to T
tests/testcore/test_env.go:415
↓ 7,181 callers
Method
String
()
common/archiver/uri.go:16
↓ 5,423 callers
Method
Any
----------- Generic methods ------------
common/testing/testvars/test_vars.go:442
↓ 5,109 callers
Method
New
New will be called for a new root partition. It should return a new PartitionScaler (or nil to disable).
service/matching/partition_scaler_interface.go:15
↓ 4,723 callers
Method
EXPECT
EXPECT returns a MetadataMockRecorder which can be used to set expectations on the mock.
common/archiver/metadata_mock.go:13
↓ 4,139 callers
Method
Helper
()
common/testing/protoassert/assert.go:15
↓ 3,019 callers
Method
T
T returns the *testing.T. Deprecated: use the suite's T() method instead.
tests/testcore/test_env.go:50
↓ 2,825 callers
Method
Error
(msg string, tags ...tag.Tag)
common/log/interface.go:22
↓ 2,688 callers
Method
Context
()
tests/testcore/test_env.go:58
↓ 2,397 callers
Method
Namespace
()
tests/testcore/test_env.go:51
↓ 2,203 callers
Method
FrontendClient
()
tests/testcore/test_env.go:53
↓ 1,955 callers
Method
Call
(r *VersionCheckRequest)
common/versioninfo/caller.go:23
↓ 1,855 callers
Method
Tv
()
tests/testcore/test_env.go:442
↓ 1,852 callers
Method
Run
Run and handle errors, abort on context error.
common/tasks/task.go:13
↓ 1,165 callers
Method
Errorf
Errorf records an error message for reporting on timeout.
common/testing/await/t.go:43
↓ 1,149 callers
Method
Record
Record updates the gauge value. Tags provided are merged with the source MetricsHandler
common/metrics/metrics.go:59
↓ 1,109 callers
Method
GetRunId
()
tests/workflow_memo_test.go:35
↓ 1,072 callers
Method
Len
Len return the size of the queue
common/collection/interface.go:15
↓ 1,054 callers
Method
Now
Wall clock. Backed by a the shard's time source.
service/history/hsm/executor.go:49
↓ 1,053 callers
Function
Error
Error returns tag for Error
common/log/tag/tags.go:37
↓ 995 callers
Method
Int63
()
common/backoff/retrypolicy.go:332
↓ 931 callers
Method
GetWorkflowId
()
common/rpc/interceptor/routing_key_extractor.go:57
↓ 898 callers
Method
With
(tags ...tag.Tag)
common/log/interface.go:39
↓ 876 callers
Method
Get
( runID string, targetClusterID int32, )
service/history/replication/progress_cache.go:21
↓ 855 callers
Method
Add
Add task executable to the rescheduler.
service/history/queues/rescheduler.go:35
↓ 853 callers
Method
Info
(msg string, tags ...tag.Tag)
common/log/interface.go:20
↓ 839 callers
Method
Marshal
()
common/checksum/crc.go:19
↓ 833 callers
Method
SdkClient
SdkClient returns the SDK client. It is lazily initialized on the first call.
tests/testcore/test_env.go:479
↓ 830 callers
Method
Size
Size returns current size of the Cache, the size definition is implementation of SizeGetter interface for the entry size, if the entry does not implem
common/cache/cache.go:35
↓ 769 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/interfaces/mutable_state_mock.go:70
↓ 719 callers
Method
GetEventId
()
api/token/v1/message.pb.go:547
↓ 719 callers
Method
Run
(*ReaderGroup)
service/history/queues/action.go:8
↓ 708 callers
Method
Name
()
chasm/library.go:28
↓ 688 callers
Method
Contains
Contains returns true if the key exist and false otherwise
common/collection/interface.go:33
↓ 686 callers
Method
Require
Deprecated: Require bypasses the guard mechanism. Use s.NoError, s.Equal, etc. directly.
common/testing/parallelsuite/testify.go:35
↓ 685 callers
Method
GetExecutionInfo
()
service/history/interfaces/mutable_state.go:181
↓ 626 callers
Method
Get
Get retrieves an element based on a key, returning nil if the element does not exist
common/cache/cache.go:15
↓ 621 callers
Function
RandomizeStr
TODO (alex): move this to functional_test_base.go as methods.
tests/testcore/utils.go:50
↓ 596 callers
Method
Now
Now returns the current time in the context of the given component. In a context of a transaction, this time must be used to allow for framework suppo
chasm/context.go:26
↓ 550 callers
Method
Name
()
service/history/queues/action.go:7
↓ 510 callers
Method
Add
Add push an item to the queue
common/collection/interface.go:9
↓ 503 callers
Function
NewTestLogger
NewTestLogger returns a logger for tests Deprecated: Use testlogger.TestLogger instead.
common/log/zap_logger.go:60
↓ 500 callers
Function
EncodeString
(str string)
common/payloads/payloads.go:15
↓ 492 callers
Method
TaskQueue
()
common/tqid/task_queue_id.go:44
↓ 480 callers
Method
Now
()
common/clock/time_source.go:11
↓ 479 callers
Method
GetNamespace
(name Name)
common/namespace/registry.go:22
↓ 461 callers
Method
GetNamespaceId
()
common/rpc/interceptor/namespace.go:17
↓ 452 callers
Method
GetRunID
()
service/history/tasks/task.go:18
↓ 444 callers
Method
GetName
()
common/testing/generator_interface.go:49
↓ 431 callers
Method
WorkflowID
WorkflowID returns the Workflow ID given as part of the request spec. During start generation, nominal time is suffixed to this ID.
chasm/lib/scheduler/scheduler.go:423
↓ 430 callers
Function
newExecutionContext
()
common/persistence/sql/sqlplugin/tests/context.go:15
↓ 428 callers
Function
NewEnv
NewEnv creates a new test environment with access to a Temporal cluster.
tests/testcore/test_env.go:253
↓ 427 callers
Method
Unlock
()
service/history/interfaces/workflow_context.go:32
↓ 421 callers
Method
Get
(url string)
tools/tdbg/factory.go:31
↓ 420 callers
Function
WorkflowRunID
WorkflowRunID returns tag for WorkflowRunID TODO: Rename to RunID
common/log/tag/tags.go:126
↓ 419 callers
Method
Done
Done exposes a channel that allows outside goroutines to block on this goroutine's completion. Whatever time passes between a call to Cancel() and the
common/goro/goro.go:51
↓ 418 callers
Method
GetVersion
()
service/history/tasks/task.go:36
↓ 415 callers
Method
Lock
(ctx context.Context, lockPriority locks.Priority)
service/history/interfaces/workflow_context.go:31
↓ 411 callers
Method
ExecuteWorkflow
(ctx workflow.Context, in *interceptor.ExecuteWorkflowInput)
temporaltest/server_test.go:441
↓ 404 callers
Method
Key
Key represents the key
common/cache/cache.go:92
↓ 394 callers
Method
GetID
()
common/definition/resource_dedup.go:15
↓ 392 callers
Function
ThrottleRetryContext
ThrottleRetryContext is a context and resource aware version of Retry. Context timeout/cancellation errors are never retried, regardless of IsRetryabl
common/backoff/retry.go:50
↓ 389 callers
Function
NewWorkflowKey
NewWorkflowKey create a new WorkflowKey
common/definition/workflow_key.go:17
↓ 385 callers
Method
GetWorkflowExecution
(ctx context.Context, request *persistence.GetWorkflowExecutionRequest)
service/history/interfaces/shard_context.go:96
↓ 385 callers
Method
Since
(t time.Time)
common/clock/time_source.go:12
↓ 375 callers
Method
StartWorkflowExecution
(ctx context.Context, request *historyservice.StartWorkflowExecutionRequest)
service/history/interfaces/engine.go:28
↓ 369 callers
Function
NewCounterDef
(name string, opts ...Option)
common/metrics/defs.go:46
↓ 369 callers
Function
WithDynamicConfig
WithDynamicConfig overrides a dynamic config setting for the test. For settings that can be namespace-scoped, a namespace constraint is applied. For a
tests/testcore/test_env.go:240
↓ 362 callers
Method
Len
Len returns the total number of task executables waiting to be rescheduled.
service/history/queues/rescheduler.go:43
↓ 357 callers
Method
Sleep
Sleep is a convenience function for waiting on a new timer.
common/clock/event_time_source.go:152
↓ 357 callers
Method
WithTags
WithTags creates a new Handler with provided Tag list. Tags are merged with registered Tags from the source Handler.
common/metrics/metrics.go:23
↓ 355 callers
Method
ID
ID return the ID of the queue, as well as the tasks inside (same)
common/tasks/sequential_task_queue.go:8
↓ 345 callers
Method
DescribeWorkflowExecution
(ctx context.Context, request *historyservice.DescribeWorkflowExecutionRequest)
service/history/interfaces/engine.go:33
↓ 340 callers
Method
GetNamespaceByID
(id ID)
common/namespace/registry.go:24
↓ 339 callers
Function
WorkflowID
WorkflowID returns tag for WorkflowID TODO: Rename to BusinessID.
common/log/tag/tags.go:110
↓ 337 callers
Method
Errorf
(format string, args ...any)
tests/testcore/shared_cluster_t.go:91
↓ 334 callers
Method
Execute
(context.Context, Executable)
service/history/queues/executable.go:56
↓ 333 callers
Function
NewContext
NewContext creates a context with default timeout and RPC headers. NOTE: If you're using testcore.NewEnv, you can use env.Context() directly - it alr
tests/testcore/context.go:18
↓ 329 callers
Function
NewUUID
NewUUID generates a new random UUID
common/primitives/uuid.go:70
↓ 327 callers
Method
Unlock
Unlock unlocks
common/locks/lock.go:9
↓ 318 callers
Method
Fatalf
(format string, args ...any)
common/testing/testlogger/testlogger.go:55
↓ 314 callers
Method
Lock
Lock locks
common/locks/lock.go:7
↓ 300 callers
Method
GetBuildId
()
service/frontend/workflow_handler.go:6353
↓ 299 callers
Method
Do
(ctx context.Context)
common/persistence/visibility/store/elasticsearch/client/bulk_service.go:9
↓ 295 callers
Method
Warn
(msg string, tags ...tag.Tag)
common/log/interface.go:21
↓ 292 callers
Method
PollAndProcessWorkflowTask
(funcs ...PollAndProcessWorkflowTaskOptionFunc)
tests/testcore/taskpoller.go:101
↓ 279 callers
Method
DeploymentVersionString
DeploymentVersionString returns v31 string
common/testing/testvars/test_vars.go:271
↓ 279 callers
Function
OperationTag
(value string)
common/metrics/tags.go:438
↓ 274 callers
Method
GetInfo
()
api/schedule/v1/message.pb.go:554
↓ 274 callers
Function
NewNoopLogger
NewNoopLogger return a noopLogger
common/log/noop_logger.go:12
↓ 269 callers
Method
GetExecutionState
()
service/history/interfaces/mutable_state.go:182
↓ 269 callers
Function
New
(testNamer testNamer)
common/testing/testvars/test_vars.go:39
↓ 265 callers
Method
GetCurrentClusterName
GetCurrentClusterName return the current cluster name
common/cluster/metadata.go:54
↓ 265 callers
Method
Name
()
common/testing/testvars/test_vars.go:35
↓ 258 callers
Method
GetNamespaceID
()
service/history/tasks/task.go:16
↓ 256 callers
Method
GetHistory
(namespace string, execution *commonpb.WorkflowExecution)
tests/testcore/functional_test_base.go:653
↓ 253 callers
Method
WorkerIdentity
()
common/testing/testvars/test_vars.go:393
↓ 253 callers
Method
convertError
convertError is a helper method to convert ShardOwnershipLostError from persistence layer returned by various HistoryEngine API calls to ShardOwnershi
service/history/handler.go:2239
↓ 248 callers
Method
NamespaceID
()
tests/testcore/test_env.go:52
next →
1–100 of 43,335, ranked by callers