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
↓ 34 callers
Method
Marshal
()
common/persistence/serialization/serializer.go:137
↓ 34 callers
Function
NewMockTask
NewMockTask creates a new mock instance.
service/history/tasks/task_mock.go:33
↓ 34 callers
Method
RecordActivityTaskHeartbeat
(ctx context.Context, request *historyservice.RecordActivityTaskHeartbeatRequest)
service/history/interfaces/engine.go:41
↓ 34 callers
Method
Stop
()
common/namespace/registry.go:43
↓ 34 callers
Method
TaskID
TaskID mocks base method.
service/history/replication/executable_task_tracker_mock.go:247
↓ 34 callers
Method
Test
Test checks if the given entity statisfy the predicate or not
common/predicates/predicates.go:6
↓ 34 callers
Function
cmdsResponse
cmdsResponse wraps a list of commands in a RespondWorkflowTaskCompletedRequest.
tests/timeskipping_propagation_test.go:919
↓ 34 callers
Method
expectStart
Low-level mock helpers:
service/worker/scheduler/workflow_test.go:127
↓ 34 callers
Method
mustGenerateTaskID
()
service/history/timer_queue_standby_task_executor_test.go:2694
↓ 34 callers
Method
setupEnv
(opts ...testcore.TestOption)
tests/versioning_test.go:58
↓ 34 callers
Method
startAndValidateActivity
( ctx context.Context, t *testing.T, activityID string, taskQueue string, )
tests/activity_standalone_test.go:6162
↓ 33 callers
Method
AdminClient
(c *cli.Context)
tools/tdbg/factory.go:35
↓ 33 callers
Method
Delete
Delete deletes an element in the cache
common/cache/cache.go:24
↓ 33 callers
Method
ExternalNamespace
()
tests/testcore/functional_test_base.go:249
↓ 33 callers
Function
ExternalWorkerDeploymentVersionFromDeployment
ExternalWorkerDeploymentVersionFromDeployment Temporary helper function to convert Deployment to WorkerDeploymentVersion proto until we update code to
common/worker_versioning/worker_versioning.go:486
↓ 33 callers
Method
Get
(string)
common/headers/headers.go:82
↓ 33 callers
Method
GetClusterName
()
common/persistence/persistence_interface.go:57
↓ 33 callers
Method
GetUseVersioning
()
service/frontend/workflow_handler.go:6354
↓ 33 callers
Method
GetWorkflowExecutionRawHistoryV2
(ctx context.Context, request *historyservice.GetWorkflowExecutionRawHistoryV2Request)
service/history/interfaces/engine.go:91
↓ 33 callers
Function
MakeKey
(s string)
common/dynamicconfig/key.go:15
↓ 33 callers
Function
MapShardID
( sourceShardCount int32, targetShardCount int32, sourceShardID int32, )
common/util.go:426
↓ 33 callers
Method
NamedExecContext
(ctx context.Context, query string, arg any)
common/persistence/sql/sqlplugin/mysql/db.go:158
↓ 33 callers
Function
NewArchivalConfig
NewArchivalConfig constructs a new valid ArchivalConfig
common/archiver/archival_metadata.go:103
↓ 33 callers
Function
NewSdkLogger
(logger Logger)
common/log/sdk_logger.go:21
↓ 33 callers
Method
NewWorker
(client sdkclient.Client, taskQueue string, options sdkworker.Options)
common/sdk/factory.go:33
↓ 33 callers
Method
QueueKey
()
service/matching/physical_task_queue_manager_interface.go:67
↓ 33 callers
Function
RandomizedNexusEndpoint
(name string)
tests/testcore/utils.go:100
↓ 33 callers
Method
ReadRawHistoryBranch
ReadRawHistoryBranch returns history node raw data for a branch ByBatch NOTE: this API should only be used by 3+DC
common/persistence/data_interfaces.go:1163
↓ 33 callers
Method
RequestCancelWorkflowExecution
(ctx context.Context, request *historyservice.RequestCancelWorkflowExecutionRequest)
service/history/interfaces/engine.go:42
↓ 33 callers
Method
UpdateWorkflowExecutionAsActive
( ctx context.Context, shardContext ShardContext, )
service/history/interfaces/workflow_context.go:74
↓ 33 callers
Method
getVersioningRules
listVersioningRules lists rules and checks that the result is successful, returning the response.
tests/versioning_test.go:4408
↓ 33 callers
Method
startWorkflow
( env *testcore.TestEnv, tv *testvars.TestVars, override *workflowpb.VersioningOverride, )
tests/versioning_3_test.go:4648
↓ 32 callers
Method
AssertHEEqualWithDB
(branchToken []byte, events ...[]*p.WorkflowEvents)
common/persistence/tests/execution_mutable_state.go:2696
↓ 32 callers
Method
Authorize
(ctx context.Context, caller *Claims, target *CallTarget)
common/authorization/authorizer.go:55
↓ 32 callers
Method
ComputeNextDelay
(elapsedTime time.Duration, numAttempts int, err error)
common/backoff/retrypolicy.go:37
↓ 32 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
chasm/visibility_manager_mock.go:40
↓ 32 callers
Function
EnqueueMessage
( ctx context.Context, queue persistence.QueueV2, queueType persistence.QueueV2Type, queueName string, op
common/persistence/persistencetest/queues.go:56
↓ 32 callers
Method
ErrorToFailure
ErrorToFailure converts an [error] to a [Failure]. Note that the provided error may be nil.
common/nexus/nexusrpc/failure_converter.go:20
↓ 32 callers
Function
ExternalWorkerDeploymentVersionToString
(v *deploymentpb.WorkerDeploymentVersion)
common/worker_versioning/worker_versioning.go:1166
↓ 32 callers
Function
GetIntPropertyFnFilteredByNamespace
(value int)
common/dynamicconfig/setting_gen.go:191
↓ 32 callers
Method
GetKind
()
api/persistence/v1/tasks.pb.go:313
↓ 32 callers
Method
GetName
()
common/persistence/data_interfaces.go:1178
↓ 32 callers
Method
GetRemoteAdminClient
(string)
service/history/interfaces/shard_context.go:51
↓ 32 callers
Method
GetResult
()
api/schedule/v1/message.pb.go:688
↓ 32 callers
Method
GetStartedEventId
()
api/token/v1/message.pb.go:351
↓ 32 callers
Method
GetWorkflowType
GetWorkflowType returns the type of the workflow that owns this state machine tree.
service/history/hsm/tree.go:167
↓ 32 callers
Method
MessageID
()
common/testing/testvars/test_vars.go:362
↓ 32 callers
Function
NewMockTrackableExecutableTask
NewMockTrackableExecutableTask creates a new mock instance.
service/history/replication/executable_task_tracker_mock.go:35
↓ 32 callers
Method
NewRemoteAdminClientWithTimeout
(rpcAddress string, timeout time.Duration, largeTimeout time.Duration)
client/clientfactory.go:34
↓ 32 callers
Function
NormalPartitionFromRpcName
(rpcName string, namespaceId string, taskType enumspb.TaskQueueType)
common/tqid/task_queue_id.go:213
↓ 32 callers
Method
Ready
()
common/future/future.go:8
↓ 32 callers
Method
ReplicationTask
()
service/history/replication/executable_task.go:90
↓ 32 callers
Method
RequireHistoryEvent
RequireHistoryEvent returns the single event matching the given event type. It fails the test if no matching event is found or if more than one is fou
common/testing/historyrequire/history_require.go:58
↓ 32 callers
Function
RequireTrue
RequireTrue runs `condition` repeatedly until it returns true, or until the timeout expires. The timeout is capped at the test's deadline, if one is s
common/testing/await/require_true.go:18
↓ 32 callers
Method
SendSignal
TODO (alex): change to nsName namespace.Name
tests/testcore/functional_test_base.go:746
↓ 32 callers
Method
Start
()
common/namespace/registry.go:42
↓ 32 callers
Method
TerminateWorkflow
TerminateWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:651
↓ 32 callers
Function
ValidateAndCapProtoDuration
ValidateAndCapProtoDuration validates protobuf durations for two conditions: 1. the seconds and nanos fields have the same sign (to avoid serializatio
common/primitives/timestamp/duration.go:67
↓ 32 callers
Method
WithTaskQueue
(taskQueue string)
common/testing/testvars/test_vars.go:307
↓ 32 callers
Method
addNewDefaultBuildID
addNewDefaultBuildID updates build ID info on a task queue with a new build ID in a new default set.
tests/versioning_test.go:4765
↓ 32 callers
Method
newTestEnv
newTestEnv creates a TestEnv with the dynamic config this suite needs. Additional per-test options may be passed in opts.
tests/advanced_visibility_test.go:68
↓ 32 callers
Method
newTestEnv
(opts ...testcore.TestOption)
tests/activity_standalone_test.go:101
↓ 32 callers
Method
newTestEnv
(chasmEnabled bool, opts ...testcore.TestOption)
tests/nexus_workflow_test.go:67
↓ 32 callers
Method
waitForVersionSetPropagation
waitForVersionSetPropagation waits for all partitions of tq to mention newBuildID in their versioning data (in any position).
tests/versioning_test.go:4886
↓ 31 callers
Function
Bool
(key string, b bool)
common/log/tag/zap_tag.go:234
↓ 31 callers
Method
CreateNamespace
(ctx context.Context, request *CreateNamespaceRequest)
common/persistence/data_interfaces.go:1219
↓ 31 callers
Function
DecodeValue
DecodeValue decodes search attribute value from Payload using (in order): 1. passed type t. 2. type from MetadataType field, if t is not specified. al
common/searchattribute/sadefs/encode_value.go:40
↓ 31 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/testing/mocksdk/worker_mock.go:41
↓ 31 callers
Function
For
For returns the test-scoped context for tb. The context is canceled when the test ends or when the configured test timeout expires. The first call cr
common/testing/testcontext/context.go:51
↓ 31 callers
Method
GetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/interfaces.go:132
↓ 31 callers
Method
GetCount
()
api/persistence/v1/tasks.pb.go:505
↓ 31 callers
Method
GetData
()
chasm/test_component_test.go:68
↓ 31 callers
Method
GetPendingTimerInfos
()
service/history/interfaces/mutable_state.go:189
↓ 31 callers
Method
GetWorkflowTaskByID
(scheduledEventID int64)
service/history/interfaces/mutable_state.go:170
↓ 31 callers
Method
HttpAPIAddress
()
tests/testcore/functional_test_base.go:237
↓ 31 callers
Function
InterruptibleSleep
InterruptibleSleep is like time.Sleep but can be interrupted by a context. Returns context error if interrupted, otherwise nil.
common/util/util.go:188
↓ 31 callers
Method
MutableContext
MutableContext returns a new mutable CHASM context.
chasm/lib/scheduler/helper_test.go:267
↓ 31 callers
Function
NewGlobalFloatSetting
(key string, def float64, description string)
common/dynamicconfig/setting_gen.go:300
↓ 31 callers
Function
NewMockHistoryIterator
NewMockHistoryIterator creates a new mock instance.
common/archiver/history_iterator_mock.go:33
↓ 31 callers
Method
NewQueueV2
()
common/persistence/persistence_interface.go:46
↓ 31 callers
Method
Next
()
common/archiver/gcloud/connector/client_delegate.go:79
↓ 31 callers
Method
Now
Now return the current time.
common/clock/event_time_source.go:57
↓ 31 callers
Method
PauseWorkflowExecution
(ctx context.Context, request *historyservice.PauseWorkflowExecutionRequest)
service/history/interfaces/engine.go:99
↓ 31 callers
Method
PollNexusTaskQueue
(ctx context.Context, request *matchingservice.PollNexusTaskQueueRequest, opMetrics metrics.Handler)
service/matching/matching_engine_interfaces.go:40
↓ 31 callers
Method
ReadMessages
(ctx context.Context, lastMessageID int64, maxCount int)
common/persistence/persistence_interface.go:174
↓ 31 callers
Method
StateMachineRegistry
()
service/history/interfaces/shard_context.go:116
↓ 31 callers
Method
Subscribe
Adds a subscription to all updates from this Client. `update` will be called on any change to the current value set. The caller should call `cancel` t
common/dynamicconfig/client.go:40
↓ 31 callers
Function
TestEsNameTypeMap
()
common/searchattribute/test_provider.go:65
↓ 31 callers
Method
WorkflowService
WorkflowService mocks base method.
common/testing/mocksdk/client_mock.go:758
↓ 31 callers
Method
assertEqualTasks
( task tasks.Task, )
common/persistence/serialization/task_serializers_test.go:615
↓ 31 callers
Method
describe
()
service/worker/scheduler/workflow_test.go:108
↓ 31 callers
Method
genRandomEvents
(eventIDs []int64, version int64)
common/persistence/persistence-tests/history_v2_persistence.go:667
↓ 31 callers
Method
getHistory
(ctx context.Context)
tests/xdc/history_replication_signals_and_updates_test.go:949
↓ 31 callers
Function
getRequiredOption
(c *cli.Context, optionName string)
tools/tdbg/util.go:60
↓ 31 callers
Function
getWorkflowExecutionContextForTask
( ctx context.Context, shardContext historyi.ShardContext, workflowCache wcache.Cache, task tasks.Task, )
service/history/statemachine_environment.go:45
↓ 31 callers
Function
mustReadReportFixture
(t *testing.T, path string)
tools/testrunner/junit_test.go:327
↓ 31 callers
Method
set
set sets a bit, growing the slice if necessary. note: caller must assign the result, as with append.
service/matching/bits.go:27
↓ 30 callers
Method
CloseTransactionAsSnapshot
CloseTransactionAsSnapshot closes the mutable state transaction (different from DB transaction) and prepares the current snapshot of the state to be p
service/history/interfaces/mutable_state.go:347
↓ 30 callers
Method
CreateOrUpdateNexusEndpoint
(ctx context.Context, request *CreateOrUpdateNexusEndpointRequest)
common/persistence/data_interfaces.go:1251
↓ 30 callers
Method
Custom
()
common/searchattribute/name_type_map.go:123
← previous
next →
801–900 of 43,335, ranked by callers