MCPcopy Create free account

hub / github.com/temporalio/temporal / functions

Functions43,335 in github.com/temporalio/temporal

↓ 3 callersMethodSelectFromQueueV2Metadata
(ctx context.Context, filter QueueV2MetadataFilter)
common/persistence/sql/sqlplugin/queue_v2_metadata.go:33
↓ 3 callersMethodSelectFromQueueV2MetadataForUpdate
(ctx context.Context, filter QueueV2MetadataFilter)
common/persistence/sql/sqlplugin/queue_v2_metadata.go:34
↓ 3 callersMethodSelectFromShards
(ctx context.Context, filter ShardsFilter)
common/persistence/sql/sqlplugin/history_shard.go:27
↓ 3 callersMethodSelectFromTasksV2
SelectFromTasks retrieves one or more rows from the tasks_v2 table Required filter params - {RangeHash, TaskQueueID, InclusiveMinLevel, PageSize} Retu
common/persistence/sql/sqlplugin/matching_task_v2.go:42
↓ 3 callersMethodSendParentClosePolicyRequest
(context.Context, Request)
service/worker/parentclosepolicy/client.go:22
↓ 3 callersMethodSerialize
Serialize a state machine into bytes.
service/history/hsm/tree.go:52
↓ 3 callersMethodSerialize
(taskToken *tokenspb.Task)
common/tasktoken/serializer.go:15
↓ 3 callersMethodSetClusterMetadata
(metadata cluster.Metadata)
service/history/shard/context_testutil.go:225
↓ 3 callersMethodSetEffectiveRPSAndSourceForTesting
(rps float64, source enumspb.RateLimitSource)
service/matching/ratelimit_manager_test.go:79
↓ 3 callersMethodSetHeader
(md metadata.MD)
common/testing/rpctest/transport_stream.go:37
↓ 3 callersMethodSetHealthy
(healthy bool)
common/rpc/interceptor/health.go:45
↓ 3 callersMethodSetHistoryEnabledByDefault
SetHistoryEnabledByDefault sets the default history archival config to be enabled.
common/archiver/metadata_mock.go:15
↓ 3 callersFunctionSetMetadataType
(p *commonpb.Payload, t enumspb.IndexedValueType)
common/searchattribute/sadefs/util.go:22
↓ 3 callersMethodSetMetricsHandler
SetMetricsHandler sets the metrics handler for the client. This is useful when the metricsHandler is not available at the time of initialization due t
common/dynamicconfig/file_based_client.go:101
↓ 3 callersMethodSetSpeculativeWorkflowTaskTimeoutTask
SetSpeculativeWorkflowTaskTimeoutTask submits the task to the shard's in-memory scheduled queue, replacing any prior speculative timeout. VisibilityTi
service/history/interfaces/mutable_state.go:329
↓ 3 callersMethodSetStateMachineState
(S)
chasm/statemachine.go:20
↓ 3 callersMethodSetStickyTaskQueue
(name string, scheduleToStartTimeout *durationpb.Duration)
service/history/interfaces/mutable_state.go:224
↓ 3 callersMethodSetT
Deprecated: SetT is managed internally by [Run]. Do not call directly.
common/testing/parallelsuite/testify.go:19
↓ 3 callersFunctionSetToEvent
(event *historypb.HistoryEvent, sas *commonpb.SearchAttributes)
common/searchattribute/event_gen.go:10
↓ 3 callersFunctionSetupNewWorkflowForRetryOrCron
Helpers for creating new retry/cron workflows:
service/history/workflow/retry.go:156
↓ 3 callersMethodShardInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:77
↓ 3 callersFunctionShouldSkipReactivation
ShouldSkipReactivation reports whether a reactivation signal to the given version would be redundant. Returns true when the version's status is CURREN
common/worker_versioning/worker_versioning.go:429
↓ 3 callersMethodShrinkScope
()
service/history/queues/slice.go:33
↓ 3 callersMethodSignalWithStartWorkflow
SignalWithStartWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:617
↓ 3 callersMethodSince
(t time.Time)
common/clock/event_time_source.go:64
↓ 3 callersFunctionSliceTail
SliceTail returns the last n elements of s. n may be greater than len(s).
common/util/util.go:53
↓ 3 callersMethodSpanExporters
()
common/telemetry/config.go:159
↓ 3 callersFunctionSplitHistoryGarbageCleanupInfo
SplitHistoryGarbageCleanupInfo returns workflow identity information
common/persistence/data_interfaces.go:1426
↓ 3 callersFunctionStampIfUsingVersioning
StampIfUsingVersioning returns the given WorkerVersionStamp if it is using versioning, otherwise returns nil.
common/worker_versioning/worker_versioning.go:168
↓ 3 callersMethodStart
()
service/matching/physical_task_queue_manager.go:101
↓ 3 callersMethodStart
()
service/history/replication/task_processor.go:53
↓ 3 callersMethodStart
Start causes this service to join the membership ring. Services should not call Start until they are ready to receive requests from other cluster memb
common/membership/interfaces.go:40
↓ 3 callersMethodStartActivityExecution
(ctx context.Context, in *StartActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:35
↓ 3 callersMethodState
()
components/nexusoperations/statemachine.go:83
↓ 3 callersMethodStickyExecutionAttributes
(timeout time.Duration)
common/testing/testvars/test_vars.go:335
↓ 3 callersMethodStop
Stop stops the scavenger
service/worker/scanner/taskqueue/scavenger.go:115
↓ 3 callersMethodStop
()
service/history/replication/stream_receiver.go:38
↓ 3 callersMethodStop
()
common/dynamicconfig/collection.go:137
↓ 3 callersMethodSubscribeShardCount
SubscribeShardCount returns a ShardCountSubscription for receiving shard count updates.
service/history/shard/ownership_based_quota_scaler.go:44
↓ 3 callersMethodT
T returns the *testing.T, panicking if the guard has been sealed.
common/testing/parallelsuite/suite.go:79
↓ 3 callersFunctionTLSInfoFromContext
TLSInfoFromContext extracts TLS information from the context's peer value.
common/authorization/interceptor.go:58
↓ 3 callersFunctionTagLoggerWithArchiveHistoryRequestAndURI
TagLoggerWithArchiveHistoryRequestAndURI tags logger with fields in the archive history request and the URI
common/archiver/util.go:23
↓ 3 callersFunctionTagLoggerWithArchiveVisibilityRequestAndURI
TagLoggerWithArchiveVisibilityRequestAndURI tags logger with fields in the archive visibility request and the URI
common/archiver/util.go:39
↓ 3 callersMethodTakeRemaining
TakeRemaining removes all remaining values from this set and returns them.
common/collection/indexedtakelist.go:52
↓ 3 callersFunctionTaskCategoryID
(taskCategoryID int)
common/log/tag/tags.go:640
↓ 3 callersMethodTaskFor
(taskInstance any)
chasm/export_test.go:24
↓ 3 callersMethodTaskGroup
TaskGroup returns the side-effect task group for the task.
chasm/registrable_task.go:168
↓ 3 callersFunctionTaskKey
TaskKey returns tag for TaskKey
common/log/tag/tags.go:627
↓ 3 callersFunctionTaskOperationTag
( replicationTask *replicationspb.ReplicationTask, )
service/history/replication/metrics.go:9
↓ 3 callersFunctionTaskPriority
TaskPriority returns tag for TaskPriority
common/log/tag/tags.go:1032
↓ 3 callersMethodTaskQueueInfoToBlob
(info *persistencespb.TaskQueueInfo)
common/persistence/serialization/serializer.go:50
↓ 3 callersMethodTaskQueueScheduleToStartTimeout
(name string)
service/history/interfaces/mutable_state.go:227
↓ 3 callersMethodTaskSerializer
TaskSerializer returns a [TaskSerializer] for a given type and a boolean indicating whether it was found.
service/history/hsm/registry.go:88
↓ 3 callersMethodTaskType
()
common/tqid/task_queue_id.go:284
↓ 3 callersMethodTaskType
()
common/tqid/task_queue_id.go:339
↓ 3 callersMethodTerminate
(chasm.TerminateComponentRequest)
service/history/interfaces/chasm_tree.go:27
↓ 3 callersMethodTerminate
Terminate method is invoked by the chasm framework on an execution's root component when the execution needs to be forcefully terminated. Some example
chasm/component.go:28
↓ 3 callersMethodTerminateActivityExecution
(ctx context.Context, in *TerminateActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:38
↓ 3 callersMethodTerminateWorkflow
(ctx context.Context, req *schedulespb.TerminateWorkflowRequest)
service/worker/scheduler/activities.go:244
↓ 3 callersFunctionTimeout
Timeout returns tag for timeout
common/log/tag/tags.go:976
↓ 3 callersMethodTimerID
()
common/testing/testvars/test_vars.go:406
↓ 3 callersMethodToAPICallback
ToAPICallback converts a CHASM callback to API callback proto.
chasm/lib/callback/component.go:145
↓ 3 callersFunctionTokenLastEventVersion
TokenLastEventVersion returns tag for TokenLastEventVersion
common/log/tag/tags.go:833
↓ 3 callersFunctionTokenizeTextQueryString
TokenizeTextQueryString tokenizes the string by spaces It's a temporary solution as it doesn't cover tokenizer used by PostgreSQL or SQLite.
common/persistence/visibility/store/query/util.go:109
↓ 3 callersFunctionTrailerToContextMetadataInterceptor
TrailerToContextMetadataInterceptor reads metadata from gRPC response trailers and propagates it to the calling context using contextutil.ContextMetad
common/rpc/interceptor/trailer_to_context_metadata_interceptor.go:21
↓ 3 callersMethodTryLockHigh
TryLockHigh try to lock with high priority, return true if lock acquired use TryLockHigh / UnlockHigh pair to lock / unlock
common/locks/priority_mutex.go:19
↓ 3 callersMethodTryLockLow
TryLockLow try to lock with high priority, return true if lock acquired use TryLockLow / UnlockLow pair to lock / unlock
common/locks/priority_mutex.go:22
↓ 3 callersMethodUnaryIntercept
( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, )
common/rpc/interceptor/telemetry.go:165
↓ 3 callersMethodUnmarshal
Unmarshal an object of type ListChasmExecutionsRequest from the protobuf v3 wire format
api/visibilityservice/v1/request_response.go-helpers.pb.go:14
↓ 3 callersMethodUnmarshal
Unmarshal an object of type Baggage from the protobuf v3 wire format
api/metrics/v1/message.go-helpers.pb.go:14
↓ 3 callersMethodUnmarshal
Unmarshal an object of type NexusEndpoint from the protobuf v3 wire format
api/persistence/v1/nexus.go-helpers.pb.go:88
↓ 3 callersMethodUnmarshal
Unmarshal an object of type HistoryBranch from the protobuf v3 wire format
api/persistence/v1/history_tree.go-helpers.pb.go:51
↓ 3 callersMethodUnmarshal
Unmarshal an object of type UpdateInfo from the protobuf v3 wire format
api/persistence/v1/update.go-helpers.pb.go:125
↓ 3 callersMethodUnmarshal
Unmarshal an object of type HistoryTask from the protobuf v3 wire format
api/common/v1/dlq.go-helpers.pb.go:14
↓ 3 callersMethodUnmarshal
Unmarshal an object of type HostInfo from the protobuf v3 wire format
api/cluster/v1/message.go-helpers.pb.go:14
↓ 3 callersFunctionUnpackNexusCallbackToken
UnpackNexusCallbackToken decodes a callback token produced by GenerateNexusCallback, returning the component ref and request ID. It accepts both token
chasm/nexus_completion.go:71
↓ 3 callersMethodUnwatchHistoryEvent
(identifier definition.WorkflowKey, subscriberID string)
service/history/events/notifier.go:32
↓ 3 callersMethodUnwrap
()
common/persistence/serialization/serializer.go:347
↓ 3 callersMethodUpdateBuildIdAssignment
UpdateBuildIdAssignment based on initial assignment or a redirect
service/history/workflow/mutable_state_impl.go:3704
↓ 3 callersMethodUpdateHistoryBranchInfo
UpdateHistoryBranchInfo updates the history branch with branch information
common/persistence/history_branch_util.go:31
↓ 3 callersMethodUpdateNamespaceMetadata
(ctx context.Context, row *NamespaceMetadataRow)
common/persistence/sql/sqlplugin/namespace.go:50
↓ 3 callersMethodUpdatePollerInfo
(pollerIdentity, *pollMetadata)
service/matching/physical_task_queue_manager_interface.go:58
↓ 3 callersMethodUpdateRef
()
common/testing/testvars/test_vars.go:378
↓ 3 callersMethodUpdateRemoteClusterInfo
(cluster string, ackTaskID int64, ackTimestamp time.Time)
service/history/interfaces/shard_context.go:76
↓ 3 callersMethodUpdateSimpleRateLimitWithBurstForTesting
Additions to rateLimitManager for use by other unit tests:
service/matching/ratelimit_manager_test.go:60
↓ 3 callersMethodUpdateWorkerDeploymentVersionMetadata
( ctx context.Context, request *workflowservice.UpdateWorkerDeploymentVersionMetadataRequest, opts ...grpc.
client/frontend/client_gen.go:1182
↓ 3 callersMethodUpdateWorkflowExecutionWithNewAsActive
( ctx context.Context, shardContext ShardContext, newContext WorkflowContext, newMutableState Muta
service/history/interfaces/workflow_context.go:78
↓ 3 callersMethodUpdateWorkflowStateStatus
( state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
chasm/tree.go:221
↓ 3 callersMethodUserDataChanged
()
service/matching/physical_task_queue_manager_interface.go:51
↓ 3 callersMethodValidateActivityScheduleAttributes
nolint:revive
service/history/api/command_attr_validator.go:75
↓ 3 callersFunctionValidateAndNormalizeStandaloneActivity
ValidateAndNormalizeStandaloneActivity validates and normalizes the attributes for a standalone activity.
chasm/lib/activity/validator.go:24
↓ 3 callersFunctionValidateClusterInformation
ValidateClusterInformation checks the invariants that NewMetadata and the runtime refresh both depend on. It is also used at admin/operator RPC bounda
common/cluster/metadata.go:500
↓ 3 callersFunctionValidateCreateWorkflowModeState
NOTE: when modifying this file, plz make each case clear, do not combine cases together. The idea for this file is to test whether current record poin
common/persistence/operation_mode_validator.go:14
↓ 3 callersMethodValidateCustomSearchAttributes
( searchAttributes map[string]any, )
common/persistence/visibility/store/elasticsearch/visibility_store.go:198
↓ 3 callersFunctionValidateDeploymentVersionFields
ValidateDeploymentVersionFields is a helper that verifies if the fields within a Worker Deployment Version are valid
common/worker_versioning/worker_versioning.go:605
↓ 3 callersFunctionValidateFairnessKey
(key string)
common/priorities/priority_util.go:37
↓ 3 callersFunctionValidateGetRequest
ValidateGetRequest validates the get archived history request
common/archiver/util.go:71
↓ 3 callersFunctionValidateHistoryArchiveRequest
ValidateHistoryArchiveRequest validates the archive history request
common/archiver/util.go:54
↓ 3 callersFunctionValidateLongPollContextTimeout
ValidateLongPollContextTimeout checks if the context timeout for a long poll handler is too short or below a normal value. If the timeout is not set o
common/util.go:636
↓ 3 callersMethodValidateNexusEndpointsActivity
(ctx context.Context, nsID namespace.ID, nsName namespace.Name)
service/worker/deletenamespace/activities.go:106
← previousnext →6,001–6,100 of 43,335, ranked by callers