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
↓ 3 callers
Method
Intercept
( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, )
common/rpc/interceptor/rate_limit.go:46
↓ 3 callers
Function
Invoke
This API records the child completion event in the parent's history. It does the following. - Rejects the request if the parent was closed for any rea
service/history/api/recordchildworkflowcompleted/api.go:28
↓ 3 callers
Method
IsCancelRequested
()
service/history/interfaces/mutable_state.go:216
↓ 3 callers
Function
IsChasmSearchAttribute
IsChasmSearchAttribute checks if a field name matches the pattern for CHASM search attributes. CHASM search attributes follow the pattern: Temporal<Ty
common/searchattribute/sadefs/constants.go:351
↓ 3 callers
Function
IsCurrentVersionHistoryEmpty
IsCurrentVersionHistoryEmpty checks if the current VersionHistory is empty.
common/persistence/versionhistory/version_histories.go:186
↓ 3 callers
Method
IsDetached
IsDetached returns true if the component type is registered as detached.
chasm/registrable_component.go:74
↓ 3 callers
Method
IsExperimentAllowed
IsExperimentAllowed checks if an experiment is enabled for a given namespace in the dynamic config. Returns true if the experiment is explicitly liste
service/frontend/service.go:252
↓ 3 callers
Function
IsExperimentRequested
IsExperimentRequested checks if a specific experiment is present in the temporal-experiment header. Returns true if the experiment is explicitly liste
common/headers/headers.go:106
↓ 3 callers
Function
IsGroupByFieldAllowed
(fieldName string)
common/persistence/visibility/store/query/converter.go:716
↓ 3 callers
Function
IsHistoryEventOnCurrentBranch
( mutableState historyi.MutableState, eventID int64, eventVersion int64, )
service/history/api/retry_util.go:20
↓ 3 callers
Method
IsNotFoundError
(err error)
common/persistence/visibility/store/elasticsearch/client/client_v7.go:244
↓ 3 callers
Function
IsReplicationEnabledForCluster
IsReplicationEnabledForCluster checks if replication is enabled for a cluster, considering the feature flag. When enableSeparateReplicationFlag is fal
common/cluster/metadata.go:605
↓ 3 callers
Method
IsRoot
()
common/tqid/task_queue_id.go:394
↓ 3 callers
Function
IsTerminatedByResetter
(event *historypb.HistoryEvent)
service/history/ndc/workflow_resetter.go:1163
↓ 3 callers
Function
IsUniverisalPredicate
(p Predicate)
service/history/tasks/predicates.go:415
↓ 3 callers
Method
Key
()
common/log/tag/interface.go:6
↓ 3 callers
Method
KeyTyped
(task tasks.Task)
service/history/queues/grouper.go:41
↓ 3 callers
Method
Label
Label implements ringpop's Membership interface
common/membership/ringpop/hostinfo.go:45
↓ 3 callers
Function
LastEventVersion
LastEventVersion returns tag for LastEventVersion
common/log/tag/tags.go:828
↓ 3 callers
Function
LegacyToCreateFromMigrationStateRequest
LegacyToCreateFromMigrationStateRequest converts legacy (workflow-backed) scheduler state to a CreateFromMigrationStateRequest proto. This is the prim
chasm/lib/scheduler/migration/migration.go:38
↓ 3 callers
Method
Len
below are the functions used by heap.Interface and go internal heap implementation Len implements sort.Interface
common/collection/priority_queue.go:66
↓ 3 callers
Method
ListAllNamespaces
ListAllNamespaces returns the names of every namespace active in the current cluster, from the namespace registry's in-memory snapshot. The snapshot m
service/worker/scanner/scheduleinvariants/invariants.go:245
↓ 3 callers
Method
ListClosedWorkflowExecutions
ListClosedWorkflowExecutions is a visibility API to list the closed executions in a specific namespace.
service/frontend/workflow_handler.go:2599
↓ 3 callers
Method
ListObjectsV2
(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options))
common/archiver/s3store/s3iface.go:15
↓ 3 callers
Method
ListTaskQueueUserDataEntries
(ctx context.Context, request *ListTaskQueueUserDataEntriesRequest)
common/persistence/sql/sqlplugin/matching_task_queue_user_data.go:47
↓ 3 callers
Method
LoadMutableState
(ctx context.Context, shardContext historyi.ShardContext)
service/history/workflow/context.go:140
↓ 3 callers
Method
LockCurrentExecutions
(ctx context.Context, filter CurrentExecutionsFilter)
common/persistence/sql/sqlplugin/history_execution.go:93
↓ 3 callers
Method
LockTaskQueues
(ctx context.Context, filter TaskQueuesFilter, v MatchingTaskVersion)
common/persistence/sql/sqlplugin/matching_task_queue.go:53
↓ 3 callers
Function
MakeDirectiveForWorkflowTask
(ms historyi.MutableState)
service/history/worker_versioning_util.go:200
↓ 3 callers
Function
MakeDirectiveForWorkflowTask
MakeDirectiveForWorkflowTask returns a versioning directive based on the following parameters: - inheritedBuildId: build ID inherited from a past/prev
common/worker_versioning/worker_versioning.go:262
↓ 3 callers
Method
Marshal
Marshal an object of type Baggage to the protobuf v3 wire format
api/metrics/v1/message.go-helpers.pb.go:9
↓ 3 callers
Method
Marshal
Marshal an object of type NexusTask to the protobuf v3 wire format
api/token/v1/message.go-helpers.pb.go:157
↓ 3 callers
Method
Marshal
Marshal an object of type WorkflowMutableState to the protobuf v3 wire format
api/persistence/v1/workflow_mutable_state.go-helpers.pb.go:9
↓ 3 callers
Method
Matched
()
common/testing/testlogger/testlogger.go:82
↓ 3 callers
Function
MergeAndApply
MergeAndApply merges the requested options mentioned in the field mask with the current options in the mutable state and applies the changes to the mu
service/history/api/updateworkflowoptions/api.go:142
↓ 3 callers
Method
MergeByPredicate
( incomingScope Scope, )
service/history/queues/scope.go:86
↓ 3 callers
Method
MetricTag
MetricTag returns a label for this partition kind to be used in metrics. When partitionIDBreakdown is true, partitions that support multiple partition
common/tqid/task_queue_id.go:61
↓ 3 callers
Method
MetricsHandler
MetricsHandler returns a metrics handler with namespace tag.
chasm/context.go:38
↓ 3 callers
Function
MigrateWorkflowIDReusePolicyForRunningWorkflow
( wfIDReusePolicy *enumspb.WorkflowIdReusePolicy, wfIDConflictPolicy *enumspb.WorkflowIdConflictPolicy, )
service/history/api/workflow_id_dedup.go:251
↓ 3 callers
Function
MinDurationPtr
(d1 *durationpb.Duration, d2 *durationpb.Duration)
common/primitives/timestamp/duration.go:32
↓ 3 callers
Method
Mitigate
(Alert)
service/history/queues/mitigator.go:17
↓ 3 callers
Function
MustEncodeSingle
(value any)
common/payloads/payloads.go:48
↓ 3 callers
Method
NamespaceId
()
common/tqid/task_queue_id.go:292
↓ 3 callers
Method
NamespaceId
()
common/tqid/task_queue_id.go:347
↓ 3 callers
Function
New
New returns a new instance of scanner daemon Scanner is the background sub-system that does full scans of database tables in an attempt to cleanup res
service/worker/scanner/scanner.go:117
↓ 3 callers
Function
New
(t require.TestingT)
common/testing/updateutils/update.go:25
↓ 3 callers
Function
NewBinaryTag
(key string, value []byte)
common/log/tag/zap_tag.go:162
↓ 3 callers
Function
NewCategory
(id int, cType CategoryType, name string)
service/history/tasks/category.go:90
↓ 3 callers
Function
NewChasmTaskTypeDurationSetting
(key string, def time.Duration, description string)
common/dynamicconfig/setting_gen.go:691
↓ 3 callers
Function
NewClient
NewClient creates a new history service gRPC client
client/history/client.go:47
↓ 3 callers
Function
NewClient
NewClient return a Temporal gcloudstorage.Client based on default google service account creadentials (ScopeFullControl required). Bucket must be crea
common/archiver/gcloud/connector/client.go:49
↓ 3 callers
Function
NewClientFactory
NewClientFactory creates a new ClientFactory
tools/tdbg/factory.go:62
↓ 3 callers
Function
NewClientMetricsTrailerPropagatorInterceptor
NewClientMetricsTrailerPropagatorInterceptor returns grpc client interceptor that injects metrics received in trailer into metrics context.
common/metrics/grpc.go:48
↓ 3 callers
Method
NewClusterMetadataManager
NewClusterMetadataManager returns a new manager for cluster specific metadata
common/persistence/client/factory.go:43
↓ 3 callers
Function
NewComponentRefByArchetypeID
NewComponentRefByArchetypeID creates a new ComponentRef with a known archetype ID. This should only be used by CHASM framework internals. CHASM librar
chasm/ref.go:73
↓ 3 callers
Function
NewConcurrentRequestLimitInterceptor
( namespaceRegistry namespace.Registry, memberCounter calculator.MemberCounter, logger log.Logger, perInst
common/rpc/interceptor/concurrent_request_limit.go:45
↓ 3 callers
Function
NewConflictResolver
( shard historyi.ShardContext, wfContext historyi.WorkflowContext, mutableState historyi.MutableState, log
service/history/ndc/conflict_resolver.go:41
↓ 3 callers
Function
NewContextFromParentWithTimeoutAndVersionHeaders
NewContextFromParentWithTimeoutAndVersionHeaders creates context from parent context with timeout and version headers.
common/rpc/context.go:46
↓ 3 callers
Function
NewDatabaseHandle
( dbKind DbKind, connect func() (*sqlx.DB, error), needsRefresh func(error) bool, logger log.Logger, metr
common/persistence/sql/sqlplugin/db_handle.go:49
↓ 3 callers
Function
NewDefaultAuthorizer
NewDefaultAuthorizer creates a default authorizer
common/authorization/default_authorizer.go:18
↓ 3 callers
Function
NewEngine
( t *testing.T, registry *chasm.Registry, opts ...EngineOption, )
chasm/chasmtest/test_engine.go:83
↓ 3 callers
Function
NewErrorTag
(key string, value error)
common/log/tag/zap_tag.go:126
↓ 3 callers
Function
NewExecutableHistoryTask
( processToolBox ProcessToolBox, taskID int64, taskCreationTime time.Time, task *replicationspb.HistoryTas
service/history/replication/executable_history_task.go:56
↓ 3 callers
Function
NewExecutableNoopTask
( processToolBox ProcessToolBox, taskID int64, taskCreationTime time.Time, sourceClusterName string, sour
service/history/replication/executable_noop_task.go:24
↓ 3 callers
Function
NewExecutableTaskTracker
( logger log.Logger, metricsHandler metrics.Handler, )
service/history/replication/executable_task_tracker.go:53
↓ 3 callers
Method
NewForwardingTrace
NewForwardingTrace functions the same as NewTrace but forwarded requests do not have an associated attempt count, so all forwarded requests will be tr
common/nexus/trace.go:21
↓ 3 callers
Function
NewFrontendHTTPClientCache
( metadata Metadata, tlsProvider tlsConfigProvider, )
common/cluster/frontend_http_client.go:25
↓ 3 callers
Function
NewHTTPHandler
NewHTTPHandler constructs an [http.Handler] from given options for handling Nexus service requests.
common/nexus/nexusrpc/server.go:382
↓ 3 callers
Function
NewHistoryIteratorFromState
NewHistoryIteratorFromState returns a new HistoryIterator with specified state
common/archiver/history_iterator.go:61
↓ 3 callers
Function
NewIndexedTakeList
NewIndexedTakeList constructs a new IndexedTakeSet by applying the provided indexer to each of the provided values.
common/collection/indexedtakelist.go:20
↓ 3 callers
Function
NewJSONPBIndentEncoder
NewJSONPBIndentEncoder creates a new JSONPBEncoder with indent.
common/codec/jsonpb.go:30
↓ 3 callers
Function
NewMaskInternalErrorDetailsInterceptor
( maskErrorSetting dynamicconfig.BoolPropertyFnWithNamespaceFilter, namespaceRegistry namespace.Registry, l
common/rpc/interceptor/mask_internal_error.go:30
↓ 3 callers
Function
NewMetadata
( enableGlobalNamespace bool, failoverVersionIncrement int64, masterClusterName string, currentClusterName
common/cluster/metadata.go:135
↓ 3 callers
Method
NewMetadataManager
NewMetadataManager returns a new metadata manager
common/persistence/client/factory.go:37
↓ 3 callers
Function
NewMockArchiverProvider
NewMockArchiverProvider creates a new mock instance.
common/archiver/provider/provider_mock.go:32
↓ 3 callers
Function
NewMockEventsReapplier
NewMockEventsReapplier creates a new mock instance.
service/history/ndc/events_reapplier_mock.go:35
↓ 3 callers
Function
NewMockExecutionStore
NewMockExecutionStore creates a new mock instance.
common/persistence/mock/store_mock.go:872
↓ 3 callers
Function
NewMockExecutor
NewMockExecutor creates a new mock instance.
service/history/queues/executable_mock.go:395
↓ 3 callers
Function
NewMockParentPtr
NewMockParentPtr creates a ParentPtr[T] backed by real Node instances that returns the given parent value when Get or TryGet is called. This is intend
chasm/parent_pointer_mock.go:11
↓ 3 callers
Function
NewMockRescheduler
NewMockRescheduler creates a new mock instance.
service/history/queues/rescheduler_mock.go:32
↓ 3 callers
Function
NewMockServerTransportStream
(methodName string)
common/testing/rpctest/transport_stream.go:27
↓ 3 callers
Function
NewMockServiceResolver
NewMockServiceResolver creates a new mock instance.
common/resolver/service_resolver_mock.go:31
↓ 3 callers
Function
NewMockStateRebuilder
NewMockStateRebuilder creates a new mock instance.
service/history/ndc/state_rebuilder_mock.go:36
↓ 3 callers
Function
NewMockTaskExecutor
NewMockTaskExecutor creates a new mock instance.
service/history/replication/task_executor_mock.go:33
↓ 3 callers
Function
NewMultiRateLimiter
NewMultiRateLimiter returns a new rate limiter that have multiple stage
common/quotas/multi_rate_limiter_impl.go:27
↓ 3 callers
Function
NewMultiRequestRateLimiter
( requestRateLimiters ...RequestRateLimiter, )
common/quotas/multi_request_rate_limiter_impl.go:17
↓ 3 callers
Function
NewMutableStateMapping
( shardContext historyi.ShardContext, newBufferEventFlusher bufferEventFlusherProvider, newBranchMgr branch
service/history/ndc/mutable_state_mapper.go:46
↓ 3 callers
Function
NewNameInterceptor
( namespaceName namespace.Name, saTypeMap searchattribute.NameTypeMap, searchAttributesMapperProvider searc
common/persistence/visibility/store/elasticsearch/query_interceptors.go:41
↓ 3 callers
Function
NewNamespaceTypedSettingWithConverter
NewNamespaceTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:1000
↓ 3 callers
Function
NewNilQueryConverter
( namespaceName namespace.Name, saTypeMap searchattribute.NameTypeMap, saMapper searchattribute.Mapper, )
common/persistence/visibility/store/query/nil_converter.go:82
↓ 3 callers
Function
NewNoopRedirectionPolicy
NewNoopRedirectionPolicy is DC redirection policy which does nothing
common/rpc/interceptor/dc_redirection_policy.go:99
↓ 3 callers
Function
NewOwnershipAwareNamespaceQuotaCalculator
( scaler OwnershipBasedQuotaScaler, memberCounter calculator.MemberCounter, perInstanceQuota func(namespace
service/history/shard/ownership_based_quota_calculator.go:44
↓ 3 callers
Function
NewOwnershipAwareQuotaCalculator
( scaler OwnershipBasedQuotaScaler, memberCounter calculator.MemberCounter, perInstanceQuota func() int, g
service/history/shard/ownership_based_quota_calculator.go:21
↓ 3 callers
Function
NewOwnershipBasedQuotaScaler
NewOwnershipBasedQuotaScaler returns an OwnershipBasedQuotaScaler. The updateAppliedCallback field is a channel which is sent to in a blocking fashion
service/history/shard/ownership_based_quota_scaler.go:60
↓ 3 callers
Function
NewPersistenceRateLimitingParams
( maxQps dynamicconfig.IntPropertyFn, globalMaxQps dynamicconfig.IntPropertyFn, namespaceMaxQps dynamicconf
service/fx.go:82
↓ 3 callers
Function
NewPriorityMutex
()
common/locks/priority_mutex_impl.go:31
↓ 3 callers
Function
NewPriorityQueueWithItems
NewPriorityQueueWithItems creats a new priority queue with the provided list of items. PriorityQueue will take ownership of the passed in items, so ca
common/collection/priority_queue.go:28
↓ 3 callers
Function
NewPrioritySchedulerRateLimiter
( namespaceRateFn quotas.NamespaceRateFn, hostRateFn quotas.RateFn, persistenceNamespaceRateFn quotas.Names
service/history/queues/scheduler_quotas.go:10
↓ 3 callers
Function
NewProcessor
NewProcessor create new processorImpl
common/persistence/visibility/store/elasticsearch/processor.go:81
↓ 3 callers
Function
NewQueryConverterLegacy
( pluginName string, namespaceName namespace.Name, namespaceID namespace.ID, saTypeMap searchattribute.Nam
common/persistence/visibility/store/sql/query_converter_legacy_factory.go:12
← previous
next →
5,801–5,900 of 43,335, ranked by callers