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
NewArchivalQueueFactory
NewArchivalQueueFactory creates a new QueueFactory to construct archival queues.
service/history/archival_queue_factory.go:58
↓ 2 callers
Function
NewArchivalQueueTaskExecutor
NewArchivalQueueTaskExecutor creates a new queue task executor for the archival queue. If you use this executor, you must monitor for any metrics.Arch
service/history/archival_queue_task_executor.go:31
↓ 2 callers
Function
NewAudienceMapper
NewAudienceMapper returns a JWTAudienceMapper that always returns the given audience string.
common/authorization/audience_mapper.go:21
↓ 2 callers
Function
NewBackfillerTaskHandler
(opts BackfillerTaskHandlerOptions)
chasm/lib/scheduler/backfiller_tasks.go:38
↓ 2 callers
Function
NewBackgroundLowCallerInfo
NewBackgroundLowCallerInfo creates a new CallerInfo with BackgroundLow callerType and empty callOrigin. This is equivalent to NewCallerInfo(callerName
common/headers/caller_info.go:91
↓ 2 callers
Function
NewBiDirectionStream
( clientProvider BiDirectionStreamClientProvider[Req, Resp], metricsHandler metrics.Handler, logger log.Log
service/history/replication/bi_direction_stream.go:67
↓ 2 callers
Function
NewCallback
( requestID string, registrationTime *timestamppb.Timestamp, state *callbackspb.CallbackState, cb *callbac
chasm/lib/callback/component.go:35
↓ 2 callers
Function
NewCallerInfoInterceptor
( namespaceRegistry namespace.Registry, )
common/rpc/interceptor/caller_info.go:20
↓ 2 callers
Function
NewChasmTaskTypeTypedSettingWithConstrainedDefault
NewChasmTaskTypeTypedSettingWithConstrainedDefault creates a setting with a compound default value.
common/dynamicconfig/setting_gen.go:1872
↓ 2 callers
Function
NewChasmTaskTypeTypedSettingWithConverter
NewChasmTaskTypeTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:1860
↓ 2 callers
Function
NewCircuitBreakerPool
( constructor func(key K) circuitbreaker.TwoStepCircuitBreaker, )
service/history/circuitbreakerpool/circuit_breaker_factory.go:16
↓ 2 callers
Function
NewClientFactory
( hostPort string, tlsConfig *tls.Config, metricsHandler metrics.Handler, logger log.Logger, stickyCacheS
common/sdk/factory.go:52
↓ 2 callers
Function
NewClusterMetadataLoader
NewClusterMetadataLoader creates a new [ClusterMetadataLoader] that loads cluster metadata from the database.
temporal/cluster_metadata_loader.go:22
↓ 2 callers
Function
NewClusterMetadataPersistenceRetryableClient
NewClusterMetadataPersistenceRetryableClient creates a ClusterMetadataManager client to manage cluster metadata
common/persistence/persistence_retryable_clients.go:116
↓ 2 callers
Function
NewComparisonExprConverter
( fnInterceptor FieldNameInterceptor, fvInterceptor FieldValuesInterceptor, allowedOperators map[string]str
common/persistence/visibility/store/query/converter_legacy.go:146
↓ 2 callers
Function
NewConditionalRetryPolicy
NewConditionalRetryPolicy returns a policy that delegates to whenTrue when predicate(err) is true, and whenFalse otherwise.
common/backoff/retrypolicy.go:205
↓ 2 callers
Function
NewConfig
NewConfig builds the new Config for worker service
service/worker/service.go:182
↓ 2 callers
Function
NewConverterLegacy
(fnInterceptor FieldNameInterceptor, whereConverter ExprConverter)
common/persistence/visibility/store/query/converter_legacy.go:71
↓ 2 callers
Function
NewDLQMessageHandler
NewDLQMessageHandler returns a DLQMessageHandler instance
common/namespace/nsreplication/dlq_message_handler.go:31
↓ 2 callers
Function
NewDLQMetricsEmitter
( metricsHandler metrics.Handler, logger log.Logger, manager HistoryTaskQueueManager, historyServiceResolv
common/persistence/dlq_metrics_emitter.go:38
↓ 2 callers
Function
NewDLQWriterAdapter
NewDLQWriterAdapter creates a new DLQWriter from a QueueV2 [queues.DLQWriter].
service/history/replication/dlq_writer.go:68
↓ 2 callers
Function
NewDefaultHandoverTrackerFactory
NewDefaultHandoverTrackerFactory returns a factory that creates the default OSS HandoverTracker.
service/history/shard/handover_tracker.go:65
↓ 2 callers
Function
NewDefaultIncomingRateLimiter
NewDefaultIncomingRateLimiter returns a default rate limiter for incoming traffic, using fixed burst ratio of 2 and fixed 1 minute refresh interval
common/quotas/dynamic_rate_limiter_impl.go:45
↓ 2 callers
Function
NewDestinationTypedSettingWithConstrainedDefault
NewDestinationTypedSettingWithConstrainedDefault creates a setting with a compound default value.
common/dynamicconfig/setting_gen.go:1716
↓ 2 callers
Function
NewDestinationTypedSettingWithConverter
NewDestinationTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:1704
↓ 2 callers
Function
NewEagerNamespaceRefresher
( metadataManager persistence.MetadataManager, namespaceRegistry namespace.Registry, logger log.Logger, cl
service/history/replication/eager_namespace_refresher.go:38
↓ 2 callers
Function
NewEmptyTLSConfig
Helper methods for creating tls.Config structs to ensure MinVersion is 1.3
common/auth/tls_config_helper.go:20
↓ 2 callers
Function
NewErrorDependentRetryPolicy
(delayForError func(err error) time.Duration)
common/backoff/retrypolicy.go:241
↓ 2 callers
Function
NewEventImporter
( historyFetcher HistoryPaginatedFetcher, engineProvider historyEngineProvider, serializer serialization.Se
service/history/replication/eventhandler/event_importer.go:46
↓ 2 callers
Function
NewEventsBlobCache
( maxBytes int, ttl time.Duration, logger log.Logger, )
common/persistence/xdc_cache.go:88
↓ 2 callers
Function
NewEventsReapplier
( stateMachineRegistry *hsm.Registry, metricsHandler metrics.Handler, logger log.Logger, )
service/history/ndc/events_reapplier.go:36
↓ 2 callers
Method
NewExecutable
(task tasks.Task, readerID int64)
service/history/queues/executable_factory.go:19
↓ 2 callers
Function
NewExecutableBackfillHistoryEventsTask
( processToolBox ProcessToolBox, taskID int64, taskCreationTime time.Time, sourceClusterName string, sour
service/history/replication/executable_backfill_history_events_task.go:41
↓ 2 callers
Function
NewExecutableSyncHSMTask
var _ BatchableTask = (*ExecutableSyncHSMTask)(nil)
service/history/replication/executable_sync_hsm_task.go:44
↓ 2 callers
Function
NewExecutableUnknownTask
( processToolBox ProcessToolBox, taskID int64, taskCreationTime time.Time, task any, )
service/history/replication/executable_unknown_task.go:29
↓ 2 callers
Function
NewExecutableWorkflowStateTask
TODO should workflow task be batched?
service/history/replication/executable_workflow_state_task.go:38
↓ 2 callers
Function
NewExecutionPersistenceRetryableClient
NewExecutionPersistenceRetryableClient creates a client to manage executions
common/persistence/persistence_retryable_clients.go:77
↓ 2 callers
Function
NewExecutionPriorityRateLimiter
( rateBurstFn quotas.RateBurst, operatorRPSRatio dynamicconfig.FloatPropertyFn, )
service/frontend/configs/quotas.go:296
↓ 2 callers
Function
NewExecutionsStillExist
(count int)
service/worker/deletenamespace/errors/errors.go:28
↓ 2 callers
Function
NewFactory
NewFactory returns an instance of a factory object which can be used to create data stores that are backed by cassandra
common/persistence/cassandra/factory.go:31
↓ 2 callers
Method
NewFactory
( cfg config.CustomDatastoreConfig, r resolver.ServiceResolver, clusterName string, logger log.Log
common/persistence/client/abstract_data_store_factory.go:17
↓ 2 callers
Function
NewFallibleOnceMap
NewFallibleOnceMap creates a [FallibleOnceMap] from a given construct function. construct should be kept light as it is called while holding a lock on
common/collection/oncemap.go:49
↓ 2 callers
Function
NewGlobalMapSetting
(key string, def map[string]any, description string)
common/dynamicconfig/setting_gen.go:708
↓ 2 callers
Function
NewGlobalNamespaceRateLimiter
NewGlobalNamespaceRateLimiter creates a namespace-aware rate limiter that uses only a global quota with no per-instance fallback.
service/frontend/configs/quotas.go:358
↓ 2 callers
Function
NewGlobalTypedSettingWithConstrainedDefault
NewGlobalTypedSettingWithConstrainedDefault creates a setting with a compound default value.
common/dynamicconfig/setting_gen.go:876
↓ 2 callers
Function
NewHSMStateReplicator
( shardContext historyi.ShardContext, workflowCache wcache.Cache, logger log.Logger, )
service/history/ndc/hsm_state_replicator.go:44
↓ 2 callers
Function
NewHandlerTestSuite
NewHandlerTestSuite returns a test suite
tools/sql/clitest/handler_tests.go:26
↓ 2 callers
Function
NewHealthRequestRateLimiterImpl
( healthSignals persistence.HealthSignalAggregator, rateFn quotas.RateFn, params DynamicRateLimitingParams,
common/persistence/client/health_request_rate_limiter.go:45
↓ 2 callers
Function
NewHealthSignalAggregator
( aggregationEnabled bool, windowSize time.Duration, maxBufferSize int, metricsHandler metrics.Handler, l
common/persistence/health_signal_aggregator.go:46
↓ 2 callers
Function
NewHealthSignalAggregator
NewHealthSignalAggregator creates a new instance of HealthSignalAggregatorImpl
common/rpc/interceptor/health_check.go:165
↓ 2 callers
Function
NewHistoryIterator
NewHistoryIterator returns a new HistoryIterator
common/archiver/history_iterator.go:52
↓ 2 callers
Method
NewHistoryTaskQueueManager
NewHistoryTaskQueueManager returns a new manager for history task queues
common/persistence/client/factory.go:45
↓ 2 callers
Function
NewHostInfoProvider
(hostInfo HostInfo)
common/membership/hostinfo_provider.go:9
↓ 2 callers
Method
NewImmediateBackfiller
NewImmediateBackfiller returns an intialized Backfiller component, which should be parented under a Scheduler root node.
chasm/lib/scheduler/scheduler.go:359
↓ 2 callers
Function
NewImmutableForUpdateNextEventID
(lastVersionHistoryItem *historyspb.VersionHistoryItem)
service/history/historybuilder/history_builder.go:129
↓ 2 callers
Function
NewInternalErrorWithDPanic
NewInternalErrorWithDPanic is a wrapper for service error that will panic if it's in dev environment
common/serviceerror/service_error_with_dpanic.go:9
↓ 2 callers
Function
NewInvokerExecuteTaskHandler
(opts InvokerTaskHandlerOptions)
chasm/lib/scheduler/invoker_tasks.go:103
↓ 2 callers
Function
NewInvokerProcessBufferTaskHandler
(opts InvokerTaskHandlerOptions)
chasm/lib/scheduler/invoker_tasks.go:113
↓ 2 callers
Function
NewJSONSizeEstimator
NewJSONSizeEstimator returns a new SizeEstimator which uses json encoding to estimate size
common/archiver/history_iterator.go:243
↓ 2 callers
Function
NewLocalStoreTlsProvider
(tlsConfig *config.RootTLS, metricsHandler metrics.Handler, logger log.Logger, certProviderFactory CertProvide
common/rpc/encryption/local_store_tls_provider.go:55
↓ 2 callers
Function
NewMatchingTaskStore
( session gocql.Session, logger log.Logger, enableFairness bool, )
common/persistence/cassandra/matching_task_store.go:13
↓ 2 callers
Function
NewMetadataPersistenceRetryableClient
NewMetadataPersistenceRetryableClient creates a MetadataManager client to manage metadata
common/persistence/persistence_retryable_clients.go:103
↓ 2 callers
Function
NewMetricsHandler
(provider metrics.Handler)
common/sdk/metrics_handler.go:33
↓ 2 callers
Function
NewMockBulkProcessor
NewMockBulkProcessor creates a new mock instance.
common/persistence/visibility/store/elasticsearch/client/bulk_processor_mock.go:31
↓ 2 callers
Function
NewMockClient
NewMockClient creates a new mock instance.
common/persistence/visibility/store/elasticsearch/client/client_mock.go:34
↓ 2 callers
Function
NewMockErrorHandler
NewMockErrorHandler creates a new mock instance.
common/rpc/interceptor/request_error_handler_mock.go:34
↓ 2 callers
Function
NewMockEventImporter
NewMockEventImporter creates a new mock instance.
service/history/replication/eventhandler/event_importer_mock.go:33
↓ 2 callers
Function
NewMockExecutableTaskTracker
NewMockExecutableTaskTracker creates a new mock instance.
service/history/replication/executable_task_tracker_mock.go:273
↓ 2 callers
Function
NewMockHistoryArchiver
NewMockHistoryArchiver creates a new mock instance.
common/archiver/interface_mock.go:34
↓ 2 callers
Function
NewMockHistoryTaskQueueManager
NewMockHistoryTaskQueueManager creates a new mock instance.
common/persistence/data_interfaces_mock.go:1351
↓ 2 callers
Function
NewMockJWTAudienceMapper
NewMockJWTAudienceMapper creates a new mock instance.
common/authorization/audience_mapper_mock.go:33
↓ 2 callers
Function
NewMockMapper
NewMockMapper creates a new mock instance.
common/searchattribute/mapper_mock.go:32
↓ 2 callers
Function
NewMockObjectIteratorWrapper
NewMockObjectIteratorWrapper creates a new mock instance.
common/archiver/gcloud/connector/client_delegate_mock.go:326
↓ 2 callers
Function
NewMockPersistence
NewMockPersistence creates a new mock instance.
common/namespace/nsregistry/registry_mock.go:72
↓ 2 callers
Function
NewMockQueue
NewMockQueue creates a new mock instance.
common/persistence/mock/store_mock.go:1296
↓ 2 callers
Function
NewMockQueueV2
NewMockQueueV2 creates a new mock instance.
common/persistence/mock/store_mock.go:1614
↓ 2 callers
Function
NewMockS3API
NewMockS3API creates a new mock instance.
common/archiver/s3store/mocks/s3api.go:33
↓ 2 callers
Function
NewMockShardManager
NewMockShardManager creates a new mock instance.
common/persistence/data_interfaces_mock.go:69
↓ 2 callers
Function
NewMockStreamReceiver
NewMockStreamReceiver creates a new mock instance.
service/history/replication/stream_receiver_mock.go:31
↓ 2 callers
Function
NewMockSyncStateRetriever
NewMockSyncStateRetriever creates a new mock instance.
service/history/replication/sync_state_retriever_mock.go:37
↓ 2 callers
Function
NewMockTaskExecutor
NewMockTaskExecutor creates a new mock instance.
common/namespace/nsreplication/replication_task_handler_mock.go:33
↓ 2 callers
Function
NewMockVisibilityArchiver
NewMockVisibilityArchiver creates a new mock instance.
common/archiver/interface_mock.go:106
↓ 2 callers
Function
NewMockWorkflowResetter
NewMockWorkflowResetter creates a new mock instance.
service/history/ndc/workflow_resetter_mock.go:36
↓ 2 callers
Function
NewMockWriterWrapper
NewMockWriterWrapper creates a new mock instance.
common/archiver/gcloud/connector/client_delegate_mock.go:206
↓ 2 callers
Function
NewMocktaskQueuePartitionManager
NewMocktaskQueuePartitionManager creates a new mock instance.
service/matching/task_queue_partition_manager_mock.go:37
↓ 2 callers
Function
NewMocktaskValidator
NewMocktaskValidator creates a new mock instance.
service/matching/task_validation_mock.go:33
↓ 2 callers
Function
NewNamespaceIDBoolSetting
(key string, def bool, description string)
common/dynamicconfig/setting_gen.go:62
↓ 2 callers
Function
NewNamespaceIDTypedSettingWithConstrainedDefault
NewNamespaceIDTypedSettingWithConstrainedDefault creates a setting with a compound default value.
common/dynamicconfig/setting_gen.go:1148
↓ 2 callers
Function
NewNamespaceIDTypedSettingWithConverter
NewNamespaceIDTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:1136
↓ 2 callers
Function
NewNamespaceReplicationInducingAPIPriorityRateLimiter
( rateBurstFn quotas.RateBurst, operatorRPSRatio dynamicconfig.FloatPropertyFn, )
service/frontend/configs/quotas.go:336
↓ 2 callers
Method
NewNamespaceReplicationQueue
NewNamespaceReplicationQueue returns a new queue for namespace replication
common/persistence/client/factory.go:41
↓ 2 callers
Function
NewNamespaceStringSetting
(key string, def string, description string)
common/dynamicconfig/setting_gen.go:453
↓ 2 callers
Function
NewNamespaceTypedSettingWithConstrainedDefault
NewNamespaceTypedSettingWithConstrainedDefault creates a setting with a compound default value.
common/dynamicconfig/setting_gen.go:1012
↓ 2 callers
Method
NewNexusEndpointManager
NewNexusEndpointManager returns a new manager for nexus endpoints
common/persistence/client/factory.go:47
↓ 2 callers
Function
NewNexusEndpointPersistenceRetryableClient
NewNexusEndpointPersistenceRetryableClient creates a NexusEndpointManager client to manage nexus endpoints
common/persistence/persistence_retryable_clients.go:142
↓ 2 callers
Function
NewNexusEndpointStore
( session gocql.Session, logger log.Logger, )
common/persistence/cassandra/nexus_endpoint_store.go:45
↓ 2 callers
Function
NewNoopAuthorizer
NewNoopAuthorizer creates a no-op authorizer
common/authorization/noop_authorizer.go:8
↓ 2 callers
Function
NewNoopClaimMapper
()
common/authorization/claim_mapper.go:48
↓ 2 callers
Function
NewNoopClient
NewNoopClient returns a Client that has no keys (a Collection using it will always return default values).
common/dynamicconfig/static_client.go:24
↓ 2 callers
Function
NewNotifyingClientImpl
()
common/dynamicconfig/client_subscriptions.go:21
← previous
next →
7,301–7,400 of 43,335, ranked by callers