MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 2 callersFunctionnewPattern
(value string)
common/testing/objectleak/pattern.go:16
↓ 2 callersFunctionnewPerShardPerNamespacePriorityRateLimiter
( perShardNamespaceMaxQPS PersistencePerShardNamespaceMaxQPS, hostMaxQPS PersistenceMaxQps, requestPriority
common/persistence/client/quotas.go:131
↓ 2 callersFunctionnewPortSet
(base int)
tests/mixedbrain/config_util.go:39
↓ 2 callersFunctionnewPriorityNamespaceRateLimiter
( namespaceMaxQPS PersistenceNamespaceMaxQps, hostMaxQPS PersistenceMaxQps, requestPriorityFn quotas.Reques
common/persistence/client/quotas.go:164
↓ 2 callersMethodnewPriorityQueue
( items []rescheduledExecuable, )
service/history/queues/rescheduler.go:284
↓ 2 callersFunctionnewPriorityRateLimiter
( maxQPS dynamicconfig.IntPropertyFn, operatorRPSRatio dynamicconfig.FloatPropertyFn, )
common/persistence/visibility/quotas.go:18
↓ 2 callersFunctionnewProcessBufferHandler
(env *testEnv)
chasm/lib/scheduler/invoker_process_buffer_task_test.go:88
↓ 2 callersFunctionnewQuery
(queryInput *querypb.WorkflowQuery)
service/history/workflow/query.go:43
↓ 2 callersFunctionnewRandPortSet
()
tests/mixedbrain/config_util.go:53
↓ 2 callersFunctionnewReachabilityCache
( handler metrics.Handler, visibilityMgr manager.VisibilityManager, reachabilityCacheOpenWFExecutionTTL, r
service/matching/reachability.go:301
↓ 2 callersMethodnewReaderLocked
(readerID int64, slices ...Slice)
service/history/queues/reader_group.go:125
↓ 2 callersFunctionnewRecordTaskStartedContext
newRecordTaskStartedContext creates a context for recording activity or workflow task started. The parentCtx from pollActivity/WorkflowTaskQueue endpo
service/matching/matching_engine.go:3404
↓ 2 callersFunctionnewRegistrableTask
( taskType string, goType, componentGoType reflect.Type, validateFn validateFn, pureTaskExecuteFn pureTask
chasm/registrable_task.go:120
↓ 2 callersMethodnewRegistryWithResolverFactory
( resolverFactory namespace.ReplicationResolverFactory, )
common/namespace/nsregistry/registry_watch_test.go:121
↓ 2 callersFunctionnewReplicationMessageProcessor
( currentCluster string, sourceCluster string, logger log.Logger, remotePeer adminservice.AdminServiceClie
service/worker/replicator/replication_message_processor.go:42
↓ 2 callersFunctionnewReportRecordingTB
()
common/testing/await/report_test.go:55
↓ 2 callersFunctionnewRoot
(t *testing.T)
components/callbacks/executors_test.go:286
↓ 2 callersFunctionnewSaAggInterceptor
()
service/worker/scheduler/query.go:57
↓ 2 callersFunctionnewScaleManager
( baseCtx context.Context, partition tqid.Partition, logger log.Logger, metricsHandler metrics.Handler, u
service/matching/scale_manager.go:65
↓ 2 callersFunctionnewSearchAttributeFieldBool
(index int)
chasm/search_attribute.go:135
↓ 2 callersFunctionnewSearchAttributeFieldDateTime
(index int)
chasm/search_attribute.go:146
↓ 2 callersFunctionnewSearchAttributeFieldDouble
(index int)
chasm/search_attribute.go:168
↓ 2 callersFunctionnewSearchAttributeFieldInt
(index int)
chasm/search_attribute.go:157
↓ 2 callersFunctionnewSearchAttributeFieldKeywordList
(index int)
chasm/search_attribute.go:196
↓ 2 callersMethodnewShardClosedErrorWithShardID
newShardClosedErrorWithShardID when shard is closed and a req cannot be processed
service/history/shard/context_impl.go:2308
↓ 2 callersFunctionnewSimulator
(state *state, stats *latencyStats, defaultPriority int, w io.Writer, verbose bool)
tools/fairsim/sim.go:168
↓ 2 callersFunctionnewSpeculativeWorkflowTaskTimeoutExecutable
( executable Executable, workflowTaskTimeoutTask *tasks.WorkflowTaskTimeoutTask, )
service/history/queues/speculative_workflow_task_timeout_executable.go:17
↓ 2 callersFunctionnewState
(rnd *rand.Rand, counterFactory func() counter.Counter, partitions, strideFactor int)
tools/fairsim/sim.go:159
↓ 2 callersFunctionnewStateMachineEnvTestContext
(t *testing.T, enableTransitionHistory bool)
service/history/statemachine_environment_test.go:56
↓ 2 callersMethodnewSubqueueLocked
(key *persistencespb.SubqueueKey)
service/matching/db.go:914
↓ 2 callersMethodnewTask
()
service/history/replication/executable_delete_execution_task_test.go:123
↓ 2 callersFunctionnewTaskBTree
()
service/matching/matcher_data.go:155
↓ 2 callersFunctionnewTaskKeyGenerator
( rangeSizeBits uint, timeSource clock.TimeSource, logger log.Logger, renewRangeIDFn renewRangeIDFn, )
service/history/shard/task_key_generator.go:36
↓ 2 callersFunctionnewTaskPersistence
newTaskPersistence creates a new instance of TaskStore
common/persistence/sql/task_store.go:25
↓ 2 callersFunctionnewTaskQueueStatsContext
( ctx context.Context, t *testing.T, usePriMatcher bool, behavior testcore.MatchingBehavior, extraOpts ..
tests/task_queue_stats_test.go:62
↓ 2 callersFunctionnewTaskRequestTracker
(registry tasks.TaskCategoryRegistry)
service/history/shard/task_request_tracker.go:26
↓ 2 callersMethodnewTaskTracker
()
service/matching/matching_engine.go:3646
↓ 2 callersFunctionnewTaskValidator
( tqCtx context.Context, clusterMetadata cluster.Metadata, namespaceRegistry namespace.Registry, historyCl
service/matching/task_validation.go:52
↓ 2 callersFunctionnewTelemetryTaskStore
newTelemetryTaskStore returns telemetryTaskStore.
common/persistence/telemetry/task_store_gen.go:31
↓ 2 callersFunctionnewTemporal
newTemporal returns an instance that hosts full temporal in one process
tests/testcore/onebox.go:181
↓ 2 callersFunctionnewTestCluster
newTestCluster creates a new test cluster with the given name and cluster size All the nodes in the test cluster will register themselves in Ringpop w
common/membership/ringpop/test_cluster.go:33
↓ 2 callersFunctionnewTestContext
(t *resourcetest.Test, eventsCache events.Cache, config ContextConfigOverrides)
service/history/shard/context_testutil.go:108
↓ 2 callersFunctionnewTestDispatchNexusTaskRequest
(forwardInfo *taskqueuespb.TaskForwardInfo)
service/matching/task_queue_partition_manager_test.go:1968
↓ 2 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/tls_test.go:23
↓ 2 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/workflow_alias_search_attribute_test.go:34
↓ 2 callersMethodnewTestMutableState
( key chasm.ExecutionKey, rootComponent chasm.RootComponent, )
service/history/chasm_engine_test.go:1991
↓ 2 callersMethodnewTestProcessor
()
common/tasks/fifo_scheduler_test.go:191
↓ 2 callersFunctionnewTestSubscribableClient
()
common/dynamicconfig/collection_test.go:598
↓ 2 callersFunctionnewTransactionMgrForNewWorkflow
( shardContext historyi.ShardContext, transactionMgr TransactionManager, bypassVersionSemanticsCheck bool,
service/history/ndc/transaction_manager_new_workflow.go:36
↓ 2 callersFunctionnewTransferQueueTaskExecutorBase
( shardContext historyi.ShardContext, workflowCache wcache.Cache, logger log.Logger, metricHandler metrics
service/history/transfer_queue_task_executor_base.go:62
↓ 2 callersFunctionnewTreeHelper
( registry *Registry, timeSource clock.TimeSource, backend NodeBackend, pathEncoder NodePathEncoder, logg
chasm/tree.go:312
↓ 2 callersFunctionnewVersioningTestEnv
(t *testing.T, opts ...testcore.TestOption)
tests/versioning_test_env.go:22
↓ 2 callersFunctionnewVisibilityManager
( visStore store.VisibilityStore, maxReadQPS dynamicconfig.IntPropertyFn, maxWriteQPS dynamicconfig.IntProp
common/persistence/visibility/factory.go:129
↓ 2 callersFunctionnewVisibilityManagerFromDataStoreConfig
nolint:revive // too many arguments
common/persistence/visibility/factory.go:177
↓ 2 callersFunctionnewVisibilityQueueTaskExecutor
( shardContext historyi.ShardContext, workflowCache wcache.Cache, visibilityMgr manager.VisibilityManager,
service/history/visibility_queue_task_executor.go:48
↓ 2 callersFunctionnewWithLogger
(logger Logger, tags ...tag.Tag)
common/log/with_logger.go:23
↓ 2 callersFunctionnewWorkflowTaskCompletedHandler
( identity string, workerControlTaskQueue string, workflowTaskCompletedID int64, mutableState historyi.Mut
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:110
↓ 2 callersFunctionnextRetryDelayFrom
(failure *failurepb.Failure)
service/history/workflow/retry.go:56
↓ 2 callersMethodnexusClientForActiveCluster
(oc *operationContext, service string)
service/frontend/nexus_handler.go:763
↓ 2 callersFunctionnexusCompleteOperationSuccess
nexusCompleteOperationSuccess constructs a successful CompleteOperationOptions from the given payloads. Only the first payload is used since Nexus doe
service/history/workflow/mutable_state_impl.go:812
↓ 2 callersFunctionnexusFailureMetadataToApplicationFailureInfo
(failure nexus.Failure)
common/nexus/failure.go:290
↓ 2 callersMethodnexusTaskPoller
(ctx context.Context, frontendClient workflowservice.WorkflowServiceClient, ns string, taskQueue string, handl
tests/xdc/nexus_request_forwarding_test.go:637
↓ 2 callersMethodnoWaiters
noWaiters returns if there is no waiter that has priority higher or equal to lowestPriority.
common/locks/priority_semaphore_impl.go:221
↓ 2 callersFunctionnormalizeTag
normalizeTag applies excludeTags substitution to a single tag. Returns the (possibly modified) tag and whether it was normalized.
common/metrics/tally_metrics_handler.go:192
↓ 2 callersMethodnormalized
()
common/testing/objectleak/path.go:41
↓ 2 callersMethodnotify
(newTime time.Time)
service/history/queues/queue_scheduled.go:203
↓ 2 callersMethodnotify
()
service/history/queues/queue_immediate.go:171
↓ 2 callersMethodnotify
()
common/locks/priority_mutex_impl.go:147
↓ 2 callersMethodnotifyDispatcher
()
common/tasks/interleaved_weighted_round_robin.go:290
↓ 2 callersMethodnotifyOwnershipChanged
notifyOwnershipChanged starts or stops a background routine which watches the Nexus endpoints table version for changes. This is only expected to be c
service/matching/nexus_endpoint_client.go:355
↓ 2 callersMethodnotifyRecvChannel
(response Resp, err error)
service/history/replication/bi_direction_stream.go:176
↓ 2 callersFunctionnumGoRoutinesWithFn
(fnName string)
common/testing/runtime/goroutine.go:95
↓ 2 callersFunctionnumShardsTag
(n int)
service/history/shard/controller_impl.go:596
↓ 2 callersMethodonCanceled
onCanceled applies the canceled transition or delegates to the store if one is present.
chasm/lib/nexusoperation/operation.go:232
↓ 2 callersMethodonCompleted
onCompleted applies the succeeded transition or delegates to the store if one is present.
chasm/lib/nexusoperation/operation.go:215
↓ 2 callersMethodonFailed
onFailed applies the failed transition or delegates to the store if one is present.
chasm/lib/nexusoperation/operation.go:224
↓ 2 callersMethodonStarted
onStarted applies the started transition or delegates to the store if one is present.
chasm/lib/nexusoperation/operation.go:203
↓ 2 callersFunctionopErrorTest
(s *basicRedirectorSuite, clientOp ClientOperation[historyservice.HistoryServiceClient], verify func(err error
client/history/redirector_test.go:80
↓ 2 callersFunctionopenMigrateLog
openMigrateLog wires summary.logEnc to the --output-log file when the flag is set, returning a cleanup func that closes the file (a no-op when the fla
tools/tdbg/commands.go:1061
↓ 2 callersFunctionoperationExecutionStatus
(status nexusoperationpb.OperationStatus)
chasm/lib/nexusoperation/operation.go:679
↓ 2 callersFunctionoperationMetricsHandler
operationMetricsHandler returns a metrics handler enriched with caller-side Nexus operation tags. It mirrors chasm/lib/nexusoperation Operation.metric
components/nexusoperations/metrics.go:22
↓ 2 callersFunctionoperatorRateFn
(rateFn quotas.RateFn, operatorRPSRatio OperatorRPSRatio)
common/persistence/client/quotas.go:288
↓ 2 callersMethodoptions
(options sdkclient.Options)
common/sdk/factory.go:69
↓ 2 callersMethodoutcome
outcome retrieves the activity outcome (result or failure) if the activity has completed. Returns nil if the activity has not completed.
chasm/lib/activity/activity.go:1025
↓ 2 callersMethodoutgoingMessageID
outgoingMessageID returns the ID of the message that is used to Send the Update to the worker.
service/history/workflow/update/update.go:599
↓ 2 callersMethodoverrideValue
(key Key, value any, mergeable bool)
common/dynamicconfig/memory_client.go:75
↓ 2 callersFunctionoverwriteCurrentClusterMetadataWithDBRecord
( svc *config.Config, currentClusterDBRecord *persistence.GetClusterMetadataResponse, logger log.Logger, )
temporal/fx.go:835
↓ 2 callersFunctionpaginate
paginate creates an interactive CLI mode to control the printing of items
tools/tdbg/util.go:211
↓ 2 callersFunctionparamInterpolationAllowed
(dbKind sqlplugin.DbKind)
common/persistence/sql/sqlplugin/mysql/session/session.go:152
↓ 2 callersFunctionparseAlerts
parseAlerts scans a gotestsum/go test stdout stream and extracts high-priority alerts such as data races and panics. It returns a slice of alerts in t
tools/testrunner/log.go:122
↓ 2 callersFunctionparseDeploymentFromVersionKey
parseDeploymentFromVersionKey extracts the deployment name and build ID from a version key string used as the map key in DescribeTaskQueuePartitionRes
service/matching/task_queue_partition_manager.go:1663
↓ 2 callersFunctionparseExecutionDurationValue
(value any)
common/persistence/visibility/store/query/converter.go:760
↓ 2 callersFunctionparseExecutionStatusValue
(value any)
common/persistence/visibility/store/query/converter.go:728
↓ 2 callersFunctionparseFailureDetails
parseFailureDetails extracts the actionable part of a JUnit failure Data block.
tools/testrunner/log.go:346
↓ 2 callersFunctionparseIntLabel
parseIntLabel returns the value of the given label as an integer.
common/membership/ringpop/service_resolver.go:518
↓ 2 callersFunctionparseJWTWithAudience
(tokenString string, keyProvider TokenKeyProvider, audience string)
common/authorization/default_jwt_claim_mapper.go:153
↓ 2 callersFunctionparseLinks
(links []*nexuspb.Link, logger log.Logger)
service/frontend/nexus_handler.go:567
↓ 2 callersFunctionparsePageTokenValue
parsePageTokenValue parses the page token values to be used in the search query. The page token comes from the `sort` field from the previous response
common/persistence/visibility/store/elasticsearch/visibility_store.go:1420
↓ 2 callersFunctionparseRpcName
parseRpcName takes the rpc name of a task queue partition and returns a ParseTaskQueuePartition. Returns an error if the given name is not a valid rpc
common/tqid/task_queue_id.go:481
↓ 2 callersMethodparseSQLVal
parseSQLVal handles values for specific search attributes. Returns a string, an int64 or a float64 if there are no errors. For datetime, converts to U
common/persistence/visibility/store/sql/query_converter_legacy.go:547
← previousnext →8,601–8,700 of 43,335, ranked by callers