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
↓ 4 callers
Method
TerminateNexusOperation
(ctx context.Context, in *TerminateNexusOperationRequest, opts ...grpc.CallOption)
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/service_grpc.pb.go:38
↓ 4 callers
Method
Test
(task Task)
service/history/tasks/predicates.go:203
↓ 4 callers
Method
Test
(ctx context.Context, in *TestRequest, opts ...grpc.CallOption)
chasm/lib/tests/gen/testspb/v1/service_grpc.pb.go:30
↓ 4 callers
Function
ToPersistenceTaskKey
( key tasks.Key, )
service/history/queues/convert.go:88
↓ 4 callers
Method
TokensAt
TokensAt returns the number of tokens that will be available at time t
common/quotas/rate_limiter.go:46
↓ 4 callers
Method
Transition
Transition transitions a machine by ID.
service/history/hsm/tree.go:699
↓ 4 callers
Function
TrimHistoryNode
( ctx context.Context, shardContext historyi.ShardContext, workflowConsistencyChecker WorkflowConsistencyCh
service/history/api/trim_history_util.go:15
↓ 4 callers
Function
TruncateWithDepth
(f *failurepb.Failure, maxSize, maxDepth int)
common/failure/failure.go:52
↓ 4 callers
Method
TrySubmit
(r Runnable)
common/tasks/group_by_scheduler_test.go:22
↓ 4 callers
Method
Unmarshal
Unmarshal an object of type NamespaceInfo from the protobuf v3 wire format
api/persistence/v1/namespaces.go-helpers.pb.go:51
↓ 4 callers
Method
Unmarshal
Unmarshal an object of type OperationState from the protobuf v3 wire format
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/operation.go-helpers.pb.go:16
↓ 4 callers
Method
Unmarshal
Unmarshal an object of type ActivityDispatchTask from the protobuf v3 wire format
chasm/lib/activity/gen/activitypb/v1/tasks.go-helpers.pb.go:14
↓ 4 callers
Method
Unsubscribe
Unsubscribe unsubscribes from the shard counter. This closes the ShardCount channel.
service/history/shard/ownership_based_quota_scaler.go:38
↓ 4 callers
Method
UpdateCompleteCommands
(tv *testvars.TestVars)
common/testing/updateutils/update.go:44
↓ 4 callers
Method
UpdateCompleteMessages
(tv *testvars.TestVars, updRequestMsg *protocolpb.Message)
common/testing/updateutils/update.go:85
↓ 4 callers
Method
UpdateCurrentExecutions
(ctx context.Context, row *CurrentExecutionsRow)
common/persistence/sql/sqlplugin/history_execution.go:83
↓ 4 callers
Method
UpdateExecutions
(ctx context.Context, row *ExecutionsRow)
common/persistence/sql/sqlplugin/history_execution.go:74
↓ 4 callers
Method
UpdateHandoverNamespace
(ns *namespace.Namespace, deletedFromDB bool)
service/history/interfaces/shard_context.go:84
↓ 4 callers
Method
UpdateNexusEndpoint
(ctx context.Context, row *NexusEndpointsRow)
common/persistence/sql/sqlplugin/nexus_endpoints.go:28
↓ 4 callers
Method
UpdateShards
(ctx context.Context, row *ShardsRow)
common/persistence/sql/sqlplugin/history_shard.go:26
↓ 4 callers
Method
UpdateTaskQueues
(ctx context.Context, row *TaskQueuesRow, v MatchingTaskVersion)
common/persistence/sql/sqlplugin/matching_task_queue.go:46
↓ 4 callers
Method
UpdateUserTimerTaskStatus
(timerId string, status int64)
service/history/interfaces/mutable_state.go:297
↓ 4 callers
Method
UpdateWorkflowExecutionWithNew
( ctx context.Context, shardContext historyi.ShardContext, updateMode persistence.UpdateWorkflowMode, newC
service/history/workflow/context.go:543
↓ 4 callers
Method
UseAsyncTimers
Some clients depend on the fact that the runtime's timers do _not_ run synchronously. If UseAsyncTimers(true) is called, then EventTimeSource will beh
common/clock/event_time_source.go:49
↓ 4 callers
Method
Valid
()
client/matching/partition_counts.go:27
↓ 4 callers
Method
ValidateCommandSequence
( commands []*commandpb.Command, )
service/history/api/command_attr_validator.go:633
↓ 4 callers
Function
ValidateConnectConfig
ValidateConnectConfig validates params
tools/sql/handler.go:165
↓ 4 callers
Function
ValidateLongPollContextTimeoutIsSet
ValidateLongPollContextTimeoutIsSet checks if the context timeout is set for long poll requests.
common/util.go:661
↓ 4 callers
Method
ValidateModifyWorkflowProperties
( attributes *commandpb.ModifyWorkflowPropertiesCommandAttributes, )
service/history/api/command_attr_validator.go:367
↓ 4 callers
Function
ValidateSchedule
ValidateSchedule validates a cron schedule spec
common/backoff/cron.go:15
↓ 4 callers
Function
ValidateStartWorkflowExecutionRequest
( ctx context.Context, request *workflowservice.StartWorkflowExecutionRequest, shard historyi.ShardContext,
service/history/api/create_workflow_util.go:264
↓ 4 callers
Function
ValidateTransientWorkflowTaskEvents
ValidateTransientWorkflowTaskEvents validates that transient workflow task events have sequential event IDs starting from the given offset. Returns an
service/history/api/get_history_util.go:440
↓ 4 callers
Method
ValidateWorkflowID
( workflowID string, )
chasm/lib/workflow/validator.go:51
↓ 4 callers
Method
WaitForHistoryEventsSuffix
(expectedHistorySuffix string, actualHistoryEventsReader HistoryEventsReader, waitFor time.Duration, tick time
common/testing/historyrequire/history_require.go:162
↓ 4 callers
Method
WaitForYellowStatus
(ctx context.Context, index string)
common/persistence/visibility/store/elasticsearch/client/client.go:29
↓ 4 callers
Method
WalkSlices
(SliceIterator)
service/history/queues/reader.go:29
↓ 4 callers
Function
WithActiveCluster
WithActiveCluster assigns the active cluster to a Namespace during a Clone operation.
common/namespace/mutate.go:16
↓ 4 callers
Function
WithConfigFile
WithConfigFile sets a specific configuration file path to load. When provided, only this file will be loaded, bypassing the legacy hierarchical loadin
common/config/loader.go:103
↓ 4 callers
Function
WithRequestID
WithRequestID sets the requestID used when creating a new execution. This option only applies to StartExecution() and UpdateWithStartExecution().
chasm/engine.go:167
↓ 4 callers
Method
WithRequestID
(requestID string)
common/testing/testvars/test_vars.go:218
↓ 4 callers
Method
WithSearchAttributeInterceptor
( saInterceptor SearchAttributeInterceptor, )
common/persistence/visibility/store/query/converter.go:150
↓ 4 callers
Function
WithTaskGroup
WithTaskGroup sets the task group for the task. The task group is used when the side effect's destination is specified for grouping semantics on the o
chasm/registrable_task.go:192
↓ 4 callers
Function
WithTotalLimit
WithTotalLimit provides an optional limit to the total number of Updates for workflow run.
service/history/workflow/update/registry.go:125
↓ 4 callers
Function
WithZone
WithZone sets the availability zone for configuration loading. This is used to load zone-specific configuration overrides (e.g., "us-east-1a").
common/config/loader.go:93
↓ 4 callers
Function
Workflow
This workflow is implemented in a way such that it always CaNs after some history events are added to it and when it has no pending work to do. This i
service/worker/workerdeployment/workflow.go:64
↓ 4 callers
Function
WorkflowCommandType
workflow task WorkflowCommandType returns tag for WorkflowCommandType
common/log/tag/tags.go:275
↓ 4 callers
Method
WorkflowKey
()
common/testing/testvars/any.go:83
↓ 4 callers
Function
WorkflowServiceExtractor
WorkflowServiceExtractor returns a RoutingKeyExtractorFunc that extracts the routing key from WorkflowService API requests using the provided RoutingK
common/rpc/interceptor/routing_key_extractor.go:29
↓ 4 callers
Method
WriteSchemaUpdateLog
WriteSchemaUpdateLog adds an entry to the schema update history table
tools/common/schema/types.go:47
↓ 4 callers
Method
WriteTaskToDLQ
WriteTaskToDLQ writes a task to the DLQ, creating the underlying queue if it doesn't already exist.
service/history/queues/dlq_writer.go:64
↓ 4 callers
Method
WriteToLog
WriteToLog writes all captured tasks to a file in JSON format
tests/testcore/history_task_recorder.go:369
↓ 4 callers
Function
accumulatedSkippedDuration
(source *persistencespb.WorkflowExecutionInfo)
service/history/workflow/timeskipping.go:60
↓ 4 callers
Function
addLinksToHTTPHeader
(links []nexus.Link, httpHeader http.Header)
common/nexus/nexusrpc/api.go:79
↓ 4 callers
Method
addRoutingConfigUserData
addRoutingConfigUserData sets up deployment user data with a current version and an optional ramping version. Pass "" for rampingBuildID to omit rampi
service/matching/task_queue_partition_manager_test.go:639
↓ 4 callers
Method
addSpooledTask
(task *internalTask)
service/matching/pri_backlog_manager.go:266
↓ 4 callers
Method
addStartedEventForTransientActivity
( scheduledEventID int64, versioningStamp *commonpb.WorkerVersionStamp, )
service/history/workflow/mutable_state_impl.go:4310
↓ 4 callers
Method
addTasksToBuffer
( ctx context.Context, tasks []*persistencespb.AllocatedTaskInfo, )
service/matching/task_reader.go:249
↓ 4 callers
Function
addTimerFiredEvent
(ms historyi.MutableState, timerID string)
service/history/history_engine_test.go:6818
↓ 4 callers
Function
addUniqueTest
addUniqueTest appends name to tests if not already seen.
tools/testrunner/log.go:175
↓ 4 callers
Function
addWorkflowExecutionStartedEventWithParent
( ms historyi.MutableState, workflowExecution *commonpb.WorkflowExecution, workflowType, taskQueue string,
service/history/api/verifyfirstworkflowtaskscheduled/api_test.go:260
↓ 4 callers
Method
addWorkflowTask
( workflowExecution *commonpb.WorkflowExecution, taskQueue *taskqueuepb.TaskQueue, )
service/matching/matching_engine_test.go:3615
↓ 4 callers
Method
adjustQueryAdminBatchType
(adminReq *adminservice.StartAdminBatchOperationRequest)
service/worker/batcher/activities.go:422
↓ 4 callers
Method
advanceAckLevelLocked
call this whenever new tasks are acked or when ackLevelPinnedLocked() may turn from true to false (i.e. when ackLevelPinnedByWriter is set to false or
service/matching/fair_task_reader.go:598
↓ 4 callers
Method
appendIterator
( iterators []Iterator, iterator Iterator, )
service/history/queues/slice.go:258
↓ 4 callers
Function
appendPredicates
appendPredicates adds new predicates to the slice of existing predicates dropping any duplicated predicates where duplication is determined by Predica
common/predicates/and.go:80
↓ 4 callers
Method
appendTask
( taskInfo *persistencespb.TaskInfo, )
service/matching/task_writer.go:85
↓ 4 callers
Function
applyStartedEvent
(t *testing.T, tcx testContext, scheduledEventID int64, eventTime time.Time)
chasm/lib/workflow/nexus_events_test.go:37
↓ 4 callers
Function
applyTasks
( ctx context.Context, tx sqlplugin.Tx, shardID int32, insertTasks map[tasks.Category][]p.InternalHistoryT
common/persistence/sql/execution_util.go:547
↓ 4 callers
Function
applyTasks
( batch *gocql.Batch, shardID int32, insertTasks map[tasks.Category][]p.InternalHistoryTask, )
common/persistence/cassandra/util.go:470
↓ 4 callers
Method
assertAcceptedUpdateCompletedWorkflowError
assertAcceptedUpdateCompletedWorkflowError asserts the full error chain: WorkflowExecutionError -> NexusOperationError -> ApplicationError{Type: "Acce
tests/nexus_workflow_update_test.go:245
↓ 4 callers
Method
assertCompletedState
(qr historyi.QueryRegistry, ids ...string)
service/history/workflow/query_registry_test.go:152
↓ 4 callers
Function
assertNexusEndpointsTableVersion
(t *testing.T, expected int64, store persistence.NexusEndpointStore)
common/persistence/tests/cassandra_test.go:1567
↓ 4 callers
Function
assertNoNewLogs
assertNoNewLogs asserts that no new matching log is emitted during d, i.e. the expectation's match count stays at whatever it is when this is called.
service/matching/scale_manager_test.go:149
↓ 4 callers
Function
assertRecentActionsNoDuplicateRunIDs
assertRecentActionsNoDuplicateRunIDs verifies that no two entries in RecentActions refer to the same workflow run. Duplicates can occur if the migrati
tests/schedule_test.go:3114
↓ 4 callers
Method
assertValidateSetupSucceeds
(input *SetupConfig, db DB)
tools/common/schema/handler_test.go:103
↓ 4 callers
Method
assertValidateUpdateSucceeds
(input *UpdateConfig, db DB)
tools/common/schema/handler_test.go:115
↓ 4 callers
Method
augmentContext
(ctx context.Context, header nexus.Header)
service/frontend/nexus_handler.go:131
↓ 4 callers
Function
backlogTaskWithExpiry
(t *testing.T, expiry *timestamppb.Timestamp)
service/matching/metrics_util_test.go:14
↓ 4 callers
Method
beginNetworkDial
(ctx context.Context)
common/rpc/dial_tracer.go:38
↓ 4 callers
Method
bufferRequests
( request *replicationTaskRequest, )
service/history/replication/task_fetcher.go:365
↓ 4 callers
Function
buildCallbackFromTemplate
(callbackTemplate *template.Template, ns *namespace.Namespace)
chasm/lib/nexusoperation/task_handler_base.go:105
↓ 4 callers
Function
buildCallbackURL
( useSystemCallback bool, callbackTemplate string, ns *namespace.Namespace, endpoint *persistencespb.Nexus
components/nexusoperations/executors.go:124
↓ 4 callers
Method
buildChasmVisTask
( key definition.WorkflowKey, taskTransitionCount int64, )
service/history/visibility_queue_task_executor_test.go:771
↓ 4 callers
Function
buildDSN
( dbKind sqlplugin.DbKind, cfg *config.SQL, r resolver.ServiceResolver, )
common/persistence/sql/sqlplugin/mysql/session/session.go:117
↓ 4 callers
Function
buildQueryParams
( namespaceID namespace.ID, namespaceName namespace.Name, queryString string, sqlQC *SQLQueryConverter, s
common/persistence/visibility/store/sql/visibility_store.go:929
↓ 4 callers
Method
bulkAfterAction
bulkAfterAction is triggered after bulk processor commit
common/persistence/visibility/store/elasticsearch/processor.go:208
↓ 4 callers
Method
cachedQueueInfo
()
service/matching/db.go:799
↓ 4 callers
Method
cachedTaggedScope
cachedTaggedScope returns a tally.Scope tagged with the given tags, caching the result so that repeated calls with the same tag combination avoid allo
common/metrics/tally_metrics_handler.go:180
↓ 4 callers
Method
callIndividual
(f func(task TrackableExecutableTask))
service/history/replication/batchable_task.go:136
↓ 4 callers
Method
callback
(ctx context.Context, o metric.Float64Observer)
common/metrics/otel_metrics_handler.go:137
↓ 4 callers
Function
caller
(skip int)
common/log/zap_logger.go:97
↓ 4 callers
Function
canBeNamespaceScoped
(p dynamicconfig.Precedence)
tests/testcore/test_env.go:614
↓ 4 callers
Function
checkAssignmentConditions
checkAssignmentConditions checks for validity conditions that must be assessed by looking at the entire set of rules. It returns an error if the new s
service/matching/version_rule_helpers.go:339
↓ 4 callers
Method
checkCountConstraint
( numPending int, errLimit int, metricName string, resourceName string, )
service/history/api/respondworkflowtaskcompleted/workflow_size_checker.go:115
↓ 4 callers
Function
checkExpiration
( provider CertExpirationChecker, timeWindow time.Duration, expiring CertExpirationMap, expired CertExpira
common/rpc/encryption/local_store_tls_provider.go:201
↓ 4 callers
Method
checkNexusEndpointsOwnership
()
service/matching/matching_engine.go:2753
↓ 4 callers
Method
checkPartitionCounts
(ctx context.Context, forWrite bool)
service/matching/task_queue_partition_manager.go:352
↓ 4 callers
Function
checkShardID
(shardID int32)
client/history/client.go:295
↓ 4 callers
Method
clearMutableStateFromCache
( workflowKey definition.WorkflowKey, )
service/history/timer_queue_active_task_executor_test.go:2341
↓ 4 callers
Function
clearUpdateRegistryAndAbortPendingUpdates
(s *testcore.TestEnv, tv *testvars.TestVars)
tests/update_workflow_test.go:48
← previous
next →
5,101–5,200 of 43,335, ranked by callers