Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 16 callers
Method
GetVisibilityIndex
GetVisibilityIndex return visibility index name from Elasticsearch config or empty string if it is not defined.
common/persistence/visibility/store/elasticsearch/client/config.go:69
↓ 16 callers
Method
GetWorkerInstanceKey
()
api/matchingservice/v1/request_response.pb.go:1598
↓ 16 callers
Method
GetWorkerVersioningRules
(ctx context.Context, request *matchingservice.GetWorkerVersioningRulesRequest)
service/matching/matching_engine_interfaces.go:48
↓ 16 callers
Method
GetWorkflowTaskTimeout
()
chasm/lib/workflow/validator.go:66
↓ 16 callers
Function
Int64
(key string, value int64)
common/log/tag/zap_tag.go:186
↓ 16 callers
Function
IsServiceClientTransientError
IsServiceClientTransientError checks if the error is a transient error.
common/util.go:336
↓ 16 callers
Method
ListNexusEndpoints
(ctx context.Context, request *ListNexusEndpointsRequest)
common/persistence/sql/sqlplugin/nexus_endpoints.go:30
↓ 16 callers
Method
Nack
(err error)
service/history/replication/executable_task.go:61
↓ 16 callers
Function
NewConfig
NewConfig returns new service config with default values
service/matching/config.go:270
↓ 16 callers
Function
NewEngineContext
this will be done by the nexus handler? alternatively the engine can be a global variable, but not a good practice in fx.
chasm/engine.go:447
↓ 16 callers
Function
NewMockEngine
NewMockEngine creates a new mock instance.
chasm/engine_mock.go:32
↓ 16 callers
Function
NewMockTransactionManager
NewMockTransactionManager creates a new mock instance.
service/history/ndc/transaction_manager_mock.go:35
↓ 16 callers
Function
NewPrioritySemaphore
NewPrioritySemaphore creates a new semaphore with the given maximum combined weight for concurrent access, capable of handling multiple priority level
common/locks/priority_semaphore_impl.go:69
↓ 16 callers
Function
NewRandomScopes
( numScopes int, )
service/history/queues/test_util.go:83
↓ 16 callers
Function
NewRateLimiter
NewRateLimiter returns a new rate limiter that can handle dynamic configuration updates
common/quotas/rate_limiter_impl.go:26
↓ 16 callers
Function
NewSearchAttributeKeyword
NewSearchAttributeKeyword creates a new keyword search attribute given a predefined chasm field
chasm/search_attribute.go:366
↓ 16 callers
Function
NewTLSConfigProviderFromConfig
NewTLSConfigProviderFromConfig creates a new TLS Config provider from RootTLS config. A custom cert provider factory can be optionally injected via ce
common/rpc/encryption/tls_factory.go:63
↓ 16 callers
Function
NewTaskQueueDurationSetting
(key string, def time.Duration, description string)
common/dynamicconfig/setting_gen.go:623
↓ 16 callers
Method
OnProtocolMessage
OnProtocolMessage delivers a message to the Update state machine. The Body field of *protocolpb.Message parameter is expected to be one of *updatepb.R
service/history/workflow/update/update.go:510
↓ 16 callers
Method
Poll
(ctx context.Context, pollMetadata *pollMetadata)
service/matching/physical_task_queue_manager.go:103
↓ 16 callers
Method
Recv
()
service/history/replication/bi_direction_stream.go:41
↓ 16 callers
Method
RespondNexusTaskFailed
(ctx context.Context, request *matchingservice.RespondNexusTaskFailedRequest, opMetrics metrics.Handler)
service/matching/matching_engine_interfaces.go:42
↓ 16 callers
Method
SendToChannel
SendToChannel sends to ch using the TestEnv context.
tests/testcore/test_env.go:469
↓ 16 callers
Method
Serialize
Serialize returns the actual value of the slug when used in an HTTP path, e.g. "v1" for a constant slug or "test-namespace" for a variable.
common/routing/route.go:30
↓ 16 callers
Method
SetEngineForTesting
SetEngineForTest sets s.engine. Only used by tests.
service/history/shard/context_testutil.go:190
↓ 16 callers
Method
SetPartitionScale
SetPartitionScale is called on the root partition to propagate new scale info to child partitions.
service/matching/user_data_manager.go:65
↓ 16 callers
Function
SetVersionsForTests
SetVersionsForTests sets headers as they would be received from the client. Must be used in tests only.
common/headers/version_checker.go:106
↓ 16 callers
Method
Source
()
common/persistence/visibility/store/elasticsearch/query_converter_bool_query.go:44
↓ 16 callers
Method
StickyTaskQueue
()
common/testing/testvars/test_vars.go:327
↓ 16 callers
Function
TargetCluster
TargetCluster returns tag for TargetCluster
common/log/tag/tags.go:782
↓ 16 callers
Method
ToPostgreSQLDateTime
(t time.Time)
common/persistence/sql/sqlplugin/postgresql/typeconv.go:13
↓ 16 callers
Method
ValidateSignalWithStartRequest
(request *workflowservice.SignalWithStartWorkflowExecutionRequest)
chasm/lib/workflow/validator.go:148
↓ 16 callers
Method
WorkflowID
()
common/testing/testvars/test_vars.go:188
↓ 16 callers
Function
WorkflowTypeTag
WorkflowTypeTag returns a new workflow type tag.
common/metrics/tags.go:215
↓ 16 callers
Function
addStartChildWorkflowExecutionInitiatedEvent
( ms historyi.MutableState, workflowTaskCompletedID int64, namespace namespace.Name, namespaceID namespace
service/history/history_engine_test.go:6900
↓ 16 callers
Function
addressPatternToRegexp
(pattern string)
components/callbacks/config.go:140
↓ 16 callers
Function
addressPatternToRegexp
(pattern string)
chasm/lib/callback/config.go:170
↓ 16 callers
Function
assertError
(t *testing.T, err error, expectedError error)
service/worker/scheduler/responsebuilder_test.go:300
↓ 16 callers
Method
assertStateMatches
(expected historyIteratorState, itr *historyIterator)
common/archiver/history_iterator_test.go:634
↓ 16 callers
Method
calculateTimeSkippingTransition
calculateTimeSkippingTransition determines the next skip target. Candidates (in collection order): pending user timers, activity retry backoffs, workf
service/history/workflow/mutable_state_impl.go:10179
↓ 16 callers
Function
checkReachability
(ctx context.Context, t *testing.T, rc *reachabilityCalculator, buildId string, expectedReachability enums
service/matching/reachability_test.go:294
↓ 16 callers
Method
checkReachability
(env *testcore.TestEnv, taskQueue, buildID string, expectedReachability ...enumspb.TaskReachability)
tests/advanced_visibility_test.go:2614
↓ 16 callers
Function
createFile
(t *testing.T, dir string, file string, uid, uid2 string)
common/config/loader_test.go:165
↓ 16 callers
Method
createPersistenceMutableState
( ms historyi.MutableState, lastEventID int64, lastEventVersion int64, )
service/history/transfer_queue_standby_task_executor_test.go:1313
↓ 16 callers
Function
createUserDataManager
( t *testing.T, controller *gomock.Controller, testOpts *tqmTestOpts, )
service/matching/user_data_manager_test.go:43
↓ 16 callers
Function
defaultTqmTestOpts
(controller *gomock.Controller)
service/matching/user_data_manager_test.go:1065
↓ 16 callers
Method
errorf
(format string, args ...any)
common/dynamicconfig/yaml_loader.go:124
↓ 16 callers
Method
failWorkflowTask
( failedCause enumspb.WorkflowTaskFailedCause, causeErr error, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1554
↓ 16 callers
Function
findSearchAttribute
(t *testing.T, sas []chasm.SearchAttributeKeyValue, alias string)
chasm/lib/scheduler/scheduler_test.go:570
↓ 16 callers
Method
forBothConverters
forBothConverters runs fn as two parallel subtests, one with the legacy visibility query converter and one with the unified converter. TODO: Remove on
tests/chasm_test.go:81
↓ 16 callers
Method
getOrCreateEventLog
(ctx chasm.MutableContext)
chasm/lib/scheduler/eventlog.go:49
↓ 16 callers
Method
getRandomNamespace
()
service/frontend/namespace_handler_test.go:1966
↓ 16 callers
Function
invalidStateTransitionErr
( currentState enumsspb.WorkflowExecutionState, targetState enumsspb.WorkflowExecutionState, targetStatus e
service/history/workflow/mutable_state_state_status.go:127
↓ 16 callers
Method
isForwarded
isForwarded returns true if the underlying task is forwarded by a remote matching host forwarded tasks are already marked as started in history
service/matching/task.go:252
↓ 16 callers
Function
mkSingleSetData
(setID string, buildIDs ...*persistencespb.BuildId)
service/matching/version_sets_merge_test.go:38
↓ 16 callers
Method
mustGenerateTaskID
()
service/history/transfer_queue_standby_task_executor_test.go:1440
↓ 16 callers
Function
newCancellation
(state *nexusoperationpb.CancellationState)
chasm/lib/nexusoperation/cancellation.go:30
↓ 16 callers
Function
newRunner
()
tools/testrunner/testrunner.go:83
↓ 16 callers
Method
newTestVisibilityArchiver
()
common/archiver/filestore/visibility_archiver_test.go:556
↓ 16 callers
Method
next
Returns the earliest time that matches this calendar spec that is after the given time. All times are considered to have 1 second resolution.
service/worker/scheduler/calendar.go:115
↓ 16 callers
Method
requireNoVersioningOverride
( env *testcore.TestEnv, execution *commonpb.WorkflowExecution, )
tests/versioning_3_test.go:2290
↓ 16 callers
Method
requireOneTimeOverride
( env *testcore.TestEnv, execution *commonpb.WorkflowExecution, tv *testvars.TestVars, )
tests/versioning_3_test.go:2279
↓ 16 callers
Method
setState
setState assigns the current state to a new value returning the original value.
service/history/workflow/update/update.go:828
↓ 16 callers
Method
validateCrossNamespaceCall
( namespaceID namespace.ID, businessID string, targetNamespaceID namespace.ID, targetBusinessID string, )
service/history/api/command_attr_validator.go:581
↓ 16 callers
Method
validateWorkflowEventsVersionStamps
( env *testcore.TestEnv, wfID, runID string, expectedBuildIds []string, expectedInheritedBuildId string, )
tests/versioning_test.go:5115
↓ 16 callers
Method
waitForTaskQueueVersioningInfo
( ctx context.Context, tb testing.TB, tq *taskqueuepb.TaskQueue, expectedCurrentVersion string, expectedR
tests/versioning_test_env.go:28
↓ 15 callers
Method
Abort
()
service/history/replication/executable_task.go:62
↓ 15 callers
Method
Ack
()
service/history/replication/executable_task.go:60
↓ 15 callers
Method
ActiveInCluster
(clusterName string)
common/namespace/replication_resolver.go:26
↓ 15 callers
Function
ActivityTaskQueueKey
ActivityTaskQueueKey returns the metadata key for an activity's task queue, keyed by scheduled event ID.
common/contextutil/metadata.go:48
↓ 15 callers
Method
AddWorkflowExecutionSignaled
( signalName string, input *commonpb.Payloads, identity string, header *commonpb.Header, reques
service/history/interfaces/mutable_state.go:103
↓ 15 callers
Method
BusinessIDReuseRateLimiter
(namespaceID namespace.ID, businessID string, archetypeID chasm.ArchetypeID)
service/history/interfaces/shard_context.go:122
↓ 15 callers
Method
ClusterNames
(businessID string)
common/namespace/replication_resolver.go:27
↓ 15 callers
Method
CompleteOperation
CompleteOperation sends a completion callback for a Nexus operation to the given URL with the given completion details.
common/nexus/nexusrpc/completion.go:55
↓ 15 callers
Method
DB
()
common/persistence/sql/sqlplugin/db_handle.go:135
↓ 15 callers
Method
DeleteClusterMetadata
(ctx context.Context, request *DeleteClusterMetadataRequest)
common/persistence/data_interfaces.go:1242
↓ 15 callers
Method
EvaluateWorker
(hb *workerpb.WorkerHeartbeat)
service/matching/workers/worker_query_engine.go:150
↓ 15 callers
Method
ExecutionKey
ExecutionKey returns the execution key for the execution the context is operating on.
chasm/context.go:28
↓ 15 callers
Function
GenerateVersionWorkflowID
GenerateVersionWorkflowID is a helper that generates a system accepted workflowID which are used in our Worker Deployment Version workflows
service/worker/workerdeployment/util.go:160
↓ 15 callers
Method
GetAckLevels
(ctx context.Context)
common/persistence/persistence_interface.go:177
↓ 15 callers
Method
GetBuildIdRedirectCounter
()
api/persistence/v1/executions.pb.go:936
↓ 15 callers
Method
GetClaims
(authInfo *AuthInfo)
common/authorization/claim_mapper.go:30
↓ 15 callers
Method
GetCurrentSinceTime
()
api/deployment/v1/message.pb.go:393
↓ 15 callers
Method
GetFailoverVersion
()
api/persistence/v1/namespaces.pb.go:429
↓ 15 callers
Method
GetFrontendRequest
()
chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go:266
↓ 15 callers
Method
GetFrontendResponse
()
chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go:310
↓ 15 callers
Method
GetMemo
()
api/cli/v1/message.pb.go:219
↓ 15 callers
Method
GetMetadata
(ctx context.Context)
common/persistence/data_interfaces.go:1226
↓ 15 callers
Method
GetNexusEndpoint
(ctx context.Context, request *GetNexusEndpointRequest)
common/persistence/data_interfaces.go:1249
↓ 15 callers
Method
GetPaused
()
api/persistence/v1/executions.pb.go:3167
↓ 15 callers
Method
GetPollRequest
()
api/matchingservice/v1/request_response.pb.go:100
↓ 15 callers
Method
GetSingleWorkflowHistoryPaginatedIteratorExclusive
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, r
service/history/replication/eventhandler/remote_history_paginated_fetcher.go:30
↓ 15 callers
Method
GetSourcePartition
()
api/taskqueue/v1/message.pb.go:744
↓ 15 callers
Method
GetStartEventVersion
()
api/token/v1/message.pb.go:202
↓ 15 callers
Method
GetStateTransitionCount
()
api/cli/v1/message.pb.go:240
↓ 15 callers
Method
GetTypeId
()
api/persistence/v1/chasm.pb.go:510
↓ 15 callers
Method
GetVersionTaskQueues
()
api/matchingservice/v1/request_response.pb.go:1832
↓ 15 callers
Method
GetWorkersInfo
Deprecated: Marked as deprecated in temporal/server/api/matchingservice/v1/request_response.proto.
api/matchingservice/v1/request_response.pb.go:4977
↓ 15 callers
Method
GetWorkflowExecutionRawHistory
(ctx context.Context, request *historyservice.GetWorkflowExecutionRawHistoryRequest)
service/history/interfaces/engine.go:90
↓ 15 callers
Method
HandleBusyWorkflow
HandleBusyWorkflow is called when a task encounters a busy workflow error. It routes the task to the ExecutionQueueScheduler for sequential processing
service/history/queues/scheduler.go:35
← previous
next →
1,601–1,700 of 43,335, ranked by callers