MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 22 callersMethodDeploymentVersionStringV32
()
common/testing/testvars/test_vars.go:275
↓ 22 callersMethodDescribeNexusOperationExecution
(context.Context, *workflowservice.DescribeNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:25
↓ 22 callersMethodDeserialize
(data []byte, attrs TaskAttributes)
service/history/hsm/tasks.go:52
↓ 22 callersMethodDispatchNexusTask
(ctx context.Context, request *matchingservice.DispatchNexusTaskRequest)
service/matching/matching_engine_interfaces.go:39
↓ 22 callersFunctionExtractStringValue
(s string)
common/sqlquery/query.go:35
↓ 22 callersMethodFind
Find an existing Update in this Registry. Returns nil if Update doesn't exist.
service/history/workflow/update/registry.go:37
↓ 22 callersMethodFrontendHTTPAddress
()
tests/testcore/onebox.go:284
↓ 22 callersFunctionGenerateTypeID
GenerateTypeID generates a unique 32-bit identifier from a fully qualified name (FQN). The generated ID is used to uniquely identify components and ta
chasm/registrable_component.go:202
↓ 22 callersMethodGetAction
()
common/testing/generator_interface.go:80
↓ 22 callersMethodGetCurrentVersion
()
chasm/tree.go:211
↓ 22 callersFunctionGetDurationPropertyFnFilteredByNamespace
(value time.Duration)
common/dynamicconfig/setting_gen.go:599
↓ 22 callersMethodGetHistoryTasks
(ctx context.Context, request *persistence.GetHistoryTasksRequest)
service/history/interfaces/shard_context.go:90
↓ 22 callersMethodGetQuery
()
api/visibilityservice/v1/request_response.pb.go:94
↓ 22 callersMethodGetRedirectRules
()
api/persistence/v1/task_queues.pb.go:441
↓ 22 callersMethodGetStoreNames
()
common/persistence/visibility/manager/visibility_manager.go:24
↓ 22 callersMethodGetTimeoutType
()
api/persistence/v1/executions.pb.go:2252
↓ 22 callersMethodGetWorkerBuildIdCompatibility
(ctx context.Context, request *matchingservice.GetWorkerBuildIdCompatibilityRequest)
service/matching/matching_engine_interfaces.go:27
↓ 22 callersMethodHasBufferedEvents
()
service/history/interfaces/mutable_state.go:210
↓ 22 callersFunctionIsContextCanceledErr
IsContextCanceledErr checks if the error is context.Canceled or serviceerror.Canceled error
common/util.go:329
↓ 22 callersMethodIsDefined
(name string)
common/searchattribute/name_type_map.go:167
↓ 22 callersMethodListSchedules
( ctx context.Context, request *workflowservice.ListSchedulesRequest, opts ...grpc.CallOption, )
client/frontend/client_gen.go:512
↓ 22 callersMethodName
()
common/circuitbreaker/circuitbreaker.go:13
↓ 22 callersFunctionNewMockExecutionManager
NewMockExecutionManager creates a new mock instance.
common/persistence/data_interfaces_mock.go:162
↓ 22 callersFunctionNewMockLogger
NewMockLogger creates a new mock instance.
common/log/interface_mock.go:32
↓ 22 callersFunctionNewMockTimerIface
NewMockTimerIface creates a new mock instance.
common/metrics/metrics_mock.go:377
↓ 22 callersMethodQuery
()
common/archiver/uri.go:18
↓ 22 callersMethodReapplyEvents
( ctx context.Context, ms historyi.MutableState, updateRegistry update.Registry, historyEvents []*
service/history/ndc/events_reapplier.go:20
↓ 22 callersMethodRegisterNamespace
RegisterNamespace is a fake implementation of the RegisterNamespace gRPC method which does nothing.
service/frontend/fx_test.go:319
↓ 22 callersFunctionTrackStateMachineTimer
TrackStateMachineTimer tracks a timer task in the mutable state's StateMachineTimers slice sorted and grouped by deadline. Only a single task for a gi
service/history/workflow/state_machine_timers.go:47
↓ 22 callersMethodUnmarshal
Unmarshal an object of type NewRunInfo from the protobuf v3 wire format
api/replication/v1/message.go-helpers.pb.go:606
↓ 22 callersMethodUpdateCurrentVersion
(version int64, forceUpdate bool)
service/history/interfaces/mutable_state.go:298
↓ 22 callersMethodVerifyChildExecutionCompletionRecorded
(ctx context.Context, request *historyservice.VerifyChildExecutionCompletionRecordedRequest)
service/history/interfaces/engine.go:56
↓ 22 callersMethodaddTask
Registers task as in-flight and moves read level to it. Tasks can be added in increasing order of taskID only.
service/matching/ack_manager.go:35
↓ 22 callersMethodcreateInternalServerError
( actionTag tag.ZapTag, )
service/history/workflow/mutable_state_impl.go:9061
↓ 22 callersMethodgetChildWFIDsFromHistory
(env *testcore.TestEnv, wfID string, runID string)
tests/workflow_reset_with_child_test.go:850
↓ 22 callersMethodgetReadLevel
()
service/matching/ack_manager.go:51
↓ 22 callersFunctioninsertRedirectRule
(rule *taskqueuepb.CompatibleBuildIdRedirectRule, data *persistencespb.VersioningData, clock *hlc.Clock, ma
service/matching/version_rule_test.go:127
↓ 22 callersMethodmakeKey
( nsid, tqname string, tqtype enumspb.TaskQueueType, )
client/matching/partition_cache.go:77
↓ 22 callersFunctionmustNewScheduledEvent
(schedTime time.Time, defaults *historypb.NexusOperationScheduledEventAttributes)
components/nexusoperations/helpers_test.go:75
↓ 22 callersFunctionnewInternalTaskFromBacklog
( info *persistencespb.AllocatedTaskInfo, completionFunc func(*internalTask, taskResponse), )
service/matching/task.go:165
↓ 22 callersFunctionnewTestOperation
()
chasm/lib/nexusoperation/operation_statemachine_test.go:32
↓ 22 callersFunctionnewUnversionedRootQueueKey
(namespaceID string, name string, taskType enumspb.TaskQueueType)
service/matching/matching_engine_test.go:5170
↓ 22 callersFunctionupdateWorkflowRequest
( s testcore.Env, tv *testvars.TestVars, waitPolicy *updatepb.WaitPolicy, )
tests/update_workflow_utils.go:49
↓ 22 callersMethodwLock
()
service/history/shard/context_impl.go:1499
↓ 21 callersFunctionActivityID
ActivityID returns tag for an activity ID
common/log/tag/tags.go:916
↓ 21 callersMethodAdd
(k string, v int64)
common/metrics/baggage_bench_test.go:27
↓ 21 callersMethodAddActivityTaskStartedEvent
( *persistencespb.ActivityInfo, int64, string, string, *commonpb.WorkerVersionStamp, *deploy
service/history/interfaces/mutable_state.go:57
↓ 21 callersMethodAddHistoryTasks
Tasks related APIs
common/persistence/data_interfaces.go:1136
↓ 21 callersMethodAddSearchAttributes
AddSearchAttributes add custom search attributes and returns comprehensive information about them. Deprecated. Use operatorservice instead.
api/adminservice/v1/service_grpc.pb.go:107
↓ 21 callersFunctionAnd
( predicates ...Predicate[T], )
common/predicates/and.go:14
↓ 21 callersMethodAttempt
()
service/history/replication/executable_task.go:69
↓ 21 callersFunctionAwaitWaitGroup
AwaitWaitGroup calls Wait on the given wait Returns true if the Wait() call succeeded before the timeout Returns false if the Wait() did not return be
common/util.go:135
↓ 21 callersMethodConflictResolveWorkflowExecution
(ctx context.Context, request *ConflictResolveWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1123
↓ 21 callersMethodContainsRange
( input Range, )
service/history/queues/range.go:41
↓ 21 callersMethodConvert
(expr sqlparser.Expr)
common/persistence/visibility/store/query/converter_legacy.go:20
↓ 21 callersFunctionCopyVersionHistoryUntilLCAVersionHistoryItem
CopyVersionHistoryUntilLCAVersionHistoryItem returns copy of VersionHistory up until LCA item.
common/persistence/versionhistory/version_history.go:36
↓ 21 callersMethodDeleteCurrentWorkflowExecution
(ctx context.Context, request *DeleteCurrentWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1125
↓ 21 callersMethodDeployment
()
service/matching/physical_task_queue_key.go:162
↓ 21 callersFunctionDurationPtr
(td time.Duration)
common/primitives/timestamp/duration.go:28
↓ 21 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/events/events_cache_mock.go:40
↓ 21 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:384
↓ 21 callersMethodForceUnloadTaskQueuePartition
(ctx context.Context, request *matchingservice.ForceUnloadTaskQueuePartitionRequest)
service/matching/matching_engine_interfaces.go:32
↓ 21 callersMethodForkHistoryBranch
ForkHistoryBranch forks a new branch from a old branch
common/persistence/data_interfaces.go:1165
↓ 21 callersMethodGenerateLastHistoryReplicationTasks
(ctx context.Context, request *historyservice.GenerateLastHistoryReplicationTasksRequest)
service/history/interfaces/engine.go:84
↓ 21 callersMethodGetDetails
()
api/replication/v1/message.pb.go:1098
↓ 21 callersMethodGetExecutionTime
()
api/cli/v1/message.pb.go:212
↓ 21 callersMethodGetHeartbeatDetails
()
api/cli/v1/message.pb.go:330
↓ 21 callersMethodGetMostRecentWorkerVersionStamp
()
service/history/interfaces/mutable_state.go:207
↓ 21 callersMethodGetStamp
()
service/history/tasks/activity_task_timer.go:54
↓ 21 callersMethodGetTaskQueueType
()
api/taskqueue/v1/message.pb.go:536
↓ 21 callersMethodGetUpdateWorkflow
()
api/historyservice/v1/request_response.pb.go:10338
↓ 21 callersMethodMapScan
(map[string]any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:46
↓ 21 callersFunctionMaxTime
MaxTime returns the latest of the given time.Time values.
common/util/util.go:22
↓ 21 callersFunctionMustGetFreePort
MustGetFreePort returns a TCP port that is available to listen on, for the given (local) host. This works by binding a new TCP socket on port 0, whic
common/testing/freeport/freeport.go:24
↓ 21 callersFunctionMustParseUUID
MustParseUUID returns a UUID parsed from the given string representation returns nil if the input is empty string panics if the given input is malform
common/primitives/uuid.go:19
↓ 21 callersFunctionNew
(t require.TestingT)
common/testing/historyrequire/history_require.go:38
↓ 21 callersFunctionNewAnyTag
(key string, value any)
common/log/tag/zap_tag.go:156
↓ 21 callersFunctionNewFactory
NewFactory returns an instance of a factory object which can be used to create datastores backed by any kind of SQL store
common/persistence/sql/factory.go:45
↓ 21 callersFunctionNewFactory
NewFactory builds a new RPCFactory conforming to the underlying configuration
common/rpc/rpc.go:67
↓ 21 callersFunctionNewMutableState
( shard historyi.ShardContext, eventsCache events.Cache, logger log.Logger, namespaceEntry *namespace.Name
service/history/workflow/mutable_state_impl.go:293
↓ 21 callersFunctionNewPayloadStoreHandler
( ctx context.Context, request NewPayloadStoreRequest, )
chasm/lib/tests/handler.go:89
↓ 21 callersFunctionNewTransition
NewTransition creates a new [Transition] from the given source states to a destination state for a given event. The apply function is called after ver
service/history/hsm/sm.go:43
↓ 21 callersMethodNow
Now returns the current time.
common/namespace/nsregistry/registry.go:75
↓ 21 callersMethodPollAndHandleActivityTask
PollAndHandleActivityTask issues a PollActivityTaskQueueRequest to obtain a new activity task, invokes the handler with the task, and completes/fails
common/testing/taskpoller/taskpoller.go:295
↓ 21 callersMethodPut
( namespaceID string, taskQueue string, taskQueueType enumspb.TaskQueueType, current *deploymentsp
common/worker_versioning/routing_info_cache.go:32
↓ 21 callersMethodReapplyEvents
(ctx context.Context, namespaceUUID namespace.ID, workflowID string, runID string, events []*historypb.History
service/history/interfaces/engine.go:77
↓ 21 callersMethodSend
Send returns messages for all Updates that need to be sent to the worker. If includeAlreadySent is set to true, then messages will be created even for
service/history/workflow/update/registry.go:55
↓ 21 callersMethodSet
(ks string, cvs []dynamicconfig.ConstrainedValue)
common/dynamicconfig/collection_test.go:621
↓ 21 callersMethodSetup
Setup sets up the test base, must be called as part of SetupSuite
common/persistence/persistence-tests/persistence_test_base.go:194
↓ 21 callersFunctionSourceCluster
========== XDC tags defined here: xdc- ========== SourceCluster returns tag for SourceCluster
common/log/tag/tags.go:777
↓ 21 callersMethodSpoolTask
(taskInfo *persistencespb.TaskInfo)
service/matching/backlog_manager.go:43
↓ 21 callersMethodStop
Stop is called when the task queue partition manager for the hooks partition is stopped
service/matching/hooks/task_lifecycle_hooks.go:57
↓ 21 callersFunctionSwitchTaskQueuesTable
(baseQuery string, v MatchingTaskVersion)
common/persistence/sql/sqlplugin/matching_task_queue.go:64
↓ 21 callersMethodToRealTime
ToRealTime converts a virtual timestamp from mutable state to wall-clock time, adjusting for accumulated skipped duration which may have happened.
service/history/interfaces/mutable_state.go:423
↓ 21 callersMethodTrackTasks
(exclusiveHighWatermarkInfo WatermarkInfo, tasks ...TrackableExecutableTask)
service/history/replication/executable_task_tracker.go:35
↓ 21 callersFunctionUnexpectedDataLoss
UnexpectedDataLoss creates a serviceerror.DataLoss from a static message and optional error. The error message follows the format "<staticMessage>: <o
common/softassert/serviceerror.go:42
↓ 21 callersMethodUnmarshal
(data []byte, v any)
service/frontend/protojson_marshaler.go:76
↓ 21 callersMethodUnpauseActivity
(ctx context.Context, request *historyservice.UnpauseActivityRequest)
service/history/interfaces/engine.go:97
↓ 21 callersMethodUpdateScaleState
(*persistencespb.PartitionScaleState, bool)
service/matching/scale_manager.go:62
↓ 21 callersMethodUpdateWorkerVersioningRules
(ctx context.Context, request *matchingservice.UpdateWorkerVersioningRulesRequest)
service/matching/matching_engine_interfaces.go:47
← previousnext →1,201–1,300 of 43,335, ranked by callers