MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 30 callersMethodExecuteMultiOperation
(ctx context.Context, request *historyservice.ExecuteMultiOperationRequest)
service/history/interfaces/engine.go:45
↓ 30 callersMethodGetBranchToken
()
api/history/v1/message.pb.go:164
↓ 30 callersMethodGetCause
()
api/cli/v1/message.pb.go:499
↓ 30 callersMethodGetClock
()
api/token/v1/message.pb.go:344
↓ 30 callersMethodGetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:137
↓ 30 callersMethodGetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/mysql/db.go:148
↓ 30 callersMethodGetReplicationConfig
()
api/persistence/v1/namespaces.pb.go:88
↓ 30 callersMethodGetRevisionNumber
()
api/deployment/v1/message.pb.go:478
↓ 30 callersMethodGetShardByID
(shardID int32)
service/history/shard/controller.go:17
↓ 30 callersMethodGetSystemClient
()
common/sdk/factory.go:32
↓ 30 callersMethodGetTaskQueueUserData
GetTaskQueueUserData gets versioned user data. This data would only exist if a user uses APIs that generate it, such as the worker versioning related
common/persistence/data_interfaces.go:1200
↓ 30 callersMethodListWorkers
(nsID namespace.ID, params ListWorkersParams)
service/matching/workers/registry.go:26
↓ 30 callersFunctionMustToPayload
MustToPayload converts a value to a Payload using the default data converter.
tests/testcore/utils.go:91
↓ 30 callersFunctionNew
New creates a new cache with the given options
common/cache/lru.go:137
↓ 30 callersFunctionNewDefaultOutgoingRateLimiter
NewDefaultOutgoingRateLimiter returns a default rate limiter for outgoing traffic, using fixed burst ratio of 2 and fixed 1 minute refresh interval
common/quotas/dynamic_rate_limiter_impl.go:57
↓ 30 callersFunctionNewJSONPBEncoder
NewJSONPBEncoder creates a new JSONPBEncoder.
common/codec/jsonpb.go:25
↓ 30 callersFunctionNewPagingIterator
NewPagingIterator create a new paging iterator
common/collection/paging_iterator.go:18
↓ 30 callersFunctionNewTallyMetricsHandler
(cfg ClientConfig, scope tally.Scope)
common/metrics/tally_metrics_handler.go:111
↓ 30 callersFunctionNewWorkflow
( clusterMetadata cluster.Metadata, wfContext historyi.WorkflowContext, mutableState historyi.MutableState,
service/history/ndc/workflow.go:45
↓ 30 callersMethodOnTasks
OnTasks will be called once per batch of tasks added, either sync match or async. The NumTasks count may be estimated based on assumptions of load bal
service/matching/partition_scaler_interface.go:35
↓ 30 callersFunctionReasonTag
ReasonTag is a generic tag can be used anywhere a reason is needed. Make sure that the value is of limited cardinality.
common/metrics/tags.go:460
↓ 30 callersMethodRegisterNamespace
Register namespace using persistence API because: 1. The Retention period is set to 0 for archival tests, and this can't be done through FE, 2. Update
tests/testcore/functional_test_base.go:516
↓ 30 callersMethodStartNamespaceMetricCapture
StartNamespaceMetricCapture starts a metrics capture scoped to this test's namespace. Namespace captures are safe on shared clusters because reads are
tests/testcore/test_env.go:582
↓ 30 callersFunctionTearDownMySQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:148
↓ 30 callersMethodWriteHeader
(statusCode int)
service/frontend/nexus_http_response_writer.go:30
↓ 30 callersMethodeventBatchesToVersionHistory
( versionHistory *historyspb.VersionHistory, eventBatches []*historypb.History, )
tests/ndc/ndc_test.go:2274
↓ 30 callersMethodgetAckLevel
()
service/matching/ack_manager.go:78
↓ 30 callersMethodgetEvents
()
service/history/ndc/replication_task.go:38
↓ 30 callersFunctionmkBuildId
(id string, clock *hlc.Clock)
service/matching/version_sets_test.go:87
↓ 30 callersFunctionnewTestContext
(t *testing.T, cfg *nexusoperations.Config)
components/nexusoperations/workflow/commands_test.go:62
↓ 30 callersFunctionparseWhereString
(where string)
common/persistence/visibility/store/sql/query_converter_test.go:1049
↓ 30 callersMethodqueryToJSON
(q elastic.Query)
common/persistence/visibility/store/elasticsearch/visibility_store_read_test.go:325
↓ 30 callersMethodstartVersionWorkflow
(env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:170
↓ 29 callersMethodAbort
Abort marks the task as aborted, usually means task executor shutdown
common/tasks/task.go:29
↓ 29 callersMethodClear
()
service/history/queues/slice.go:37
↓ 29 callersFunctionConvertToTime
(timeStr string)
common/sqlquery/query.go:19
↓ 29 callersMethodCreateNextActivityTimer
()
service/history/workflow/timer_sequence.go:48
↓ 29 callersFunctionDefaultFailureConverter
DefaultFailureConverter returns the package's default [FailureConverter] implementation. Translates [HandlerError], [OperationError] and [FailureError
common/nexus/nexusrpc/failure_converter.go:198
↓ 29 callersFunctionDeploymentVersionFromDeployment
DeploymentVersionFromDeployment Temporary helper function to convert Deployment to WorkerDeploymentVersion proto until we update code to use the new p
common/worker_versioning/worker_versioning.go:474
↓ 29 callersFunctionDuration
(key string, value time.Duration)
common/log/tag/zap_tag.go:210
↓ 29 callersMethodGetActivityType
(context.Context, *persistencespb.ActivityInfo)
service/history/interfaces/mutable_state.go:162
↓ 29 callersMethodGetBody
()
api/archiver/v1/message.pb.go:191
↓ 29 callersMethodGetFrontendRequest
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/request_response.pb.go:535
↓ 29 callersMethodGetResolver
GetResolver returns the service resolver for a service in the cluster.
common/membership/interfaces.go:51
↓ 29 callersMethodGetTaskID
()
service/history/tasks/task.go:19
↓ 29 callersMethodGetUpdateId
()
api/persistence/v1/hsm.pb.go:663
↓ 29 callersMethodGetWorkflowStateStatus
()
service/history/interfaces/mutable_state.go:202
↓ 29 callersFunctionKey
Key returns tag for Key
common/log/tag/tags.go:451
↓ 29 callersMethodLogEvent
LogEvent appends an event with the given message. Messages longer than the configured maximum length are truncated at a UTF-8 rune boundary; once the
chasm/lib/scheduler/eventlog.go:76
↓ 29 callersMethodLookupN
LookupN looks up n hosts that owns the resource identified by the given key, if n is greater than total number of hosts, all hosts will be returned in
common/membership/interfaces.go:76
↓ 29 callersMethodLowWatermark
()
service/history/replication/executable_task_tracker.go:36
↓ 29 callersFunctionNewNoopCollection
NewNoopCollection creates a new noop collection.
common/dynamicconfig/static_client.go:29
↓ 29 callersFunctionNewTimerSequence
( mutableState historyi.MutableState, )
service/history/workflow/timer_sequence.go:61
↓ 29 callersMethodOpLog
OpLog returns a compacted operation log from the root state machine. The operation log maintains a sequence of state changes, while compaction ensures
service/history/hsm/tree.go:264
↓ 29 callersMethodReadHistoryBranchByBatch
ReadHistoryBranchByBatch returns history node data for a branch ByBatch
common/persistence/data_interfaces.go:1158
↓ 29 callersFunctionShardID
history engine shard ShardID returns tag for ShardID
common/log/tag/tags.go:555
↓ 29 callersMethodUnmarshal
Unmarshal an object of type Checksum from the protobuf v3 wire format
api/persistence/v1/executions.go-helpers.pb.go:828
↓ 29 callersMethodValidate
Validate determines whether a task should proceed with execution based on the current context, component state, task attributes, and task data. This
chasm/task.go:72
↓ 29 callersMethodcreateRandomExternalNexusServer
createRandomExternalNexusServer creates a mock nexus server that listens via a randomized endpointName and return this name to the caller.
tests/nexus_test_base.go:68
↓ 29 callersFunctionencodeBlob
( m proto.Message, encoding enumspb.EncodingType, options ...EncodeOption, )
common/persistence/serialization/codec.go:63
↓ 29 callersFunctionhasWordsBefore
hasWordsBefore checks if the given words appears before position pos in s, separated by at least one space, and each word is a whole word. Words must
common/persistence/query_util.go:231
↓ 29 callersMethodmetricsScope
(ctx context.Context)
service/frontend/workflow_handler.go:6610
↓ 29 callersMethodnewNamespaceResponse
( id namespace.ID, name string, activeCluster string, notificationVersion int64, )
common/namespace/nsregistry/registry_watch_test.go:137
↓ 29 callersMethodpollUntilRegistered
pollUntilRegistered registers versioned pollers for the given deployment. tqTypes controls which task queue types to poll; it defaults to workflow onl
tests/versioning_3_test.go:4115
↓ 29 callersFunctionrespondCompleteWorkflow
( tv *testvars.TestVars, behavior enumspb.VersioningBehavior, )
tests/versioning_3_test.go:4605
↓ 28 callersMethodAddedTasks
AddedTasks is called on a batch of tasks added. This is called in the task add path, so it shouldn't block.
service/matching/scale_manager.go:122
↓ 28 callersMethodClusterConfiguredForArchival
()
common/archiver/archival_metadata.go:24
↓ 28 callersMethodCreateNexusEndpoint
(ctx context.Context, request *matchingservice.CreateNexusEndpointRequest)
service/matching/matching_engine_interfaces.go:43
↓ 28 callersMethodDeleteHistoryBranch
DeleteHistoryBranch removes a branch If this is the last branch to delete, it will also remove the root node
common/persistence/data_interfaces.go:1168
↓ 28 callersMethodDescribeTaskQueuePartition
(ctx context.Context, request *matchingservice.DescribeTaskQueuePartitionRequest)
service/matching/matching_engine_interfaces.go:24
↓ 28 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:302
↓ 28 callersMethodExist
(ctx context.Context, URI archiver.URI, fileName string)
common/archiver/gcloud/connector/client.go:36
↓ 28 callersFunctionFail
Fail logs an error using `staticMessage` to indicate a failed assertion. `staticMessage` is expected to be a static string to help with grouping and
common/softassert/softassert.go:43
↓ 28 callersMethodGauge
Gauge obtains a gauge for the given name.
common/metrics/metrics.go:29
↓ 28 callersFunctionGet
Get gets the value of a test hook from the registry. TestHooks should be used sparingly, see comment on TestHooks.
common/testing/testhooks/test_impl.go:39
↓ 28 callersMethodGetTask
()
service/history/queues/executable.go:49
↓ 28 callersMethodInc
(i int64)
common/sdk/metrics_handler.go:58
↓ 28 callersMethodIsDirty
()
service/history/interfaces/chasm_tree.go:26
↓ 28 callersMethodKey
()
common/dynamicconfig/setting.go:34
↓ 28 callersMethodListNexusEndpoints
(ctx context.Context, request *ListNexusEndpointsRequest)
common/persistence/data_interfaces.go:1250
↓ 28 callersFunctionMkdirTemp
MkdirTemp is a helper function which creates a temporary directory, and they are automatically removed after test is completed
tests/testutils/io.go:25
↓ 28 callersFunctionNewMockCounterIface
NewMockCounterIface creates a new mock instance.
common/metrics/metrics_mock.go:295
↓ 28 callersFunctionNewMySQLConfig
NewMySQLConfig returns a new MySQL config for test
common/persistence/tests/mysql_test_util.go:77
↓ 28 callersFunctionNewPostgreSQLConfig
NewPostgreSQLConfig returns a new MySQL config for test
common/persistence/tests/postgresql_test_util.go:76
↓ 28 callersFunctionNewQueryConverter
( storeQC StoreQueryConverter[ExprT], namespaceName namespace.Name, saTypeMap searchattribute.NameTypeMap,
common/persistence/visibility/store/query/converter.go:131
↓ 28 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
chasm/statemachine.go:36
↓ 28 callersFunctionRandomBranchToken
( namespaceID string, workflowID string, runID string, historyBranchUtil p.HistoryBranchUtil, )
common/persistence/tests/util.go:346
↓ 28 callersMethodRecord
(val int64)
common/aggregate/moving_window_average.go:10
↓ 28 callersMethodRecordWorkflowTaskStarted
(ctx context.Context, request *historyservice.RecordWorkflowTaskStartedRequest)
service/history/interfaces/engine.go:34
↓ 28 callersFunctionSearchAttributeValue
SearchAttributeValue returns the value for a given SearchAttribute with compile-time type safety. The return type T is inferred from the SearchAttribu
chasm/search_attribute.go:505
↓ 28 callersMethodSetCondition
SetCondition sets the condition to access this edge
common/testing/event_generator.go:376
↓ 28 callersFunctionSetupMySQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:91
↓ 28 callersFunctionSetupMySQLSchema
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:108
↓ 28 callersFunctionSetupPostgreSQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:91
↓ 28 callersFunctionSetupPostgreSQLSchema
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:108
↓ 28 callersFunctionTearDownPostgreSQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:148
↓ 28 callersFunctionUnmarshalAny
(t require.TestingT, a *anypb.Any)
common/testing/protoutils/any.go:11
↓ 28 callersMethodValidate
(ctx context.Context, namespaceName string, cbs []*commonpb.Callback)
chasm/lib/callback/validator.go:16
↓ 28 callersMethodValues
(name string, fieldName string, values ...any)
common/persistence/visibility/store/query/interceptors_legacy.go:8
↓ 28 callersFunctionWithDedicatedCluster
WithDedicatedCluster requests a dedicated (non-shared) cluster for the test. Use this for tests that have cluster-global side effects.
tests/testcore/test_env.go:110
← previousnext →901–1,000 of 43,335, ranked by callers