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
↓ 39 callers
Method
GetHistoryConfig
()
common/archiver/metadata_mock.go:35
↓ 39 callers
Method
Kind
()
service/matching/hooks/task_lifecycle_hooks.go:33
↓ 39 callers
Method
MarkExecutionStart
()
service/history/replication/executable_task.go:103
↓ 39 callers
Function
PartitionFromProto
(proto *taskqueuepb.TaskQueue, namespaceId string, taskType enumspb.TaskQueueType)
common/tqid/task_queue_id.go:167
↓ 39 callers
Method
SDKDeploymentVersion
SDKDeploymentVersion returns SDK worker deployment version
common/testing/testvars/test_vars.go:263
↓ 39 callers
Method
SelectContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/mysql/db.go:153
↓ 39 callers
Method
SetValue
(k string, v any)
common/dynamicconfig/collection_test.go:617
↓ 39 callers
Method
Update
Update the fake current time. It returns the timeSource so that you can chain calls like this: timeSource := NewEventTimeSource().Update(time.Now())
common/clock/event_time_source.go:108
↓ 39 callers
Method
newHistoryEvents
( eventIDs []int64, transactionID int64, prevTransactionID int64, )
common/persistence/tests/history_store.go:855
↓ 39 callers
Method
now
test helpers
service/worker/scheduler/workflow_test.go:58
↓ 39 callers
Function
setup
(t *testing.T, handler nexus.Handler)
common/nexus/nexusrpc/setup_test.go:54
↓ 39 callers
Function
waitRecv
waitRecv blocks until ch yields a value, failing the test on timeout.
service/matching/scale_manager_test.go:118
↓ 38 callers
Method
Child
Child recursively gets a child for the given path.
service/history/hsm/tree.go:309
↓ 38 callers
Method
CreateWorkflowExecution
(ctx context.Context, request *CreateWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1121
↓ 38 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/log/interface_mock.go:39
↓ 38 callers
Method
FailNow
FailNow does not forward to the underlying tests, since we do not know what test we are targetting or what goroutine we are calling FailNow from.
tests/testcore/shared_cluster_t.go:109
↓ 38 callers
Function
FromPersistentState
( detail *persistencespb.NamespaceDetail, resolver ReplicationResolver, mutations ...Mutation, )
common/namespace/namespace.go:79
↓ 38 callers
Method
GetAssignedBuildId
()
service/history/interfaces/mutable_state.go:205
↓ 38 callers
Method
GetConflictToken
()
api/schedule/v1/message.pb.go:359
↓ 38 callers
Method
GetEvent
(ctx context.Context, shardID int32, key EventKey, firstEventID int64, branchToken []byte)
service/history/events/cache.go:32
↓ 38 callers
Method
GetHeader
()
api/archiver/v1/message.pb.go:184
↓ 38 callers
Method
MatchingClient
()
tests/testcore/clients.go:115
↓ 38 callers
Function
NewDimensionlessHistogramDef
(name string, opts ...Option)
common/metrics/defs.go:38
↓ 38 callers
Function
NewHistoryEventVertex
NewHistoryEventVertex initials a history event vertex
common/testing/event_generator.go:413
↓ 38 callers
Function
NewInt64
(key string, value int64)
common/log/tag/zap_tag.go:84
↓ 38 callers
Method
Record
(latency time.Duration, err error)
common/rpc/interceptor/health_check.go:39
↓ 38 callers
Method
SelectContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:151
↓ 38 callers
Method
SetDataFunc
SetDataFunc sets the data generation function
common/testing/event_generator.go:478
↓ 38 callers
Method
Sort
()
service/matching/ack_manager_test.go:137
↓ 38 callers
Method
Start
()
service/history/queues/queue.go:14
↓ 38 callers
Function
UpdateVersionSets
UpdateVersionSets updates version sets given existing versioning data and an update request. The request is expected to have already been validated.
service/matching/version_sets.go:169
↓ 38 callers
Function
Value
Value returns tag for Value
common/log/tag/tags.go:461
↓ 38 callers
Method
WithMaximumAttempts
WithMaximumAttempts sets the maximum number of retry attempts
common/backoff/retrypolicy.go:135
↓ 38 callers
Method
createRandomNexusEndpoint
(ctx context.Context, t *testing.T)
tests/nexus_test_base.go:63
↓ 38 callers
Function
doNotCare
(x T)
service/history/workflow/retry_test.go:314
↓ 38 callers
Function
file_temporal_server_api_persistence_v1_executions_proto_rawDescGZIP
()
api/persistence/v1/executions.pb.go:5408
↓ 38 callers
Function
getDefaultHistoryEvent
( eventID int64, version int64, )
common/testing/history_event_util.go:932
↓ 38 callers
Method
mustGenerateTaskID
()
service/history/timer_queue_active_task_executor_test.go:2372
↓ 38 callers
Method
newTaskExecutable
( task tasks.Task, )
service/history/timer_queue_active_task_executor_test.go:2351
↓ 37 callers
Method
CancelAt
CancelAt indicates that the reservation holder will not perform the reserved action and reverses the effects of this Reservation on the rate limit as
common/quotas/reservation.go:21
↓ 37 callers
Method
CheckTaskQueueVersionMembership
(ctx context.Context, request *matchingservice.CheckTaskQueueVersionMembershipRequest)
service/matching/matching_engine_interfaces.go:38
↓ 37 callers
Method
CreateWorkflow
( lastWriteVersion int64, state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, d
common/persistence/tests/execution_mutable_state.go:2607
↓ 37 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/membership/interfaces_mock.go:178
↓ 37 callers
Method
FireCh
FireCh return the channel which will be fired when time is up
common/timer/gate.go:11
↓ 37 callers
Method
GetAttempt
()
api/token/v1/message.pb.go:316
↓ 37 callers
Method
GetBuildIds
()
api/persistence/v1/task_queues.pb.go:233
↓ 37 callers
Method
GetCreateTime
()
api/persistence/v1/tasks.pb.go:171
↓ 37 callers
Method
GetReleaseFn
()
service/history/api/workflow_lease.go:10
↓ 37 callers
Method
Int64
()
common/testing/testvars/any.go:52
↓ 37 callers
Method
ListQueues
( ctx context.Context, request *InternalListQueuesRequest, )
common/persistence/persistence_interface.go:831
↓ 37 callers
Method
NewClient
options must include Namespace and should not include: HostPort, ConnectionOptions, MetricsHandler, or Logger (they will be overwritten)
common/sdk/factory.go:31
↓ 37 callers
Function
NewMockHandler
NewMockHandler creates a new mock instance.
common/metrics/metrics_mock.go:33
↓ 37 callers
Function
NewServerFailure
(message string, nonRetryable bool)
common/failure/failure.go:14
↓ 37 callers
Method
PutIfNotExist
PutIfNotExist puts a value associated with a given key if it does not exist
common/cache/cache.go:21
↓ 37 callers
Method
RegisterStateChangeCallback
Registers callback for namespace state changes. StateChangeCallbackFn will be invoked for a new/deleted namespace or namespace that has State, Replica
common/namespace/registry.go:37
↓ 37 callers
Method
Stop
Stop stops the executor
service/worker/scanner/executor/executor.go:25
↓ 37 callers
Method
newTaskExecutable
( task tasks.Task, )
service/history/transfer_queue_active_task_executor_test.go:3272
↓ 36 callers
Function
AddOrUpdateVersionHistoryItem
AddOrUpdateVersionHistoryItem updates the VersionHistory with new VersionHistoryItem.
common/persistence/versionhistory/version_history.go:66
↓ 36 callers
Function
Decode
(ps *commonpb.Payloads, valuePtr ...any)
common/payloads/payloads.go:64
↓ 36 callers
Function
Jitter
Jitter return random number from (1-coefficient)*input to (1+coefficient)*input, inclusive, exclusive
common/backoff/jitter.go:11
↓ 36 callers
Method
NamedExecContext
(ctx context.Context, query string, arg any)
common/persistence/sql/sqlplugin/postgresql/db.go:156
↓ 36 callers
Function
New
(t require.TestingT)
common/testing/protorequire/require.go:40
↓ 36 callers
Function
NewMockTask
NewMockTask creates a new mock instance.
common/tasks/task_mock.go:81
↓ 36 callers
Function
NewSQLiteFileConfig
NewSQLiteFileConfig returns a new SQLite config for test
common/persistence/tests/sqlite_test.go:49
↓ 36 callers
Function
NewSQLiteMemoryConfig
NewSQLiteMemoryConfig returns a new SQLite config for test
common/persistence/tests/sqlite_test.go:36
↓ 36 callers
Function
Not
( predicate Predicate[T], )
common/predicates/not.go:9
↓ 36 callers
Method
Scan
(...any)
common/persistence/sql/sqlplugin/visibility.go:145
↓ 36 callers
Function
ServiceRoleTag
Returns a new service role tag.
common/metrics/tags.go:244
↓ 36 callers
Function
SetupSQLiteDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/sqlite_test.go:61
↓ 36 callers
Method
UpdateAcceptCompleteCommands
(tv *testvars.TestVars)
common/testing/updateutils/update.go:58
↓ 36 callers
Method
UpdateWorkflowExecution
(ctx context.Context, request *UpdateWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1122
↓ 36 callers
Function
WorkflowEventID
history event ID related WorkflowEventID returns tag for WorkflowEventID
common/log/tag/tags.go:206
↓ 36 callers
Method
appendHistoryEvents
( shardID int32, branchToken []byte, packet HistoryEventsPacket, )
common/persistence/tests/history_store.go:729
↓ 36 callers
Method
createContext
(parent context.Context)
client/matching/client.go:497
↓ 36 callers
Method
getClientForTaskQueuePartition
( partition tqid.Partition, )
client/matching/client.go:511
↓ 36 callers
Method
getSyncBatchSize
()
service/worker/workerdeployment/client.go:2081
↓ 36 callers
Method
getTaskQueuePartitionManager
Returns taskQueuePartitionManager for a task queue. If not already cached, and create is true, tries to get new range from DB and create one. This blo
service/matching/matching_engine.go:462
↓ 36 callers
Method
mustGenerateTaskID
()
service/history/transfer_queue_active_task_executor_test.go:3293
↓ 36 callers
Function
setupSchedulerForTest
(t *testing.T)
chasm/lib/scheduler/helper_test.go:386
↓ 35 callers
Method
AddWorkflowTaskCompletedEvent
(*WorkflowTaskInfo, *workflowservice.RespondWorkflowTaskCompletedRequest, WorkflowTaskCompletionLimits)
service/history/interfaces/mutable_state.go:76
↓ 35 callers
Function
Any
(key string, value any)
common/log/tag/zap_tag.go:226
↓ 35 callers
Function
ArchivalArchiveFailReason
ArchivalArchiveFailReason returns tag for ArchivalArchiveFailReason
common/log/tag/tags.go:901
↓ 35 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/worker/parentclosepolicy/client_mock.go:39
↓ 35 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
api/historyservicemock/v1/service_grpc.pb.mock.go:42
↓ 35 callers
Method
GetMaximumPageSize
()
api/adminservice/v1/request_response.pb.go:2846
↓ 35 callers
Method
GetScheduledEventId
()
chasm/lib/workflow/gen/workflowpb/v1/state.pb.go:67
↓ 35 callers
Method
Intercept
(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler)
common/rpc/interceptor/namespace_rate_limit.go:34
↓ 35 callers
Function
NewMockVisibilityManager
NewMockVisibilityManager creates a new mock instance.
common/persistence/visibility/manager/visibility_manager_mock.go:34
↓ 35 callers
Method
NextBackOff
(err error)
common/backoff/retrypolicy.go:42
↓ 35 callers
Method
Partition
()
service/matching/task_queue_partition_manager_interface.go:62
↓ 35 callers
Method
createPersistenceMutableState
( ms historyi.MutableState, lastEventID int64, lastEventVersion int64, )
service/history/transfer_queue_active_task_executor_test.go:3258
↓ 35 callers
Method
getMutableState
(testNamespaceID namespace.ID, we *commonpb.WorkflowExecution)
service/history/history_engine_test.go:6616
↓ 35 callers
Function
newRegistryImpl
(params RegistryParams)
service/matching/workers/registry_impl.go:237
↓ 34 callers
Method
AddActivityTask
(ctx context.Context, addRequest *matchingservice.AddActivityTaskRequest)
service/matching/matching_engine_interfaces.go:16
↓ 34 callers
Method
Bool
(name string)
tools/tdbg/prompter.go:32
↓ 34 callers
Method
Cancel
Cancel marks the task as cancelled, usually by the task submitter
common/tasks/task.go:31
↓ 34 callers
Method
Decode
TODO: Return a iterator on node name instead of []string, so that we can get a node by encoded path without additional allocation for the decoded path
chasm/tree.go:245
↓ 34 callers
Method
FindOrCreate
FindOrCreate finds an existing Update or creates a new one. The second return value (bool) indicates whether the Update returned already existed and w
service/history/workflow/update/registry.go:33
↓ 34 callers
Method
Identity
Identity returns the unique identifier of the host. This may be the same as the address.
common/membership/hostinfo.go:7
↓ 34 callers
Function
IsContextDeadlineExceededErr
IsContextDeadlineExceededErr checks if the error is context.DeadlineExceeded or serviceerror.DeadlineExceeded error
common/util.go:322
← previous
next →
701–800 of 43,335, ranked by callers