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
Method
HandleWorkflowTask
HandleWorkflowTask invokes the provided handler with the provided task, and completes/fails the task accordingly. Is it a blocking call. Any unspecifi
common/testing/taskpoller/taskpoller.go:269
↓ 2 callers
Method
HasNextVertex
HasNextVertex checks if there is accessible history event vertex
common/testing/event_generator.go:131
↓ 2 callers
Method
HasProgress
(ctx context.Context)
common/archiver/options.go:29
↓ 2 callers
Method
HasStartedWorkflowTask
()
service/history/workflow/workflow_task_state_machine.go:1198
↓ 2 callers
Method
HasWaitingPoller
()
service/matching/physical_task_queue_manager.go:108
↓ 2 callers
Method
HeadObject
(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options))
common/archiver/s3store/s3iface.go:12
↓ 2 callers
Method
Helper
()
common/testing/parallelsuite/guard.go:18
↓ 2 callers
Method
HistoryBranchFromBlob
(data []byte)
common/persistence/serialization/serializer.go:80
↓ 2 callers
Method
HistoryTreeInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:79
↓ 2 callers
Method
HistoryURI
()
tests/testcore/test_cluster.go:126
↓ 2 callers
Method
ImportWorkflowExecution
ImportWorkflowExecution attempts to import workflow according to persisted history events. NOTE: this is experimental API
api/adminservice/v1/service_grpc.pb.go:80
↓ 2 callers
Method
ImportWorkflowExecution
ImportWorkflowExecution attempts to import workflow according to persisted history events. NOTE: this is experimental API
api/historyservice/v1/service_grpc.pb.go:280
↓ 2 callers
Function
IncomingVersion
IncomingVersion returns tag for IncomingVersion
common/log/tag/tags.go:818
↓ 2 callers
Method
IncrementNexusEndpointsTableVersion
(ctx context.Context, lastKnownTableVersion int64)
common/persistence/sql/sqlplugin/nexus_endpoints.go:24
↓ 2 callers
Method
IndexGetSettings
(ctx context.Context, indexName string)
common/persistence/visibility/store/elasticsearch/client/client.go:50
↓ 2 callers
Method
IndexPutSettings
(ctx context.Context, indexName string, bodyString string)
common/persistence/visibility/store/elasticsearch/client/client.go:49
↓ 2 callers
Method
IndexPutTemplate
(ctx context.Context, templateName string, bodyString string)
common/persistence/visibility/store/elasticsearch/client/client.go:40
↓ 2 callers
Function
InsertAssignmentRule
(timestamp *hlc.Clock, data *persistencespb.VersioningData, req *workflowservice.UpdateWorkerVersioningRules
service/matching/version_rule_helpers.go:75
↓ 2 callers
Method
InsertIntoQueueV2Messages
(ctx context.Context, row []QueueV2MessageRow)
common/persistence/sql/sqlplugin/queue_v2_message.go:39
↓ 2 callers
Function
InstanceTag
InstanceTag returns a new instance tag
common/metrics/tags.go:141
↓ 2 callers
Method
Int64Histogram
(string, ...metric.Int64HistogramOption)
common/metrics/otel_metrics_handler_test.go:302
↓ 2 callers
Function
Int64ToString
(v int64)
common/convert/convert.go:26
↓ 2 callers
Method
Intercept
(col *SAColumn)
common/persistence/visibility/store/query/interceptors.go:10
↓ 2 callers
Method
InternalStatus
()
service/matching/backlog_manager.go:49
↓ 2 callers
Function
InternalStatusToAPIStatus
InternalStatusToAPIStatus converts internal activity execution status to API status.
chasm/lib/activity/activity.go:811
↓ 2 callers
Function
Invoke
( ctx context.Context, request *historyservice.UpdateWorkflowExecutionOptionsRequest, shardCtx historyi.Sha
service/history/api/updateworkflowoptions/api.go:26
↓ 2 callers
Function
Invoke
Invoke is the implementation of the history service's AddTasks API. This exposes the [shard.Context.AddTasks] API via the history service. This method
service/history/api/addtasks/api.go:41
↓ 2 callers
Function
Invoke
( ctx context.Context, resetRequest *historyservice.ResetStickyTaskQueueRequest, shardContext historyi.Shar
service/history/api/resetstickytaskqueue/api.go:14
↓ 2 callers
Function
Invoke
( ctx context.Context, req *historyservice.SignalWorkflowExecutionRequest, shard historyi.ShardContext, wo
service/history/api/signalworkflow/api.go:15
↓ 2 callers
Function
Invoke
nolint:revive // cyclomatic complexity
service/history/api/recordworkflowtaskstarted/api.go:35
↓ 2 callers
Function
Invoke
( ctx context.Context, request *historyservice.UpdateActivityOptionsRequest, shardContext historyi.ShardCon
service/history/api/updateactivityoptions/api.go:29
↓ 2 callers
Method
Invoke
(ctx context.Context)
service/history/api/multioperation/api.go:183
↓ 2 callers
Method
IsActivityTaskValid
IsActivityTaskValid is called by matching service checking whether the workflow task is valid.
api/historyservice/v1/service_grpc.pb.go:169
↓ 2 callers
Function
IsEqualVersionHistoryItems
IsEqualVersionHistoryItems checks whether version history items are equal
common/persistence/versionhistory/version_history_item.go:29
↓ 2 callers
Method
IsImmediate
IsImmediate reports whether the task is scheduled for immediate execution (zero or unset scheduled time).
chasm/task.go:80
↓ 2 callers
Function
IsInternalPerNsTaskQueue
IsInternalPerNsTaskQueue returns true if the task queue name belongs to a per-namespace internal system worker
common/primitives/task_queues.go:46
↓ 2 callers
Function
IsNotFoundError
(err error)
common/archiver/s3store/util.go:109
↓ 2 callers
Method
IsPaused
()
chasm/component.go:84
↓ 2 callers
Method
IsResetRun
IsResetRun returns true if this run is result of a reset operation.
service/history/interfaces/mutable_state.go:146
↓ 2 callers
Method
IsStale
(chasm.ComponentRef)
service/history/interfaces/chasm_tree.go:50
↓ 2 callers
Function
IsSystem
IsSystem returns true if name is system search attribute
common/searchattribute/sadefs/constants.go:277
↓ 2 callers
Method
IsTransientWorkflowTask
()
service/history/workflow/mutable_state_impl.go:2388
↓ 2 callers
Function
IsUnversionedOrAssignedBuildIdSearchAttribute
IsUnversionedOrAssignedBuildIdSearchAttribute returns the value is "unversioned" or "assigned:<bld>"
common/worker_versioning/worker_versioning.go:110
↓ 2 callers
Method
IsValid
()
service/history/shard/context_impl.go:1487
↓ 2 callers
Method
IsValidPayloadSize
IsValidPayloadSize validates that a payload size is within the configured limits.
chasm/lib/workflow/registry.go:120
↓ 2 callers
Method
IsWorkflowExecutionStatusPaused
()
service/history/workflow/mutable_state_impl.go:3199
↓ 2 callers
Method
IsWorkflowTaskValid
IsWorkflowTaskValid is called by matching service checking whether the workflow task is valid.
api/historyservice/v1/service_grpc.pb.go:143
↓ 2 callers
Method
JSON
()
tools/testrunner/summary.go:56
↓ 2 callers
Function
KeyFilePath
(dir string)
tests/testutils/tls.go:23
↓ 2 callers
Method
LifecycleState
LifecycleState maps the operation's status to a CHASM lifecycle state.
chasm/lib/nexusoperation/operation.go:143
↓ 2 callers
Method
ListBatchOperations
( ctx context.Context, request *workflowservice.ListBatchOperationsRequest, )
service/frontend/workflow_handler.go:5992
↓ 2 callers
Method
ListGeneratedVertices
ListGeneratedVertices lists the pasted generated vertices
common/testing/generator_interface.go:32
↓ 2 callers
Method
ListInfo
ListInfo returns the ScheduleListInfo, used as the visibility memo, and to answer List queries.
chasm/lib/scheduler/scheduler.go:988
↓ 2 callers
Method
ListMatchingTimes
ListMatchingTimes returns the upcoming times that the schedule will trigger within the given time range.
chasm/lib/scheduler/scheduler.go:730
↓ 2 callers
Method
ListNexusEndpoints
List all registered services.
api/matchingservice/v1/service_grpc.pb.go:211
↓ 2 callers
Method
ListOpenWorkflow
ListOpenWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:437
↓ 2 callers
Method
ListOpenWorkflowExecutions
ListOpenWorkflowExecutions is a visibility API to list the open executions in a specific namespace.
service/frontend/workflow_handler.go:2498
↓ 2 callers
Method
ListQueues
(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption)
api/adminservice/v1/service_grpc.pb.go:155
↓ 2 callers
Method
ListQueues
(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption)
api/historyservice/v1/service_grpc.pb.go:302
↓ 2 callers
Method
ListTaskQueuePartitions
ListTaskQueuePartitions returns a map of partitionKey and hostAddress for a task queue.
api/matchingservice/v1/service_grpc.pb.go:117
↓ 2 callers
Method
ListTasks
(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption)
api/historyservice/v1/service_grpc.pb.go:312
↓ 2 callers
Method
ListWorkers
ListWorkers retrieves a list of workers in the specified namespace that match the provided filters. Supports pagination for large result sets. Returns
api/matchingservice/v1/service_grpc.pb.go:217
↓ 2 callers
Method
ListWorkflowExecutions
ListWorkflowExecutions is a visibility API to list workflow executions in a specific namespace.
service/frontend/workflow_handler.go:2714
↓ 2 callers
Method
ListWorkflowRules
( ctx context.Context, request *workflowservice.ListWorkflowRulesRequest, )
service/frontend/workflow_handler.go:7038
↓ 2 callers
Function
ListenIP
ListenIP returns the IP to bind to in Listen. It tries to find an IP that can be used by other machines to reach this machine.
common/config/localip.go:41
↓ 2 callers
Method
LoadAndMergeWithStaticConfig
LoadAndMergeWithStaticConfig loads cluster metadata from the database and merges it with the static config.
temporal/cluster_metadata_loader.go:30
↓ 2 callers
Function
LoadAndSplitQuery
LoadAndSplitQuery loads and split cql / sql query into one statement per string. Comments are removed from the query.
common/persistence/query_util.go:37
↓ 2 callers
Method
LoadHistoryEvent
(ctx context.Context, token []byte)
service/history/interfaces/mutable_state.go:48
↓ 2 callers
Method
LoadProgress
(ctx context.Context, valuePtr any)
common/archiver/options.go:28
↓ 2 callers
Function
LoadSchema
(t *testing.T, db sqlplugin.AdminDB, schemaFile string)
common/persistence/tests/sqlite_test.go:77
↓ 2 callers
Method
LoadSchema
LoadSchema from PersistenceTestCluster interface
common/persistence/sql/test_sql_persistence.go:175
↓ 2 callers
Method
LocalBacklogPriorityChanged
(map[PhysicalTaskQueueVersion]int64)
service/matching/user_data_manager.go:63
↓ 2 callers
Method
LockNamespaceMetadata
(ctx context.Context)
common/persistence/sql/sqlplugin/namespace.go:49
↓ 2 callers
Function
MakeBackoffAlgorithm
MakeBackoffAlgorithm creates a BackoffCalculatorAlgorithmFunc that returns a fixed delay if requestedDelay is non-nil, otherwise falls back to exponen
common/backoff/retry.go:185
↓ 2 callers
Function
MapConcurrent
MapConcurrent concurrently maps a function over input and fails fast on error.
common/util/util.go:115
↓ 2 callers
Method
MarkNamespaceAsDeleted
( nsName namespace.Name, )
tests/testcore/functional_test_base.go:614
↓ 2 callers
Method
MarkPoisonPill
()
service/history/replication/batchable_task.go:64
↓ 2 callers
Method
Marshal
Marshal an object of type HistoryTask to the protobuf v3 wire format
api/common/v1/dlq.go-helpers.pb.go:9
↓ 2 callers
Function
MaskYaml
MaskYaml replace password values with mask and returns copy of the string. Does recursive replacement for entire yamlStr.
common/masker/masker.go:18
↓ 2 callers
Method
MatchPollerImmediately
(poller *waitingPoller)
service/matching/matcher_data.go:374
↓ 2 callers
Method
Matches
(msg string, tags []tag.Tag)
common/testing/testlogger/testlogger.go:112
↓ 2 callers
Function
Max
Max returns the maximum of two Clocks
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:66
↓ 2 callers
Method
MergeDLQMessages
MergeDLQMessages merges messages from DLQ.
api/adminservice/v1/service_grpc.pb.go:133
↓ 2 callers
Method
MergeDLQMessages
MergeDLQMessages merges messages from DLQ.
api/historyservice/v1/service_grpc.pb.go:269
↓ 2 callers
Method
MergeMessages
( ctx context.Context, sourceCluster string, lastMessageID int64, pageSize int, pageToken []byt
service/history/replication/dlq_handler.go:39
↓ 2 callers
Function
MetricsHandlerFromConfig
MetricsHandlerFromConfig is used at startup to construct a MetricsHandler
common/metrics/config.go:462
↓ 2 callers
Function
Min
Min returns the minimum of two Clocks
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:74
↓ 2 callers
Function
MustNormalPartitionFromRpcName
(rpcName string, namespaceId string, taskType enumspb.TaskQueueType)
common/tqid/task_queue_id.go:222
↓ 2 callers
Method
Nack
(err error)
service/history/replication/batchable_task.go:111
↓ 2 callers
Method
Name
()
common/tqid/task_queue_id.go:230
↓ 2 callers
Method
Name
TODO: this is invoked for non-ES validation code flow. Needs refactoring
common/persistence/visibility/store/elasticsearch/query_interceptors.go:76
↓ 2 callers
Method
Name
()
chasm/nexus_operation_processor_test.go:22
↓ 2 callers
Method
NamespaceValidateIntercept
( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, )
common/rpc/interceptor/namespace_validator.go:111
↓ 2 callers
Function
NeverEnabledState
()
common/namespace/archival_config_state_machine.go:39
↓ 2 callers
Function
New
( logger log.Logger, metricsHandler metrics.Handler, )
common/finalizer/finalizer.go:30
↓ 2 callers
Function
New
(t assert.TestingT)
common/testing/protoassert/assert.go:22
↓ 2 callers
Function
NewAckManager
( shardContext historyi.ShardContext, workflowCache wcache.Cache, eventBlobCache persistence.XDCCache, rep
service/history/replication/ack_manager.go:93
↓ 2 callers
Function
NewActivityStateReplicator
( shardContext historyi.ShardContext, workflowCache wcache.Cache, logger log.Logger, )
service/history/ndc/activity_state_replicator.go:56
↓ 2 callers
Function
NewAdminHandler
NewAdminHandler creates a gRPC handler for the adminservice
service/frontend/admin_handler.go:173
↓ 2 callers
Function
NewAllAPIsForwardingPolicy
NewAllAPIsForwardingPolicy creates a forwarding policy for all APIs based on namespace
common/rpc/interceptor/dc_redirection_policy.go:132
← previous
next →
7,201–7,300 of 43,335, ranked by callers