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
↓ 87 callers
Method
GetId
()
api/persistence/v1/hsm.pb.go:220
↓ 87 callers
Method
Logf
(format string, args ...any)
common/testing/testlogger/testlogger.go:53
↓ 86 callers
Method
GetActivityId
()
api/token/v1/message.pb.go:323
↓ 85 callers
Method
QueryWorkflow
(ctx context.Context, request *historyservice.QueryWorkflowRequest)
service/history/interfaces/engine.go:76
↓ 84 callers
Method
GetClusterID
GetClusterID return the cluster ID, which is also the initial failover version
common/cluster/metadata.go:46
↓ 84 callers
Method
GetScheduledEventId
()
api/token/v1/message.pb.go:309
↓ 84 callers
Method
Unmarshal
Unmarshal an object of type Event from the protobuf v3 wire format
chasm/lib/scheduler/gen/schedulerpb/v1/message.go-helpers.pb.go:310
↓ 84 callers
Method
UpdateWorkflow
( ctx context.Context, isWorkflowRebuilt bool, archetypeID chasm.ArchetypeID, targetWorkflow Workf
service/history/ndc/transaction_manager.go:98
↓ 83 callers
Method
ActivityID
()
common/testing/testvars/test_vars.go:348
↓ 83 callers
Method
ReadFile
()
common/dynamicconfig/file_based_client.go:26
↓ 83 callers
Method
Size
()
service/history/workflow/mutable_state_impl.go:287
↓ 83 callers
Method
Unmarshal
Unmarshal an object of type PollConditions from the protobuf v3 wire format
api/matchingservice/v1/request_response.go-helpers.pb.go:3085
↓ 83 callers
Function
WithMetadataContext
WithMetadataContext adds a metadata context to the given context.
common/contextutil/metadata.go:134
↓ 82 callers
Method
Build
Build returns a read-only [Route].
common/routing/route.go:69
↓ 82 callers
Method
Close
Close gracefully closes the client object
tools/common/schema/types.go:49
↓ 82 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
chasm/library_mock.go:40
↓ 82 callers
Function
NewNamespacePredicate
( namespaceIDs []string, )
service/history/tasks/predicates.go:37
↓ 82 callers
Method
Start
()
common/persistence/visibility/store/elasticsearch/processor.go:33
↓ 82 callers
Method
Type
()
chasm/lib/workflow/events.go:16
↓ 82 callers
Method
prefixed
Add a per test prefix to avoid hitting the namespace limit of mapped task queue per build ID
tests/versioning_test.go:4403
↓ 81 callers
Function
Encode
(value any)
common/payload/payload.go:32
↓ 81 callers
Method
Filter
(filters ...elastic.Query)
common/persistence/visibility/store/elasticsearch/query_converter_bool_query.go:29
↓ 81 callers
Method
GetPass
GetPass tracks a value per key, which may be lossy or approximate. It increments the value by inc and returns the new value. The value returned must b
service/matching/counter/counter.go:6
↓ 81 callers
Method
Kind
()
common/tqid/task_queue_id.go:48
↓ 81 callers
Method
Put
Put adds an element to the cache, returning the previous element
common/cache/cache.go:18
↓ 81 callers
Method
UpdateNamespace
(ctx context.Context, request *UpdateNamespaceRequest)
common/persistence/data_interfaces.go:1221
↓ 80 callers
Method
GetRule
()
api/persistence/v1/task_queues.pb.go:362
↓ 80 callers
Method
Marshal
Marshal an object of type Task to the protobuf v3 wire format
api/token/v1/message.go-helpers.pb.go:83
↓ 80 callers
Function
NewRealTimeSource
NewRealTimeSource returns a timeSource that uses the real wall timeSource time.
common/clock/time_source.go:33
↓ 80 callers
Method
State
State returns the current task state
common/tasks/task.go:39
↓ 79 callers
Method
GetUserData
GetUserData returns the user data for this task queue. Do not mutate the returned pointer, as doing so will cause cache inconsistency.
service/matching/user_data_manager.go:56
↓ 79 callers
Method
GetVersioningOverride
()
api/historyservice/v1/request_response.pb.go:323
↓ 79 callers
Method
GetWorkflowExecutionHistory
(ctx context.Context, request *historyservice.GetWorkflowExecutionHistoryRequest)
service/history/interfaces/engine.go:88
↓ 79 callers
Function
NewGlobalBoolSetting
(key string, def bool, description string)
common/dynamicconfig/setting_gen.go:28
↓ 79 callers
Method
Value
Value returns the value associated with this context for key. The behavior is the same as context.Context.Value(). Use WithContextValues RegistrableCo
chasm/context.go:43
↓ 78 callers
Method
Cleanup
(func())
common/testing/testlogger/testlogger.go:63
↓ 78 callers
Function
ContextMetadataGet
ContextMetadataGet retrieves a metadata value from the context.
common/contextutil/metadata.go:163
↓ 78 callers
Function
NewClusterShardKey
( ClusterID int32, ClusterShardID int32, )
service/history/replication/stream_receiver.go:70
↓ 78 callers
Method
Value
Value represents the value
common/cache/cache.go:94
↓ 77 callers
Method
DescribeActivityExecution
(ctx context.Context, req *workflowservice.DescribeActivityExecutionRequest)
chasm/lib/activity/frontend.go:27
↓ 77 callers
Method
DescribeWorkerDeployment
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, )
service/worker/workerdeployment/client.go:61
↓ 77 callers
Method
GetCurrentVersion
()
service/history/workflow/update/store.go:20
↓ 77 callers
Method
SetCurrentTime
(cluster string, currentTime time.Time)
service/history/interfaces/shard_context.go:79
↓ 77 callers
Method
Sub
(name string)
common/testing/testvars/test_vars.go:65
↓ 77 callers
Function
allow
( ctx context.Context, api string, shardID int32, systemRateLimiter quotas.RequestRateLimiter, namespaceR
common/persistence/persistence_rate_limited_clients.go:1146
↓ 77 callers
Method
finishMetricsRecording
( metricsHandler metrics.Handler, startTime time.Time, err error, )
client/history/metric_client.go:91
↓ 77 callers
Method
recordDataLossMetrics
(operation string, caller string, err error, workflowID, runID string)
common/persistence/persistence_metric_clients.go:1426
↓ 77 callers
Method
recordRequestMetrics
(operation string, caller string, latency time.Duration, err error)
common/persistence/persistence_metric_clients.go:1419
↓ 77 callers
Method
startMetricsRecording
( ctx context.Context, operation string, )
client/history/metric_client.go:81
↓ 76 callers
Method
ClusterNameForFailoverVersion
ClusterNameForFailoverVersion return the corresponding cluster name for a given failover version
common/cluster/metadata.go:58
↓ 76 callers
Method
GetKey
()
service/history/tasks/task.go:15
↓ 76 callers
Function
OutcomeTag
(outcome string)
common/metrics/tags.go:394
↓ 76 callers
Method
Start
()
service/matching/backlog_manager.go:40
↓ 76 callers
Method
Update
Update the timer gate, return true if update is a success. Success means timer is idle or timer is set with a sooner time to fire
common/timer/gate.go:16
↓ 75 callers
Method
CompareTo
(right Key)
service/history/tasks/key.go:56
↓ 75 callers
Method
GetContext
()
service/history/ndc/workflow.go:25
↓ 75 callers
Function
GetSqlDbColName
GetSqlDbColName maps system and reserved search attributes to column names for SQL tables. If the input is not a system or reserved search attribute,
common/searchattribute/sadefs/constants.go:316
↓ 75 callers
Method
GetVersioningInfo
()
api/persistence/v1/executions.pb.go:1041
↓ 75 callers
Function
NewRegistry
(logger log.Logger)
chasm/registry.go:53
↓ 75 callers
Method
Stop
()
service/matching/backlog_manager.go:41
↓ 75 callers
Method
TaskType
()
service/matching/hooks/task_lifecycle_hooks.go:32
↓ 75 callers
Method
TerminateWorkflowExecution
(ctx context.Context, request *historyservice.TerminateWorkflowExecutionRequest)
service/history/interfaces/engine.go:47
↓ 75 callers
Method
Timer
Timer obtains a timer for the given name.
common/metrics/metrics.go:32
↓ 75 callers
Method
WithRunID
(runID string)
common/testing/testvars/test_vars.go:203
↓ 75 callers
Method
Write
(p []byte)
common/archiver/gcloud/connector/client_delegate.go:55
↓ 74 callers
Function
AddMetricsContext
(ctx context.Context)
common/metrics/grpc.go:134
↓ 74 callers
Method
GetReleaseFn
()
service/history/ndc/workflow.go:27
↓ 74 callers
Method
GetRequest
()
api/schedule/v1/message.pb.go:767
↓ 74 callers
Method
GetTaskToken
()
common/rpc/interceptor/namespace_validator.go:21
↓ 74 callers
Method
GetTimeSkippingInfo
()
api/persistence/v1/executions.pb.go:1143
↓ 74 callers
Function
NewURI
NewURI constructs a new archiver URI from string.
common/archiver/uri.go:27
↓ 74 callers
Method
createContext
(parent context.Context)
client/history/client.go:287
↓ 74 callers
Method
executeWithRedirect
( ctx context.Context, shardID int32, op ClientOperation[historyservice.HistoryServiceClient], )
client/history/client.go:302
↓ 74 callers
Method
inject
(op func() error)
common/persistence/faultinjection/fault.go:61
↓ 73 callers
Method
Component
(chasm.Context, chasm.ComponentRef)
service/history/interfaces/chasm_tree.go:51
↓ 73 callers
Method
DeleteWorkflowExecution
(ctx context.Context, deleteRequest *historyservice.DeleteWorkflowExecutionRequest)
service/history/interfaces/engine.go:48
↓ 73 callers
Function
ExternalWorkerDeploymentVersionFromStringV31
(s string)
common/worker_versioning/worker_versioning.go:1180
↓ 73 callers
Method
HSM
()
service/history/interfaces/mutable_state.go:357
↓ 73 callers
Method
HandleErr
HandleErr handle the error returned by Execute
common/tasks/task.go:23
↓ 73 callers
Method
Int
()
common/testing/testvars/any.go:39
↓ 73 callers
Function
ProtoEqual
ProtoEqual compares two proto.Message objects for equality
common/testing/protoassert/assert.go:27
↓ 72 callers
Method
Allow
Allow attempts to allow a request to go through. The method returns immediately with a true or false indicating if the request can make progress
common/quotas/rate_limiter.go:16
↓ 72 callers
Method
DescribeSchedule
(ctx context.Context, in *DescribeScheduleRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:42
↓ 72 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/replication/batchable_task_mock.go:42
↓ 72 callers
Method
IsGlobalNamespaceEnabled
IsGlobalNamespaceEnabled whether the global namespace is enabled, this attr should be discarded when cross DC is made public
common/cluster/metadata.go:42
↓ 72 callers
Function
NewGlobalNamespaceForTest
newGlobalNamespaceForTest returns an entry with test data
common/namespace/testconstructors.go:52
↓ 72 callers
Function
NewNamespaceBoolSetting
(key string, def bool, description string)
common/dynamicconfig/setting_gen.go:45
↓ 71 callers
Method
CloseTransactionAsMutation
CloseTransactionAsMutation closes the mutable state transaction (different from DB transaction) and prepares the whole state mutation to be persisted
service/history/interfaces/mutable_state.go:344
↓ 71 callers
Function
Decode
(p *commonpb.Payload, valuePtr any)
common/payload/payload.go:36
↓ 71 callers
Method
GetConfig
()
service/frontend/interface.go:18
↓ 71 callers
Function
GetCurrentVersionHistory
GetCurrentVersionHistory gets the current VersionHistory.
common/persistence/versionhistory/version_histories.go:181
↓ 70 callers
Method
CreateSchedule
(ctx context.Context, in *CreateScheduleRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:38
↓ 70 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/namespace/registry_mock.go:39
↓ 70 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:40
↓ 70 callers
Function
NewGaugeDef
(name string, opts ...Option)
common/metrics/defs.go:54
↓ 70 callers
Method
RpcName
RpcName returns the mangled name of the task queue partition, to be used in RPCs. RPC names look like this: sticky partition: <sticky name> root
common/tqid/task_queue_id.go:76
↓ 70 callers
Function
SetCallerInfo
SetCallerInfo sets callerName, callerType and CallOrigin in the context. Existing values will be overwritten if new value is not empty. TODO: consider
common/headers/caller_info.go:116
↓ 70 callers
Function
mkAssignmentRulePersistence
(rule *taskqueuepb.BuildIdAssignmentRule, createTs, deleteTs *hlc.Clock)
service/matching/version_rule_test.go:46
↓ 70 callers
Function
mkInitialData
(numSets int, clock *clockspb.HybridLogicalClock)
service/matching/version_sets_test.go:26
↓ 69 callers
Method
Code
()
common/persistence/nosql/nosqlplugin/cassandra/gocql/errors_test.go:23
← previous
next →
301–400 of 43,335, ranked by callers