MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 18 callersMethodprepareComponentValue
( chasmContext Context, )
chasm/tree.go:565
↓ 18 callersFunctionroutingIDFromResourceID
routingIDFromResourceID extracts the routing ID from a resource_id field value. The resource_id field has the format "prefix:<routingID>".
common/rpc/interceptor/routing_key_extractor.go:153
↓ 18 callersFunctionscheduleOperation
scheduleOperation is a helper that schedules a nexus operation via the command handler and returns the scheduled event and its scheduled event ID (use
chasm/lib/workflow/nexus_events_test.go:19
↓ 18 callersFunctiontimerCmd
timerCmd builds a StartTimerCommand with the given id and StartToFireTimeout.
tests/timeskipping_propagation_test.go:847
↓ 18 callersMethodunindent
()
cmd/tools/protoc-gen-go-chasm/main.go:42
↓ 18 callersMethodverifyVersioningSAs
( env *testcore.TestEnv, tv *testvars.TestVars, behavior enumspb.VersioningBehavior, executionStatus enums
tests/versioning_3_test.go:5113
↓ 17 callersMethodAllow
(namespaceName namespace.Name, methodName string, headerGetter headers.HeaderGetter)
common/rpc/interceptor/namespace_rate_limit.go:35
↓ 17 callersMethodApplyMutation
(chasm.NodesMutation)
service/history/interfaces/chasm_tree.go:22
↓ 17 callersMethodBurst
()
common/quotas/rate_burst.go:52
↓ 17 callersMethodConvertKeywordComparisonExpr
(operator string, col *SAColumn, value any)
common/persistence/visibility/store/query/converter.go:44
↓ 17 callersMethodCountWorkers
(nsID namespace.ID, query string, includeSystemWorkers bool)
service/matching/workers/registry.go:27
↓ 17 callersMethodCreate
( ctx context.Context, incomingVersionHistory *historyspb.VersionHistory, incomingFirstEventID int64,
service/history/ndc/branch_manager.go:31
↓ 17 callersFunctionDeserializeComponentRef
DeserializeComponentRef deserializes a byte slice into a ComponentRef. Provides caller the access to information including ExecutionKey, Archetype, an
chasm/ref.go:125
↓ 17 callersMethodDirty
Dirty returns true if any of the tree's state machines have transitioned.
service/history/hsm/tree.go:236
↓ 17 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
api/matchingservicemock/v1/service_grpc.pb.mock.go:41
↓ 17 callersMethodEnqueueMessage
(ctx context.Context, blob *commonpb.DataBlob)
common/persistence/persistence_interface.go:173
↓ 17 callersFunctionFailureTag
Returns a new failure type tag
common/metrics/tags.go:252
↓ 17 callersFunctionFakeStruct
FakeStruct generates random data for the given struct pointer. Example usage: var shardInfo persistencespb.ShardInfo _ = fakedata.FakeStruct(&shard
common/testing/fakedata/fakedata.go:26
↓ 17 callersFunctionGenerateDeploymentWorkflowID
GenerateDeploymentWorkflowID is a helper that generates a system accepted workflowID which are used in our Worker Deployment workflows
service/worker/workerdeployment/util.go:154
↓ 17 callersMethodGet
Get returns the cached routing info. ok=false means there was no cached value.
common/worker_versioning/routing_info_cache.go:26
↓ 17 callersMethodGetAllNamespaces
GetAllNamespaces returns a snapshot of every namespace currently in the in-memory cache. May lag persistence by up to the configured refresh interval;
common/namespace/registry.go:32
↓ 17 callersMethodGetCompleted
()
api/schedule/v1/message.pb.go:184
↓ 17 callersMethodGetComputeConfig
()
api/deployment/v1/message.pb.go:492
↓ 17 callersMethodGetExecutionInfo
()
chasm/tree.go:208
↓ 17 callersMethodGetHistoryArchivalState
()
api/persistence/v1/namespaces.pb.go:273
↓ 17 callersMethodGetJobId
()
api/adminservice/v1/request_response.pb.go:5560
↓ 17 callersMethodGetNexus
()
api/persistence/v1/executions.pb.go:3766
↓ 17 callersMethodGetOwner
()
service/history/interfaces/shard_context.go:40
↓ 17 callersMethodGetScheduleId
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:119
↓ 17 callersMethodGetScheduleTime
()
chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go:279
↓ 17 callersMethodGetTaskQueueStats
()
api/taskqueue/v1/message.pb.go:466
↓ 17 callersMethodGetTasks
(ctx context.Context, request *GetTasksRequest)
common/persistence/data_interfaces.go:1185
↓ 17 callersMethodGetVersionState
Deprecated: Marked as deprecated in temporal/server/api/deployment/v1/message.proto.
api/deployment/v1/message.pb.go:1388
↓ 17 callersMethodGetVisibilityArchivalState
()
api/persistence/v1/namespaces.pb.go:287
↓ 17 callersMethodInfiniteTimeout
()
common/testing/testvars/any.go:75
↓ 17 callersFunctionIsPreallocatedCSAFieldName
(name string, valueType enumspb.IndexedValueType)
common/searchattribute/sadefs/constants.go:341
↓ 17 callersMethodNewBatch
(BatchType)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:18
↓ 17 callersFunctionNewEventReappliedID
NewEventReappliedID returns EventReappliedID resource
common/definition/resource_dedup.go:33
↓ 17 callersFunctionNewHandle
NewHandle creates a *Handle that serves as a handle to a goroutine. The caller should call Go exactly once on the returned value. NewHandle and Go are
common/goro/goro.go:24
↓ 17 callersFunctionNewNameTypeMap
NewNameTypeMap creates a new NameTypeMap with the given custom search attributes.
common/searchattribute/name_type_map.go:53
↓ 17 callersFunctionNewRegistrableSideEffectTask
NewRegistrableSideEffectTask creates a new registrable side-effect task. NOTE: C is not Component but any. The handler's Discard method is called on s
chasm/registrable_task.go:36
↓ 17 callersFunctionNewWorkflowLease
( wfContext historyi.WorkflowContext, releaseFn historyi.ReleaseWorkflowContextFunc, mutableState historyi.
service/history/api/workflow_lease.go:43
↓ 17 callersMethodNumber
()
chasm/lib/callback/gen/callbackpb/v1/message.pb.go:101
↓ 17 callersMethodPopTasks
()
service/history/interfaces/mutable_state.go:320
↓ 17 callersMethodShutdown
Shutdown broadcast shutdown signal
common/channel/shutdown_once.go:15
↓ 17 callersMethodStartNexusOperation
(ctx context.Context, in *StartNexusOperationRequest, opts ...grpc.CallOption)
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/service_grpc.pb.go:35
↓ 17 callersMethodSyncWorkflowState
(ctx context.Context, request *historyservice.SyncWorkflowStateRequest)
service/history/interfaces/engine.go:94
↓ 17 callersMethodUnmarshal
Unmarshal an object of type PatchScheduleRequest from the protobuf v3 wire format
chasm/lib/scheduler/gen/schedulerpb/v1/request_response.go-helpers.pb.go:162
↓ 17 callersMethodWithBackoffCoefficient
WithBackoffCoefficient sets the coefficient used by ExponentialRetryPolicy to compute next delay for each retry All retries are computed using the fol
common/backoff/retrypolicy.go:115
↓ 17 callersFunctionassertCompleted
(t *testing.T, upd *update.Update, outcome *updatepb.Outcome)
service/history/workflow/update/update_test.go:1133
↓ 17 callersMethodcompleteTask
(task *internalTask, res taskResponse)
service/matching/task_reader.go:126
↓ 17 callersMethodconvert
( ctx context.Context, taskInfo *tasks.SyncVersionedTransitionTask, targetClusterID int32, mutableState hi
service/history/replication/raw_task_converter.go:659
↓ 17 callersMethodconvertAndRecordError
(operation string, deploymentName string, retErr *error, args ...any)
service/worker/workerdeployment/client.go:1585
↓ 17 callersFunctiondaysInMonth
(m time.Month, y int)
service/worker/scheduler/calendar.go:550
↓ 17 callersFunctiondefaultSchedule
defaultSchedule returns a protobuf definition for a schedule matching this package's other testing defaults.
chasm/lib/scheduler/helper_test.go:39
↓ 17 callersFunctiongetMetadataContext
getMetadataContext extracts metadata context from golang context.
common/contextutil/metadata.go:121
↓ 17 callersFunctiongetReplicaitonCallerInfo
(priority enumsspb.TaskPriority)
service/history/replication/executable_task.go:947
↓ 17 callersFunctioninvokeWithPartitionCounts
invokeWithPartitionCounts wraps a partition-aware matchingservice RPC call: - attaches the client's cached counts to the outgoing request (as header)
client/matching/partition_counts.go:95
↓ 17 callersFunctionnewHistoryArchiver
(executionManager persistence.ExecutionManager, logger log.Logger, metricsHandler metrics.Handler, historyIter
common/archiver/gcloud/history_archiver.go:73
↓ 17 callersMethodnewTestVisibilityArchiver
()
common/archiver/s3store/visibility_archiver_test.go:92
↓ 17 callersMethodpollFakeTime
(timeout time.Duration)
service/matching/matcher_data_test.go:65
↓ 17 callersMethodrunAcrossContinue
( runs []workflowRun, cbs []delayedCallback, sched *schedulepb.Schedule, )
service/worker/scheduler/workflow_test.go:252
↓ 17 callersMethodstateSanityCheck
()
service/history/queues/slice.go:442
↓ 17 callersMethodtag
tag maps the drop reason to its tasks_dropped `reason` metric tag.
service/matching/metrics_util.go:22
↓ 17 callersMethodterminateWorkflow
( failedCause enumspb.WorkflowTaskFailedCause, causeErr error, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1570
↓ 17 callersFunctiontestDefaultRegistryParams
(handler metrics.Handler)
service/matching/workers/registry_test.go:25
↓ 17 callersFunctiontestns
(name string, state enumspb.NamespaceState)
service/worker/pernamespaceworker_test.go:703
↓ 17 callersMethodvalidateAddTask
(expectedBuildId string, expectedSyncMatch bool, versioningData *persistencespb.VersioningData, directive *tas
service/matching/task_queue_partition_manager_test.go:1225
↓ 16 callersMethodAddActivityTaskCompletedEvent
(int64, int64, *workflowservice.RespondActivityTaskCompletedRequest)
service/history/interfaces/mutable_state.go:54
↓ 16 callersMethodAddExternalPayloadCount
(count int64)
service/history/interfaces/mutable_state.go:312
↓ 16 callersMethodAddExternalPayloadSize
(size int64)
service/history/interfaces/mutable_state.go:309
↓ 16 callersMethodAssertShardOwnership
(ctx context.Context, request *AssertShardOwnershipRequest)
common/persistence/data_interfaces.go:1112
↓ 16 callersMethodCommit
()
common/persistence/sql/sqlplugin/interfaces.go:96
↓ 16 callersMethodCompleteNexusOperationChasm
Complete an async Nexus Operation using a CHASM reference. The completion state could be successful, failed, or canceled.
api/historyservice/v1/service_grpc.pb.go:320
↓ 16 callersMethodCompleteTasksLessThan
CompleteTasksLessThan completes tasks less than or equal to the given task id This API takes a limit parameter which specifies the count of maxRows th
common/persistence/data_interfaces.go:1195
↓ 16 callersMethodCount
(ctx context.Context, index string, query elastic.Query)
common/persistence/visibility/store/elasticsearch/client/client.go:23
↓ 16 callersFunctionCreateHistoryClientRetryPolicy
CreateHistoryClientRetryPolicy creates a retry policy for calls to history service. When retryUnboundedOnSystemResourceExhausted returns true, system-
common/util.go:177
↓ 16 callersMethodCreateTaskQueue
(ctx context.Context, request *CreateTaskQueueRequest)
common/persistence/data_interfaces.go:1179
↓ 16 callersMethodCurrentVectorClock
()
service/history/interfaces/shard_context.go:63
↓ 16 callersMethodCustomMemo
CustomMemo returns the stored custom memo fields. Nil is returned if there are none. Returned map is a shallow copy: callers may add, delete, or reas
chasm/visibility.go:272
↓ 16 callersMethodCustomSearchAttributes
CustomSearchAttributes returns the stored custom search attribute fields. Nil is returned if there are none. Returned map is a shallow copy: callers
chasm/visibility.go:199
↓ 16 callersMethodDeepCopy
()
common/testing/generator_interface.go:81
↓ 16 callersMethodDeleteSchedule
(ctx context.Context, in *DeleteScheduleRequest, opts ...grpc.CallOption)
chasm/lib/scheduler/gen/schedulerpb/v1/service_grpc.pb.go:41
↓ 16 callersFunctionEncode
Encode encodes map of search attribute values to search attributes. typeMap can be nil (then MetadataType field won't be set). In case of error, it wi
common/searchattribute/encode.go:15
↓ 16 callersMethodEncode
(node *Node, path []string)
chasm/tree.go:241
↓ 16 callersMethodGetDLQAckLevel
(ctx context.Context)
common/persistence/namespace_replication_queue.go:84
↓ 16 callersMethodGetDLQTasks
( ctx context.Context, in *historyservice.GetDLQTasksRequest, opts ...grpc.CallOption, )
service/worker/dlq/workflow.go:86
↓ 16 callersMethodGetEffectiveDeployment
GetEffectiveDeployment returns the effective deployment in the following order: 1. DeploymentVersionTransition.Deployment: this is returned when the w
service/history/interfaces/mutable_state.go:386
↓ 16 callersMethodGetEndEventVersion
()
api/token/v1/message.pb.go:216
↓ 16 callersMethodGetFrontendClientConfig
()
common/rpc/encryption/tls_factory.go:21
↓ 16 callersMethodGetHistoryClient
()
service/history/interfaces/shard_context.go:52
↓ 16 callersMethodGetIdentity
()
chasm/lib/activity/gen/activitypb/v1/activity_state.pb.go:368
↓ 16 callersMethodGetManual
()
api/schedule/v1/message.pb.go:135
↓ 16 callersMethodGetNamespaceReplicationMessages
GetNamespaceReplicationMessages returns new namespace replication tasks since last retrieved task Id.
api/adminservice/v1/service_grpc.pb.go:100
↓ 16 callersMethodGetPendingWorkflowTask
()
service/history/interfaces/mutable_state.go:184
↓ 16 callersFunctionGetQueueKey
(t *testing.T, opts ...func(p *getQueueKeyParams))
common/persistence/persistencetest/queues.go:33
↓ 16 callersMethodGetStarted
()
api/historyservice/v1/request_response.pb.go:429
↓ 16 callersMethodGetStatus
()
chasm/lib/callback/gen/callbackpb/v1/message.pb.go:178
↓ 16 callersMethodGetTasks
(ctx context.Context, pollingCluster string, queryMessageID int64)
service/history/replication/ack_manager.go:34
↓ 16 callersMethodGetTimerId
()
api/persistence/v1/executions.pb.go:3339
← previousnext →1,501–1,600 of 43,335, ranked by callers