MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 34 callersMethodMarshal
()
common/persistence/serialization/serializer.go:137
↓ 34 callersFunctionNewMockTask
NewMockTask creates a new mock instance.
service/history/tasks/task_mock.go:33
↓ 34 callersMethodRecordActivityTaskHeartbeat
(ctx context.Context, request *historyservice.RecordActivityTaskHeartbeatRequest)
service/history/interfaces/engine.go:41
↓ 34 callersMethodStop
()
common/namespace/registry.go:43
↓ 34 callersMethodTaskID
TaskID mocks base method.
service/history/replication/executable_task_tracker_mock.go:247
↓ 34 callersMethodTest
Test checks if the given entity statisfy the predicate or not
common/predicates/predicates.go:6
↓ 34 callersFunctioncmdsResponse
cmdsResponse wraps a list of commands in a RespondWorkflowTaskCompletedRequest.
tests/timeskipping_propagation_test.go:919
↓ 34 callersMethodexpectStart
Low-level mock helpers:
service/worker/scheduler/workflow_test.go:127
↓ 34 callersMethodmustGenerateTaskID
()
service/history/timer_queue_standby_task_executor_test.go:2694
↓ 34 callersMethodsetupEnv
(opts ...testcore.TestOption)
tests/versioning_test.go:58
↓ 34 callersMethodstartAndValidateActivity
( ctx context.Context, t *testing.T, activityID string, taskQueue string, )
tests/activity_standalone_test.go:6162
↓ 33 callersMethodAdminClient
(c *cli.Context)
tools/tdbg/factory.go:35
↓ 33 callersMethodDelete
Delete deletes an element in the cache
common/cache/cache.go:24
↓ 33 callersMethodExternalNamespace
()
tests/testcore/functional_test_base.go:249
↓ 33 callersFunctionExternalWorkerDeploymentVersionFromDeployment
ExternalWorkerDeploymentVersionFromDeployment Temporary helper function to convert Deployment to WorkerDeploymentVersion proto until we update code to
common/worker_versioning/worker_versioning.go:486
↓ 33 callersMethodGet
(string)
common/headers/headers.go:82
↓ 33 callersMethodGetClusterName
()
common/persistence/persistence_interface.go:57
↓ 33 callersMethodGetUseVersioning
()
service/frontend/workflow_handler.go:6354
↓ 33 callersMethodGetWorkflowExecutionRawHistoryV2
(ctx context.Context, request *historyservice.GetWorkflowExecutionRawHistoryV2Request)
service/history/interfaces/engine.go:91
↓ 33 callersFunctionMakeKey
(s string)
common/dynamicconfig/key.go:15
↓ 33 callersFunctionMapShardID
( sourceShardCount int32, targetShardCount int32, sourceShardID int32, )
common/util.go:426
↓ 33 callersMethodNamedExecContext
(ctx context.Context, query string, arg any)
common/persistence/sql/sqlplugin/mysql/db.go:158
↓ 33 callersFunctionNewArchivalConfig
NewArchivalConfig constructs a new valid ArchivalConfig
common/archiver/archival_metadata.go:103
↓ 33 callersFunctionNewSdkLogger
(logger Logger)
common/log/sdk_logger.go:21
↓ 33 callersMethodNewWorker
(client sdkclient.Client, taskQueue string, options sdkworker.Options)
common/sdk/factory.go:33
↓ 33 callersMethodQueueKey
()
service/matching/physical_task_queue_manager_interface.go:67
↓ 33 callersFunctionRandomizedNexusEndpoint
(name string)
tests/testcore/utils.go:100
↓ 33 callersMethodReadRawHistoryBranch
ReadRawHistoryBranch returns history node raw data for a branch ByBatch NOTE: this API should only be used by 3+DC
common/persistence/data_interfaces.go:1163
↓ 33 callersMethodRequestCancelWorkflowExecution
(ctx context.Context, request *historyservice.RequestCancelWorkflowExecutionRequest)
service/history/interfaces/engine.go:42
↓ 33 callersMethodUpdateWorkflowExecutionAsActive
( ctx context.Context, shardContext ShardContext, )
service/history/interfaces/workflow_context.go:74
↓ 33 callersMethodgetVersioningRules
listVersioningRules lists rules and checks that the result is successful, returning the response.
tests/versioning_test.go:4408
↓ 33 callersMethodstartWorkflow
( env *testcore.TestEnv, tv *testvars.TestVars, override *workflowpb.VersioningOverride, )
tests/versioning_3_test.go:4648
↓ 32 callersMethodAssertHEEqualWithDB
(branchToken []byte, events ...[]*p.WorkflowEvents)
common/persistence/tests/execution_mutable_state.go:2696
↓ 32 callersMethodAuthorize
(ctx context.Context, caller *Claims, target *CallTarget)
common/authorization/authorizer.go:55
↓ 32 callersMethodComputeNextDelay
(elapsedTime time.Duration, numAttempts int, err error)
common/backoff/retrypolicy.go:37
↓ 32 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
chasm/visibility_manager_mock.go:40
↓ 32 callersFunctionEnqueueMessage
( ctx context.Context, queue persistence.QueueV2, queueType persistence.QueueV2Type, queueName string, op
common/persistence/persistencetest/queues.go:56
↓ 32 callersMethodErrorToFailure
ErrorToFailure converts an [error] to a [Failure]. Note that the provided error may be nil.
common/nexus/nexusrpc/failure_converter.go:20
↓ 32 callersFunctionExternalWorkerDeploymentVersionToString
(v *deploymentpb.WorkerDeploymentVersion)
common/worker_versioning/worker_versioning.go:1166
↓ 32 callersFunctionGetIntPropertyFnFilteredByNamespace
(value int)
common/dynamicconfig/setting_gen.go:191
↓ 32 callersMethodGetKind
()
api/persistence/v1/tasks.pb.go:313
↓ 32 callersMethodGetName
()
common/persistence/data_interfaces.go:1178
↓ 32 callersMethodGetRemoteAdminClient
(string)
service/history/interfaces/shard_context.go:51
↓ 32 callersMethodGetResult
()
api/schedule/v1/message.pb.go:688
↓ 32 callersMethodGetStartedEventId
()
api/token/v1/message.pb.go:351
↓ 32 callersMethodGetWorkflowType
GetWorkflowType returns the type of the workflow that owns this state machine tree.
service/history/hsm/tree.go:167
↓ 32 callersMethodMessageID
()
common/testing/testvars/test_vars.go:362
↓ 32 callersFunctionNewMockTrackableExecutableTask
NewMockTrackableExecutableTask creates a new mock instance.
service/history/replication/executable_task_tracker_mock.go:35
↓ 32 callersMethodNewRemoteAdminClientWithTimeout
(rpcAddress string, timeout time.Duration, largeTimeout time.Duration)
client/clientfactory.go:34
↓ 32 callersFunctionNormalPartitionFromRpcName
(rpcName string, namespaceId string, taskType enumspb.TaskQueueType)
common/tqid/task_queue_id.go:213
↓ 32 callersMethodReady
()
common/future/future.go:8
↓ 32 callersMethodReplicationTask
()
service/history/replication/executable_task.go:90
↓ 32 callersMethodRequireHistoryEvent
RequireHistoryEvent returns the single event matching the given event type. It fails the test if no matching event is found or if more than one is fou
common/testing/historyrequire/history_require.go:58
↓ 32 callersFunctionRequireTrue
RequireTrue runs `condition` repeatedly until it returns true, or until the timeout expires. The timeout is capped at the test's deadline, if one is s
common/testing/await/require_true.go:18
↓ 32 callersMethodSendSignal
TODO (alex): change to nsName namespace.Name
tests/testcore/functional_test_base.go:746
↓ 32 callersMethodStart
()
common/namespace/registry.go:42
↓ 32 callersMethodTerminateWorkflow
TerminateWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:651
↓ 32 callersFunctionValidateAndCapProtoDuration
ValidateAndCapProtoDuration validates protobuf durations for two conditions: 1. the seconds and nanos fields have the same sign (to avoid serializatio
common/primitives/timestamp/duration.go:67
↓ 32 callersMethodWithTaskQueue
(taskQueue string)
common/testing/testvars/test_vars.go:307
↓ 32 callersMethodaddNewDefaultBuildID
addNewDefaultBuildID updates build ID info on a task queue with a new build ID in a new default set.
tests/versioning_test.go:4765
↓ 32 callersMethodnewTestEnv
newTestEnv creates a TestEnv with the dynamic config this suite needs. Additional per-test options may be passed in opts.
tests/advanced_visibility_test.go:68
↓ 32 callersMethodnewTestEnv
(opts ...testcore.TestOption)
tests/activity_standalone_test.go:101
↓ 32 callersMethodnewTestEnv
(chasmEnabled bool, opts ...testcore.TestOption)
tests/nexus_workflow_test.go:67
↓ 32 callersMethodwaitForVersionSetPropagation
waitForVersionSetPropagation waits for all partitions of tq to mention newBuildID in their versioning data (in any position).
tests/versioning_test.go:4886
↓ 31 callersFunctionBool
(key string, b bool)
common/log/tag/zap_tag.go:234
↓ 31 callersMethodCreateNamespace
(ctx context.Context, request *CreateNamespaceRequest)
common/persistence/data_interfaces.go:1219
↓ 31 callersFunctionDecodeValue
DecodeValue decodes search attribute value from Payload using (in order): 1. passed type t. 2. type from MetadataType field, if t is not specified. al
common/searchattribute/sadefs/encode_value.go:40
↓ 31 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/testing/mocksdk/worker_mock.go:41
↓ 31 callersFunctionFor
For returns the test-scoped context for tb. The context is canceled when the test ends or when the configured test timeout expires. The first call cr
common/testing/testcontext/context.go:51
↓ 31 callersMethodGetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/interfaces.go:132
↓ 31 callersMethodGetCount
()
api/persistence/v1/tasks.pb.go:505
↓ 31 callersMethodGetData
()
chasm/test_component_test.go:68
↓ 31 callersMethodGetPendingTimerInfos
()
service/history/interfaces/mutable_state.go:189
↓ 31 callersMethodGetWorkflowTaskByID
(scheduledEventID int64)
service/history/interfaces/mutable_state.go:170
↓ 31 callersMethodHttpAPIAddress
()
tests/testcore/functional_test_base.go:237
↓ 31 callersFunctionInterruptibleSleep
InterruptibleSleep is like time.Sleep but can be interrupted by a context. Returns context error if interrupted, otherwise nil.
common/util/util.go:188
↓ 31 callersMethodMutableContext
MutableContext returns a new mutable CHASM context.
chasm/lib/scheduler/helper_test.go:267
↓ 31 callersFunctionNewGlobalFloatSetting
(key string, def float64, description string)
common/dynamicconfig/setting_gen.go:300
↓ 31 callersFunctionNewMockHistoryIterator
NewMockHistoryIterator creates a new mock instance.
common/archiver/history_iterator_mock.go:33
↓ 31 callersMethodNewQueueV2
()
common/persistence/persistence_interface.go:46
↓ 31 callersMethodNext
()
common/archiver/gcloud/connector/client_delegate.go:79
↓ 31 callersMethodNow
Now return the current time.
common/clock/event_time_source.go:57
↓ 31 callersMethodPauseWorkflowExecution
(ctx context.Context, request *historyservice.PauseWorkflowExecutionRequest)
service/history/interfaces/engine.go:99
↓ 31 callersMethodPollNexusTaskQueue
(ctx context.Context, request *matchingservice.PollNexusTaskQueueRequest, opMetrics metrics.Handler)
service/matching/matching_engine_interfaces.go:40
↓ 31 callersMethodReadMessages
(ctx context.Context, lastMessageID int64, maxCount int)
common/persistence/persistence_interface.go:174
↓ 31 callersMethodStateMachineRegistry
()
service/history/interfaces/shard_context.go:116
↓ 31 callersMethodSubscribe
Adds a subscription to all updates from this Client. `update` will be called on any change to the current value set. The caller should call `cancel` t
common/dynamicconfig/client.go:40
↓ 31 callersFunctionTestEsNameTypeMap
()
common/searchattribute/test_provider.go:65
↓ 31 callersMethodWorkflowService
WorkflowService mocks base method.
common/testing/mocksdk/client_mock.go:758
↓ 31 callersMethodassertEqualTasks
( task tasks.Task, )
common/persistence/serialization/task_serializers_test.go:615
↓ 31 callersMethoddescribe
()
service/worker/scheduler/workflow_test.go:108
↓ 31 callersMethodgenRandomEvents
(eventIDs []int64, version int64)
common/persistence/persistence-tests/history_v2_persistence.go:667
↓ 31 callersMethodgetHistory
(ctx context.Context)
tests/xdc/history_replication_signals_and_updates_test.go:949
↓ 31 callersFunctiongetRequiredOption
(c *cli.Context, optionName string)
tools/tdbg/util.go:60
↓ 31 callersFunctiongetWorkflowExecutionContextForTask
( ctx context.Context, shardContext historyi.ShardContext, workflowCache wcache.Cache, task tasks.Task, )
service/history/statemachine_environment.go:45
↓ 31 callersFunctionmustReadReportFixture
(t *testing.T, path string)
tools/testrunner/junit_test.go:327
↓ 31 callersMethodset
set sets a bit, growing the slice if necessary. note: caller must assign the result, as with append.
service/matching/bits.go:27
↓ 30 callersMethodCloseTransactionAsSnapshot
CloseTransactionAsSnapshot closes the mutable state transaction (different from DB transaction) and prepares the current snapshot of the state to be p
service/history/interfaces/mutable_state.go:347
↓ 30 callersMethodCreateOrUpdateNexusEndpoint
(ctx context.Context, request *CreateOrUpdateNexusEndpointRequest)
common/persistence/data_interfaces.go:1251
↓ 30 callersMethodCustom
()
common/searchattribute/name_type_map.go:123
← previousnext →801–900 of 43,335, ranked by callers