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
↓ 19 callers
Method
GetWorkflowState
()
api/replication/v1/message.pb.go:1366
↓ 19 callers
Method
HadOrHasWorkflowTask
()
service/history/interfaces/mutable_state.go:215
↓ 19 callers
Method
IsWorkflowExecutionStatusPaused
()
service/history/interfaces/mutable_state.go:234
↓ 19 callers
Function
MakeBuildIdDirective
(buildId string)
common/worker_versioning/worker_versioning.go:536
↓ 19 callers
Method
MigrateSchedule
MigrateSchedule migrates a schedule between V1 (workflow-backed) and V2 (CHASM-backed) implementations.
api/adminservice/v1/service_grpc.pb.go:163
↓ 19 callers
Function
NewCollection
NewCollection creates a new collection. For subscriptions to work, you must call Start/Stop. Get will work without Start/Stop.
common/dynamicconfig/collection.go:113
↓ 19 callers
Function
NewLRU
NewLRU creates a new LRU cache of the given size, setting initial capacity to the max size
common/cache/lru.go:185
↓ 19 callers
Function
NewStreamError
(message string, err error)
service/history/replication/bi_direction_stream.go:195
↓ 19 callers
Function
NewTaskQueueIntSetting
(key string, def int, description string)
common/dynamicconfig/setting_gen.go:215
↓ 19 callers
Method
Prev
()
service/history/tasks/key.go:71
↓ 19 callers
Method
Ptr
()
service/history/interfaces/transaction_policy.go:5
↓ 19 callers
Method
Publish
(ctx context.Context, task *replicationspb.ReplicationTask)
common/persistence/namespace_replication_queue.go:65
↓ 19 callers
Function
RandomMutation
( t *testing.T, namespaceID string, workflowID string, runID string, eventID int64, lastWriteVersion int
common/persistence/tests/util.go:87
↓ 19 callers
Method
RangeCompleteHistoryTasks
(ctx context.Context, request *RangeCompleteHistoryTasksRequest)
common/persistence/data_interfaces.go:1139
↓ 19 callers
Method
Refresh
Refresh refreshes all tasks needed for the state machine to make progress or those have side effects.
service/history/workflow/task_refresher.go:23
↓ 19 callers
Function
RequestID
RequestID returns tag for RequestID
common/log/tag/tags.go:65
↓ 19 callers
Method
Reserve
Reserve returns a Reservation that indicates how long the caller must wait before event happen.
common/quotas/rate_limiter.go:25
↓ 19 callers
Method
RetryActivity
(ai *persistencespb.ActivityInfo, failure *failurepb.Failure)
service/history/interfaces/mutable_state.go:152
↓ 19 callers
Method
Size
Size gets the estimated size in bytes of this predicate. Implementation may keep this estimate rough and mostly account for elements that may take up
common/predicates/predicates.go:18
↓ 19 callers
Method
ToMySQLDateTime
(t time.Time)
common/persistence/sql/sqlplugin/mysql/typeconv.go:13
↓ 19 callers
Function
WithExpected
WithExpected marks retained objects whose reflected path or type name matches pattern as expected. A trailing '*' matches any suffix.
common/testing/objectleak/leakcheck.go:32
↓ 19 callers
Method
WithMessageIDNumber
(n int)
common/testing/testvars/test_vars.go:366
↓ 19 callers
Function
abort
(t *testing.T, store mockEventStore, upd *update.Update, reason update.AbortReason)
service/history/workflow/update/update_test.go:1166
↓ 19 callers
Method
buildPersistenceMutableState
( key chasm.ExecutionKey, componentState proto.Message, state enumsspb.WorkflowExecutionState, status enum
service/history/chasm_engine_test.go:1925
↓ 19 callers
Method
describeVersion
(env *testcore.TestEnv, tv *testvars.TestVars)
tests/worker_deployment_version_test.go:116
↓ 19 callers
Method
getQueueDataByKey
(dbq *PhysicalTaskQueueKey)
service/matching/matching_engine_test.go:5154
↓ 19 callers
Function
hasEventType
hasEventType returns true if any event in the slice has the given type.
tests/timeskipping_test.go:425
↓ 19 callers
Method
lookup
(key string)
client/matching/partition_cache.go:97
↓ 19 callers
Function
mkNewCompatReq
(id, compat string, becomeDefault bool)
service/matching/version_sets_test.go:51
↓ 19 callers
Method
namespaceCallback
(ns *namespace.Namespace, nsDeleted bool)
service/worker/pernamespaceworker.go:197
↓ 19 callers
Function
newRecordingTB
()
common/testing/await/require_ctx_test.go:475
↓ 19 callers
Method
newTestEnv
newTestEnv creates a TestEnv with the dynamic config this suite needs and registers the workflows/activities the tests use.
tests/pause_workflow_execution_test.go:59
↓ 19 callers
Method
run
(fn func())
common/testing/await/require_ctx_test.go:525
↓ 19 callers
Method
serializeEvents
(events []*historypb.HistoryEvent)
service/history/replication/eventhandler/resend_handler_test.go:633
↓ 19 callers
Function
validateExecution
(w *commonpb.WorkflowExecution)
service/frontend/validators.go:15
↓ 18 callers
Method
AddWorkflowTaskFailedEvent
(workflowTask *WorkflowTaskInfo, cause enumspb.WorkflowTaskFailedCause, failure *failurepb.Failure, identity s
service/history/interfaces/mutable_state.go:77
↓ 18 callers
Method
AllowN
AllowN attempts to allow a request to go through. The method returns immediately with a true or false indicating if the request can make progress
common/quotas/rate_limiter.go:21
↓ 18 callers
Method
AppendRawHistoryNodes
AppendRawHistoryNodes add a node of raw histories to history node table
common/persistence/data_interfaces.go:1154
↓ 18 callers
Method
Build
nolint:revive
service/worker/scheduler/activities.go:302
↓ 18 callers
Method
Close
Close closes the factory
common/persistence/sql/factory.go:154
↓ 18 callers
Method
ConflictResolveWorkflowExecution
( ctx context.Context, conflictResolveMode persistence.ConflictResolveWorkflowMode, archetypeID chasm
service/history/workflow/transaction.go:23
↓ 18 callers
Function
CreateHistoryStartWorkflowRequest
CreateHistoryStartWorkflowRequest create a start workflow request for history. Assumes startRequest is valid. See frontend workflow_handler for detail
common/util.go:555
↓ 18 callers
Method
CreateWorkerDeploymentVersion
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, buildID string, i
service/worker/workerdeployment/client.go:75
↓ 18 callers
Method
DeleteActivityExecution
(context.Context, *workflowservice.DeleteActivityExecutionRequest)
chasm/lib/activity/frontend.go:30
↓ 18 callers
Method
DeploymentVersionTransition
()
common/testing/testvars/test_vars.go:279
↓ 18 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/persistence/mock/store_mock.go:879
↓ 18 callers
Method
FailNow
FailNow is called by require.* on failure. It stops the current attempt. Unlike testing.TB.FailNow(), this does NOT mark the test as failed.
common/testing/await/t.go:50
↓ 18 callers
Function
FilterSlice
FilterSlice iterates over elements of a slice, returning a new slice of all elements predicate returns true for.
common/util/util.go:147
↓ 18 callers
Method
GetChildExecutionInfo
(int64)
service/history/interfaces/mutable_state.go:165
↓ 18 callers
Method
GetNamespaceID
(name Name)
common/namespace/registry.go:27
↓ 18 callers
Method
GetOperations
()
api/historyservice/v1/request_response.pb.go:1115
↓ 18 callers
Method
GetQueueName
()
common/persistence/history_task_queue_manager.go:240
↓ 18 callers
Method
GetQueueState
(category tasks.Category)
service/history/interfaces/shard_context.go:69
↓ 18 callers
Method
GetRemoteClusterClientConfig
(hostname string)
common/rpc/encryption/tls_factory.go:22
↓ 18 callers
Method
GetStartVersion
()
service/history/interfaces/mutable_state.go:177
↓ 18 callers
Method
GetStartedWorkflowTask
()
service/history/interfaces/mutable_state.go:183
↓ 18 callers
Method
GetUpdateRequest
()
api/historyservice/v1/request_response.pb.go:9467
↓ 18 callers
Method
GetWorkflowExtendedInfo
()
api/historyservice/v1/request_response.pb.go:4205
↓ 18 callers
Function
Immediate
Immediate returns an effects.Controller that executes effects immediately upon insertion. Useful in contexts where you don't actually want to delay ef
common/effect/immediate.go:10
↓ 18 callers
Function
IsNotFoundError
IsNotFoundError checks if the error is a not found error.
common/util.go:402
↓ 18 callers
Method
IsVersionFromSameCluster
IsVersionFromSameCluster return true if 2 version are used for the same cluster
common/cluster/metadata.go:50
↓ 18 callers
Method
IsWorkflow
()
service/history/interfaces/mutable_state.go:359
↓ 18 callers
Method
LoadWorkflow
( ctx context.Context, namespaceID namespace.ID, workflowID string, runID string, archetypeID c
service/history/ndc/transaction_manager.go:124
↓ 18 callers
Method
NewDecoder
(r io.Reader)
service/frontend/protojson_marshaler.go:84
↓ 18 callers
Function
NewDeserializationError
NewDeserializationError returns a DeserializationError
common/persistence/serialization/serializer.go:352
↓ 18 callers
Function
NewTaskGenerator
( namespaceRegistry namespace.Registry, mutableState historyi.MutableState, config *configs.Config, archiv
service/history/workflow/task_generator.go:111
↓ 18 callers
Function
NewZapLogger
NewZapLogger returns a new zap based logger from zap.Logger
common/log/zap_logger.go:84
↓ 18 callers
Method
PollNexusOperationExecution
(context.Context, *workflowservice.PollNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:26
↓ 18 callers
Method
ProtoReflect
ProtoReflect implements [protoreflect.ProtoMessage].
chasm/test_task_test.go:21
↓ 18 callers
Function
QueryWithAnyNamespaceDivision
QueryWithAnyNamespaceDivision returns a modified workflow visibility query that disables special handling of namespace division and so matches workflo
common/searchattribute/sadefs/constants.go:362
↓ 18 callers
Method
Rate
()
common/quotas/rate_burst.go:51
↓ 18 callers
Function
ReadComponent
ReadComponent returns the result of evaluating readFn against the component identified by the component reference. opts are currently ignored.
chasm/engine.go:335
↓ 18 callers
Method
Ref
Context is not bound to any component, so all methods needs to take in component as a parameter NOTE: component created in the current transaction won
chasm/context.go:23
↓ 18 callers
Method
Register
Register registers all command handlers and event definitions from a [Library]. Returns an [ErrDuplicateRegistration] if a handler or definition is al
chasm/lib/workflow/registry.go:43
↓ 18 callers
Method
Resend
( ctx context.Context, remoteCluster string, retryErr *serviceerrors.RetryReplication, remainingAt
service/history/replication/executable_task.go:70
↓ 18 callers
Method
Select
(dest any, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:142
↓ 18 callers
Function
SetCallerType
SetCallerType set caller type in the context. Existing caller type will be overwritten if exists and new caller type is not empty.
common/headers/caller_info.go:138
↓ 18 callers
Method
SetRootComponent
( rootComponent RootComponent, )
chasm/tree.go:381
↓ 18 callers
Method
Should
(queries ...elastic.Query)
common/persistence/visibility/store/elasticsearch/query_converter_bool_query.go:34
↓ 18 callers
Method
StreamWorkflowReplicationMessages
(ctx context.Context, opts ...grpc.CallOption)
api/adminservice/v1/service_grpc.pb.go:144
↓ 18 callers
Function
Timestamp
Timestamp returns tag for Timestamp
common/log/tag/tags.go:60
↓ 18 callers
Function
UnaliasFields
UnaliasFields returns SearchAttributes struct where each search attribute alias is replaced with field name.
common/searchattribute/mapper.go:186
↓ 18 callers
Method
UpdateActivityOptions
(ctx context.Context, request *historyservice.UpdateActivityOptionsRequest)
service/history/interfaces/engine.go:95
↓ 18 callers
Method
UpdateRejectMessages
(tv *testvars.TestVars, updRequestMsg *protocolpb.Message)
common/testing/updateutils/update.go:117
↓ 18 callers
Method
UpdateWorkflowExecutionWithNew
( ctx context.Context, shardContext ShardContext, updateMode persistence.UpdateWorkflowMode, newCo
service/history/interfaces/workflow_context.go:94
↓ 18 callers
Function
VersioningBehaviorTag
(behavior enumspb.VersioningBehavior)
common/metrics/tags.go:479
↓ 18 callers
Method
WatchNamespaces
WatchNamespaces returns a channel that receives events when namespaces are created, updated, or deleted. It returns an error if the watch cannot be st
common/namespace/nsregistry/registry.go:102
↓ 18 callers
Method
WithError
(storeName DataStoreName, methodName, errorName string, probability float64)
common/config/config.go:821
↓ 18 callers
Function
accept
(t *testing.T, store mockEventStore, upd *update.Update)
service/history/workflow/update/update_test.go:1073
↓ 18 callers
Method
addFault
all calls to addFault should be done before starting to call methods on testTaskManager
service/matching/matching_engine_test.go:5376
↓ 18 callers
Method
createOpenWorkflowRecord
( namespaceID namespace.ID, workflowID string, workflowType string, startTime time.Time, executionTime ti
common/persistence/tests/visibility_persistence_suite.go:1108
↓ 18 callers
Function
file_temporal_server_chasm_lib_scheduler_proto_v1_request_response_proto_rawDescGZIP
()
chasm/lib/scheduler/gen/schedulerpb/v1/request_response.pb.go:961
↓ 18 callers
Function
getScheduleEntryFromVisibility
getScheduleEntryFromVisibility polls visibility using ListSchedules until it finds a schedule with the given id and for which the optional predicate f
tests/schedule_test.go:3055
↓ 18 callers
Function
getStandbyPostActionFn
( taskInfo tasks.Task, standbyNow standbyCurrentTimeFn, standbyTaskMissingEventsDiscardDelay time.Duration,
service/history/ndc_standby_task_util.go:223
↓ 18 callers
Method
indent
()
cmd/tools/protoc-gen-go-chasm/main.go:38
↓ 18 callers
Method
listAllHistoryEvents
( shardID int32, branchToken []byte, )
common/persistence/tests/history_store.go:833
↓ 18 callers
Method
logError
(msg string, tags ...tag.Tag)
service/history/workflow/mutable_state_impl.go:9084
↓ 18 callers
Method
newTestHistoryArchiver
(historyIterator archiver.HistoryIterator)
common/archiver/filestore/history_archiver_test.go:557
↓ 18 callers
Method
newTestHistoryArchiver
(historyIterator archiver.HistoryIterator)
common/archiver/s3store/history_archiver_test.go:672
↓ 18 callers
Method
newTestSlice
( r Range, namespaceIDs []string, taskTypes []enumsspb.TaskType, )
service/history/queues/slice_test.go:613
← previous
next →
1,401–1,500 of 43,335, ranked by callers