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
↓ 22 callers
Method
DeploymentVersionStringV32
()
common/testing/testvars/test_vars.go:275
↓ 22 callers
Method
DescribeNexusOperationExecution
(context.Context, *workflowservice.DescribeNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:25
↓ 22 callers
Method
Deserialize
(data []byte, attrs TaskAttributes)
service/history/hsm/tasks.go:52
↓ 22 callers
Method
DispatchNexusTask
(ctx context.Context, request *matchingservice.DispatchNexusTaskRequest)
service/matching/matching_engine_interfaces.go:39
↓ 22 callers
Function
ExtractStringValue
(s string)
common/sqlquery/query.go:35
↓ 22 callers
Method
Find
Find an existing Update in this Registry. Returns nil if Update doesn't exist.
service/history/workflow/update/registry.go:37
↓ 22 callers
Method
FrontendHTTPAddress
()
tests/testcore/onebox.go:284
↓ 22 callers
Function
GenerateTypeID
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 callers
Method
GetAction
()
common/testing/generator_interface.go:80
↓ 22 callers
Method
GetCurrentVersion
()
chasm/tree.go:211
↓ 22 callers
Function
GetDurationPropertyFnFilteredByNamespace
(value time.Duration)
common/dynamicconfig/setting_gen.go:599
↓ 22 callers
Method
GetHistoryTasks
(ctx context.Context, request *persistence.GetHistoryTasksRequest)
service/history/interfaces/shard_context.go:90
↓ 22 callers
Method
GetQuery
()
api/visibilityservice/v1/request_response.pb.go:94
↓ 22 callers
Method
GetRedirectRules
()
api/persistence/v1/task_queues.pb.go:441
↓ 22 callers
Method
GetStoreNames
()
common/persistence/visibility/manager/visibility_manager.go:24
↓ 22 callers
Method
GetTimeoutType
()
api/persistence/v1/executions.pb.go:2252
↓ 22 callers
Method
GetWorkerBuildIdCompatibility
(ctx context.Context, request *matchingservice.GetWorkerBuildIdCompatibilityRequest)
service/matching/matching_engine_interfaces.go:27
↓ 22 callers
Method
HasBufferedEvents
()
service/history/interfaces/mutable_state.go:210
↓ 22 callers
Function
IsContextCanceledErr
IsContextCanceledErr checks if the error is context.Canceled or serviceerror.Canceled error
common/util.go:329
↓ 22 callers
Method
IsDefined
(name string)
common/searchattribute/name_type_map.go:167
↓ 22 callers
Method
ListSchedules
( ctx context.Context, request *workflowservice.ListSchedulesRequest, opts ...grpc.CallOption, )
client/frontend/client_gen.go:512
↓ 22 callers
Method
Name
()
common/circuitbreaker/circuitbreaker.go:13
↓ 22 callers
Function
NewMockExecutionManager
NewMockExecutionManager creates a new mock instance.
common/persistence/data_interfaces_mock.go:162
↓ 22 callers
Function
NewMockLogger
NewMockLogger creates a new mock instance.
common/log/interface_mock.go:32
↓ 22 callers
Function
NewMockTimerIface
NewMockTimerIface creates a new mock instance.
common/metrics/metrics_mock.go:377
↓ 22 callers
Method
Query
()
common/archiver/uri.go:18
↓ 22 callers
Method
ReapplyEvents
( ctx context.Context, ms historyi.MutableState, updateRegistry update.Registry, historyEvents []*
service/history/ndc/events_reapplier.go:20
↓ 22 callers
Method
RegisterNamespace
RegisterNamespace is a fake implementation of the RegisterNamespace gRPC method which does nothing.
service/frontend/fx_test.go:319
↓ 22 callers
Function
TrackStateMachineTimer
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 callers
Method
Unmarshal
Unmarshal an object of type NewRunInfo from the protobuf v3 wire format
api/replication/v1/message.go-helpers.pb.go:606
↓ 22 callers
Method
UpdateCurrentVersion
(version int64, forceUpdate bool)
service/history/interfaces/mutable_state.go:298
↓ 22 callers
Method
VerifyChildExecutionCompletionRecorded
(ctx context.Context, request *historyservice.VerifyChildExecutionCompletionRecordedRequest)
service/history/interfaces/engine.go:56
↓ 22 callers
Method
addTask
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 callers
Method
createInternalServerError
( actionTag tag.ZapTag, )
service/history/workflow/mutable_state_impl.go:9061
↓ 22 callers
Method
getChildWFIDsFromHistory
(env *testcore.TestEnv, wfID string, runID string)
tests/workflow_reset_with_child_test.go:850
↓ 22 callers
Method
getReadLevel
()
service/matching/ack_manager.go:51
↓ 22 callers
Function
insertRedirectRule
(rule *taskqueuepb.CompatibleBuildIdRedirectRule, data *persistencespb.VersioningData, clock *hlc.Clock, ma
service/matching/version_rule_test.go:127
↓ 22 callers
Method
makeKey
( nsid, tqname string, tqtype enumspb.TaskQueueType, )
client/matching/partition_cache.go:77
↓ 22 callers
Function
mustNewScheduledEvent
(schedTime time.Time, defaults *historypb.NexusOperationScheduledEventAttributes)
components/nexusoperations/helpers_test.go:75
↓ 22 callers
Function
newInternalTaskFromBacklog
( info *persistencespb.AllocatedTaskInfo, completionFunc func(*internalTask, taskResponse), )
service/matching/task.go:165
↓ 22 callers
Function
newTestOperation
()
chasm/lib/nexusoperation/operation_statemachine_test.go:32
↓ 22 callers
Function
newUnversionedRootQueueKey
(namespaceID string, name string, taskType enumspb.TaskQueueType)
service/matching/matching_engine_test.go:5170
↓ 22 callers
Function
updateWorkflowRequest
( s testcore.Env, tv *testvars.TestVars, waitPolicy *updatepb.WaitPolicy, )
tests/update_workflow_utils.go:49
↓ 22 callers
Method
wLock
()
service/history/shard/context_impl.go:1499
↓ 21 callers
Function
ActivityID
ActivityID returns tag for an activity ID
common/log/tag/tags.go:916
↓ 21 callers
Method
Add
(k string, v int64)
common/metrics/baggage_bench_test.go:27
↓ 21 callers
Method
AddActivityTaskStartedEvent
( *persistencespb.ActivityInfo, int64, string, string, *commonpb.WorkerVersionStamp, *deploy
service/history/interfaces/mutable_state.go:57
↓ 21 callers
Method
AddHistoryTasks
Tasks related APIs
common/persistence/data_interfaces.go:1136
↓ 21 callers
Method
AddSearchAttributes
AddSearchAttributes add custom search attributes and returns comprehensive information about them. Deprecated. Use operatorservice instead.
api/adminservice/v1/service_grpc.pb.go:107
↓ 21 callers
Function
And
( predicates ...Predicate[T], )
common/predicates/and.go:14
↓ 21 callers
Method
Attempt
()
service/history/replication/executable_task.go:69
↓ 21 callers
Function
AwaitWaitGroup
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 callers
Method
ConflictResolveWorkflowExecution
(ctx context.Context, request *ConflictResolveWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1123
↓ 21 callers
Method
ContainsRange
( input Range, )
service/history/queues/range.go:41
↓ 21 callers
Method
Convert
(expr sqlparser.Expr)
common/persistence/visibility/store/query/converter_legacy.go:20
↓ 21 callers
Function
CopyVersionHistoryUntilLCAVersionHistoryItem
CopyVersionHistoryUntilLCAVersionHistoryItem returns copy of VersionHistory up until LCA item.
common/persistence/versionhistory/version_history.go:36
↓ 21 callers
Method
DeleteCurrentWorkflowExecution
(ctx context.Context, request *DeleteCurrentWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1125
↓ 21 callers
Method
Deployment
()
service/matching/physical_task_queue_key.go:162
↓ 21 callers
Function
DurationPtr
(td time.Duration)
common/primitives/timestamp/duration.go:28
↓ 21 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
service/history/events/events_cache_mock.go:40
↓ 21 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:384
↓ 21 callers
Method
ForceUnloadTaskQueuePartition
(ctx context.Context, request *matchingservice.ForceUnloadTaskQueuePartitionRequest)
service/matching/matching_engine_interfaces.go:32
↓ 21 callers
Method
ForkHistoryBranch
ForkHistoryBranch forks a new branch from a old branch
common/persistence/data_interfaces.go:1165
↓ 21 callers
Method
GenerateLastHistoryReplicationTasks
(ctx context.Context, request *historyservice.GenerateLastHistoryReplicationTasksRequest)
service/history/interfaces/engine.go:84
↓ 21 callers
Method
GetDetails
()
api/replication/v1/message.pb.go:1098
↓ 21 callers
Method
GetExecutionTime
()
api/cli/v1/message.pb.go:212
↓ 21 callers
Method
GetHeartbeatDetails
()
api/cli/v1/message.pb.go:330
↓ 21 callers
Method
GetMostRecentWorkerVersionStamp
()
service/history/interfaces/mutable_state.go:207
↓ 21 callers
Method
GetStamp
()
service/history/tasks/activity_task_timer.go:54
↓ 21 callers
Method
GetTaskQueueType
()
api/taskqueue/v1/message.pb.go:536
↓ 21 callers
Method
GetUpdateWorkflow
()
api/historyservice/v1/request_response.pb.go:10338
↓ 21 callers
Method
MapScan
(map[string]any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:46
↓ 21 callers
Function
MaxTime
MaxTime returns the latest of the given time.Time values.
common/util/util.go:22
↓ 21 callers
Function
MustGetFreePort
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 callers
Function
MustParseUUID
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 callers
Function
New
(t require.TestingT)
common/testing/historyrequire/history_require.go:38
↓ 21 callers
Function
NewAnyTag
(key string, value any)
common/log/tag/zap_tag.go:156
↓ 21 callers
Function
NewFactory
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 callers
Function
NewFactory
NewFactory builds a new RPCFactory conforming to the underlying configuration
common/rpc/rpc.go:67
↓ 21 callers
Function
NewMutableState
( shard historyi.ShardContext, eventsCache events.Cache, logger log.Logger, namespaceEntry *namespace.Name
service/history/workflow/mutable_state_impl.go:293
↓ 21 callers
Function
NewPayloadStoreHandler
( ctx context.Context, request NewPayloadStoreRequest, )
chasm/lib/tests/handler.go:89
↓ 21 callers
Function
NewTransition
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 callers
Method
Now
Now returns the current time.
common/namespace/nsregistry/registry.go:75
↓ 21 callers
Method
PollAndHandleActivityTask
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 callers
Method
Put
( namespaceID string, taskQueue string, taskQueueType enumspb.TaskQueueType, current *deploymentsp
common/worker_versioning/routing_info_cache.go:32
↓ 21 callers
Method
ReapplyEvents
(ctx context.Context, namespaceUUID namespace.ID, workflowID string, runID string, events []*historypb.History
service/history/interfaces/engine.go:77
↓ 21 callers
Method
Send
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 callers
Method
Set
(ks string, cvs []dynamicconfig.ConstrainedValue)
common/dynamicconfig/collection_test.go:621
↓ 21 callers
Method
Setup
Setup sets up the test base, must be called as part of SetupSuite
common/persistence/persistence-tests/persistence_test_base.go:194
↓ 21 callers
Function
SourceCluster
========== XDC tags defined here: xdc- ========== SourceCluster returns tag for SourceCluster
common/log/tag/tags.go:777
↓ 21 callers
Method
SpoolTask
(taskInfo *persistencespb.TaskInfo)
service/matching/backlog_manager.go:43
↓ 21 callers
Method
Stop
Stop is called when the task queue partition manager for the hooks partition is stopped
service/matching/hooks/task_lifecycle_hooks.go:57
↓ 21 callers
Function
SwitchTaskQueuesTable
(baseQuery string, v MatchingTaskVersion)
common/persistence/sql/sqlplugin/matching_task_queue.go:64
↓ 21 callers
Method
ToRealTime
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 callers
Method
TrackTasks
(exclusiveHighWatermarkInfo WatermarkInfo, tasks ...TrackableExecutableTask)
service/history/replication/executable_task_tracker.go:35
↓ 21 callers
Function
UnexpectedDataLoss
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 callers
Method
Unmarshal
(data []byte, v any)
service/frontend/protojson_marshaler.go:76
↓ 21 callers
Method
UnpauseActivity
(ctx context.Context, request *historyservice.UnpauseActivityRequest)
service/history/interfaces/engine.go:97
↓ 21 callers
Method
UpdateScaleState
(*persistencespb.PartitionScaleState, bool)
service/matching/scale_manager.go:62
↓ 21 callers
Method
UpdateWorkerVersioningRules
(ctx context.Context, request *matchingservice.UpdateWorkerVersioningRulesRequest)
service/matching/matching_engine_interfaces.go:47
← previous
next →
1,201–1,300 of 43,335, ranked by callers