MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 39 callersMethodGetHistoryConfig
()
common/archiver/metadata_mock.go:35
↓ 39 callersMethodKind
()
service/matching/hooks/task_lifecycle_hooks.go:33
↓ 39 callersMethodMarkExecutionStart
()
service/history/replication/executable_task.go:103
↓ 39 callersFunctionPartitionFromProto
(proto *taskqueuepb.TaskQueue, namespaceId string, taskType enumspb.TaskQueueType)
common/tqid/task_queue_id.go:167
↓ 39 callersMethodSDKDeploymentVersion
SDKDeploymentVersion returns SDK worker deployment version
common/testing/testvars/test_vars.go:263
↓ 39 callersMethodSelectContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/mysql/db.go:153
↓ 39 callersMethodSetValue
(k string, v any)
common/dynamicconfig/collection_test.go:617
↓ 39 callersMethodUpdate
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 callersMethodnewHistoryEvents
( eventIDs []int64, transactionID int64, prevTransactionID int64, )
common/persistence/tests/history_store.go:855
↓ 39 callersMethodnow
test helpers
service/worker/scheduler/workflow_test.go:58
↓ 39 callersFunctionsetup
(t *testing.T, handler nexus.Handler)
common/nexus/nexusrpc/setup_test.go:54
↓ 39 callersFunctionwaitRecv
waitRecv blocks until ch yields a value, failing the test on timeout.
service/matching/scale_manager_test.go:118
↓ 38 callersMethodChild
Child recursively gets a child for the given path.
service/history/hsm/tree.go:309
↓ 38 callersMethodCreateWorkflowExecution
(ctx context.Context, request *CreateWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1121
↓ 38 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/log/interface_mock.go:39
↓ 38 callersMethodFailNow
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 callersFunctionFromPersistentState
( detail *persistencespb.NamespaceDetail, resolver ReplicationResolver, mutations ...Mutation, )
common/namespace/namespace.go:79
↓ 38 callersMethodGetAssignedBuildId
()
service/history/interfaces/mutable_state.go:205
↓ 38 callersMethodGetConflictToken
()
api/schedule/v1/message.pb.go:359
↓ 38 callersMethodGetEvent
(ctx context.Context, shardID int32, key EventKey, firstEventID int64, branchToken []byte)
service/history/events/cache.go:32
↓ 38 callersMethodGetHeader
()
api/archiver/v1/message.pb.go:184
↓ 38 callersMethodMatchingClient
()
tests/testcore/clients.go:115
↓ 38 callersFunctionNewDimensionlessHistogramDef
(name string, opts ...Option)
common/metrics/defs.go:38
↓ 38 callersFunctionNewHistoryEventVertex
NewHistoryEventVertex initials a history event vertex
common/testing/event_generator.go:413
↓ 38 callersFunctionNewInt64
(key string, value int64)
common/log/tag/zap_tag.go:84
↓ 38 callersMethodRecord
(latency time.Duration, err error)
common/rpc/interceptor/health_check.go:39
↓ 38 callersMethodSelectContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:151
↓ 38 callersMethodSetDataFunc
SetDataFunc sets the data generation function
common/testing/event_generator.go:478
↓ 38 callersMethodSort
()
service/matching/ack_manager_test.go:137
↓ 38 callersMethodStart
()
service/history/queues/queue.go:14
↓ 38 callersFunctionUpdateVersionSets
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 callersFunctionValue
Value returns tag for Value
common/log/tag/tags.go:461
↓ 38 callersMethodWithMaximumAttempts
WithMaximumAttempts sets the maximum number of retry attempts
common/backoff/retrypolicy.go:135
↓ 38 callersMethodcreateRandomNexusEndpoint
(ctx context.Context, t *testing.T)
tests/nexus_test_base.go:63
↓ 38 callersFunctiondoNotCare
(x T)
service/history/workflow/retry_test.go:314
↓ 38 callersFunctionfile_temporal_server_api_persistence_v1_executions_proto_rawDescGZIP
()
api/persistence/v1/executions.pb.go:5408
↓ 38 callersFunctiongetDefaultHistoryEvent
( eventID int64, version int64, )
common/testing/history_event_util.go:932
↓ 38 callersMethodmustGenerateTaskID
()
service/history/timer_queue_active_task_executor_test.go:2372
↓ 38 callersMethodnewTaskExecutable
( task tasks.Task, )
service/history/timer_queue_active_task_executor_test.go:2351
↓ 37 callersMethodCancelAt
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 callersMethodCheckTaskQueueVersionMembership
(ctx context.Context, request *matchingservice.CheckTaskQueueVersionMembershipRequest)
service/matching/matching_engine_interfaces.go:38
↓ 37 callersMethodCreateWorkflow
( lastWriteVersion int64, state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, d
common/persistence/tests/execution_mutable_state.go:2607
↓ 37 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/membership/interfaces_mock.go:178
↓ 37 callersMethodFireCh
FireCh return the channel which will be fired when time is up
common/timer/gate.go:11
↓ 37 callersMethodGetAttempt
()
api/token/v1/message.pb.go:316
↓ 37 callersMethodGetBuildIds
()
api/persistence/v1/task_queues.pb.go:233
↓ 37 callersMethodGetCreateTime
()
api/persistence/v1/tasks.pb.go:171
↓ 37 callersMethodGetReleaseFn
()
service/history/api/workflow_lease.go:10
↓ 37 callersMethodInt64
()
common/testing/testvars/any.go:52
↓ 37 callersMethodListQueues
( ctx context.Context, request *InternalListQueuesRequest, )
common/persistence/persistence_interface.go:831
↓ 37 callersMethodNewClient
options must include Namespace and should not include: HostPort, ConnectionOptions, MetricsHandler, or Logger (they will be overwritten)
common/sdk/factory.go:31
↓ 37 callersFunctionNewMockHandler
NewMockHandler creates a new mock instance.
common/metrics/metrics_mock.go:33
↓ 37 callersFunctionNewServerFailure
(message string, nonRetryable bool)
common/failure/failure.go:14
↓ 37 callersMethodPutIfNotExist
PutIfNotExist puts a value associated with a given key if it does not exist
common/cache/cache.go:21
↓ 37 callersMethodRegisterStateChangeCallback
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 callersMethodStop
Stop stops the executor
service/worker/scanner/executor/executor.go:25
↓ 37 callersMethodnewTaskExecutable
( task tasks.Task, )
service/history/transfer_queue_active_task_executor_test.go:3272
↓ 36 callersFunctionAddOrUpdateVersionHistoryItem
AddOrUpdateVersionHistoryItem updates the VersionHistory with new VersionHistoryItem.
common/persistence/versionhistory/version_history.go:66
↓ 36 callersFunctionDecode
(ps *commonpb.Payloads, valuePtr ...any)
common/payloads/payloads.go:64
↓ 36 callersFunctionJitter
Jitter return random number from (1-coefficient)*input to (1+coefficient)*input, inclusive, exclusive
common/backoff/jitter.go:11
↓ 36 callersMethodNamedExecContext
(ctx context.Context, query string, arg any)
common/persistence/sql/sqlplugin/postgresql/db.go:156
↓ 36 callersFunctionNew
(t require.TestingT)
common/testing/protorequire/require.go:40
↓ 36 callersFunctionNewMockTask
NewMockTask creates a new mock instance.
common/tasks/task_mock.go:81
↓ 36 callersFunctionNewSQLiteFileConfig
NewSQLiteFileConfig returns a new SQLite config for test
common/persistence/tests/sqlite_test.go:49
↓ 36 callersFunctionNewSQLiteMemoryConfig
NewSQLiteMemoryConfig returns a new SQLite config for test
common/persistence/tests/sqlite_test.go:36
↓ 36 callersFunctionNot
( predicate Predicate[T], )
common/predicates/not.go:9
↓ 36 callersMethodScan
(...any)
common/persistence/sql/sqlplugin/visibility.go:145
↓ 36 callersFunctionServiceRoleTag
Returns a new service role tag.
common/metrics/tags.go:244
↓ 36 callersFunctionSetupSQLiteDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/sqlite_test.go:61
↓ 36 callersMethodUpdateAcceptCompleteCommands
(tv *testvars.TestVars)
common/testing/updateutils/update.go:58
↓ 36 callersMethodUpdateWorkflowExecution
(ctx context.Context, request *UpdateWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1122
↓ 36 callersFunctionWorkflowEventID
history event ID related WorkflowEventID returns tag for WorkflowEventID
common/log/tag/tags.go:206
↓ 36 callersMethodappendHistoryEvents
( shardID int32, branchToken []byte, packet HistoryEventsPacket, )
common/persistence/tests/history_store.go:729
↓ 36 callersMethodcreateContext
(parent context.Context)
client/matching/client.go:497
↓ 36 callersMethodgetClientForTaskQueuePartition
( partition tqid.Partition, )
client/matching/client.go:511
↓ 36 callersMethodgetSyncBatchSize
()
service/worker/workerdeployment/client.go:2081
↓ 36 callersMethodgetTaskQueuePartitionManager
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 callersMethodmustGenerateTaskID
()
service/history/transfer_queue_active_task_executor_test.go:3293
↓ 36 callersFunctionsetupSchedulerForTest
(t *testing.T)
chasm/lib/scheduler/helper_test.go:386
↓ 35 callersMethodAddWorkflowTaskCompletedEvent
(*WorkflowTaskInfo, *workflowservice.RespondWorkflowTaskCompletedRequest, WorkflowTaskCompletionLimits)
service/history/interfaces/mutable_state.go:76
↓ 35 callersFunctionAny
(key string, value any)
common/log/tag/zap_tag.go:226
↓ 35 callersFunctionArchivalArchiveFailReason
ArchivalArchiveFailReason returns tag for ArchivalArchiveFailReason
common/log/tag/tags.go:901
↓ 35 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/worker/parentclosepolicy/client_mock.go:39
↓ 35 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
api/historyservicemock/v1/service_grpc.pb.mock.go:42
↓ 35 callersMethodGetMaximumPageSize
()
api/adminservice/v1/request_response.pb.go:2846
↓ 35 callersMethodGetScheduledEventId
()
chasm/lib/workflow/gen/workflowpb/v1/state.pb.go:67
↓ 35 callersMethodIntercept
(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler)
common/rpc/interceptor/namespace_rate_limit.go:34
↓ 35 callersFunctionNewMockVisibilityManager
NewMockVisibilityManager creates a new mock instance.
common/persistence/visibility/manager/visibility_manager_mock.go:34
↓ 35 callersMethodNextBackOff
(err error)
common/backoff/retrypolicy.go:42
↓ 35 callersMethodPartition
()
service/matching/task_queue_partition_manager_interface.go:62
↓ 35 callersMethodcreatePersistenceMutableState
( ms historyi.MutableState, lastEventID int64, lastEventVersion int64, )
service/history/transfer_queue_active_task_executor_test.go:3258
↓ 35 callersMethodgetMutableState
(testNamespaceID namespace.ID, we *commonpb.WorkflowExecution)
service/history/history_engine_test.go:6616
↓ 35 callersFunctionnewRegistryImpl
(params RegistryParams)
service/matching/workers/registry_impl.go:237
↓ 34 callersMethodAddActivityTask
(ctx context.Context, addRequest *matchingservice.AddActivityTaskRequest)
service/matching/matching_engine_interfaces.go:16
↓ 34 callersMethodBool
(name string)
tools/tdbg/prompter.go:32
↓ 34 callersMethodCancel
Cancel marks the task as cancelled, usually by the task submitter
common/tasks/task.go:31
↓ 34 callersMethodDecode
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 callersMethodFindOrCreate
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 callersMethodIdentity
Identity returns the unique identifier of the host. This may be the same as the address.
common/membership/hostinfo.go:7
↓ 34 callersFunctionIsContextDeadlineExceededErr
IsContextDeadlineExceededErr checks if the error is context.DeadlineExceeded or serviceerror.DeadlineExceeded error
common/util.go:322
← previousnext →701–800 of 43,335, ranked by callers