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
↓ 21 callers
Method
WithTaskQueueNumber
(n int)
common/testing/testvars/test_vars.go:323
↓ 21 callers
Function
WorkerDeploymentVersionFromStringV31
(s string)
common/worker_versioning/worker_versioning.go:1194
↓ 21 callers
Function
WorkerDeploymentVersionToStringV31
(v *deploymentspb.WorkerDeploymentVersion)
common/worker_versioning/worker_versioning.go:1148
↓ 21 callers
Method
assertWorkflowIsPaused
assertWorkflowIsPaused is a helper method which asserts that, - the workflow status is paused. - the workflow has the correct pause info. - the Tempor
tests/pause_workflow_execution_test.go:1835
↓ 21 callers
Method
fatals
()
common/testing/await/require_ctx_test.go:548
↓ 21 callers
Method
filterWorkers
filterWorkers returns all WorkerHeartbeats in a namespace for which predicate(hb) returns true. System workers are excluded unless includeSystemWorker
service/matching/workers/registry_impl.go:145
↓ 21 callers
Method
idlePollWorkflow
(env *testcore.TestEnv, ctx context.Context, tv *testvars.TestVars, versioned bool, timeout time.Duration,
tests/versioning_3_test.go:4868
↓ 21 callers
Method
logWarn
(msg string, tags ...tag.Tag)
service/history/workflow/mutable_state_impl.go:9080
↓ 21 callers
Function
maxPollerCount
(tqlb *tqLoadBalancer)
client/matching/loadbalancer_test.go:157
↓ 21 callers
Method
mustEncode
(v any)
chasm/visibility_test.go:348
↓ 21 callers
Function
newQueueV2Store
(session gocql.Session, opts ...func(params *testQueueParams))
common/persistence/tests/cassandra_test.go:1203
↓ 21 callers
Method
now
()
common/persistence/sql/sqlplugin/tests/visibility.go:1382
↓ 21 callers
Method
txExecute
(ctx context.Context, operation string, f func(tx sqlplugin.Tx) error)
common/persistence/sql/common.go:52
↓ 21 callers
Function
validateVersionWfParams
validateVersionWfParams is a helper that verifies if the fields used for generating Worker Deployment Version related workflowID's are valid
service/worker/workerdeployment/util.go:143
↓ 20 callers
Method
AddActivityTaskScheduledEvent
(int64, *commandpb.ScheduleActivityTaskCommandAttributes, bool)
service/history/interfaces/mutable_state.go:56
↓ 20 callers
Method
AddHistorySize
(size int64)
service/history/interfaces/mutable_state.go:306
↓ 20 callers
Method
AddTask
AddTask adds a task to the task queue. This method will first attempt a synchronous match with a poller. When that fails, task will be written to data
service/matching/task_queue_partition_manager_interface.go:27
↓ 20 callers
Method
CanBatch
()
service/history/replication/batchable_task.go:22
↓ 20 callers
Method
CanMerge
(Iterator)
service/history/queues/iterator.go:17
↓ 20 callers
Method
CloneToProto
()
service/history/interfaces/mutable_state.go:151
↓ 20 callers
Method
ContainsKey
( key tasks.Key, )
service/history/queues/range.go:34
↓ 20 callers
Function
ContextCounterAdd
ContextCounterAdd adds value to counter within metrics context.
common/metrics/grpc.go:140
↓ 20 callers
Method
CreateTasks
(ctx context.Context, request *CreateTasksRequest)
common/persistence/data_interfaces.go:1184
↓ 20 callers
Method
DescribeWorkflow
DescribeWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:206
↓ 20 callers
Method
Do
Do calls f() on a worker goroutine. If the call can't be started within targetDelay, it adds another worker. If Stop is called concurrently, Do may or
common/goro/adaptive_pool.go:61
↓ 20 callers
Method
Done
()
common/clock/context.go:22
↓ 20 callers
Method
Encode
(writer io.Writer, taskCategoryID int, blob *commonpb.DataBlob)
tools/tdbg/task_encoder.go:25
↓ 20 callers
Function
EncodeValue
EncodeValue encodes search attribute value and IndexedValueType to Payload.
common/searchattribute/sadefs/encode_value.go:15
↓ 20 callers
Function
GenerateRandomString
GenerateRandomString is used for generate test string
common/util.go:518
↓ 20 callers
Method
GenerateTaskID
()
service/history/interfaces/shard_context.go:65
↓ 20 callers
Method
GetActivityByActivityID
(string)
service/history/interfaces/mutable_state.go:159
↓ 20 callers
Method
GetForwardInfo
()
api/matchingservice/v1/request_response.pb.go:1257
↓ 20 callers
Method
GetPayloadSerializer
()
service/history/interfaces/shard_context.go:53
↓ 20 callers
Method
GetQueryResult
()
api/matchingservice/v1/request_response.pb.go:1309
↓ 20 callers
Method
GetReplicationStatus
(ctx context.Context, request *historyservice.GetReplicationStatusRequest)
service/history/interfaces/engine.go:85
↓ 20 callers
Method
GetScheduledTime
()
service/history/queues/executable.go:51
↓ 20 callers
Method
GetTargetTime
()
api/persistence/v1/executions.pb.go:1291
↓ 20 callers
Method
GetUrl
()
api/persistence/v1/executions.pb.go:4708
↓ 20 callers
Method
GetValue
(key Key)
common/dynamicconfig/memory_client.go:29
↓ 20 callers
Method
GetValue
GetValue returns a set of values and associated constraints for a key. Not all constraints are valid for all keys. The returned slice of ConstrainedV
common/dynamicconfig/client.go:31
↓ 20 callers
Method
HandleTask
( tv *testvars.TestVars, handler func(task *workflowservice.PollNexusTaskQueueResponse) (*workflowservice.Re
common/testing/taskpoller/taskpoller.go:253
↓ 20 callers
Method
Hostname
()
common/archiver/uri.go:12
↓ 20 callers
Method
InjectHook
(hook testhooks.Hook)
tests/testcore/test_env.go:59
↓ 20 callers
Function
LastVersionedTransition
( transitions []*persistencespb.VersionedTransition, )
common/persistence/transitionhistory/transition_history.go:34
↓ 20 callers
Method
Members
Members returns all known hosts available for this service.
common/membership/interfaces.go:86
↓ 20 callers
Function
MergeMapOfPayload
MergeMapOfPayload returns a new map resulting from merging map `src` into `dst`. If a key in `src` already exists in `dst`, then the value in `src` re
common/payload/payload.go:66
↓ 20 callers
Function
NewArchiverProvider
NewArchiverProvider returns a new Archiver provider
common/archiver/provider/provider.go:101
↓ 20 callers
Function
NewHTTPClient
NewHTTPClient creates a new [HTTPClient] from provided [HTTPClientOptions]. BaseURL and Service are required.
common/nexus/nexusrpc/client.go:154
↓ 20 callers
Function
NewMockVisibilityQueryConverter
NewMockVisibilityQueryConverter creates a new mock instance.
common/persistence/sql/sqlplugin/visibility_query_converter_mock.go:33
↓ 20 callers
Method
NotifyChasmExecution
(executionKey chasm.ExecutionKey, componentRef []byte)
service/history/interfaces/engine.go:104
↓ 20 callers
Method
RecordActivityTaskStarted
(ctx context.Context, request *historyservice.RecordActivityTaskStartedRequest)
service/history/interfaces/engine.go:35
↓ 20 callers
Method
SearchAttributes
(Context)
chasm/visibility.go:36
↓ 20 callers
Method
SelectFromVisibility
SelectFromVisibility returns one or more rows from visibility table Required filter params: - getClosedWorkflowExecution - retrieves single row - {nam
common/persistence/sql/sqlplugin/visibility.go:105
↓ 20 callers
Method
SetState
(S)
service/history/hsm/sm.go:23
↓ 20 callers
Method
ShardIDs
()
service/history/shard/controller.go:20
↓ 20 callers
Method
StartTransaction
StartTransaction sets up the mutable state for transacting.
service/history/interfaces/mutable_state.go:341
↓ 20 callers
Method
Stop
()
service/history/shard/controller.go:22
↓ 20 callers
Method
Tasks
()
chasm/library.go:14
↓ 20 callers
Method
ToSQLiteDateTime
(t time.Time)
common/persistence/sql/sqlplugin/sqlite/typeconv.go:13
↓ 20 callers
Method
UpdateRegistry
TODO (alex-update): move this from workflow context.
service/history/interfaces/workflow_context.go:122
↓ 20 callers
Method
UpdateSchedule
(ctx context.Context, in *UpdateScheduleRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:39
↓ 20 callers
Method
UpdateTaskQueueUserData
(ctx context.Context, request *matchingservice.UpdateTaskQueueUserDataRequest)
service/matching/matching_engine_interfaces.go:35
↓ 20 callers
Function
VersionedBuildIdSearchAttribute
VersionedBuildIdSearchAttribute returns the search attribute value for a versioned build ID
common/worker_versioning/worker_versioning.go:116
↓ 20 callers
Method
approxDuration
approxDuration asserts actual is within 10s of expected. Each skip loses (event_time - command_apply_time) of wall clock because AccumulatedSkippedDur
tests/timeskipping_propagation_test.go:703
↓ 20 callers
Method
checkVersionDrainageAndVersionStatus
( env *testcore.TestEnv, tv *testvars.TestVars, expectedDrainageInfo *deploymentpb.VersionDrainageInfo, ex
tests/worker_deployment_version_test.go:1594
↓ 20 callers
Function
deepCopyForMapstructure
deepCopyForMapstructure does a simple deep copy of T. Fancy cases (anything other than plain old data) is not handled and will panic.
common/dynamicconfig/deepcopy.go:11
↓ 20 callers
Method
defaultAction
(id string)
service/worker/scheduler/workflow_test.go:62
↓ 20 callers
Method
drainWorkflowTaskAfterSetCurrent
drainWorkflowTaskAfterSetCurrent is a helper that sets the current deployment version, drains the initial workflow task from the execution, and ensure
tests/versioning_3_test.go:748
↓ 20 callers
Method
executeHistoryReplicationTasksUntil
executeHistoryReplicationTasksUntil executes buffered history event replication tasks until the specified event type is encountered.
tests/xdc/history_replication_signals_and_updates_test.go:650
↓ 20 callers
Method
getCalls
()
service/matching/task_queue_partition_manager_test.go:1393
↓ 20 callers
Method
getVersionedQueue
Pass either versionSet or build ID
service/matching/task_queue_partition_manager.go:1983
↓ 20 callers
Method
hasMinVersion
(version SchedulerWorkflowVersion)
service/worker/scheduler/workflow.go:1694
↓ 20 callers
Method
listHistoryEvents
( shardID int32, branchToken []byte, startEventID int64, endEventID int64, )
common/persistence/tests/history_store.go:809
↓ 20 callers
Function
mustAdmit
(t *testing.T, store mockEventStore, upd *update.Update)
service/history/workflow/update/update_test.go:1021
↓ 20 callers
Function
newTaskContext
( namespaceName string, timeout time.Duration, callerInfo headers.CallerInfo, )
service/history/replication/executable_task.go:934
↓ 20 callers
Method
sizeOfHistoryEvents
( events []*historypb.HistoryEvent, )
tests/ndc/ndc_test.go:2409
↓ 20 callers
Method
updateShardInfo
( tasksCompleted int, updateFnLocked func(), )
service/history/shard/context_impl.go:1219
↓ 19 callers
Function
ActivityTypeTag
ActivityTypeTag returns a new activity type tag.
common/metrics/tags.go:223
↓ 19 callers
Method
AddStartChildWorkflowExecutionInitiatedEvent
(int64, *commandpb.StartChildWorkflowExecutionCommandAttributes, namespace.ID)
service/history/interfaces/mutable_state.go:94
↓ 19 callers
Method
Appendf
Appendf appends a formatted issue to the set.
common/rpc/request_issues.go:22
↓ 19 callers
Method
AvailableMembers
AvailableMembers returns all hosts available for this service that are accepting requests (not draining).
common/membership/interfaces.go:88
↓ 19 callers
Method
BuildId
BuildId returns empty if this is not a Versioning v2 queue.
service/matching/physical_task_queue_key.go:185
↓ 19 callers
Method
DeleteChild
DeleteChild marks a child node and all its descendants as deleted, removing them from the cache. No transitions will be allowed after deleting a child
service/history/hsm/tree.go:412
↓ 19 callers
Method
DeleteNexusEndpoint
(ctx context.Context, request *DeleteNexusEndpointRequest)
common/persistence/data_interfaces.go:1252
↓ 19 callers
Method
Execute
(ctx context.Context, task *replicationspb.NamespaceTaskAttributes)
common/namespace/nsreplication/replication_task_executor.go:49
↓ 19 callers
Function
FullyQualifiedName
FullyQualifiedName creates a fully qualified name (FQN) by combining a library name and a component or task name. The FQN is used to uniquely identify
chasm/library.go:58
↓ 19 callers
Method
GetCurrentWorkflowRunID
( ctx context.Context, namespaceID namespace.ID, workflowID string, archetypeID chasm.ArchetypeID,
service/history/ndc/transaction_manager.go:118
↓ 19 callers
Method
GetDeployment
()
api/taskqueue/v1/message.pb.go:132
↓ 19 callers
Function
GetDocID
(workflowID string, runID string)
common/persistence/visibility/store/elasticsearch/visibility_store.go:291
↓ 19 callers
Method
GetEndpoint
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.pb.go:314
↓ 19 callers
Method
GetFrontendRequest
()
chasm/lib/activity/gen/activitypb/v1/request_response.pb.go:263
↓ 19 callers
Method
GetHasReached
()
api/persistence/v1/executions.pb.go:1298
↓ 19 callers
Method
GetLinks
()
chasm/lib/callback/gen/callbackpb/v1/message.pb.go:277
↓ 19 callers
Method
GetPageSize
()
api/adminservice/v1/request_response.pb.go:4744
↓ 19 callers
Method
GetSchedule
()
api/schedule/v1/message.pb.go:547
↓ 19 callers
Method
GetTarget
()
api/persistence/v1/nexus.pb.go:87
↓ 19 callers
Method
GetType
GetType returns type of search attribute from type map.
common/searchattribute/name_type_map.go:141
↓ 19 callers
Method
GetUserDataManager
()
service/matching/task_queue_partition_manager_interface.go:49
↓ 19 callers
Function
GetVersionHistory
GetVersionHistory gets the VersionHistory according to index provided.
common/persistence/versionhistory/version_histories.go:34
↓ 19 callers
Method
GetWorkflowRunTimeout
()
chasm/lib/workflow/validator.go:65
← previous
next →
1,301–1,400 of 43,335, ranked by callers