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
↓ 5 callers
Function
NewStateRebuilder
( shard historyi.ShardContext, logger log.Logger, )
service/history/ndc/state_rebuilder.go:84
↓ 5 callers
Function
NewTLSConfigForServer
( serverName string, enableHostVerification bool, )
common/auth/tls_config_helper.go:29
↓ 5 callers
Method
NewTaskManager
NewTaskManager returns a new task manager
common/persistence/client/factory.go:31
↓ 5 callers
Function
NewTaskQueueFairTaskSuite
( t *testing.T, taskStore p.TaskStore, logger log.Logger, )
common/persistence/tests/task_queue_fair_task.go:44
↓ 5 callers
Function
NewTaskQueueTaskSuite
( t *testing.T, taskStore p.TaskStore, logger log.Logger, )
common/persistence/tests/task_queue_task.go:42
↓ 5 callers
Function
NewTaskQueueTypedSettingWithConverter
NewTaskQueueTypedSettingWithConverter creates a setting with a custom converter function.
common/dynamicconfig/setting_gen.go:1272
↓ 5 callers
Function
NewTaskQueueUserDataSuite
( t *testing.T, taskStore p.TaskStore, logger log.Logger, )
common/persistence/tests/task_queue_user_data.go:35
↓ 5 callers
Method
NewTrace
NewTrace returns a *httptrace.ClientTrace which provides hooks to invoke at each point in the HTTP request lifecycle. This trace must be added to the
common/nexus/trace.go:18
↓ 5 callers
Function
NewVisibilityWithData
( mutableContext MutableContext, customSearchAttributes map[string]*commonpb.Payload, customMemo map[string
chasm/visibility.go:157
↓ 5 callers
Function
NewWorkflowClosedTrigger
NewWorkflowClosedTrigger creates a WorkflowClosed trigger variant.
components/callbacks/statemachine.go:42
↓ 5 callers
Function
NewWorkflowResetter
( shardContext historyi.ShardContext, workflowCache wcache.Cache, logger log.Logger, )
service/history/ndc/workflow_resetter.go:85
↓ 5 callers
Method
NewWriter
(ctx context.Context)
common/archiver/gcloud/connector/client_delegate.go:41
↓ 5 callers
Method
NextEventID
()
service/history/historybuilder/event_store.go:64
↓ 5 callers
Function
NexusOperation
(operation string)
common/log/tag/tags.go:1012
↓ 5 callers
Method
Notify
()
service/history/queues/reader.go:37
↓ 5 callers
Method
NotifyNewTasks
(tasks []tasks.Task)
service/history/replication/ack_manager.go:32
↓ 5 callers
Method
Now
()
service/history/workflow/mutable_state_impl.go:1912
↓ 5 callers
Method
NumWorkers
NumWorkers returns the current number of workers. Probably only useful for testing.
common/goro/adaptive_pool.go:136
↓ 5 callers
Method
Objects
(ctx context.Context, q *storage.Query)
common/archiver/gcloud/connector/client_delegate.go:29
↓ 5 callers
Function
ObserveCompletion
ObserveCompletion exports withOnComplete to unit tests
service/history/workflow/update/export_test.go:18
↓ 5 callers
Method
OnAfterCommit
OnAfterCommit adds the provided effect function to set of such functions to be invoked when Buffer.Apply is called.
common/effect/buffer.go:16
↓ 5 callers
Method
OnAfterRollback
OnAfterRollback adds the provided effect function to set of such functions to be invoked when Buffer.Cancel is called.
common/effect/buffer.go:22
↓ 5 callers
Method
PartitionScale
PartitionScale returns the current partition scale info from ephemeral data.
service/matching/user_data_manager.go:67
↓ 5 callers
Function
PersistUnknownBuildId
(clock *hlc.Clock, data *persistencespb.VersioningData, buildId string)
service/matching/version_sets.go:481
↓ 5 callers
Method
PollComponent
( context.Context, ComponentRef, func(Context, Component) (bool, error), ...TransitionOption, )
chasm/engine.go:44
↓ 5 callers
Method
Pop
implements heap.Interface, do not call directly
service/matching/matcher_data.go:111
↓ 5 callers
Method
Pop
(key K)
common/collection/oncemap.go:76
↓ 5 callers
Method
Possible
Possible returns a boolean indicating whether the transition is possible for the current state.
service/history/hsm/sm.go:52
↓ 5 callers
Function
PrettyPrint
(msgs []T, header ...string)
common/util.go:481
↓ 5 callers
Method
PruneClusterMembership
(ctx context.Context, filter *PruneClusterMembershipFilter)
common/persistence/sql/sqlplugin/cluster_metadata.go:63
↓ 5 callers
Method
Put
(key XDCCacheKey, value XDCCacheValue)
common/persistence/xdc_cache.go:34
↓ 5 callers
Method
RangeSelectFromMessages
(ctx context.Context, filter QueueMessagesRangeFilter)
common/persistence/sql/sqlplugin/queue_message.go:36
↓ 5 callers
Function
ReactivateVersionWorkflowIfPinned
ReactivateVersionWorkflowIfPinned sends a reactivation signal to the version workflow when workflow execution options target a potentially DRAINED/INA
service/history/api/worker_versioning_util.go:32
↓ 5 callers
Method
ReadTasks
(ctx context.Context, request *ReadTasksRequest)
common/persistence/data_interfaces.go:1265
↓ 5 callers
Method
RecordCompleted
RecordCompleted applies the provided function to record activity completion
chasm/lib/activity/activity.go:61
↓ 5 callers
Method
RecordWorkerHeartbeats
(nsID namespace.ID, nsName namespace.Name, principal *commonpb.Principal, workerHeartbeat []*workerpb.WorkerHe
service/matching/workers/registry.go:25
↓ 5 callers
Method
ReenqueuePollerIfNotMatched
(poller *waitingPoller)
service/matching/matcher_data.go:298
↓ 5 callers
Method
RefreshNamespaceById
(namespaceId ID)
common/namespace/registry.go:25
↓ 5 callers
Method
RefreshTasks
()
service/history/interfaces/chasm_tree.go:24
↓ 5 callers
Method
Remove
Remove pop a task from the task set
common/tasks/sequential_task_queue.go:12
↓ 5 callers
Method
RemoveQuery
(id string)
service/history/interfaces/query_register.go:28
↓ 5 callers
Method
ReplaceCustomSearchAttributes
ReplaceCustomSearchAttributes replaces the existing custom search attribute fields with the provided ones. Nil/empty payload values are filtered. If `
chasm/visibility.go:242
↓ 5 callers
Method
ReplicateVersionedTransition
( ctx context.Context, archetypeID chasm.ArchetypeID, versionedTransition *replicationspb.VersionedTr
service/history/ndc/workflow_state_replicator.go:58
↓ 5 callers
Function
ReplicationReaderIDToClusterShardID
ReplicationReaderIDToClusterShardID convert from reader ID to cluster ID & shard ID NOTE: see ReplicationReaderIDFromClusterShardID
service/history/shard/context_util.go:62
↓ 5 callers
Function
ReplicationTask
(replicationTask any)
common/log/tag/tags.go:793
↓ 5 callers
Function
ReplicationTaskPriorityTag
ReplicationTaskPriorityTag returns a replication task priority tag.
common/metrics/tags.go:470
↓ 5 callers
Method
ResendReplicationTasks
ResendReplicationTasks requests replication tasks from remote cluster and apply tasks to current cluster.
api/adminservice/v1/service_grpc.pb.go:139
↓ 5 callers
Method
ResolveAlert
(AlertType)
service/history/queues/monitor.go:39
↓ 5 callers
Function
ResourceServiceName
ResourceServiceName returns the OpenTelemetry tracing service name for a Temporal service.
common/telemetry/env.go:63
↓ 5 callers
Method
RespondActivityTaskCompletedById
( ctx context.Context, request *workflowservice.RespondActivityTaskCompletedByIdRequest, opts ...grpc.CallO
client/frontend/client_gen.go:822
↓ 5 callers
Function
ScheduleStandbyCallbacks
ScheduleStandbyCallbacks transitions all STANDBY callbacks to SCHEDULED state, triggering their invocation. Used by both workflows and standalone acti
chasm/lib/callback/component.go:170
↓ 5 callers
Function
ScheduleWorkflowTask
( mutableState historyi.MutableState, )
service/history/workflow/util.go:53
↓ 5 callers
Method
SelectFromCurrentExecutions
SelectFromCurrentExecutions returns one or more rows from current_executions table Required params - {shardID, namespaceID, workflowID, archetypeID}
common/persistence/sql/sqlplugin/history_execution.go:86
↓ 5 callers
Method
SelectFromExecutions
(ctx context.Context, filter ExecutionsFilter)
common/persistence/sql/sqlplugin/history_execution.go:75
↓ 5 callers
Method
SelectTasks
(readerID int64, batchSize int)
service/history/queues/slice.go:34
↓ 5 callers
Function
SerializeHistoryToken
NOTE: DO NOT MODIFY UNLESS ALSO APPLIED TO ./service/frontend/token_deprecated.go
service/history/api/token.go:67
↓ 5 callers
Method
SerializeWorkflowSnapshot
( // unexport input *WorkflowSnapshot, )
common/persistence/execution_manager.go:752
↓ 5 callers
Function
ServiceName
(fullApiName string)
common/api/metadata.go:243
↓ 5 callers
Method
SetChasmRegistry
(reg *chasm.Registry)
service/history/shard/context_testutil.go:221
↓ 5 callers
Method
SetContextMetadata
(context.Context)
service/history/interfaces/mutable_state.go:303
↓ 5 callers
Method
SetCurrentVersion
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, version string, i
service/worker/workerdeployment/client.go:85
↓ 5 callers
Function
SetPrincipal
SetPrincipal sets the principal type and name headers in the incoming metadata.
common/headers/headers.go:138
↓ 5 callers
Method
SetRateLimiter
SetRateLimiter sets the rate limiter to delegate to.
common/quotas/request_rate_limiter_delegator.go:26
↓ 5 callers
Method
SetReaderWatermark
(readerID int64, watermark tasks.Key)
service/history/queues/monitor.go:30
↓ 5 callers
Method
SetVisibilityTime
(t time.Time)
service/history/tasks/fake_task.go:62
↓ 5 callers
Method
SetWorkflowTaskScheduleToStartTimeoutTask
(task *tasks.WorkflowTaskTimeoutTask)
service/history/interfaces/mutable_state.go:333
↓ 5 callers
Function
ShardRangeID
ShardRangeID returns tag for ShardRangeID
common/log/tag/tags.go:570
↓ 5 callers
Method
ShutdownWorker
(ctx context.Context, request *workflowservice.ShutdownWorkerRequest)
service/frontend/workflow_handler.go:2991
↓ 5 callers
Method
Signal
()
service/matching/task_reader.go:62
↓ 5 callers
Method
SignalName
()
common/testing/testvars/test_vars.go:425
↓ 5 callers
Method
Snapshot
()
common/metrics/metricstest/metricstest.go:100
↓ 5 callers
Method
SourceClusterName
()
service/history/replication/executable_task.go:164
↓ 5 callers
Function
SpanExportersFromEnv
SpanExportersFromEnv creates OTEL span exporters from environment variables.
common/telemetry/env.go:29
↓ 5 callers
Method
SplitByPredicate
(tasks.Predicate)
service/history/queues/slice.go:29
↓ 5 callers
Method
StartLifecycle
()
common/nexus/endpoint_registry.go:44
↓ 5 callers
Method
StateMachineState
()
chasm/lib/callback/component.go:62
↓ 5 callers
Method
Status
()
common/serviceerror/sync_state.go:54
↓ 5 callers
Method
Stop
()
service/matching/physical_task_queue_manager.go:102
↓ 5 callers
Method
Stop
Stops workers. Note that this does not wait for workers to exit. When Stop is called, concurrent calls to Do may or may not call their function, and f
common/goro/adaptive_pool.go:54
↓ 5 callers
Method
StopLifecycle
()
common/nexus/endpoint_registry.go:45
↓ 5 callers
Method
StoreOrSelf
StoreOrSelf returns the store for the activity. If the store is not set as a field (e.g. standalone activities), it returns the activity itself.
chasm/lib/activity/activity.go:1058
↓ 5 callers
Function
Strings
(key string, value []string)
common/log/tag/zap_tag.go:174
↓ 5 callers
Method
Submit
Submit is a blocking call that accepts a task to execute
service/worker/scanner/executor/executor.go:27
↓ 5 callers
Method
SubmitClosedWorkflowSnapshot
SubmitClosedWorkflowSnapshot closes the current mutable state transaction with the given transactionPolicy and updates the workflow execution record i
service/history/interfaces/workflow_context.go:116
↓ 5 callers
Method
SupportsFairness
()
common/tqid/task_queue_id.go:53
↓ 5 callers
Method
SyncHSM
(ctx context.Context, request *SyncHSMRequest)
service/history/interfaces/engine.go:72
↓ 5 callers
Method
SyncWorkflowState
( ctx context.Context, request *historyservice.ReplicateWorkflowStateRequest, )
service/history/ndc/workflow_state_replicator.go:54
↓ 5 callers
Function
SysStackTrace
SysStackTrace returns tag for SysStackTrace
common/log/tag/tags.go:765
↓ 5 callers
Function
Tags
( task Task, )
service/history/tasks/utils.go:10
↓ 5 callers
Method
TaskByID
TaskByID returns the registrable task for a given task type ID. This method should only be used by CHASM framework internal code, NOT CHASM library de
chasm/registry.go:155
↓ 5 callers
Method
TaskCount
TaskCount returns the number of outstanding tasks in the executor
service/worker/scanner/executor/executor.go:29
↓ 5 callers
Method
TaskFqnByID
TaskFqnByID converts task type ID to fully qualified task type name. This method should only be used by CHASM framework internal code, NOT CHASM libra
chasm/registry.go:163
↓ 5 callers
Method
TaskID
()
service/history/replication/executable_task_tracker.go:24
↓ 5 callers
Function
TaskOperationTagFromTask
( taskType enumsspb.TaskType, )
service/history/replication/metrics.go:41
↓ 5 callers
Function
TaskPriorityTag
(value string)
common/metrics/tags.go:306
↓ 5 callers
Method
TaskQueue
()
common/tqid/task_queue_id.go:390
↓ 5 callers
Method
TaskType
()
common/tqid/task_queue_id.go:425
↓ 5 callers
Method
TearDownWorkflowStore
TearDownWorkflowStore to cleanup
common/persistence/persistence-tests/persistence_test_base.go:295
↓ 5 callers
Function
ToBuildIdOrderingResponse
ToBuildIdOrderingResponse transforms the internal VersioningData representation to public representation. If maxSets is given, the last sets up to max
service/matching/version_sets.go:25
↓ 5 callers
Method
Trailer
Trailer mocks base method.
api/adminservicemock/v1/service_grpc.pb.mock.go:1091
← previous
next →
4,301–4,400 of 43,335, ranked by callers