MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 53 callersMethodExec
(stmt string, args ...any)
common/persistence/sql/sqlplugin/interfaces.go:90
↓ 53 callersMethodState
()
service/history/hsm/sm.go:22
↓ 53 callersMethodTerminalState
()
service/history/replication/executable_task.go:68
↓ 53 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/nexus_standalone_test.go:46
↓ 52 callersMethodActiveClusterName
(routingKey RoutingKey)
common/namespace/replication_resolver.go:25
↓ 52 callersMethodGetLinks
()
api/persistence/v1/executions.pb.go:3784
↓ 52 callersFunctionNewHistoryEventEdge
NewHistoryEventEdge initials a new edge between two HistoryEventVertexes
common/testing/event_generator.go:338
↓ 52 callersMethodString
String returns the 36 byte hexstring representation of this uuid return empty string if this uuid is nil
common/primitives/uuid.go:93
↓ 52 callersFunctionaddActivityTaskScheduledEvent
( ms historyi.MutableState, workflowTaskCompletedID int64, activityID, activityType, taskQueue string, in
service/history/history_engine_test.go:6717
↓ 52 callersMethodcheckMutability
( actionTag tag.ZapTag, )
service/history/workflow/mutable_state_impl.go:9010
↓ 52 callersFunctionnewTestPredicate
(nums ...int)
common/predicates/predicates_test.go:16
↓ 52 callersMethodstartVersionWorkflow
(ctx context.Context, env *testcore.TestEnv, tv *testvars.TestVars)
tests/worker_deployment_version_test.go:146
↓ 51 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/archiver/gcloud/connector/client_mock.go:40
↓ 51 callersMethodGetMapper
(nsName namespace.Name)
common/searchattribute/mapper.go:37
↓ 51 callersMethodMetric
(name string)
tests/testcore/metric_capture.go:26
↓ 51 callersFunctionNewDataField
re. Data v.s. Component. Components have behavior and has a lifecycle. while Data doesn't and must be attached to a component. You can define a compo
chasm/field.go:28
↓ 51 callersFunctionNewRegistry
NewRegistry creates a new [Registry].
service/history/hsm/registry.go:49
↓ 51 callersMethodRetryPolicy
RetryPolicy returns the retry policy for task processing
common/tasks/task.go:27
↓ 51 callersMethodSignalWithStartWorkflowExecution
(ctx context.Context, request *historyservice.SignalWithStartWorkflowExecutionRequest)
service/history/interfaces/engine.go:44
↓ 51 callersFunctionTaskID
TaskID returns tag for TaskID
common/log/tag/tags.go:622
↓ 51 callersFunctionf
(r *rpc.RPCFactory)
common/rpc/test/rpc_localstore_tls_test.go:445
↓ 51 callersMethodmockUpdateVersion
(events ...*historypb.HistoryEvent)
service/history/workflow/mutable_state_rebuilder_test.go:148
↓ 51 callersMethodtoHistory
(eventss ...*historypb.HistoryEvent)
service/history/workflow/mutable_state_rebuilder_test.go:158
↓ 50 callersMethodCreateQueue
CreateQueue creates a new queue. An error will be returned if the queue already exists. In addition, an error will be returned if you attempt to opera
common/persistence/persistence_interface.go:823
↓ 50 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/interfaces/engine_mock.go:54
↓ 50 callersMethodGetEvents
()
api/history/v1/message.pb.go:425
↓ 50 callersMethodGetExecutionInfo
()
service/history/workflow/mutable_state_impl.go:1116
↓ 50 callersMethodGetNamespace
GetNamespace helper method
common/persistence/persistence-tests/metadata_persistence_v2.go:1455
↓ 50 callersMethodGetTaskId
()
api/token/v1/message.pb.go:439
↓ 50 callersMethodReserveN
ReserveN returns a Reservation that indicates how long the caller must wait before event happen.
common/quotas/rate_limiter.go:29
↓ 50 callersMethodRespondActivityTaskCompleted
(ctx context.Context, request *historyservice.RespondActivityTaskCompletedRequest)
service/history/interfaces/engine.go:38
↓ 50 callersMethodTryGet
TryGet returns the value of the field and a boolean indicating if the value was found, deserializing if necessary. Panics rather than returning an err
chasm/field.go:82
↓ 50 callersMethodUpdateShard
(ctx context.Context, request *UpdateShardRequest)
common/persistence/data_interfaces.go:1111
↓ 50 callersMethodVersion
Version returns a pointer to the physical queue version key. Caller must not manipulate the returned value.
service/matching/physical_task_queue_key.go:154
↓ 50 callersMethodWaitUntilInitialized
(context.Context)
service/matching/backlog_manager.go:42
↓ 50 callersMethodaddAssignmentRule
( env *testcore.TestEnv, tq, buildID string, )
tests/versioning_test.go:4780
↓ 50 callersFunctionrespondEmptyWft
( tv *testvars.TestVars, sticky bool, behavior enumspb.VersioningBehavior, )
tests/versioning_3_test.go:4597
↓ 50 callersMethodwaitForDeploymentDataPropagation
TODO (Shivam): Clean up this function once sync entity workflows have been removed.
tests/versioning_3_test.go:4994
↓ 49 callersMethodArchetypeID
()
service/history/interfaces/chasm_tree.go:29
↓ 49 callersFunctionDurationValue
(d *durationpb.Duration)
common/primitives/timestamp/duration.go:21
↓ 49 callersMethodExecute
Execute process this task
common/tasks/task.go:21
↓ 49 callersMethodGetFailoverVersionIncrement
GetFailoverVersionIncrement return the Failover version increment value
common/cluster/metadata.go:60
↓ 49 callersMethodIsEmpty
IsEmpty indicate if the queue is empty
common/collection/interface.go:13
↓ 49 callersFunctionNewComponentField
( ctx MutableContext, c C, options ...ComponentFieldOption, )
chasm/field.go:37
↓ 49 callersFunctionNewRoot
NewRoot creates a new root [Node]. Children may be provided from persistence to rehydrate the tree. Returns [ErrNotRegistered] if the key's type is no
service/history/hsm/tree.go:200
↓ 49 callersFunctionNewSerializer
NewSerializer creates a new instance of Serializer
common/tasktoken/serializer.go:11
↓ 49 callersMethodOptions
Options returns the TestOptions to configure matching behavior.
tests/testcore/matching_behavior.go:39
↓ 49 callersFunctionRandomSnapshot
( t *testing.T, namespaceID string, workflowID string, runID string, eventID int64, lastWriteVersion int
common/persistence/tests/util.go:37
↓ 49 callersMethodStop
()
service/history/queues/queue.go:15
↓ 49 callersMethodUnmarshal
Unmarshal an object of type Task from the protobuf v3 wire format
api/token/v1/message.go-helpers.pb.go:88
↓ 49 callersMethodcreateHistoryEvent
( eventType enumspb.EventType, time time.Time, )
service/history/historybuilder/event_factory.go:1084
↓ 49 callersFunctionnewVisibilityContext
()
common/persistence/sql/sqlplugin/tests/context.go:21
↓ 49 callersMethodwaitForAssignmentRulePropagation
waitForAssignmentRulePropagation waits for all partitions of tq to have the given assignment rule in their versioning data
tests/versioning_test.go:4903
↓ 48 callersFunctionDecodeString
(t require.TestingT, pls *commonpb.Payloads)
tests/testcore/utils.go:54
↓ 48 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/cluster/metadata_mock.go:39
↓ 48 callersMethodExpect
Expect instructs the logger to track matching log calls, as specified by the level, msg, and tag arguments. For error-level logs, depending on the Mod
common/testing/testlogger/testlogger.go:335
↓ 48 callersMethodGet
(ctx context.Context, URI archiver.URI, file string)
common/archiver/gcloud/connector/client.go:33
↓ 48 callersMethodGetActivityInfo
(int64)
service/history/interfaces/mutable_state.go:160
↓ 48 callersMethodLen
Len return the size of the queue
common/tasks/sequential_task_queue.go:16
↓ 48 callersFunctionNewNamespaceForTest
NewNamespaceForTest returns an entry with test data
common/namespace/testconstructors.go:32
↓ 48 callersMethodStop
Stop prevents the Timer from firing. It returns true if the call stops the timer, false if the timer has already expired or been stopped.
common/clock/time_source.go:24
↓ 48 callersMethodUpdateAcceptCompleteMessages
(tv *testvars.TestVars, updRequestMsg *protocolpb.Message)
common/testing/updateutils/update.go:108
↓ 48 callersMethodupsertHeartbeats
upsertHeartbeats inserts or refreshes a WorkerHeartbeat under the given namespace. Returns the count of added and removed entries separately. Workers
service/matching/workers/registry_impl.go:92
↓ 48 callersMethodverifyEffectiveDeployment
( expectedDeployment *deploymentpb.Deployment, expectedBehavior enumspb.VersioningBehavior, )
service/history/workflow/mutable_state_impl_test.go:923
↓ 47 callersFunctionBytes
(slice []byte)
common/shuffle/shuffle.go:11
↓ 47 callersMethodCategory
()
service/history/queues/queue.go:11
↓ 47 callersMethodChasmRegistry
()
service/history/interfaces/shard_context.go:119
↓ 47 callersMethodDescriptor
()
common/testing/protoutils/enum.go:7
↓ 47 callersMethodDeserializeEvents
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:73
↓ 47 callersFunctionGetLastVersionHistoryItem
GetLastVersionHistoryItem return the last VersionHistoryItem.
common/persistence/versionhistory/version_history.go:217
↓ 47 callersMethodNamedExecContext
(ctx context.Context, query string, arg any)
common/persistence/sql/sqlplugin/interfaces.go:131
↓ 47 callersFunctionThat
That performs a soft assertion by logging an error if the given condition is false. It is meant to indicate a condition is always expected to be true.
common/softassert/softassert.go:28
↓ 47 callersFunctionTimeNowPtrUtc
()
common/primitives/timestamp/time.go:48
↓ 47 callersMethodUpdateWorkerBuildIdCompatibility
(ctx context.Context, request *matchingservice.UpdateWorkerBuildIdCompatibilityRequest)
service/matching/matching_engine_interfaces.go:26
↓ 47 callersMethodWithMaximumInterval
WithMaximumInterval sets the maximum interval for each retry. This does *not* cause the policy to stop retrying when the interval between retries reac
common/backoff/retrypolicy.go:123
↓ 47 callersFunctionbuildID
(wallclock int64, id string, optionalState ...persistencespb.BuildId_State)
service/matching/version_sets_merge_test.go:16
↓ 47 callersFunctioncomponent
========== System tags defined here: ========== Tags with pre-define values Component returns tag for Component
common/log/tag/tags.go:378
↓ 47 callersFunctionnewTestContext
(t *testing.T, cfg *nexusoperation.Config)
chasm/lib/workflow/nexus_commands_test.go:66
↓ 47 callersMethodnewTestTree
( serializedNodes map[string]*persistencespb.ChasmNode, )
chasm/tree_test.go:4077
↓ 47 callersMethodwUnlock
()
service/history/shard/context_impl.go:1517
↓ 47 callersMethodwaitForCallback
(ch <-chan struct{}, description string)
common/namespace/nsregistry/registry_watch_test.go:223
↓ 46 callersMethodAddWorkflowTaskStartedEvent
(int64, string, *taskqueuepb.TaskQueue, string, *commonpb.WorkerVersionStamp, *taskqueuespb.BuildIdRedirectInf
service/history/interfaces/mutable_state.go:82
↓ 46 callersMethodDial
Dial returns a [TaskClient] given a cluster name. You don't need to close this client. Note that some implementations will cache clients.
service/worker/dlq/workflow.go:112
↓ 46 callersMethodExecute
(MutableContext, C, TaskAttributes, T)
chasm/task.go:46
↓ 46 callersMethodFlushBufferedEvents
()
service/history/ndc/workflow.go:33
↓ 46 callersMethodGetPerType
()
api/persistence/v1/task_queues.pb.go:708
↓ 46 callersFunctionServiceErrorTypeTag
(err error)
common/metrics/tags.go:390
↓ 46 callersMethodStop
(log.Logger)
common/metrics/metrics.go:37
↓ 46 callersMethodSyncDeploymentUserData
(ctx context.Context, request *matchingservice.SyncDeploymentUserDataRequest)
service/matching/matching_engine_interfaces.go:29
↓ 46 callersMethodWithExpirationInterval
WithExpirationInterval sets the absolute expiration interval for all retries
common/backoff/retrypolicy.go:129
↓ 46 callersMethodfinishMetricsRecording
( metricsHandler metrics.Handler, startTime time.Time, err error, )
client/admin/metric_client.go:47
↓ 46 callersMethodnewTaskExecutable
( task tasks.Task, )
service/history/transfer_queue_standby_task_executor_test.go:1327
↓ 46 callersMethodrunTestWithMatchingBehavior
(subtest func(*testcore.TestEnv, *VersioningIntegSuite))
tests/versioning_test.go:104
↓ 46 callersFunctionscheduleCommonOpts
(t *testing.T)
tests/schedule_test.go:64
↓ 46 callersMethodstartMetricsRecording
( ctx context.Context, operation string, )
client/admin/metric_client.go:37
↓ 46 callersMethodvalidateWorkflowBuildIds
( env *testcore.TestEnv, wfID string, runID string, expectedBuildId string, newVersioning bool, expected
tests/versioning_test.go:5053
↓ 45 callersMethodAppend
Append an issue to the set.
common/rpc/request_issues.go:17
↓ 45 callersMethodBytes
Bytes returns the raw bytes of the deserialized TaskPayload. This will return nil if the payload has not been deserialized yet.
tools/tdbg/dlq_v2_service.go:79
↓ 45 callersMethodClose
()
service/history/queues/monitor.go:42
↓ 45 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/dynamicconfig/file_based_client_mock.go:39
← previousnext →501–600 of 43,335, ranked by callers