MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersMethodResolvedMetricTagConfig
ResolvedMetricTagConfig returns the configured metric tag config, defaulting to an empty config when the receiver or the setting is nil (e.g. in tests
components/nexusoperations/config.go:219
↓ 2 callersMethodRespondActivityTaskCanceled
RespondActivityTaskCanceled is called by application worker when it is successfully canceled an ActivityTask. It will result in a new 'ActivityTaskCa
api/historyservice/v1/service_grpc.pb.go:167
↓ 2 callersMethodRespondActivityTaskCompleted
RespondActivityTaskCompleted is called by application worker when it is done processing an ActivityTask. It will result in a new 'ActivityTaskComplet
api/historyservice/v1/service_grpc.pb.go:155
↓ 2 callersMethodRespondActivityTaskFailed
RespondActivityTaskFailed is called by application worker when it is done processing an ActivityTask. It will result in a new 'ActivityTaskFailed' ev
api/historyservice/v1/service_grpc.pb.go:161
↓ 2 callersMethodRespondNexusTaskCompleted
Response from a worker (via frontend) to a Nexus task, unblocks the corresponding DispatchNexusTask request.
api/matchingservice/v1/service_grpc.pb.go:91
↓ 2 callersMethodRespondNexusTaskFailed
Response from a worker (via frontend) to a Nexus task, unblocks the corresponding DispatchNexusTask request.
api/matchingservice/v1/service_grpc.pb.go:93
↓ 2 callersMethodRespondQueryTaskCompleted
RespondQueryTaskCompleted is called by frontend to respond query completed.
api/matchingservice/v1/service_grpc.pb.go:85
↓ 2 callersMethodRespondWorkflowTaskCompleted
RespondWorkflowTaskCompleted is called by application worker to complete a WorkflowTask handed as a result of 'PollWorkflowTaskQueue' API call. Compl
api/historyservice/v1/service_grpc.pb.go:137
↓ 2 callersMethodRespondWorkflowTaskFailed
RespondWorkflowTaskFailed is called by application worker to indicate failure. This results in WorkflowTaskFailedEvent written to the history and a n
api/historyservice/v1/service_grpc.pb.go:141
↓ 2 callersFunctionRewriteScheduleIDQuery
RewriteScheduleIDQuery rewrites ScheduleId comparisons in the query string to WorkflowId comparisons before the query reaches the visibility store con
service/worker/scheduler/schedule_id_query_rewriter.go:29
↓ 2 callersMethodRpcName
()
common/tqid/task_queue_id.go:318
↓ 2 callersMethodRpcName
()
common/tqid/task_queue_id.go:369
↓ 2 callersMethodRpcName
()
common/tqid/task_queue_id.go:440
↓ 2 callersMethodRunBulkProcessor
(ctx context.Context, p *BulkProcessorParameters)
common/persistence/visibility/store/elasticsearch/client/client.go:25
↓ 2 callersMethodRunCreateTest
RunCreateTest tests schema version table creation
tools/common/schema/test/dbtest.go:96
↓ 2 callersMethodRunDropTest
RunDropTest tests the drop methods in DB implementation
tools/common/schema/test/dbtest.go:139
↓ 2 callersFunctionRunInitiatorTag
RunInitiatorTag creates a tag indicating how a workflow run was initiated. It handles both new workflow runs and continuations from previous runs. Whe
common/metrics/tags.go:535
↓ 2 callersFunctionRunNexusEndpointTestSuiteForSQL
(t *testing.T, factory *sql.Factory)
common/persistence/tests/nexus_endpoint_suite.go:33
↓ 2 callersMethodRunParseFileTest
RunParseFileTest runs a test against the ParseFile method
tools/common/schema/test/dbtest.go:84
↓ 2 callersFunctionRunQueueV2TestSuite
RunQueueV2TestSuite executes interface-level tests for a queue persistence-layer implementation. There should be more implementation-specific tests th
common/persistence/tests/queue_v2_test_suite.go:21
↓ 2 callersMethodRunSetupTest
RunSetupTest exercises the SetupSchema task
tools/common/schema/test/setuptest.go:52
↓ 2 callersMethodRunUpdateSchemaTest
RunUpdateSchemaTest tests schema update
tools/common/schema/test/updatetest.go:77
↓ 2 callersMethodRunUpdateTest
RunUpdateTest tests update of schema and schema version tables
tools/common/schema/test/dbtest.go:121
↓ 2 callersFunctionScalerShadowModeTag
(enabled bool)
common/metrics/tags.go:598
↓ 2 callersMethodScan
(...any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:28
↓ 2 callersMethodScheduleClient
ScheduleClient mocks base method.
common/testing/mocksdk/client_mock.go:603
↓ 2 callersMethodScheduleWorkflowTask
ScheduleWorkflowTask is used for creating a workflow task for already started workflow execution. This is mainly used by transfer queue processor dur
api/historyservice/v1/service_grpc.pb.go:214
↓ 2 callersMethodSecondaryVisibilityConfigExist
SecondaryVisibilityConfigExist returns whether user specified secondaryVisibilityStore in config
common/config/persistence.go:104
↓ 2 callersMethodSelectAllFromChasmNodeMaps
SelectAllFromChasmNodeMaps returns all rows related to a particular workflow from the chasm_node_maps table.
common/persistence/sql/sqlplugin/history_chasm.go:45
↓ 2 callersMethodSelectNameFromQueueV2Metadata
(ctx context.Context, filter QueueV2MetadataTypeFilter)
common/persistence/sql/sqlplugin/queue_v2_metadata.go:35
↓ 2 callersMethodSendMsg
SendMsg mocks base method.
api/historyservicemock/v1/service_grpc.pb.mock.go:1697
↓ 2 callersMethodSendMsg
SendMsg mocks base method.
api/adminservicemock/v1/service_grpc.pb.mock.go:1077
↓ 2 callersFunctionSendSlackMessage
SendSlackMessage sends the message to Slack webhook
tools/ci-notify/slack.go:130
↓ 2 callersFunctionSerializeRawHistoryToken
NOTE: DO NOT MODIFY UNLESS ALSO APPLIED TO ./service/frontend/token_deprecated.go
service/history/api/token.go:52
↓ 2 callersMethodSerializeReplicationTask
(task tasks.Task)
common/persistence/serialization/serializer.go:68
↓ 2 callersFunctionSerializeVisibilityPageToken
(token *VisibilityPageToken)
common/persistence/sql/sqlplugin/visibility_query_converter.go:30
↓ 2 callersMethodSerializeWorkflowMutation
( // unexport input *WorkflowMutation, )
common/persistence/execution_manager.go:630
↓ 2 callersMethodSetActiveCluster
(clusterName string)
common/namespace/replication_resolver.go:36
↓ 2 callersMethodSetChildrenInitializedPostResetPoint
(children map[string]*persistencespb.ResetChildInfo)
service/history/interfaces/mutable_state.go:147
↓ 2 callersMethodSetCurrentBranchToken
(branchToken []byte)
service/history/interfaces/mutable_state.go:285
↓ 2 callersFunctionSetDefaultTaskQueueKind
(f *enumspb.TaskQueueKind)
common/enums/defaults.go:41
↓ 2 callersFunctionSetDefaultWorkflowIdReusePolicy
(f *enumspb.WorkflowIdReusePolicy)
common/enums/defaults.go:7
↓ 2 callersMethodSetDraining
SetDraining sets the draining state (synchronized through ringpop)
common/membership/interfaces.go:60
↓ 2 callersMethodSetFairnessKeyRateLimitDefaultForTesting
(rps float64, source enumspb.RateLimitSource)
service/matching/ratelimit_manager_test.go:87
↓ 2 callersMethodSetIsStrictOnNextVertex
Equals compares two vertex func (he *HistoryEventVertex) Equals( v Vertex, ) bool { return strings.EqualFold(he.name, v.GetName()) && he.data == v.
common/testing/event_generator.go:447
↓ 2 callersMethodSetOutputFile
SetOutputFile sets the file path for writing captured messages on-demand
tests/testcore/replication_stream_recorder.go:54
↓ 2 callersMethodSetQueueState
(category tasks.Category, tasksCompleted int, state *persistencespb.QueueState)
service/history/interfaces/shard_context.go:70
↓ 2 callersMethodSetReplayEventBatchID
(batchID int64)
service/history/interfaces/mutable_state.go:47
↓ 2 callersMethodSetScheduledTime
(t time.Time)
service/history/queues/executable.go:749
↓ 2 callersMethodSetServerName
(serverName string)
common/rpc/encryption/test_dynamic_cert_provider.go:71
↓ 2 callersMethodSetShardController
This is for breaking fx cycle dependency. ChasmEngine -> ShardController -> ShardContextFactory -> HistoryEngineFactory -> QueueFactory -> ChasmEngine
service/history/chasm_engine.go:102
↓ 2 callersMethodSetTrailer
(md metadata.MD)
common/testing/rpctest/transport_stream.go:59
↓ 2 callersMethodSetVersioningRevisionNumber
(revisionNumber int64)
service/history/workflow/mutable_state_impl.go:9784
↓ 2 callersFunctionSetVersions
SetVersions sets headers for internal communications.
common/headers/version_checker.go:100
↓ 2 callersFunctionSetup
Setup sets up schema tables
tools/common/schema/handler.go:14
↓ 2 callersMethodSetupDraining
()
service/matching/physical_task_queue_manager_interface.go:26
↓ 2 callersMethodSetupSuiteWithCluster
(options ...TestClusterOption)
tests/testcore/functional_test_base.go:292
↓ 2 callersMethodSetupTest
()
service/matching/physical_task_queue_manager_test.go:68
↓ 2 callersFunctionShardQueueAcks
ShardQueueAcks returns tag for shard queue ack levels
common/log/tag/tags.go:600
↓ 2 callersMethodSignalInfoToBlob
(info *persistencespb.SignalInfo)
common/persistence/serialization/serializer.go:46
↓ 2 callersMethodSignalWithStartWorkflowExecution
(-- api-linter: core::0136::prepositions=disabled aip.dev/not-precedent: "With" is needed here. --) SignalWithStartWorkflowExecution is used to ens
api/historyservice/v1/service_grpc.pb.go:183
↓ 2 callersMethodSignalWorkflowExecution
SignalWorkflowExecution is used to send a signal event to running workflow execution. This results in WorkflowExecutionSignaled event recorded in the
api/historyservice/v1/service_grpc.pb.go:172
↓ 2 callersMethodSize
Size returns the size of the object, in bytes, once serialized
api/cli/v1/message.go-helpers.pb.go:167
↓ 2 callersMethodSize
Size returns the size of the object, in bytes, once serialized
api/persistence/v1/chasm.go-helpers.pb.go:19
↓ 2 callersMethodSourceShardKey
()
service/history/replication/executable_task.go:59
↓ 2 callersMethodSplitByPredicate
( predicate tasks.Predicate, )
service/history/queues/scope.go:49
↓ 2 callersFunctionStampFromCapabilities
(capabilities *commonpb.WorkerVersionCapabilities, options *deploymentpb.WorkerDeploymentOptions)
common/worker_versioning/worker_versioning.go:540
↓ 2 callersMethodStart
()
temporal/server.go:17
↓ 2 callersMethodStart
Start starts the scavenger
service/worker/scanner/taskqueue/scavenger.go:102
↓ 2 callersMethodStart
()
service/history/queue_factory_base.go:35
↓ 2 callersMethodStart
()
service/history/queues/rescheduler.go:44
↓ 2 callersMethodStart
()
service/history/replication/task_fetcher.go:35
↓ 2 callersMethodStart
()
common/persistence/dlq_metrics_emitter.go:59
↓ 2 callersMethodStartNamespaceMetricCaptureFor
StartNamespaceMetricCaptureFor starts a metrics capture scoped to the provided namespace.
tests/testcore/test_env.go:587
↓ 2 callersMethodStartNexusOperation
StartNexusOperation starts a Nexus operation on the __temporal_system endpoint.
api/historyservice/v1/service_grpc.pb.go:389
↓ 2 callersMethodStartOperation
StartOperation implements the nexus.Handler interface.
service/frontend/nexus_handler.go:388
↓ 2 callersMethodStartOperation
StartOperation calls the configured Nexus endpoint to start an operation. This method has the following possible outcomes: 1. The operation complete
common/nexus/nexusrpc/client.go:222
↓ 2 callersMethodStartOperation
(ctx context.Context, service, operation string, input *nexus.LazyValue, options nexus.StartOperationOptions)
common/nexus/nexustest/server.go:66
↓ 2 callersFunctionStartOperationResponseToError
StartOperationResponseToError converts a StartOperationResponse proto into a Go error. Returns nil for success variants (SyncSuccess, AsyncSuccess).
common/nexus/dispatch_response.go:33
↓ 2 callersMethodStartWorkflowExecution
StartWorkflowExecution starts a new long running workflow instance. It will create the instance with 'WorkflowExecutionStarted' event in history and
api/historyservice/v1/service_grpc.pb.go:110
↓ 2 callersMethodState
()
components/nexusoperations/statemachine.go:529
↓ 2 callersMethodState
()
service/history/queues/executable.go:726
↓ 2 callersMethodState
()
service/history/hsm/hsmtest/sm.go:36
↓ 2 callersMethodStateMachineEnvironment
TODO(bergundy): This Environment should be host level once shard level workflow cache is deprecated.
service/history/interfaces/engine.go:106
↓ 2 callersMethodStop
()
service/history/queue_factory_base.go:36
↓ 2 callersMethodStop
()
service/history/queues/reader.go:40
↓ 2 callersMethodStop
()
service/history/queues/rescheduler.go:45
↓ 2 callersMethodStop
()
common/persistence/health_signal_aggregator.go:24
↓ 2 callersMethodStop
()
common/persistence/dlq_metrics_emitter.go:66
↓ 2 callersMethodStop
()
common/persistence/visibility/store/elasticsearch/client/bulk_processor.go:20
↓ 2 callersMethodStop
()
common/cluster/metadata.go:64
↓ 2 callersMethodStreamServerInterceptor
StreamServerInterceptor returns a gRPC stream server interceptor that captures stream messages
tests/testcore/replication_stream_recorder.go:276
↓ 2 callersMethodString
()
service/history/shard/context_impl.go:202
↓ 2 callersMethodString
()
common/namespace/namespace.go:347
↓ 2 callersFunctionStripPrincipal
StripPrincipal removes principal headers from incoming metadata to prevent external callers from spoofing principal identity.
common/headers/headers.go:127
↓ 2 callersMethodSubmitClosedWorkflowSnapshot
( ctx context.Context, shardContext historyi.ShardContext, transactionPolicy historyi.TransactionPolicy, )
service/history/workflow/context.go:677
↓ 2 callersMethodSubscribeReplicationNotification
(string)
service/history/interfaces/replication_stream.go:14
↓ 2 callersMethodSupportsPartitions
SupportsPartitions returns true for partition types that can be split into multiple partitions for load distribution. When false, partition count must
common/tqid/task_queue_id.go:57
↓ 2 callersMethodSupportsVersioning
()
common/tqid/task_queue_id.go:54
↓ 2 callersMethodSwitchToWrongServerRootCACerts
()
common/rpc/encryption/test_dynamic_cert_provider.go:67
← previousnext →7,601–7,700 of 43,335, ranked by callers