MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 5 callersMethodCountTasksForWorkflow
CountTasksForWorkflow returns the count of tasks in a category for a specific workflow If namespaceID is empty, it matches any namespace If runID is e
tests/testcore/history_task_recorder.go:320
↓ 5 callersMethodCreateCHASMExecution
( lastWriteVersion int64, state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, d
common/persistence/tests/execution_mutable_state.go:2643
↓ 5 callersMethodCreateDatabase
(name string)
tools/common/schema/test/dbtest.go:21
↓ 5 callersMethodCreateDatabase
(database string)
common/persistence/sql/sqlplugin/interfaces.go:88
↓ 5 callersMethodCreateEngine
(context historyi.ShardContext)
service/history/shard/engine_factory.go:10
↓ 5 callersMethodDatabaseName
DatabaseName from PersistenceTestCluster interface
common/persistence/cassandra/test.go:79
↓ 5 callersMethodDelay
Delay returns the duration for which the reservation holder must wait before taking the reserved action. Zero duration means act immediately.
common/quotas/reservation.go:25
↓ 5 callersMethodDeleteActivity
DeleteActivity deletes details about an activity.
service/history/workflow/mutable_state_impl.go:2204
↓ 5 callersMethodDeleteClusterMetadata
(ctx context.Context, filter *ClusterMetadataFilter)
common/persistence/sql/sqlplugin/cluster_metadata.go:59
↓ 5 callersMethodDeleteFromActivityInfoMaps
DeleteFromActivityInfoMaps deletes one or more row from activity_info_maps table
common/persistence/sql/sqlplugin/history_activity.go:44
↓ 5 callersMethodDeleteFromChildExecutionInfoMaps
DeleteFromChildExecutionInfoMaps deletes one or more rows from child_execution_info_maps table
common/persistence/sql/sqlplugin/history_child_workflow.go:44
↓ 5 callersFunctionDeleteFromMap
DeleteFromMap deletes k2 from the nested map m[k]. If the inner map becomes empty after deletion, k is also removed from m to prevent memory leaks.
common/util/util.go:105
↓ 5 callersMethodDeleteFromNamespace
DeleteNamespace deletes a single row. One of ID or Name MUST be specified
common/persistence/sql/sqlplugin/namespace.go:47
↓ 5 callersMethodDeleteFromRequestCancelInfoMaps
DeleteFromRequestCancelInfoMaps deletes one or more rows from request_cancel_info_maps table
common/persistence/sql/sqlplugin/history_request_cancel.go:44
↓ 5 callersMethodDeleteFromSignalInfoMaps
DeleteFromSignalInfoMaps deletes one or more rows from signal_info_maps table
common/persistence/sql/sqlplugin/history_signal.go:44
↓ 5 callersMethodDeleteFromSignalsRequestedSets
DeleteFromSignalsRequestedSets deletes one or more rows from signals_requested_sets table
common/persistence/sql/sqlplugin/history_signal_request.go:42
↓ 5 callersMethodDeleteFromTimerInfoMaps
DeleteFromTimerInfoMaps deletes one or more rows from timer_info_maps table
common/persistence/sql/sqlplugin/history_timer.go:44
↓ 5 callersMethodDeleteWorkflowRule
( ctx context.Context, request *workflowservice.DeleteWorkflowRuleRequest, opts ...grpc.CallOption, )
client/frontend/client_gen.go:162
↓ 5 callersFunctionDeploymentVersionFromOptions
(options *deploymentpb.WorkerDeploymentOptions)
common/worker_versioning/worker_versioning.go:228
↓ 5 callersMethodDeregister
Deregister removes a callback from the finalizer. Returns an error if the ID is not found, or when the finalizer is/was already running.
common/finalizer/finalizer.go:64
↓ 5 callersMethodDescribeVersionedTaskQueues
(ctx context.Context, request *matchingservice.DescribeVersionedTaskQueuesRequest)
service/matching/matching_engine_interfaces.go:49
↓ 5 callersMethodDiscard
Discard implements custom discard behavior on standby clusters. When a side-effect task has been pending on standby past the discard delay, the framew
chasm/task.go:38
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/workflow/task_generator_mock.go:45
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:425
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/persistence/data_interfaces_mock.go:887
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/persistence/sql/sqlplugin/visibility_query_converter_mock.go:40
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/tasks/task_mock.go:40
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
chasm/lib/scheduler/spec_processor_mock.go:41
↓ 5 callersMethodEachPureTask
( deadline time.Time, callback func(executor chasm.NodePureTask, taskAttributes chasm.TaskAttributes, task
service/history/interfaces/chasm_tree.go:30
↓ 5 callersFunctionEmitDataLossMetric
EmitDataLossMetric emits a data loss metric for DataLoss errors
common/persistence/metrics.go:14
↓ 5 callersMethodEncode
Encode protobuf struct to bytes.
common/codec/jsonpb.go:39
↓ 5 callersFunctionEnqueueMessagesForDelete
(t *testing.T, q persistence.QueueV2, queueName string, queueType persistence.QueueV2Type)
common/persistence/persistencetest/queues.go:80
↓ 5 callersMethodEnqueueTask
( ctx context.Context, request *persistence.EnqueueTaskRequest, )
service/history/queues/dlq_writer.go:34
↓ 5 callersMethodEnqueueTask
(ctx context.Context, request *EnqueueTaskRequest)
common/persistence/data_interfaces.go:1260
↓ 5 callersFunctionEnsureDefaults
EnsureDefaults ensures the policy subfields, if not explicitly set, are set to the specified defaults
common/retrypolicy/retry_policy.go:40
↓ 5 callersMethodErrorRatio
()
common/rpc/interceptor/health_check.go:41
↓ 5 callersMethodExec
Exec executes a sql statement
common/persistence/sql/sqlplugin/sqlite/admin.go:65
↓ 5 callersMethodExtract
(req any, fullMethod string)
common/rpc/interceptor/logtags/workflow_tags.go:32
↓ 5 callersMethodFamily
()
common/tqid/task_queue_id.go:249
↓ 5 callersFunctionFindAssignmentBuildId
FindAssignmentBuildId finds a build ID for the given runId based on the given rules. Non-empty runId is deterministically mapped to a ramp threshold,
service/matching/version_rule_helpers.go:589
↓ 5 callersFunctionFindLCAVersionHistoryItemAndIndex
FindLCAVersionHistoryItemAndIndex finds the lowest common ancestor VersionHistory index and corresponding item.
common/persistence/versionhistory/version_histories.go:134
↓ 5 callersFunctionFindTargetDeploymentVersionAndRevisionNumberForWorkflowID
FindTargetDeploymentVersionAndRevisionNumberForWorkflowID returns the deployment version and revision number (if applicable) for the particular workfl
common/worker_versioning/worker_versioning.go:807
↓ 5 callersMethodForwardQueryTask
(background context.Context, task *internalTask)
service/matching/forwarder_test.go:38
↓ 5 callersFunctionGRPCResolverURLForTesting
This should only be used in unit tests. For normal code, use the *GRPCResolver provided by fx. Monitor may be nil if it's not needed, but then note th
common/membership/grpc_resolver.go:68
↓ 5 callersMethodGenerateChildWorkflowTasks
( childInitiatedEventId int64, )
service/history/workflow/task_generator.go:67
↓ 5 callersMethodGenerateDelayedWorkflowTasks
( startEvent *historypb.HistoryEvent, )
service/history/workflow/task_generator.go:50
↓ 5 callersMethodGenerateDirtySubStateMachineTasks
Generate tasks for any updated state machines on mutable state. Looks up machine definition in the provided registry. Must be called **after** updatin
service/history/workflow/task_generator.go:95
↓ 5 callersMethodGenerateEventLoadToken
(event *historypb.HistoryEvent)
chasm/tree.go:217
↓ 5 callersMethodGenerateRequestCancelExternalTasks
( event *historypb.HistoryEvent, )
service/history/workflow/task_generator.go:70
↓ 5 callersMethodGenerateSignalExternalTasks
( event *historypb.HistoryEvent, )
service/history/workflow/task_generator.go:73
↓ 5 callersMethodGetArchetypeID
()
service/history/tasks/task.go:50
↓ 5 callersMethodGetAssignedBuildId
()
service/history/workflow/mutable_state_impl.go:2437
↓ 5 callersMethodGetBackfillId
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:425
↓ 5 callersMethodGetBadBinaries
()
api/persistence/v1/namespaces.pb.go:266
↓ 5 callersMethodGetBeginNodeId
()
api/persistence/v1/history_tree.pb.go:212
↓ 5 callersMethodGetBuildIdTaskQueueMapping
(ctx context.Context, request *matchingservice.GetBuildIdTaskQueueMappingRequest)
service/matching/matching_engine_interfaces.go:31
↓ 5 callersMethodGetCancelWorkflows
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:328
↓ 5 callersMethodGetCoalesceCloseTimeExpr
()
common/persistence/sql/sqlplugin/postgresql/query_converter.go:46
↓ 5 callersMethodGetCoalesceCloseTimeExpr
()
common/persistence/sql/sqlplugin/mysql/query_converter.go:66
↓ 5 callersMethodGetCoalesceCloseTimeExpr
()
common/persistence/sql/sqlplugin/sqlite/query_converter.go:29
↓ 5 callersMethodGetCommands
()
api/persistence/v1/executions.pb.go:2652
↓ 5 callersMethodGetConfig
()
service/matching/task_queue_partition_manager_interface.go:68
↓ 5 callersMethodGetConfigVersion
()
api/persistence/v1/namespaces.pb.go:95
↓ 5 callersMethodGetCount
()
chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go:500
↓ 5 callersFunctionGetDBIndexSearchAttributes
( override map[enumspb.IndexedValueType]int, )
common/searchattribute/sadefs/constants.go:323
↓ 5 callersMethodGetDataAttributes
()
api/persistence/v1/chasm.pb.go:160
↓ 5 callersMethodGetEndpointId
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:307
↓ 5 callersMethodGetEventId
()
api/history/v1/message.pb.go:374
↓ 5 callersMethodGetExecutionInfo
GetExecutionInfo mocks base method.
service/history/interfaces/mutable_state_mock.go:2312
↓ 5 callersMethodGetFailed
()
chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go:764
↓ 5 callersMethodGetFailure
()
api/schedule/v1/message.pb.go:697
↓ 5 callersMethodGetFirstRunId
()
api/persistence/v1/executions.pb.go:2322
↓ 5 callersMethodGetFloatOrDefault
( defaultValue float64, )
common/number/number.go:116
↓ 5 callersMethodGetFromVisibility
(ctx context.Context, filter VisibilityGetFilter)
common/persistence/sql/sqlplugin/visibility.go:106
↓ 5 callersMethodGetHttpAddress
()
api/persistence/v1/cluster_metadata.pb.go:121
↓ 5 callersMethodGetInclusiveLowWatermark
()
api/replication/v1/message.pb.go:528
↓ 5 callersMethodGetInheritedAutoUpgradeInfo
()
api/historyservice/v1/request_response.pb.go:344
↓ 5 callersMethodGetInput
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:731
↓ 5 callersMethodGetInput
()
chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go:685
↓ 5 callersMethodGetInternodeGRPCServerOptions
()
common/rpc.go:15
↓ 5 callersMethodGetIsGlobalNamespaceEnabled
()
api/persistence/v1/cluster_metadata.pb.go:142
↓ 5 callersMethodGetMessagesFromNamespaceDLQ
GetMessagesFromNamespaceDLQ is a utility method to get messages from the namespace DLQ
common/persistence/persistence-tests/persistence_test_base.go:391
↓ 5 callersMethodGetNamespaceByIDWithOptions
(id ID, opts GetNamespaceOptions)
common/namespace/registry.go:26
↓ 5 callersMethodGetNamespaceFailoverVersion
()
api/persistence/v1/hsm.pb.go:497
↓ 5 callersMethodGetNamespaceId
()
api/historyservice/v1/request_response.pb.go:9460
↓ 5 callersFunctionGetNonRetryableErrorOption
GetNonRetryableErrorOption returns an ArchiveOption so that archiver knows what should be returned when an non-retryable error is encountered.
common/archiver/options.go:71
↓ 5 callersMethodGetOrCreateHistoryBranch
( ctx context.Context, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, task replic
service/history/ndc/mutable_state_mapper.go:80
↓ 5 callersMethodGetOrRebuildCurrentMutableState
( ctx context.Context, branchIndex int32, incomingVersion int64, )
service/history/ndc/conflict_resolver.go:18
↓ 5 callersMethodGetOrSet
(key K, value V)
common/collection/sync_map.go:31
↓ 5 callersFunctionGetOrSetMap
GetOrSetMap looks up k in m, a two-level map, and returns the result. If it's not present, it uses `make` to allocate new second-level map and sets th
common/util/util.go:94
↓ 5 callersFunctionGetPartitionForQueueV2
( queueType QueueV2Type, queueName string, queue *persistencespb.Queue, )
common/persistence/queue_v2_util.go:94
↓ 5 callersFunctionGetPendingActivityInfo
( ctx context.Context, // only used as a passthrough to GetActivityType shardContext historyi.ShardContext,
service/history/workflow/activity.go:116
↓ 5 callersFunctionGetPerTaskQueueScope
GetPerTaskQueueScope returns GetPerTaskQueueFamilyScope plus the "task_type" tag.
common/metrics/task_queues.go:30
↓ 5 callersMethodGetPercentage
()
api/deployment/v1/message.pb.go:2984
↓ 5 callersFunctionGetPersistenceTestDefaults
GetPersistenceTestDefaults returns the default persistence options based on CLI flags. Use this when creating TestClusterConfig to ensure proper datab
tests/testcore/test_cluster.go:157
↓ 5 callersFunctionGetPrincipal
GetPrincipal retrieves the principal from the context headers. Returns nil if principal is not set.
common/headers/headers.go:146
↓ 5 callersMethodGetQueryInput
(string)
service/history/interfaces/query_register.go:23
↓ 5 callersMethodGetQuota
()
common/quotas/calculator/logged_calculator.go:47
↓ 5 callersMethodGetRangeId
()
api/persistence/v1/executions.pb.go:92
↓ 5 callersMethodGetRateLimitManager
()
service/matching/task_queue_partition_manager_interface.go:67
← previousnext →4,101–4,200 of 43,335, ranked by callers