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
↓ 13 callers
Method
CancelNexusOperation
CancelNexusOperation cancels a Nexus operation on the __temporal_system endpoint.
api/historyservice/v1/service_grpc.pb.go:391
↓ 13 callers
Method
ClearTransactionState
ClearTransactionState resets all transition outputs in the tree. This should be called at the end of every transaction where the transitions are perfo
service/history/hsm/tree.go:276
↓ 13 callers
Method
Close
()
common/testing/nettest/pipe_benchmark_test.go:19
↓ 13 callers
Method
ConvertIsExpr
(operator string, col *SAColumn)
common/persistence/visibility/store/query/converter.go:52
↓ 13 callers
Method
ConvertWhereOrderBy
ConvertWhereOrderBy transforms WHERE SQL statement to Elasticsearch query. It also supports ORDER BY clause.
common/persistence/visibility/store/query/converter_legacy.go:183
↓ 13 callers
Method
DeleteExecution
( context.Context, ComponentRef, DeleteExecutionRequest, )
chasm/engine.go:51
↓ 13 callers
Method
DescribeHistoryHost
DescribeHistoryHost returns information about the internal states of a history host
api/adminservice/v1/service_grpc.pb.go:84
↓ 13 callers
Method
Fatal
(args ...any)
common/testing/testlogger/testlogger.go:56
↓ 13 callers
Function
FromClusterIDTag
FromClusterIDTag returns a new from cluster tag.
common/metrics/tags.go:162
↓ 13 callers
Method
GenerateUpsertVisibilityTask
()
service/history/workflow/task_generator.go:76
↓ 13 callers
Method
GetActiveClusterName
()
api/persistence/v1/namespaces.pb.go:355
↓ 13 callers
Method
GetBranchId
()
api/persistence/v1/history_tree.pb.go:148
↓ 13 callers
Method
GetClusterId
()
api/clock/v1/message.pb.go:78
↓ 13 callers
Method
GetClusterMembers
(ctx context.Context, filter *ClusterMembershipFilter)
common/persistence/sql/sqlplugin/cluster_metadata.go:61
↓ 13 callers
Method
GetCurrentExecution
(ctx context.Context, request *GetCurrentExecutionRequest)
common/persistence/data_interfaces.go:1126
↓ 13 callers
Method
GetFrontendRequest
()
api/historyservice/v1/request_response.pb.go:9565
↓ 13 callers
Method
GetHistoryShardCount
()
api/persistence/v1/cluster_metadata.pb.go:86
↓ 13 callers
Method
GetLastWriteVersion
()
service/history/interfaces/mutable_state.go:179
↓ 13 callers
Method
GetName
()
common/persistence/visibility/store/visibility_store.go:21
↓ 13 callers
Method
GetOperationToken
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:419
↓ 13 callers
Method
GetQueryRegistry
()
service/history/interfaces/mutable_state.go:203
↓ 13 callers
Function
GetRoutingKeyFromContext
GetRoutingKeyFromContext retrieves the routing Key from the context. Returns a zero-value RoutingKey if not found.
common/rpc/interceptor/routing_key_interceptor.go:131
↓ 13 callers
Method
GetRoutingUpdateTime
()
api/deployment/v1/message.pb.go:386
↓ 13 callers
Method
GetWorkflowCloseTime
(ctx context.Context)
service/history/interfaces/mutable_state.go:168
↓ 13 callers
Method
GetWorkflowExecutionHistoryReverse
(ctx context.Context, request *historyservice.GetWorkflowExecutionHistoryReverseRequest)
service/history/interfaces/engine.go:89
↓ 13 callers
Method
HasStoreName
(stName string)
common/persistence/visibility/manager/visibility_manager.go:25
↓ 13 callers
Method
Init
(ctx context.Context, blob *commonpb.DataBlob)
common/persistence/persistence_interface.go:172
↓ 13 callers
Method
InsertIntoNamespace
(ctx context.Context, rows *NamespaceRow)
common/persistence/sql/sqlplugin/namespace.go:40
↓ 13 callers
Method
InsertIntoVisibility
InsertIntoVisibility inserts a row into visibility table. If a row already exist, no changes will be made by this API
common/persistence/sql/sqlplugin/visibility.go:94
↓ 13 callers
Function
IsVersionHistoryItemsInSameBranch
IsVersionHistoryItemsInSameBranch checks if two version history items are in the same branch
common/persistence/versionhistory/version_history.go:164
↓ 13 callers
Method
Less
implements heap.Interface, do not call directly
service/matching/matcher_data.go:75
↓ 13 callers
Method
ListClusterMetadata
(ctx context.Context, request *ListClusterMetadataRequest)
common/persistence/data_interfaces.go:1238
↓ 13 callers
Method
ListConcreteExecutions
Scan operations
common/persistence/data_interfaces.go:1132
↓ 13 callers
Function
ListExecutions
ListExecutions lists the executions of a CHASM archetype given an initial query. The query string can specify any combination of CHASM, custom, and pr
chasm/visibility_manager.go:83
↓ 13 callers
Function
MethodName
MethodName returns just the method name from a fully qualified name.
common/api/metadata.go:235
↓ 13 callers
Method
Namespace
()
service/matching/task_queue_partition_manager_interface.go:20
↓ 13 callers
Function
NewCMSketchCounter
(params CMSketchParams, src rand.Source, topKProvider topKFunc)
service/matching/counter/cmsketch.go:61
↓ 13 callers
Function
NewContext
( config *configs.Config, workflowKey definition.WorkflowKey, archetypeID chasm.ArchetypeID, logger log.Lo
service/history/workflow/context.go:50
↓ 13 callers
Function
NewContextMetadataInterceptor
NewContextMetadataInterceptor creates a new ContextMetadataInterceptor
common/rpc/interceptor/context_metadata_interceptor.go:33
↓ 13 callers
Function
NewDestinationPredicate
( destinations []string, )
service/history/tasks/predicates.go:72
↓ 13 callers
Function
NewDisabledArchvialConfig
NewDisabledArchvialConfig returns an ArchivalConfig where archival is disabled for both the cluster and the namespace
common/archiver/archival_metadata.go:129
↓ 13 callers
Function
NewGlobalTypedSettingWithConverter
NewGlobalTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:864
↓ 13 callers
Function
NewMockTaskGenerator
NewMockTaskGenerator creates a new mock instance.
service/history/workflow/task_generator_mock.go:38
↓ 13 callers
Function
NewNamespaceValidatorInterceptor
( namespaceRegistry namespace.Registry, enableTokenNamespaceEnforcement dynamicconfig.BoolPropertyFn, maxNa
common/rpc/interceptor/namespace_validator.go:92
↓ 13 callers
Method
NewOperationHandle
NewOperationHandle gets a handle to an asynchronous operation by name and token. Does not incur a trip to the server. Fails if provided an empty opera
common/nexus/nexusrpc/client.go:383
↓ 13 callers
Function
NewSQLAdminDB
NewSQLAdminDB returns a AdminDB.
common/persistence/sql/store.go:43
↓ 13 callers
Method
NewTaskStore
NewTaskStore returns a new task store
common/persistence/persistence_interface.go:36
↓ 13 callers
Function
NewThrottledLogger
NewThrottledLogger returns an implementation of logger that throttles the log messages being emitted. The underlying implementation uses a token bucke
common/log/throttle_logger.go:23
↓ 13 callers
Function
NewTimeTag
(key string, value time.Time)
common/log/tag/zap_tag.go:144
↓ 13 callers
Method
NewVectorClock
()
service/history/interfaces/shard_context.go:62
↓ 13 callers
Function
NewWorkflowConsistencyChecker
( shardContext historyi.ShardContext, workflowCache wcache.Cache, )
service/history/api/consistency_checker.go:83
↓ 13 callers
Function
NexusFailureToTemporalFailure
NexusFailureToTemporalFailure converts a Nexus Failure to an API proto Failure. If the failure metadata "type" field is set to the fullname of the tem
common/nexus/failure.go:192
↓ 13 callers
Function
NexusMethodTag
(value string)
common/metrics/tags.go:398
↓ 13 callers
Method
Panic
(msg string, tags ...tag.Tag)
common/log/interface.go:24
↓ 13 callers
Method
ParentPartition
ParentPartition returns a NormalPartition for the parent partition, using the given branching degree.
common/tqid/task_queue_id.go:430
↓ 13 callers
Method
PollWorkflowExecutionUpdate
(ctx context.Context, request *historyservice.PollWorkflowExecutionUpdateRequest)
service/history/interfaces/engine.go:87
↓ 13 callers
Method
Rate
Rate returns the rate per second for this rate limiter
common/quotas/rate_limiter.go:40
↓ 13 callers
Method
RecordWorkflowExecutionStarted
Write APIs.
common/persistence/visibility/store/visibility_store.go:30
↓ 13 callers
Method
RefreshWorkflowTasks
(ctx context.Context, namespaceUUID namespace.ID, execution *commonpb.WorkflowExecution, archetypeID chasm.Arc
service/history/interfaces/engine.go:83
↓ 13 callers
Method
RegisterTaskSerializer
RegisterTaskSerializer registers a [TaskSerializer] for a given type. Returns an [ErrDuplicateRegistration] if a serializer for this task type has alr
service/history/hsm/registry.go:79
↓ 13 callers
Function
RunLegacySequential
RunLegacySequential behaves like [Run] but does not mark any test as parallel. Deprecated: use [Run] for new tests. This only exists for backwards-co
common/testing/parallelsuite/suite.go:147
↓ 13 callers
Method
SaveSearchAttributes
(ctx context.Context, indexName string, newCustomSearchAttributes map[string]enumspb.IndexedValueType)
common/searchattribute/search_attirbute.go:25
↓ 13 callers
Method
SelectFromNamespace
SelectFromNamespace returns namespaces that match filter criteria. Either ID or Name can be specified to filter results. If both are not specified, al
common/persistence/sql/sqlplugin/namespace.go:45
↓ 13 callers
Method
SerializeTask
(task tasks.Task)
common/persistence/serialization/serializer.go:67
↓ 13 callers
Function
Service
general Service returns tag for Service
common/log/tag/tags.go:421
↓ 13 callers
Method
SetCurrentTime
SetCurrentTime set the current time, and additionally fire the fire chan if new "current" time is after the next wakeup time, return true if "current"
common/timer/remote_gate.go:14
↓ 13 callers
Method
SetHistoryBuilder
(hBuilder *historybuilder.HistoryBuilder)
service/history/interfaces/mutable_state.go:286
↓ 13 callers
Method
SetHistoryTree
(executionTimeout *durationpb.Duration, runTimeout *durationpb.Duration, treeID string)
service/history/interfaces/mutable_state.go:287
↓ 13 callers
Method
StartAdminBatchOperation
StartAdminBatchOperation starts an admin batch operation. Supports internal operations like RefreshWorkflowTasks.
api/adminservice/v1/service_grpc.pb.go:137
↓ 13 callers
Function
StartOperation
StartOperation is the type safe version of [HTTPClient.StartOperation]. It accepts input of type I and returns a [ClientStartOperationResponse] of typ
common/nexus/nexusrpc/client.go:478
↓ 13 callers
Function
ToClusterIDTag
ToClusterIDTag returns a new to cluster tag.
common/metrics/tags.go:167
↓ 13 callers
Method
Tokenize
(completion *tokenspb.NexusOperationCompletion)
common/nexus/callback_token.go:39
↓ 13 callers
Method
Type
Type gives the type of db (e.g. "cassandra", "sql")
tools/common/schema/types.go:51
↓ 13 callers
Method
UnloadFromPartitionManager
(unloadCause)
service/matching/physical_task_queue_manager_interface.go:66
↓ 13 callers
Method
UpdateWorkflowExecutionAsPassive
( ctx context.Context, shardContext ShardContext, )
service/history/interfaces/workflow_context.go:84
↓ 13 callers
Function
VerifyShardIDMapping
( thisShardCount int32, thatShardCount int32, thisShardID int32, thatShardID int32, )
common/util.go:460
↓ 13 callers
Method
Walk
Walk applies the given function to all nodes rooted at the current node. Returns after successfully applying the function to all nodes or first error.
service/history/hsm/tree.go:287
↓ 13 callers
Method
WithNamespaceRedirect
(ctx context.Context, namespaceName namespace.Name, apiName string, req any, call func(string) error)
common/rpc/interceptor/dc_redirection_policy.go:39
↓ 13 callers
Function
WorkflowTaskQueueType
WorkflowTaskQueueType returns tag for WorkflowTaskQueueType
common/log/tag/tags.go:290
↓ 13 callers
Function
addCompleteWorkflowEvent
(ms historyi.MutableState, workflowTaskCompletedEventID int64, result *commonpb.Payloads)
service/history/history_engine_test.go:6948
↓ 13 callers
Function
admit
(t *testing.T, store mockEventStore, upd *update.Update)
service/history/workflow/update/update_test.go:1041
↓ 13 callers
Method
assertOpenExecutionEquals
( req *manager.RecordWorkflowExecutionStartedRequest, resp *workflowpb.WorkflowExecutionInfo)
common/persistence/tests/visibility_persistence_suite.go:1150
↓ 13 callers
Method
buildWorkflowMutableState
()
service/history/ndc/hsm_state_replicator_test.go:765
↓ 13 callers
Function
canonicalizeSpec
revive:disable-next-line:cognitive-complexity
service/worker/scheduler/spec.go:120
↓ 13 callers
Method
channels
()
common/tasks/interleaved_weighted_round_robin.go:286
↓ 13 callers
Method
createClosedWorkflowRecord
( startReq *manager.RecordWorkflowExecutionStartedRequest, closeTime time.Time, status enumspb.WorkflowExec
common/persistence/tests/visibility_persistence_suite.go:1083
↓ 13 callers
Method
createMutableStateWithVersioningBehavior
Creates a mutable state with first WFT completed on the given deployment and behavior set to the given behavior, testing expected output after Add, St
service/history/workflow/mutable_state_impl_test.go:978
↓ 13 callers
Function
createRetrier
(policy RetryPolicy)
common/backoff/retrypolicy_test.go:336
↓ 13 callers
Method
createSchedulerWithMock
(enabled bool)
common/tasks/execution_aware_scheduler_test.go:394
↓ 13 callers
Method
deserialize
deserialize initializes the node's value from its serializedNode. If a value is of the component type, it initializes every chasm.Field of it and sets
chasm/tree.go:1228
↓ 13 callers
Method
errorByState
()
service/history/shard/context_impl.go:1121
↓ 13 callers
Function
errorType
errorType returns tag for ErrorType given a string
common/log/tag/tags.go:403
↓ 13 callers
Method
expectWatchAndList
expectWatchAndList sets up common mock expectations for WatchNamespaces and ListNamespaces.
common/namespace/nsregistry/registry_watch_test.go:210
↓ 13 callers
Function
file_temporal_server_api_schedule_v1_message_proto_rawDescGZIP
()
api/schedule/v1/message.pb.go:1151
↓ 13 callers
Function
findTerminalBuildId
findTerminalBuildId follows redirect rules from the given build ID and returns the target of the last redirect rule. Returns empty if a cycle is found
service/matching/version_rule_helpers.go:396
↓ 13 callers
Method
fromTaskToken
(taskTokenBytes []byte)
common/rpc/interceptor/logtags/workflow_tags.go:53
↓ 13 callers
Method
getMutableState
getMutableState loads the persistence-layer mutable state for a workflow run. Mirrors the helper in timeskipping_test.go to keep this file self-contai
tests/timeskipping_propagation_test.go:785
↓ 13 callers
Method
handleCommand
revive:disable:cyclomatic grandfathered
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:275
↓ 13 callers
Method
isQuery
isQuery returns true if the underlying task is a query task
service/matching/task.go:236
↓ 13 callers
Function
isSupportedKeywordListOperator
(operator string)
common/persistence/visibility/store/sql/query_converter_legacy.go:667
← previous
next →
1,901–2,000 of 43,335, ranked by callers