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
↓ 2 callers
Function
getMinTaskKey
( queueState *persistencespb.QueueState, )
service/history/shard/context_util.go:68
↓ 2 callers
Method
getMutableState
(namespaceID namespace.ID, we *commonpb.WorkflowExecution)
service/history/history_engine2_test.go:2903
↓ 2 callers
Method
getMutableState
(ctx context.Context, runId string)
service/history/replication/executable_verify_versioned_transition_task.go:223
↓ 2 callers
Method
getNamespaceByIDLocked
(id namespace.ID)
common/namespace/nsregistry/registry.go:739
↓ 2 callers
Method
getNamespaceByIDPersistence
(id namespace.ID)
common/namespace/nsregistry/registry.go:862
↓ 2 callers
Method
getNamespaceByNamePersistence
(name namespace.Name)
common/namespace/nsregistry/registry.go:846
↓ 2 callers
Function
getNamespaceID
(c *cli.Context, clientFactory ClientFactory, nsName namespace.Name)
tools/tdbg/util.go:296
↓ 2 callers
Method
getNamespacePersistence
(request *persistence.GetNamespaceRequest)
common/namespace/nsregistry/registry.go:878
↓ 2 callers
Method
getNewRunMutableState
( ctx context.Context, namespaceID namespace.ID, workflowID string, newRunID string, originalMutableState
service/history/ndc/workflow_state_replicator.go:1035
↓ 2 callers
Method
getNewRunWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, archetypeID chasm.ArchetypeID, origin
service/history/ndc/workflow_state_replicator.go:999
↓ 2 callers
Method
getNextTimeV2
Gets the next scheduled time after `after`, making use of a cache. If the cache needs to be refilled, try to refill it starting from `cacheBase` inste
service/worker/scheduler/workflow.go:539
↓ 2 callers
Function
getNodeType
(metadata *persistencespb.ChasmNodeMetadata)
tools/tdbg/chasm_decoder.go:38
↓ 2 callers
Function
getNumMessages
( t *testing.T, cluster *cassandra.TestCluster, queueType persistence.QueueV2Type, queueName string, numM
common/persistence/tests/cassandra_test.go:1176
↓ 2 callers
Method
getOldestBacklogTime
()
service/matching/pri_task_reader.go:105
↓ 2 callers
Method
getOperationContext
Extracts a nexusContext from the given ctx and returns an operationContext with tagged metrics and logging. Resolves the context's namespace name to a
service/frontend/nexus_handler.go:338
↓ 2 callers
Function
getOptionsFromMutableState
(ms historyi.MutableState)
service/history/api/updateworkflowoptions/api.go:174
↓ 2 callers
Method
getOrCreateOutcome
(ctx chasm.MutableContext)
chasm/lib/nexusoperation/operation.go:391
↓ 2 callers
Method
getOrCreateTaskChannel
( channelKey K, )
common/tasks/interleaved_weighted_round_robin.go:234
↓ 2 callers
Method
getOrCreateWorkflowExecutionInternal
( ctx context.Context, shardContext historyi.ShardContext, namespaceID namespace.ID, execution *commonpb.W
service/history/workflow/cache/cache.go:255
↓ 2 callers
Method
getOrReadthroughNamespace
getOrReadthroughNamespace returns namespace information if it exists or reads through to the persistence layer and updates internal entry if it doesn'
common/namespace/nsregistry/registry.go:748
↓ 2 callers
Method
getOrRebuildMutableStateByIndex
( ctx context.Context, branchIndex int32, )
service/history/ndc/conflict_resolver.go:92
↓ 2 callers
Function
getOutbountQueueProcessorMetricsHandler
(handler metrics.Handler)
service/history/outbound_queue_factory.go:316
↓ 2 callers
Function
getOwnershipScaledQuota
( scaler OwnershipBasedQuotaScaler, globalLimit int, )
service/history/shard/ownership_based_quota_calculator.go:67
↓ 2 callers
Method
getPaginationFn
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, runID strin
service/history/replication/eventhandler/remote_history_paginated_fetcher.go:138
↓ 2 callers
Method
getPassWithOverflow
(key string, base, inc int64)
service/matching/counter/map.go:32
↓ 2 callers
Method
getPhysicalTaskQueueManagerImpl
getPhysicalTaskQueueManagerImpl extracts the physicalTaskQueueManagerImpl for the given taskQueuePartitionManager
service/matching/matching_engine_test.go:3710
↓ 2 callers
Function
getPlugin
(pluginName string)
common/persistence/sql/store.go:74
↓ 2 callers
Function
getQueryFields
( namespaceName namespace.Name, saNameType searchattribute.NameTypeMap, saMapperProvider searchattribute.Ma
service/worker/scheduler/query.go:102
↓ 2 callers
Function
getQueryFieldsLegacy
( namespaceName namespace.Name, saNameType searchattribute.NameTypeMap, saMapperProvider searchattribute.Ma
service/worker/scheduler/query.go:133
↓ 2 callers
Function
getQueryResults
(queries map[string]*querypb.WorkflowQuery, queryResult *querypb.WorkflowQueryResult)
tests/testcore/taskpoller.go:519
↓ 2 callers
Function
getQueueFromMetadata
( queueType persistence.QueueV2Type, queueName string, queueBytes []byte, queueEncodingStr string, versio
common/persistence/cassandra/queue_v2_store.go:404
↓ 2 callers
Function
getQuota
getQuota returns the effective resource limit for a host given the per instance and per cluster limits. The "resource" here could be requests per seco
common/quotas/calculator/cluster_aware_quota_calculator.go:34
↓ 2 callers
Method
getRateLimiter
()
service/history/replication/task_fetcher.go:43
↓ 2 callers
Method
getRateLimiters
( request Request, )
common/quotas/priority_rate_limiter_impl.go:155
↓ 2 callers
Method
getReaderByIDLocked
(readerID int64)
service/history/queues/reader_group.go:109
↓ 2 callers
Function
getResetPoint
( ctx context.Context, namespaceStr string, execution *commonpb.WorkflowExecution, frontendClient workflow
service/worker/batcher/activities.go:919
↓ 2 callers
Method
getRetention
getRetention returns the retention period for this task generator's workflow execution. The retention period represents how long the workflow data sho
service/history/workflow/task_generator.go:280
↓ 2 callers
Method
getRetentionExpiration
(nextWakeup time.Time)
service/worker/scheduler/workflow.go:1651
↓ 2 callers
Function
getSafeDurationConfig
(ctx workflow.Context, id string, unsafeGetter func() time.Duration, defaultValue time.Duration)
service/worker/workerdeployment/util.go:180
↓ 2 callers
Method
getServiceResolver
(u *url.URL)
common/membership/grpc_resolver.go:86
↓ 2 callers
Function
getSetIds
getSetIds returns an arbitrary but consistent member of the set, and the rest of the set. We want Add and Poll requests for the same set to converge o
service/matching/version_sets.go:459
↓ 2 callers
Method
getShardIndex
(key any)
common/locks/id_mutex.go:100
↓ 2 callers
Function
getSize
(value any)
common/cache/size_getter.go:16
↓ 2 callers
Method
getSourceCluster
()
service/history/replication/task_fetcher.go:41
↓ 2 callers
Function
getSupportedDLQTaskCategories
(taskCategoryRegistry tasks.TaskCategoryRegistry)
tools/tdbg/dlq_v2_service.go:359
↓ 2 callers
Method
getTaskManager
getTaskManager returns the underlying testTaskManager (which is accessed differently depending on mode)
service/matching/physical_task_queue_manager_test.go:179
↓ 2 callers
Method
getTaskSchedulerPriority
(priority enumsspb.TaskPriority, task TrackableExecutableTask)
service/history/replication/stream_receiver.go:435
↓ 2 callers
Function
getTestConverter
(fnInterceptor FieldNameInterceptor, fvInterceptor FieldValuesInterceptor)
common/persistence/visibility/store/query/interceptors_legacy_test.go:96
↓ 2 callers
Method
getTestFactory
(frontend bool)
common/rpc/test/rpc_localstore_tls_test.go:589
↓ 2 callers
Method
getTimeValue
(colName string)
service/matching/workers/worker_query_engine.go:411
↓ 2 callers
Method
getTimerSequence
( mutableState historyi.MutableState, )
service/history/timer_queue_active_task_executor.go:898
↓ 2 callers
Method
getTimerSequence
( mutableState historyi.MutableState, )
service/history/timer_queue_standby_task_executor.go:714
↓ 2 callers
Function
getTypedFieldFromRow
Returns a correctly typed value for fieldName retrieved from a row populated by a MapScan operation. Returns the zero value for the provided type and
common/persistence/cassandra/common.go:47
↓ 2 callers
Function
getUnsafeStringTupleValues
(valTuple sqlparser.ValTuple)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:134
↓ 2 callers
Method
getUpdateOutcomeEvent
( ctx context.Context, updateID string, )
service/history/workflow/mutable_state_impl.go:1534
↓ 2 callers
Method
getUpdatedSubStateMachine
(n *hsm.Node, versionedTransition *persistencespb.VersionedTransition)
service/history/replication/sync_state_retriever.go:570
↓ 2 callers
Method
getUserDataClone
( ctx context.Context, rootPartition tqid.Partition, loadCause loadCause, )
service/matching/matching_engine.go:1871
↓ 2 callers
Method
getUserDataLocked
()
service/matching/user_data_manager.go:199
↓ 2 callers
Method
getValue
(name string, metricType dto.MetricType, tags ...metrics.Tag)
common/metrics/metricstest/metricstest.go:177
↓ 2 callers
Method
getVersion
()
service/history/ndc/replication_task.go:36
↓ 2 callers
Method
getVersionHistory
()
service/history/ndc/replication_task.go:44
↓ 2 callers
Function
getVersionHistoryAndEvents
( ctx context.Context, shardContext historyi.ShardContext, shardID int32, workflowKey definition.WorkflowK
service/history/replication/raw_task_converter.go:432
↓ 2 callers
Function
getVersionHistoryAndEventsWithNewRun
( ctx context.Context, shardContext historyi.ShardContext, shardID int32, workflowKey definition.WorkflowK
service/history/replication/raw_task_converter.go:475
↓ 2 callers
Method
getVersionSetForAdd
(directive *taskqueuespb.TaskVersionDirective, data *persistencespb.VersioningData)
service/matching/task_queue_partition_manager.go:2367
↓ 2 callers
Function
getWaitDuration
()
service/worker/replicator/replication_message_processor.go:307
↓ 2 callers
Function
getWhereCause
(query string)
service/history/workflow/matcher/evaluator.go:14
↓ 2 callers
Function
getWorkflowContext
(cache Cache, key Key)
service/history/workflow/cache/export_testing.go:27
↓ 2 callers
Method
getWorkflowHistory
getWorkflowHistory loads the workflow history based on given mutable state information from the DB.
service/history/api/startworkflow/api.go:627
↓ 2 callers
Function
getWorkflowID
(numWorkflows int)
service/worker/parentclosepolicy/client.go:73
↓ 2 callers
Method
getWorkflowLease
( ctx context.Context, consistencyPredicate MutableStateConsistencyPredicate, workflowKey definition.Workfl
service/history/api/consistency_checker.go:275
↓ 2 callers
Method
getWorkflowTaskFinishEventIDAfterChildInit
(env *testcore.TestEnv, wfID string, runID string, childID string)
tests/workflow_reset_with_child_test.go:827
↓ 2 callers
Function
globalNS
globalNS builds a global (replicated) namespace whose active cluster is activeCluster. Only global namespaces return false from ActiveInCluster when t
service/worker/scanner/scheduleinvariants/invariants_test.go:100
↓ 2 callers
Method
goContext
()
chasm/context.go:232
↓ 2 callers
Function
goFieldPath
(m *protogen.Method, path string)
cmd/tools/protoc-gen-go-chasm/main.go:154
↓ 2 callers
Function
gobDeserialize
(a []byte, x any)
common/persistence/sql/common.go:93
↓ 2 callers
Function
groupFailuresByTest
groupFailuresByTest groups failures by normalized test name
tools/flakereport/parser.go:132
↓ 2 callers
Method
handleAlert
(alert *Alert)
service/history/queues/queue_base.go:428
↓ 2 callers
Function
handleAssignmentRuleNilRamp
handleAssignmentRuleNilRamp mutates and returns rule object to convert nil ramp to 100%
service/matching/version_rule_helpers.go:473
↓ 2 callers
Method
handleCron
( ctx context.Context, backoffInterval time.Duration, lastCompletionResult *commonpb.Payloads, failure *fa
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1476
↓ 2 callers
Function
handleError
(c *cli.Context, err error)
tools/tdbg/app.go:142
↓ 2 callers
Method
handleError
handleError should be called on errors from worker creation or run. it will attempt to refresh the worker again at a later time.
service/worker/pernamespaceworker.go:338
↓ 2 callers
Method
handleExecutionConflict
( ctx context.Context, shardContext historyi.ShardContext, newExecutionParams newExecutionParams, currentR
service/history/chasm_engine.go:968
↓ 2 callers
Method
handleMessage
( ctx context.Context, message *protocolpb.Message, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:387
↓ 2 callers
Method
handleNamespaceCreationReplicationTask
handleNamespaceCreationReplicationTask handles the namespace creation replication task
common/namespace/nsreplication/replication_task_executor.go:144
↓ 2 callers
Function
handleOperationError
( node *hsm.Node, operation Operation, opErr *nexus.OperationError, )
components/nexusoperations/completion.go:46
↓ 2 callers
Method
handlePatch
handlePatch creates backfillers to fulfill the given patch request.
chasm/lib/scheduler/scheduler.go:216
↓ 2 callers
Function
handleSuccessfulOperationResult
( node *hsm.Node, operation Operation, result *commonpb.Payload, links []*commonpb.Link, )
components/nexusoperations/completion.go:21
↓ 2 callers
Method
handleTask
( ctx context.Context, opts *options, task *workflowservice.PollWorkflowTaskQueueResponse, handler func(ta
common/testing/taskpoller/taskpoller.go:449
↓ 2 callers
Method
handleTask
TODO: support cancelling activity task
common/testing/taskpoller/taskpoller.go:597
↓ 2 callers
Method
handleUpdateVersionFailures
(outcome *updatepb.Outcome, deploymentName, buildID string)
service/worker/workerdeployment/client.go:405
↓ 2 callers
Method
hasActivityPauseEntries
hasActivityPauseEntries checks if the TemporalPauseInfo search attribute contains any activity pause entries.
tests/pause_workflow_execution_test.go:1880
↓ 2 callers
Function
hasAttr
(attrs map[string]string, key string)
common/persistence/sql/sqlplugin/mysql/session/session.go:185
↓ 2 callers
Function
hasCaller
(req quotas.Request)
common/persistence/client/quotas.go:294
↓ 2 callers
Method
hasMoreAllowAllBackfills
()
service/worker/scheduler/workflow.go:853
↓ 2 callers
Method
hasNext
hasNext returns true if there are more pages to fetch
service/worker/batcher/activities.go:89
↓ 2 callers
Function
hasValidRamp
hasValidRamp returns true if the rule has a ramp percentage within [0, 100] or a ramp of nil
service/matching/version_rule_helpers.go:481
↓ 2 callers
Function
hasWordAfter
hasWordAfter checks if the given word appears after position pos in s, separated by at least one space, and is a whole word.
common/persistence/query_util.go:216
↓ 2 callers
Method
heartbeat
(ctx context.Context)
service/worker/scanner/history/scavenger.go:197
↓ 2 callers
Method
historyEvents
TODO (maybe): - Funcs like WithTime, WithAttributes, WithPayloadLimit(100) and pass them to PrintHistory - oneof support - enums as strings not as int
common/testing/historyrequire/history_require.go:49
↓ 2 callers
Method
historyHasEventType
historyHasEventType reports whether the workflow's history contains at least one event of the given type.
tests/pause_workflow_execution_test.go:1818
← previous
next →
8,301–8,400 of 43,335, ranked by callers