MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 14 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/testing/mocksdk/workflowrun_mock.go:40
↓ 14 callersFunctionEmpty
()
common/predicates/empty.go:19
↓ 14 callersMethodEquals
(predicate Predicate)
service/history/tasks/predicates.go:55
↓ 14 callersMethodFailed
()
common/testing/await/require_ctx_test.go:480
↓ 14 callersMethodFlushBufferToCurrentBatch
()
service/history/historybuilder/event_store.go:161
↓ 14 callersMethodFormat
(buf *sqlparser.TrackedBuffer)
common/persistence/visibility/store/sql/query_converter_util_legacy.go:58
↓ 14 callersMethodFromPayloads
(payloads *commonpb.Payloads, valuePtrs ...any)
tests/testcore/test_data_converter.go:43
↓ 14 callersMethodGetByID
(ctx context.Context, endpointID string)
common/nexus/endpoint_registry.go:43
↓ 14 callersMethodGetDescription
()
api/persistence/v1/nexus.pb.go:80
↓ 14 callersMethodGetFlowControlInfo
(priority enumsspb.TaskPriority)
service/history/replication/stream_receiver_flow_controller.go:28
↓ 14 callersMethodGetHistoryArchivalUri
()
api/archiver/v1/message.pb.go:333
↓ 14 callersMethodGetLastUpdateVersionedTransition
()
service/history/workflow/mutable_state_impl.go:286
↓ 14 callersMethodGetNextEventId
()
api/token/v1/message.pb.go:87
↓ 14 callersMethodGetOperation
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:328
↓ 14 callersMethodGetParentExecution
()
api/cli/v1/message.pb.go:205
↓ 14 callersMethodGetRampingSinceTime
()
api/deployment/v1/message.pb.go:400
↓ 14 callersMethodGetRawTaskInfo
()
api/replication/v1/message.pb.go:232
↓ 14 callersMethodGetService
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:321
↓ 14 callersMethodGetStamp
()
chasm/lib/activity/gen/activitypb/v1/tasks.pb.go:63
↓ 14 callersMethodGetTestClusterConfig
()
tests/testcore/functional_test_base.go:221
↓ 14 callersMethodGetVersion
()
api/history/v1/message.pb.go:118
↓ 14 callersMethodGetVisibilityArchivalUri
()
api/persistence/v1/namespaces.pb.go:294
↓ 14 callersMethodGetWorkflowExecution
(ctx context.Context, request *manager.GetWorkflowExecutionRequest)
common/persistence/visibility/store/visibility_store.go:38
↓ 14 callersMethodGetWorkflowExecutionOptions
()
api/historyservice/v1/request_response.pb.go:9881
↓ 14 callersMethodGetWorkflowLease
( ctx context.Context, reqClock *clockspb.VectorClock, workflowKey definition.WorkflowKey, lockPri
service/history/api/consistency_checker.go:36
↓ 14 callersMethodHappensAfter
(that Workflow)
service/history/ndc/workflow.go:30
↓ 14 callersMethodInsertIntoMessages
(ctx context.Context, row []QueueMessageRow)
common/persistence/sql/sqlplugin/queue_message.go:34
↓ 14 callersFunctionIsChasmSystem
IsChasmSystem returns true if name is a system search attribute used by CHASM
common/searchattribute/sadefs/constants.go:309
↓ 14 callersFunctionIsNotFoundError
(err error)
common/persistence/nosql/nosqlplugin/cassandra/gocql/errors.go:66
↓ 14 callersMethodIsSent
()
service/history/workflow/update/export_test.go:22
↓ 14 callersMethodListChasmExecutions
(ctx context.Context, request *visibilityservice.ListChasmExecutionsRequest)
common/persistence/visibility/store/visibility_store.go:40
↓ 14 callersMethodMapScanCAS
(map[string]any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:31
↓ 14 callersMethodMigrateToWorkflow
(ctx context.Context, in *MigrateToWorkflowRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:46
↓ 14 callersFunctionNewClockedRateLimiter
(rateLimiter *rate.Limiter, timeSource clock.TimeSource)
common/quotas/clocked_rate_limiter.go:27
↓ 14 callersFunctionNewExecutable
( readerID int64, task tasks.Task, executor Executor, scheduler Scheduler, rescheduler Rescheduler, prio
service/history/queues/executable.go:157
↓ 14 callersFunctionNewExecutableTask
( processToolBox ProcessToolBox, taskID int64, metricsTag string, taskCreationTime time.Time, taskReceive
service/history/replication/executable_task.go:130
↓ 14 callersFunctionNewExecutionManagerDLQWriter
NewExecutionManagerDLQWriter creates a new DLQWriter that uses the [ExecutionManager].
service/history/replication/dlq_writer.go:61
↓ 14 callersFunctionNewFileBasedClientWithReader
(reader FileReader, config *FileBasedClientConfig, logger log.Logger, doneCh <-chan any, metricsHandler metric
common/dynamicconfig/file_based_client.go:69
↓ 14 callersFunctionNewGRPCHeaderGetter
(ctx context.Context)
common/headers/headers.go:90
↓ 14 callersFunctionNewGlobalTypedSetting
NewGlobalTypedSetting creates a setting that uses mapstructure to handle complex structured values. The value from dynamic config will be _merged_ ove
common/dynamicconfig/setting_gen.go:847
↓ 14 callersFunctionNewHostLevelCache
( config *configs.Config, logger log.Logger, handler metrics.Handler, )
service/history/workflow/cache/cache.go:93
↓ 14 callersFunctionNewMockController
NewMockController creates a new mock instance.
service/history/shard/controller_mock.go:35
↓ 14 callersFunctionNewMockRateLimiter
NewMockRateLimiter creates a new mock instance.
common/quotas/rate_limiter_mock.go:33
↓ 14 callersFunctionNewNoopPriorityAssigner
()
service/history/queues/priority_assigner.go:67
↓ 14 callersFunctionNewOutboundTaskPredicate
(groups []TaskGroupNamespaceIDAndDestination)
service/history/tasks/predicates.go:192
↓ 14 callersFunctionNewRetrier
NewRetrier is used for creating a new instance of Retrier
common/backoff/retrypolicy.go:95
↓ 14 callersMethodNewShardStore
NewShardStore returns a new shard store
common/persistence/persistence_interface.go:40
↓ 14 callersMethodNexusServiceProcessors
NexusServiceProcessors returns a list of NexusServiceProcessor instances to register with the __temporal_system Nexus endpoint.
chasm/library.go:20
↓ 14 callersFunctionParseFieldMask
(mask *fieldmaskpb.FieldMask)
common/util/proto.go:38
↓ 14 callersMethodPollTask
PollTask blocks waiting for a task Returns error when context deadline is exceeded maxDispatchPerSecond is the max rate at which tasks are allowed to
service/matching/physical_task_queue_manager_interface.go:35
↓ 14 callersMethodPutReplicationTaskToDLQ
(ctx context.Context, request *PutReplicationTaskToDLQRequest)
common/persistence/data_interfaces.go:1141
↓ 14 callersMethodRangeDeleteMessagesFromDLQ
(ctx context.Context, firstMessageID int64, lastMessageID int64)
common/persistence/persistence_interface.go:182
↓ 14 callersMethodRecordWorkflowExecutionClosed
(ctx context.Context, request *InternalRecordWorkflowExecutionClosedRequest)
common/persistence/visibility/store/visibility_store.go:31
↓ 14 callersMethodRegisterMachine
RegisterMachine registers a [StateMachineDefinition] by its type. Returns an [ErrDuplicateRegistration] if the state machine type has already been reg
service/history/hsm/registry.go:62
↓ 14 callersMethodReplaceIntoVisibility
ReplaceIntoVisibility deletes old row (if it exist) and inserts new row into visibility table
common/persistence/sql/sqlplugin/visibility.go:96
↓ 14 callersMethodReplicationState
(businessID string)
common/namespace/replication_resolver.go:28
↓ 14 callersMethodScheme
()
common/archiver/uri.go:10
↓ 14 callersMethodSetWorkerDeploymentCurrentVersion
( ctx context.Context, request *workflowservice.SetWorkerDeploymentCurrentVersionRequest, opts ...grpc.Call
client/frontend/client_gen.go:922
↓ 14 callersMethodStateValidationIntercept
StateValidationIntercept runs ValidateState - see docstring for that method.
common/rpc/interceptor/namespace_validator.go:202
↓ 14 callersFunctionUnversionedQueueKey
UnversionedQueueKey returns the unversioned PhysicalTaskQueueKey of a task queue partition
service/matching/physical_task_queue_key.go:66
↓ 14 callersMethodValidateSideEffectTask
( ctx context.Context, task *tasks.ChasmTask, )
service/history/interfaces/chasm_tree.go:46
↓ 14 callersFunctionaddActivityTaskCompletedEvent
(ms historyi.MutableState, scheduledEventID, startedEventID int64, result *commonpb.Payloads, identity string
service/history/history_engine_test.go:6787
↓ 14 callersMethodassertTaskPayload
(expectedCount int64, taskPayload any)
chasm/visibility_test.go:340
↓ 14 callersFunctionbuildDSNAttr
nolint: revive
common/persistence/sql/sqlplugin/postgresql/session/session.go:115
↓ 14 callersMethodcreateNexusEndpoint
(ctx context.Context, t *testing.T, name string, taskQueue string)
tests/nexus_test_base.go:36
↓ 14 callersFunctionencodeChasmBlob
encodeChasmBlob encodes CHASM data and task payloads through the env-aware serializer while preserving deterministic proto3 bytes for byte comparisons
chasm/tree.go:3617
↓ 14 callersFunctionerrorConvert
(err error)
common/rpc/interceptor/stream_error.go:70
↓ 14 callersMethodexpectWatch
(f func(req *schedulespb.WatchWorkflowRequest) (*schedulespb.WatchWorkflowResponse, error))
service/worker/scheduler/workflow_test.go:142
↓ 14 callersFunctionflag
(opt string)
tools/common/schema/handler.go:111
↓ 14 callersMethodformatHistoryEvents
(historyEvents []*historypb.HistoryEvent, compact bool)
common/testing/historyrequire/history_require.go:385
↓ 14 callersMethodget
get returns true if a specific bit is set.
service/matching/bits.go:18
↓ 14 callersMethodgetExclusiveReaderHighWatermark
( category tasks.Category, )
service/history/shard/task_key_manager.go:88
↓ 14 callersMethodhasInflightWorkToPreventTimeSkipping
()
service/history/workflow/mutable_state_impl.go:10075
↓ 14 callersMethodinsertAssignmentRule
insertAssignmentRule replaces a new versioning assignment rule to the task queue user data. It checks the response and returns the conflict token.
tests/versioning_test.go:4422
↓ 14 callersFunctionisRetryableQueryError
(err error)
service/worker/workerdeployment/util.go:370
↓ 14 callersFunctionloadMutableStateForTimerTask
load mutable state, if mutable state's next event ID <= task ID, will attempt to refresh if still mutable state's next event ID <= task ID, will retur
service/history/ndc_task_util.go:107
↓ 14 callersFunctionloadMutableStateForTransferTask
load mutable state, if mutable state's next event ID <= task ID, will attempt to refresh if still mutable state's next event ID <= task ID, will retur
service/history/ndc_task_util.go:59
↓ 14 callersFunctionmkSingleBuildIdSet
(id string, clock *hlc.Clock)
service/matching/version_sets_test.go:96
↓ 14 callersMethodnewRandomNamespaceRow
( id primitives.UUID, name string, notificationVersion int64, )
common/persistence/sql/sqlplugin/tests/namespace.go:371
↓ 14 callersMethodnewTestReader
( scopes []Scope, paginationFnProvider PaginationFnProvider, completionFn ReaderCompletionFn, )
service/history/queues/reader_test.go:507
↓ 14 callersMethodput
(key string, pc PartitionCounts)
client/matching/partition_cache.go:101
↓ 14 callersFunctionrangeIDToTaskIDBlock
(rangeID int64, rangeSize int64)
service/matching/backlog_manager.go:274
↓ 14 callersFunctionrequireStartedAndRunning
(t *testing.T, resp *workflowservice.StartWorkflowExecutionResponse)
tests/workflow_test.go:1929
↓ 14 callersMethodrequireWDVTaskQueueStatsRelaxed
requireWDVTaskQueueStatsRelaxed asserts task queue statistics by allowing for over-counting in multi-partition ramping scenarios. The production code
tests/task_queue_stats_test.go:750
↓ 14 callersFunctionsendUpdate
(ctx context.Context, s testcore.Env, tv *testvars.TestVars)
tests/update_workflow_utils.go:22
↓ 14 callersMethodsetupSuite
(opts ...testcore.TestClusterOption)
tests/xdc/base.go:77
↓ 14 callersMethodtestCertExpiration
(factory *TestFactory, timeWindow time.Duration, nExpiring int)
common/rpc/test/rpc_localstore_tls_test.go:561
↓ 14 callersFunctiontestValid
(t *testing.T, value Role)
common/authorization/roles_test.go:31
↓ 14 callersMethodupdateBuildIdsAndDeploymentSearchAttributes
Sets TemporalWorkerDeployment to the override DeploymentName if present, or`ms.executionInfo.WorkerDeploymentName`. Sets TemporalWorkerDeploymentVersi
service/history/workflow/mutable_state_impl.go:3730
↓ 14 callersMethodverifyTimestampWithinRange
verifyTimestampWithinRange asserts if the actual timestamp is set to an appropriate value. It does this check by checking if the timestamp set is with
tests/worker_deployment_test.go:3257
↓ 14 callersFunctionwillRetry
ComputeNextDelay returns a negative sentinel ("done") when retries are exhausted, and a positive duration when another retry should happen.
common/util_test.go:264
↓ 14 callersMethodwrapTimeSourceWithTimeSkipping
wrapTimeSourceWithTimeSkipping wraps ms.timeSource (and the hBuilder's copy) with a time-skipping wrapper. The closure captures ms so the offset track
service/history/workflow/mutable_state_impl.go:10066
↓ 13 callersMethodAbort
Abort immediately aborts all incomplete Updates in the Registry.
service/history/workflow/update/registry.go:63
↓ 13 callersFunctionActionType
(value string)
common/metrics/tags.go:434
↓ 13 callersFunctionActivityTypeKey
ActivityTypeKey returns the metadata key for an activity's type, keyed by scheduled event ID.
common/contextutil/metadata.go:43
↓ 13 callersMethodAdd
Add will try to batch input task with the last task in the queue. Since most likely incoming task are ordered by task ID, we only try to batch incomin
service/history/replication/sequential_batch_queue.go:56
↓ 13 callersMethodAddActivityTaskFailedEvent
(int64, int64, *failurepb.Failure, enumspb.RetryState, string, *commonpb.WorkerVersionStamp)
service/history/interfaces/mutable_state.go:55
↓ 13 callersMethodAddWorkflowExecutionTerminatedEvent
(reason string, details *commonpb.Payloads, identity string, deleteAfterTerminate bool, links []*commonpb.Link
service/history/interfaces/mutable_state.go:122
↓ 13 callersMethodBufferQuery
(queryInput *querypb.WorkflowQuery)
service/history/interfaces/query_register.go:26
↓ 13 callersMethodBurst
Burst returns the burst for this rate limiter
common/quotas/rate_limiter.go:43
← previousnext →1,801–1,900 of 43,335, ranked by callers