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
↓ 9 callers
Method
Object
(name string)
common/archiver/gcloud/connector/client_delegate.go:28
↓ 9 callers
Method
ParseESDoc
nolint:revive // cyclomatic complexity
common/persistence/visibility/store/elasticsearch/visibility_store.go:1008
↓ 9 callers
Method
PollReqTokenC
PollReqTokenC returns a channel that can be used to wait for a token that's necessary before making a ForwardPoll API call. After the API call is invo
service/matching/forwarder.go:330
↓ 9 callers
Method
PurgeDLQMessages
(ctx context.Context, messagesRequest *historyservice.PurgeDLQMessagesRequest)
service/history/interfaces/engine.go:79
↓ 9 callers
Method
PurgeDLQTasks
(-- api-linter: core::0165::response-message-name=disabled aip.dev/not-precedent: --)
api/adminservice/v1/service_grpc.pb.go:150
↓ 9 callers
Method
ReadSchemaVersion
ReadSchemaVersion returns the current schema version for the keyspace
tools/common/schema/types.go:43
↓ 9 callers
Method
Rebind
(query string)
common/persistence/sql/sqlplugin/postgresql/db.go:175
↓ 9 callers
Function
RecordActivityCompletionMetrics
( shard historyi.ShardContext, namespaceName namespace.Name, taskQueue string, completion ActivityCompleti
service/history/workflow/metrics.go:187
↓ 9 callers
Method
RecordHeartbeat
(ctx context.Context, details ...any)
service/worker/scanner/build_ids/scavenger_test.go:479
↓ 9 callers
Method
RecordHeartbeat
RecordHeartbeat records a heartbeat for the activity.
chasm/lib/activity/activity.go:779
↓ 9 callers
Method
RegisterMetadataChangeCallback
(callbackId any, cb CallbackFn)
common/cluster/metadata.go:61
↓ 9 callers
Function
RegisterStateMachines
(r *hsm.Registry)
components/nexusoperations/statemachine.go:677
↓ 9 callers
Method
Remove
()
service/history/replication/sequential_batch_queue.go:69
↓ 9 callers
Method
Representation
Representation is the string representation of the component for usage in a path definition, e.g. "v1" for a constant slug or "{namespace}" for a vari
common/routing/route.go:27
↓ 9 callers
Function
RequireTruef
RequireTruef is like [RequireTrue] but accepts a format string that is included in the failure message when the condition is not satisfied before the
common/testing/await/require_true.go:29
↓ 9 callers
Function
ResolveSearchAttributeAlias
ResolveSearchAttributeAlias resolves the search attribute alias for the given name. The process is: 1. If the name has the "Temporal", skip mapping to
common/persistence/visibility/store/query/resolve.go:19
↓ 9 callers
Method
RoutingKey
RoutingKey returns the key and index within the key that should be used to find the owner of a task queue partition.
common/tqid/task_queue_id.go:80
↓ 9 callers
Method
SaveClusterMetadata
(ctx context.Context, row *ClusterMetadataRow)
common/persistence/sql/sqlplugin/cluster_metadata.go:56
↓ 9 callers
Method
SelectAllFromActivityInfoMaps
SelectAllFromActivityInfoMaps returns all rows from activity_info_maps table
common/persistence/sql/sqlplugin/history_activity.go:42
↓ 9 callers
Method
SelectAllFromChildExecutionInfoMaps
SelectAllFromChildExecutionInfoMaps returns all rows into child_execution_info_maps table
common/persistence/sql/sqlplugin/history_child_workflow.go:42
↓ 9 callers
Method
SelectAllFromRequestCancelInfoMaps
SelectAllFromRequestCancelInfoMaps returns all rows from request_cancel_info_maps table
common/persistence/sql/sqlplugin/history_request_cancel.go:42
↓ 9 callers
Method
SelectAllFromSignalInfoMaps
SelectAllFromSignalInfoMaps returns one or more rows from signal_info_maps table
common/persistence/sql/sqlplugin/history_signal.go:42
↓ 9 callers
Method
SelectAllFromSignalsRequestedSets
SelectAllFromSignalsRequestedSets returns all rows from signals_requested_sets table
common/persistence/sql/sqlplugin/history_signal_request.go:40
↓ 9 callers
Method
SelectAllFromTimerInfoMaps
SelectAllFromTimerInfoMaps returns all rows from timer_info_maps table
common/persistence/sql/sqlplugin/history_timer.go:42
↓ 9 callers
Function
ServiceErrorType
ServiceErrorType returns tag for ServiceErrorType
common/log/tag/tags.go:45
↓ 9 callers
Function
Set
Set sets a test hook to a value with the given scope and returns a cleanup function to unset it.
common/testing/testhooks/test_impl.go:82
↓ 9 callers
Method
Set
( value T, err error, )
common/future/future_impl.go:66
↓ 9 callers
Function
SetRequestDefaultValueAndGetTargetVersionHistory
( request *historyservice.GetWorkflowExecutionRawHistoryV2Request, versionHistories *historyspb.VersionHisto
service/history/api/getworkflowexecutionrawhistoryv2/api.go:167
↓ 9 callers
Method
Signal
Signal wakes one goroutine waiting on this condition variable, if there is any.
common/locks/condition_variable.go:7
↓ 9 callers
Method
SplitByRange
(tasks.Key)
service/history/queues/slice.go:28
↓ 9 callers
Method
StartGlobalMetricCapture
StartGlobalMetricCapture starts a cluster-global metrics capture for this test and automatically stops it during cleanup. Metric capture is cluster-gl
tests/testcore/test_env.go:559
↓ 9 callers
Method
Stop
()
common/persistence/visibility/store/elasticsearch/processor.go:34
↓ 9 callers
Function
StringToEnum
(search string, candidates map[string]int32)
tools/tdbg/util.go:194
↓ 9 callers
Method
Sync
Sync cancels/starts goroutines as necessary so that the running set matches the set of keys in target. To start a new goroutine, it does "go f(ctx, ke
common/goro/keyed_set.go:34
↓ 9 callers
Function
Truncate
(f *failurepb.Failure, maxSize int)
common/failure/failure.go:48
↓ 9 callers
Method
UnloadForOwnershipLost
()
service/history/interfaces/shard_context.go:114
↓ 9 callers
Method
Unmarshal
Unmarshal an object of type BuildId from the protobuf v3 wire format
api/persistence/v1/task_queues.go-helpers.pb.go:14
↓ 9 callers
Method
Unmarshal
Unmarshal an object of type StateMachineMap from the protobuf v3 wire format
api/persistence/v1/hsm.go-helpers.pb.go:51
↓ 9 callers
Method
Unmarshal
Unmarshal an object of type SyncStateFailure from the protobuf v3 wire format
api/errordetails/v1/message.go-helpers.pb.go:162
↓ 9 callers
Function
UnsafeTaskQueueTag
UnsafeTaskQueueTag returns a new task queue tag. WARNING: Do not use this function directly in production code as it may create high number of unique
common/metrics/tags.go:179
↓ 9 callers
Function
UnversionedBuildIdSearchAttribute
UnversionedBuildIdSearchAttribute returns the search attribute value for an unversioned build ID
common/worker_versioning/worker_versioning.go:121
↓ 9 callers
Method
UpdateAcceptCommands
(tv *testvars.TestVars)
common/testing/updateutils/update.go:31
↓ 9 callers
Method
UpdateActivityTaskStatusWithTimerHeartbeat
(scheduleEventId int64, timerTaskStatus int32, heartbeatTimeoutVisibility *time.Time)
service/history/interfaces/mutable_state.go:294
↓ 9 callers
Method
UpdateWorkflowExecution
( ctx context.Context, updateMode persistence.UpdateWorkflowMode, archetypeID chasm.ArchetypeID, c
service/history/workflow/transaction.go:39
↓ 9 callers
Method
UpdateWorkflowStateStatus
( state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
service/history/workflow/mutable_state_impl.go:7398
↓ 9 callers
Method
UpsertWorkflowExecution
(ctx context.Context, request *InternalUpsertWorkflowExecutionRequest)
common/persistence/visibility/store/visibility_store.go:32
↓ 9 callers
Function
UseSuiteScopedCluster
UseSuiteScopedCluster makes NewEnv use one cluster for all tests under `t`. The cluster is created on first use and torn down when `t` completes. Dep
tests/testcore/test_cluster_pool.go:177
↓ 9 callers
Method
Wait
(ctx context.Context)
common/quotas/clocked_rate_limiter.go:79
↓ 9 callers
Method
When
When returns the time when the value for key will switch from old to new. It may be the zero time for a static GradualChange.
common/dynamicconfig/gradual_change.go:48
↓ 9 callers
Method
WithWorkflowID
(workflowID string)
common/testing/testvars/test_vars.go:319
↓ 9 callers
Method
WorkflowExecutionStateToBlob
(info *persistencespb.WorkflowExecutionState)
common/persistence/serialization/serializer.go:43
↓ 9 callers
Function
WrapEventLoop
( ctx context.Context, originalEventLoop func() error, streamStopper func(), logger log.Logger, metricsHa
service/history/replication/stream.go:46
↓ 9 callers
Method
accumulatedSkippedDuration
()
service/history/workflow/mutable_state_impl.go:1916
↓ 9 callers
Method
ackMessage
ackMessage returns the inclusive low watermark if present.
service/history/replication/stream_receiver.go:232
↓ 9 callers
Function
addOptions
(omp *otelMetricsHandler, opts T, metricName string)
common/metrics/otel_options.go:23
↓ 9 callers
Method
addRedirectRule
( env *testcore.TestEnv, tq, source string, target string, )
tests/versioning_test.go:4822
↓ 9 callers
Method
addTask
--- state methods --- addTask adds a task to a random partition, computing its pass via the counter.
tools/fairsim/sim.go:359
↓ 9 callers
Method
assertAndConvertArchetypeID
( archetypeID chasm.ArchetypeID, methodName string, )
common/persistence/execution_manager.go:1233
↓ 9 callers
Method
assertEqualWithDB
( rangeID int64, taskQueueInfo *persistencespb.TaskQueueInfo, )
common/persistence/tests/task_queue.go:280
↓ 9 callers
Method
assertEventIDTaskID
( historyMutation *HistoryMutation, )
service/history/historybuilder/history_builder_test.go:2633
↓ 9 callers
Method
assertHasQueries
(qr historyi.QueryRegistry, buffered, completed, unblocked, failed bool)
service/history/workflow/query_registry_test.go:203
↓ 9 callers
Method
assertMinTaskKey
( category tasks.Category, expectedKey tasks.Key, )
service/history/shard/task_request_tracker_test.go:151
↓ 9 callers
Method
assertQuerySizes
(qr historyi.QueryRegistry, buffered, completed, unblocked, failed int)
service/history/workflow/query_registry_test.go:210
↓ 9 callers
Method
assertTestContextMetadata
( ctx context.Context, expectedActivityID string, expectedRequestValue string, )
service/history/chasm_engine_test.go:2020
↓ 9 callers
Function
compareQueryString
(inStr string, expectedStr string, operation string, fieldName string)
service/history/workflow/matcher/evaluator.go:53
↓ 9 callers
Method
consume
consume updates ready based on the current time and number of new tokens consumed.
service/matching/matcher_data.go:702
↓ 9 callers
Function
createTestNexusEndpointProcessor
createTestNexusEndpointProcessor creates a NexusEndpointProcessor with a mock operation for testing
components/nexusoperations/executors_test.go:1576
↓ 9 callers
Function
defaultTestConfig
()
service/matching/matching_engine_test.go:6089
↓ 9 callers
Method
delay
delay returns the time until the limiter is ready. If the return value is <= 0 then the limiter can go now.
service/matching/matcher_data.go:697
↓ 9 callers
Function
deleteAssignmentRule
(data *persistencespb.VersioningData, clock *hlc.Clock, idx int32, force bool, )
service/matching/version_rule_test.go:153
↓ 9 callers
Method
destroy
()
service/history/queues/slice.go:435
↓ 9 callers
Method
dispatchActivity
( env *testcore.TestEnv, failMode activityFailMode, newVersioning bool, crossTq bool, )
tests/versioning_test.go:1797
↓ 9 callers
Method
dispatchForNewWorkflow
( ctx context.Context, archetypeID chasm.ArchetypeID, targetWorkflow Workflow, )
service/history/ndc/transaction_manager_new_workflow.go:19
↓ 9 callers
Method
enrichMetricsHandler
(ctx chasm.Context, operationTag string)
chasm/lib/activity/activity.go:1095
↓ 9 callers
Method
eventuallyDeleted
(ctx context.Context, t *testing.T, activityID, runID string)
tests/activity_standalone_test.go:2896
↓ 9 callers
Function
file_temporal_server_chasm_lib_nexusoperation_proto_v1_operation_proto_rawDescGZIP
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:938
↓ 9 callers
Function
file_temporal_server_chasm_lib_scheduler_proto_v1_message_proto_rawDescGZIP
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:779
↓ 9 callers
Function
findOneNestedField
(t reflect.Type, name string, path string, maxDepth int)
cmd/tools/genrpcwrappers/main.go:190
↓ 9 callers
Method
get
get returns a cluster from the [clusterPool], creating it lazily if needed. For exclusive pools, blocks until a slot is available and registers cleanu
tests/testcore/test_cluster_pool.go:81
↓ 9 callers
Method
getActiveClusters
(ctx context.Context)
tests/xdc/history_replication_signals_and_updates_test.go:904
↓ 9 callers
Method
getCreateTaskCount
getCreateTaskCount returns how many tasks were added
service/matching/matching_engine_test.go:5506
↓ 9 callers
Method
getDLQTypeFromQueueType
()
common/persistence/cassandra/queue_store.go:344
↓ 9 callers
Method
getFirstEvent
()
service/history/ndc/replication_task.go:34
↓ 9 callers
Method
getMutableState
(env *testcore.TestEnv, workflowID, runID string)
tests/timeskipping_test.go:350
↓ 9 callers
Method
getNamespaceID
()
service/history/ndc/replication_task.go:29
↓ 9 callers
Method
getPriority
()
service/matching/task.go:326
↓ 9 callers
Method
getQueueData
(name, namespaceID string, taskType enumspb.TaskQueueType)
service/matching/matching_engine_test.go:5158
↓ 9 callers
Method
getRangeIDLocked
()
service/history/shard/context_impl.go:1117
↓ 9 callers
Method
getType
GetType returns type of search attribute from type map.
common/searchattribute/name_type_map.go:146
↓ 9 callers
Method
getWorkflowRunRequestInfo
getWorkflowRunRequestInfo calls DescribeWorkflowExecution and returns the ExtendedInfo's RequestIDInfo corresponding to the supplied request ID. Fails
tests/links_test.go:56
↓ 9 callers
Method
getWorkflowTaskFinishEventIDAfterChild
getWorkflowTaskFinishEventIDAfterChild gets the event ID of the first WFT completed after the child completed event. It does so by scanning the histor
tests/workflow_reset_with_child_test.go:785
↓ 9 callers
Method
handleError
( err error, )
common/persistence/nosql/nosqlplugin/cassandra/gocql/session.go:176
↓ 9 callers
Method
hasMinVersion
(version DeploymentWorkflowVersion)
service/worker/workerdeployment/version_workflow.go:1487
↓ 9 callers
Function
hash
(s string)
common/archiver/gcloud/util.go:59
↓ 9 callers
Method
initEnv
()
service/worker/migration/activities_test.go:158
↓ 9 callers
Function
isHTTP2SafeValue
isHTTP2SafeValue returns true if the string can be used as an HTTP/2 header value. Per RFC 9113 section 8.2.1, header field values must not contain NU
common/rpc/interceptor/context_metadata_interceptor.go:145
↓ 9 callers
Function
isSystemWorker
(tls *config.RootTLS)
common/rpc/encryption/local_store_tls_provider.go:475
↓ 9 callers
Function
makeCurrentWorkflowConditionFailedError
( tv *testvars.TestVars, startTime *timestamppb.Timestamp, )
service/history/history_engine2_test.go:1555
↓ 9 callers
Method
makePollerScalingDecisionImpl
( pollStartTime time.Time, statsFn func() *taskqueuepb.TaskQueueStats, )
service/matching/physical_task_queue_manager.go:878
↓ 9 callers
Function
managerProvider
(newManagerFn func(Factory) (T, error))
common/persistence/client/fx.go:223
← previous
next →
2,701–2,800 of 43,335, ranked by callers