MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 25 callersMethodValidate
(v any)
common/dynamicconfig/setting.go:36
↓ 25 callersMethodWithWorkflowIDNumber
(n int)
common/testing/testvars/test_vars.go:192
↓ 25 callersMethodcallback
()
common/namespace/nsregistry/registry_watch_test.go:49
↓ 25 callersMethodcreateTestTask
Helper functions
common/tasks/execution_aware_scheduler_test.go:376
↓ 25 callersFunctionnewCallbackTracker
(bufferSize int)
common/namespace/nsregistry/registry_watch_test.go:43
↓ 25 callersMethodrunTestWithMatchingBehavior
(testFn func(*testcore.TestEnv, *Versioning3Suite), opts ...testcore.TestOption)
tests/versioning_3_test.go:114
↓ 25 callersMethodsendUpdateWithStart
(env *testcore.TestEnv, startReq *workflowservice.StartWorkflowExecutionRequest, updateReq *workflowservice.Up
tests/update_workflow_test.go:5003
↓ 25 callersMethodsetCurrentVersion
(env *VersioningTestEnv, tv *testvars.TestVars, ignoreMissingTaskQueues bool, expectedError string)
tests/worker_deployment_test.go:3394
↓ 25 callersMethodstartWorker
startWorker creates a worker on the given task queue, registers wfs, starts it, and schedules cleanup.
tests/nexus_workflow_update_test.go:222
↓ 24 callersMethodApply
Apply invokes the buffered effect functions in the order that they were added to this Buffer. It returns true if any effects were applied.
common/effect/buffer.go:29
↓ 24 callersFunctionCheckEventBlobSizeLimit
CheckEventBlobSizeLimit checks if a blob data exceeds limits. It logs a warning if it exceeds warnLimit, and return ErrBlobSizeExceedsLimit if it exce
common/util.go:602
↓ 24 callersMethodClose
()
common/persistence/sql/sqlplugin/visibility.go:146
↓ 24 callersFunctionCopyVersionHistory
CopyVersionHistory copies VersionHistory.
common/persistence/versionhistory/version_history.go:18
↓ 24 callersFunctionDestinationTag
DestinationTag is a tag for metrics emitted by outbound task executors for the task's destination.
common/metrics/tags.go:475
↓ 24 callersMethodGetArchetypeId
()
api/persistence/v1/chasm.pb.go:524
↓ 24 callersMethodGetCurrentBranchToken
()
service/history/interfaces/mutable_state.go:175
↓ 24 callersMethodGetDrainageInfo
()
api/deployment/v1/message.pb.go:435
↓ 24 callersMethodGetOperation
()
api/persistence/v1/executions.pb.go:4093
↓ 24 callersMethodGetPendingChildExecutionInfos
()
service/history/interfaces/mutable_state.go:190
↓ 24 callersMethodGetStartEventId
()
api/token/v1/message.pb.go:195
↓ 24 callersMethodGetThrottledLogger
()
service/history/interfaces/shard_context.go:47
↓ 24 callersFunctionGetVersionHistoryEventVersion
GetVersionHistoryEventVersion return the corresponding event version of an event ID.
common/persistence/versionhistory/version_history.go:229
↓ 24 callersMethodHelper
()
common/testing/taskpoller/taskpoller.go:27
↓ 24 callersMethodKey
()
common/tqid/task_queue_id.go:77
↓ 24 callersFunctionNewBytesHistogramDef
(name string, opts ...Option)
common/metrics/defs.go:30
↓ 24 callersFunctionNewContext
NewContext creates a new Context from an existing Context and root Node. NOTE: Library authors should not invoke this constructor directly, and inste
chasm/context.go:132
↓ 24 callersFunctionNewMockBean
NewMockBean creates a new mock instance.
client/client_bean_mock.go:36
↓ 24 callersFunctionNewRegistrablePureTask
( taskType string, handler PureTaskHandler[C, T], opts ...RegistrableTaskOption, )
chasm/registrable_task.go:76
↓ 24 callersFunctionNewRequest
( api string, token int, caller string, callerType string, callerSegment int32, initiation string, )
common/quotas/request.go:14
↓ 24 callersFunctionNewRequestRateLimiterAdapter
( rateLimiter RateLimiter, )
common/quotas/request_rate_limiter_adapter_impl.go:16
↓ 24 callersFunctionNewTestMapperProvider
(customMapper Mapper)
common/searchattribute/test_provider.go:148
↓ 24 callersMethodNextTransitionCount
NextTransitionCount returns the next state transition count from the state transition history. If state transition history is empty (e.g. when disable
service/history/interfaces/mutable_state.go:371
↓ 24 callersMethodNotificationVersion
NotificationVersion return the global notification version of when namespace changed
common/namespace/namespace.go:249
↓ 24 callersMethodPollAndProcessActivityTask
PollAndProcessActivityTask for activity tasks
tests/testcore/taskpoller.go:381
↓ 24 callersMethodRespondNexusTaskCompleted
(ctx context.Context, request *matchingservice.RespondNexusTaskCompletedRequest, opMetrics metrics.Handler)
service/matching/matching_engine_interfaces.go:41
↓ 24 callersMethodSetStateMachineRegistry
SetStateMachineRegistry sets the state machine registry on this shard.
service/history/shard/context_testutil.go:217
↓ 24 callersMethodSourceClusterName
()
service/history/replication/executable_task.go:58
↓ 24 callersMethodTaskCreationTime
()
service/history/replication/executable_task.go:57
↓ 24 callersFunctionUniversal
()
common/predicates/universal.go:7
↓ 24 callersFunctionUnsafeTaskQueueFamily
UnsafeTaskQueueFamily returns a TaskQueueFamily object without validating the task queue name. This method should only be used in logs/metrics, not in
common/tqid/task_queue_id.go:142
↓ 24 callersMethodValidateURI
ValidateURI is used to define what a valid URI for an implementation is.
common/archiver/interface.go:58
↓ 24 callersMethodWait
Wait atomically unlocks user provided lock and suspends execution of the calling goroutine. After later resuming execution, Wait locks c.L before retu
common/locks/condition_variable.go:13
↓ 24 callersFunctionWorkflowScheduledEventID
WorkflowScheduledEventID returns tag for WorkflowScheduledEventID
common/log/tag/tags.go:211
↓ 24 callersMethodapplyEvents
( workflowID string, runID string, workflowType string, taskqueue string, versionHistory *historyspb.Vers
tests/ndc/ndc_test.go:2141
↓ 24 callersFunctiongetOrCreate
(tv *TestVars, key string, initialValGen func(key string) T, valNSetter func(val T, n int) T)
common/testing/testvars/test_vars.go:52
↓ 24 callersMethodmatches
Returns true if the given time matches this calendar spec.
service/worker/scheduler/calendar.go:96
↓ 24 callersMethodnewRandomVisibilityRow
( namespaceID primitives.UUID, runID primitives.UUID, workflowTypeName string, workflowID string, startTi
common/persistence/sql/sqlplugin/tests/visibility.go:1386
↓ 24 callersFunctionnewTaskQueueConfig
(tq *tqid.TaskQueue, config *Config, ns namespace.Name)
service/matching/config.go:393
↓ 24 callersFunctionregister
(s GenericSetting)
common/dynamicconfig/registry.go:19
↓ 24 callersMethodsetCurrent
(env *testcore.TestEnv, tv *testvars.TestVars, ignoreMissingTQs bool)
tests/worker_deployment_version_test.go:1762
↓ 24 callersMethodupdateTaskQueueDeploymentDataWithRoutingConfig
updateTaskQueueDeploymentDataWithRoutingConfig updates the deployment data for the requested TQ types and also waits for the data to propagate to all
tests/versioning_3_test.go:4283
↓ 23 callersMethodAddWorkflowExecutionOptionsUpdatedEvent
AddWorkflowExecutionOptionsUpdatedEvent writes a workflow execution options updated event. This is used to attach completion callbacks, request IDs, l
service/history/workflow/update/store.go:53
↓ 23 callersMethodAwaitTrue
AwaitTrue calls fn repeatedly until it returns true or timeout is reached. Use it for simple local predicates only. Do not use assertions or side eff
common/testing/parallelsuite/suite.go:123
↓ 23 callersFunctionClusterName
ClusterName returns tag for ClusterName
common/log/tag/tags.go:55
↓ 23 callersMethodCurrentVersionedTransition
()
service/history/interfaces/mutable_state.go:410
↓ 23 callersFunctionGetActiveNamespace
( shard historyi.ShardContext, namespaceUUID namespace.ID, businessID string, )
service/history/api/namespace.go:10
↓ 23 callersMethodGetAllHistoryTreeBranches
GetAllHistoryTreeBranches returns all branches of all trees
common/persistence/data_interfaces.go:1172
↓ 23 callersMethodGetApproximateBacklogCount
()
api/persistence/v1/tasks.pb.go:439
↓ 23 callersMethodGetCurrentClusterMetadata
(ctx context.Context)
common/persistence/data_interfaces.go:1239
↓ 23 callersFunctionGetDurationPropertyFnFilteredByTaskQueue
(value time.Duration)
common/dynamicconfig/setting_gen.go:633
↓ 23 callersMethodGetEndEventId
()
api/token/v1/message.pb.go:209
↓ 23 callersMethodGetEndNodeId
()
api/persistence/v1/history_tree.pb.go:219
↓ 23 callersMethodGetPriority
()
service/history/replication/executable_task.go:104
↓ 23 callersMethodGetVersioningData
()
api/persistence/v1/task_queues.pb.go:701
↓ 23 callersMethodListNexusEndpoints
(ctx context.Context, request *matchingservice.ListNexusEndpointsRequest)
service/matching/matching_engine_interfaces.go:46
↓ 23 callersMethodMerge
(Iterator)
service/history/queues/iterator.go:18
↓ 23 callersFunctionNew
New creates a new Update instance with the provided ID and set of options.
service/history/workflow/update/update.go:69
↓ 23 callersFunctionNewDLQWriter
NewDLQWriter returns a DLQ which will write to the given QueueWriter.
service/history/queues/dlq_writer.go:47
↓ 23 callersFunctionNewDefaultTaskCategoryRegistry
NewDefaultTaskCategoryRegistry creates a new MutableTaskCategoryRegistry with the default categories. The "default" categories here are really the unc
service/history/tasks/task_category_registry.go:28
↓ 23 callersMethodNewHistoryBranch
( namespaceID string, workflowID string, runID string, treeID string, branchID *string, ance
common/persistence/history_branch_util.go:15
↓ 23 callersFunctionNewMockQueue
NewMockQueue creates a new mock instance.
service/history/queues/queue_mock.go:32
↓ 23 callersFunctionNewNamespaceDurationSetting
(key string, def time.Duration, description string)
common/dynamicconfig/setting_gen.go:589
↓ 23 callersFunctionNewSlice
( paginationFnProvider PaginationFnProvider, executableFactory ExecutableFactory, monitor Monitor, scope S
service/history/queues/slice.go:62
↓ 23 callersFunctionNewVectorClock
( clusterID int64, shardID int32, clock int64, )
service/history/vclock/vclock.go:8
↓ 23 callersMethodPageSize
(int)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:33
↓ 23 callersMethodPatchSchedule
(ctx context.Context, in *PatchScheduleRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:40
↓ 23 callersMethodPersistenceName
PersistenceName returns the unique name for this DB queue to be used in persistence. Unversioned DB use the RPC name of the partition, i.e.: sticky
service/matching/physical_task_queue_key.go:116
↓ 23 callersMethodRangeDeleteMessages
( ctx context.Context, request *InternalRangeDeleteMessagesRequest, )
common/persistence/persistence_interface.go:827
↓ 23 callersFunctionReplicationReaderIDFromClusterShardID
ReplicationReaderIDFromClusterShardID convert from cluster ID & shard ID to reader ID NOTE: cluster metadata guarantee 1. initial failover version <=
service/history/shard/context_util.go:53
↓ 23 callersMethodRespondWorkflowTaskFailed
(ctx context.Context, request *historyservice.RespondWorkflowTaskFailedRequest)
service/history/interfaces/engine.go:37
↓ 23 callersMethodSerialize
(Task)
service/history/hsm/tasks.go:51
↓ 23 callersMethodServe
Serve serves the HTTP API and does not return until there is a serve error or GracefulStop completes. Upon graceful stop, this will return nil. If an
service/frontend/http_api_server.go:200
↓ 23 callersFunctionSetCallerName
SetCallerName set caller name in the context. Existing caller name will be overwritten if exists and new caller name is not empty.
common/headers/caller_info.go:129
↓ 23 callersMethodString
()
common/namespace/namespace.go:339
↓ 23 callersMethodTaskType
()
common/tqid/task_queue_id.go:45
↓ 23 callersMethodTerminateActivityExecution
(context.Context, *workflowservice.TerminateActivityExecutionRequest)
chasm/lib/activity/frontend.go:33
↓ 23 callersFunctionThrottleRetryContextWithReturn
ThrottleRetryContextWithReturn is a context and resource aware version of Retry. Context timeout/cancellation errors are never retried, regardless of
common/backoff/retry.go:108
↓ 23 callersFunctionTimeNowPtrUtcAddDuration
(t time.Duration)
common/primitives/timestamp/time.go:40
↓ 23 callersMethodUpdateTaskQueueConfig
(ctx context.Context, request *matchingservice.UpdateTaskQueueConfigRequest)
service/matching/matching_engine_interfaces.go:50
↓ 23 callersMethodWriteFailure
WriteFailure writes the given error to the response, converting it to a Failure if possible. It also sets the HTTP status code based on the type of er
common/nexus/nexusrpc/server.go:95
↓ 23 callersFunctionfile_temporal_server_api_replication_v1_message_proto_rawDescGZIP
()
api/replication/v1/message.pb.go:2310
↓ 23 callersFunctionnewOperationNode
(t *testing.T, backend *hsmtest.NodeBackend, event *historypb.HistoryEvent)
components/nexusoperations/helpers_test.go:56
↓ 23 callersMethodpollFromDeployment
pollFromDeployment calls PollWorkflowTaskQueue to start deployment related workflows
tests/worker_deployment_test.go:75
↓ 23 callersFunctionsend
(t *testing.T, upd *update.Update, includeAlreadySent bool)
service/history/workflow/update/update_test.go:1049
↓ 23 callersMethodsetAndVerifyRampingVersion
( env *VersioningTestEnv, tv *testvars.TestVars, unset bool, percentage int, ignoreMissingTaskQueues bool
tests/worker_deployment_test.go:3343
↓ 23 callersMethodsetValueState
(state valueState)
chasm/tree.go:413
↓ 23 callersMethodstartActivity
(ctx context.Context, activityID string, taskQueue string)
tests/activity_standalone_test.go:6331
↓ 22 callersMethodAddr
()
common/testing/nettest/listener.go:31
↓ 22 callersMethodAttachCallbacks
AttachCallbacks attaches completion callbacks from a second caller to an update that has already progressed past admission. If the update is accepted,
service/history/workflow/update/update.go:384
↓ 22 callersMethodComponents
()
chasm/library.go:13
← previousnext →1,101–1,200 of 43,335, ranked by callers