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
↓ 30 callers
Method
ExecuteMultiOperation
(ctx context.Context, request *historyservice.ExecuteMultiOperationRequest)
service/history/interfaces/engine.go:45
↓ 30 callers
Method
GetBranchToken
()
api/history/v1/message.pb.go:164
↓ 30 callers
Method
GetCause
()
api/cli/v1/message.pb.go:499
↓ 30 callers
Method
GetClock
()
api/token/v1/message.pb.go:344
↓ 30 callers
Method
GetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:137
↓ 30 callers
Method
GetContext
(ctx context.Context, dest any, query string, args ...any)
common/persistence/sql/sqlplugin/mysql/db.go:148
↓ 30 callers
Method
GetReplicationConfig
()
api/persistence/v1/namespaces.pb.go:88
↓ 30 callers
Method
GetRevisionNumber
()
api/deployment/v1/message.pb.go:478
↓ 30 callers
Method
GetShardByID
(shardID int32)
service/history/shard/controller.go:17
↓ 30 callers
Method
GetSystemClient
()
common/sdk/factory.go:32
↓ 30 callers
Method
GetTaskQueueUserData
GetTaskQueueUserData gets versioned user data. This data would only exist if a user uses APIs that generate it, such as the worker versioning related
common/persistence/data_interfaces.go:1200
↓ 30 callers
Method
ListWorkers
(nsID namespace.ID, params ListWorkersParams)
service/matching/workers/registry.go:26
↓ 30 callers
Function
MustToPayload
MustToPayload converts a value to a Payload using the default data converter.
tests/testcore/utils.go:91
↓ 30 callers
Function
New
New creates a new cache with the given options
common/cache/lru.go:137
↓ 30 callers
Function
NewDefaultOutgoingRateLimiter
NewDefaultOutgoingRateLimiter returns a default rate limiter for outgoing traffic, using fixed burst ratio of 2 and fixed 1 minute refresh interval
common/quotas/dynamic_rate_limiter_impl.go:57
↓ 30 callers
Function
NewJSONPBEncoder
NewJSONPBEncoder creates a new JSONPBEncoder.
common/codec/jsonpb.go:25
↓ 30 callers
Function
NewPagingIterator
NewPagingIterator create a new paging iterator
common/collection/paging_iterator.go:18
↓ 30 callers
Function
NewTallyMetricsHandler
(cfg ClientConfig, scope tally.Scope)
common/metrics/tally_metrics_handler.go:111
↓ 30 callers
Function
NewWorkflow
( clusterMetadata cluster.Metadata, wfContext historyi.WorkflowContext, mutableState historyi.MutableState,
service/history/ndc/workflow.go:45
↓ 30 callers
Method
OnTasks
OnTasks will be called once per batch of tasks added, either sync match or async. The NumTasks count may be estimated based on assumptions of load bal
service/matching/partition_scaler_interface.go:35
↓ 30 callers
Function
ReasonTag
ReasonTag is a generic tag can be used anywhere a reason is needed. Make sure that the value is of limited cardinality.
common/metrics/tags.go:460
↓ 30 callers
Method
RegisterNamespace
Register namespace using persistence API because: 1. The Retention period is set to 0 for archival tests, and this can't be done through FE, 2. Update
tests/testcore/functional_test_base.go:516
↓ 30 callers
Method
StartNamespaceMetricCapture
StartNamespaceMetricCapture starts a metrics capture scoped to this test's namespace. Namespace captures are safe on shared clusters because reads are
tests/testcore/test_env.go:582
↓ 30 callers
Function
TearDownMySQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:148
↓ 30 callers
Method
WriteHeader
(statusCode int)
service/frontend/nexus_http_response_writer.go:30
↓ 30 callers
Method
eventBatchesToVersionHistory
( versionHistory *historyspb.VersionHistory, eventBatches []*historypb.History, )
tests/ndc/ndc_test.go:2274
↓ 30 callers
Method
getAckLevel
()
service/matching/ack_manager.go:78
↓ 30 callers
Method
getEvents
()
service/history/ndc/replication_task.go:38
↓ 30 callers
Function
mkBuildId
(id string, clock *hlc.Clock)
service/matching/version_sets_test.go:87
↓ 30 callers
Function
newTestContext
(t *testing.T, cfg *nexusoperations.Config)
components/nexusoperations/workflow/commands_test.go:62
↓ 30 callers
Function
parseWhereString
(where string)
common/persistence/visibility/store/sql/query_converter_test.go:1049
↓ 30 callers
Method
queryToJSON
(q elastic.Query)
common/persistence/visibility/store/elasticsearch/visibility_store_read_test.go:325
↓ 30 callers
Method
startVersionWorkflow
(env *VersioningTestEnv, tv *testvars.TestVars)
tests/worker_deployment_test.go:170
↓ 29 callers
Method
Abort
Abort marks the task as aborted, usually means task executor shutdown
common/tasks/task.go:29
↓ 29 callers
Method
Clear
()
service/history/queues/slice.go:37
↓ 29 callers
Function
ConvertToTime
(timeStr string)
common/sqlquery/query.go:19
↓ 29 callers
Method
CreateNextActivityTimer
()
service/history/workflow/timer_sequence.go:48
↓ 29 callers
Function
DefaultFailureConverter
DefaultFailureConverter returns the package's default [FailureConverter] implementation. Translates [HandlerError], [OperationError] and [FailureError
common/nexus/nexusrpc/failure_converter.go:198
↓ 29 callers
Function
DeploymentVersionFromDeployment
DeploymentVersionFromDeployment Temporary helper function to convert Deployment to WorkerDeploymentVersion proto until we update code to use the new p
common/worker_versioning/worker_versioning.go:474
↓ 29 callers
Function
Duration
(key string, value time.Duration)
common/log/tag/zap_tag.go:210
↓ 29 callers
Method
GetActivityType
(context.Context, *persistencespb.ActivityInfo)
service/history/interfaces/mutable_state.go:162
↓ 29 callers
Method
GetBody
()
api/archiver/v1/message.pb.go:191
↓ 29 callers
Method
GetFrontendRequest
()
chasm/lib/nexusoperation/gen/nexusoperationpb/v1/request_response.pb.go:535
↓ 29 callers
Method
GetResolver
GetResolver returns the service resolver for a service in the cluster.
common/membership/interfaces.go:51
↓ 29 callers
Method
GetTaskID
()
service/history/tasks/task.go:19
↓ 29 callers
Method
GetUpdateId
()
api/persistence/v1/hsm.pb.go:663
↓ 29 callers
Method
GetWorkflowStateStatus
()
service/history/interfaces/mutable_state.go:202
↓ 29 callers
Function
Key
Key returns tag for Key
common/log/tag/tags.go:451
↓ 29 callers
Method
LogEvent
LogEvent appends an event with the given message. Messages longer than the configured maximum length are truncated at a UTF-8 rune boundary; once the
chasm/lib/scheduler/eventlog.go:76
↓ 29 callers
Method
LookupN
LookupN looks up n hosts that owns the resource identified by the given key, if n is greater than total number of hosts, all hosts will be returned in
common/membership/interfaces.go:76
↓ 29 callers
Method
LowWatermark
()
service/history/replication/executable_task_tracker.go:36
↓ 29 callers
Function
NewNoopCollection
NewNoopCollection creates a new noop collection.
common/dynamicconfig/static_client.go:29
↓ 29 callers
Function
NewTimerSequence
( mutableState historyi.MutableState, )
service/history/workflow/timer_sequence.go:61
↓ 29 callers
Method
OpLog
OpLog returns a compacted operation log from the root state machine. The operation log maintains a sequence of state changes, while compaction ensures
service/history/hsm/tree.go:264
↓ 29 callers
Method
ReadHistoryBranchByBatch
ReadHistoryBranchByBatch returns history node data for a branch ByBatch
common/persistence/data_interfaces.go:1158
↓ 29 callers
Function
ShardID
history engine shard ShardID returns tag for ShardID
common/log/tag/tags.go:555
↓ 29 callers
Method
Unmarshal
Unmarshal an object of type Checksum from the protobuf v3 wire format
api/persistence/v1/executions.go-helpers.pb.go:828
↓ 29 callers
Method
Validate
Validate determines whether a task should proceed with execution based on the current context, component state, task attributes, and task data. This
chasm/task.go:72
↓ 29 callers
Method
createRandomExternalNexusServer
createRandomExternalNexusServer creates a mock nexus server that listens via a randomized endpointName and return this name to the caller.
tests/nexus_test_base.go:68
↓ 29 callers
Function
encodeBlob
( m proto.Message, encoding enumspb.EncodingType, options ...EncodeOption, )
common/persistence/serialization/codec.go:63
↓ 29 callers
Function
hasWordsBefore
hasWordsBefore checks if the given words appears before position pos in s, separated by at least one space, and each word is a whole word. Words must
common/persistence/query_util.go:231
↓ 29 callers
Method
metricsScope
(ctx context.Context)
service/frontend/workflow_handler.go:6610
↓ 29 callers
Method
newNamespaceResponse
( id namespace.ID, name string, activeCluster string, notificationVersion int64, )
common/namespace/nsregistry/registry_watch_test.go:137
↓ 29 callers
Method
pollUntilRegistered
pollUntilRegistered registers versioned pollers for the given deployment. tqTypes controls which task queue types to poll; it defaults to workflow onl
tests/versioning_3_test.go:4115
↓ 29 callers
Function
respondCompleteWorkflow
( tv *testvars.TestVars, behavior enumspb.VersioningBehavior, )
tests/versioning_3_test.go:4605
↓ 28 callers
Method
AddedTasks
AddedTasks is called on a batch of tasks added. This is called in the task add path, so it shouldn't block.
service/matching/scale_manager.go:122
↓ 28 callers
Method
ClusterConfiguredForArchival
()
common/archiver/archival_metadata.go:24
↓ 28 callers
Method
CreateNexusEndpoint
(ctx context.Context, request *matchingservice.CreateNexusEndpointRequest)
service/matching/matching_engine_interfaces.go:43
↓ 28 callers
Method
DeleteHistoryBranch
DeleteHistoryBranch removes a branch If this is the last branch to delete, it will also remove the root node
common/persistence/data_interfaces.go:1168
↓ 28 callers
Method
DescribeTaskQueuePartition
(ctx context.Context, request *matchingservice.DescribeTaskQueuePartitionRequest)
service/matching/matching_engine_interfaces.go:24
↓ 28 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
common/metrics/metrics_mock.go:302
↓ 28 callers
Method
Exist
(ctx context.Context, URI archiver.URI, fileName string)
common/archiver/gcloud/connector/client.go:36
↓ 28 callers
Function
Fail
Fail logs an error using `staticMessage` to indicate a failed assertion. `staticMessage` is expected to be a static string to help with grouping and
common/softassert/softassert.go:43
↓ 28 callers
Method
Gauge
Gauge obtains a gauge for the given name.
common/metrics/metrics.go:29
↓ 28 callers
Function
Get
Get gets the value of a test hook from the registry. TestHooks should be used sparingly, see comment on TestHooks.
common/testing/testhooks/test_impl.go:39
↓ 28 callers
Method
GetTask
()
service/history/queues/executable.go:49
↓ 28 callers
Method
Inc
(i int64)
common/sdk/metrics_handler.go:58
↓ 28 callers
Method
IsDirty
()
service/history/interfaces/chasm_tree.go:26
↓ 28 callers
Method
Key
()
common/dynamicconfig/setting.go:34
↓ 28 callers
Method
ListNexusEndpoints
(ctx context.Context, request *ListNexusEndpointsRequest)
common/persistence/data_interfaces.go:1250
↓ 28 callers
Function
MkdirTemp
MkdirTemp is a helper function which creates a temporary directory, and they are automatically removed after test is completed
tests/testutils/io.go:25
↓ 28 callers
Function
NewMockCounterIface
NewMockCounterIface creates a new mock instance.
common/metrics/metrics_mock.go:295
↓ 28 callers
Function
NewMySQLConfig
NewMySQLConfig returns a new MySQL config for test
common/persistence/tests/mysql_test_util.go:77
↓ 28 callers
Function
NewPostgreSQLConfig
NewPostgreSQLConfig returns a new MySQL config for test
common/persistence/tests/postgresql_test_util.go:76
↓ 28 callers
Function
NewQueryConverter
( storeQC StoreQueryConverter[ExprT], namespaceName namespace.Name, saTypeMap searchattribute.NameTypeMap,
common/persistence/visibility/store/query/converter.go:131
↓ 28 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
chasm/statemachine.go:36
↓ 28 callers
Function
RandomBranchToken
( namespaceID string, workflowID string, runID string, historyBranchUtil p.HistoryBranchUtil, )
common/persistence/tests/util.go:346
↓ 28 callers
Method
Record
(val int64)
common/aggregate/moving_window_average.go:10
↓ 28 callers
Method
RecordWorkflowTaskStarted
(ctx context.Context, request *historyservice.RecordWorkflowTaskStartedRequest)
service/history/interfaces/engine.go:34
↓ 28 callers
Function
SearchAttributeValue
SearchAttributeValue returns the value for a given SearchAttribute with compile-time type safety. The return type T is inferred from the SearchAttribu
chasm/search_attribute.go:505
↓ 28 callers
Method
SetCondition
SetCondition sets the condition to access this edge
common/testing/event_generator.go:376
↓ 28 callers
Function
SetupMySQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:91
↓ 28 callers
Function
SetupMySQLSchema
(t *testing.T, cfg *config.SQL)
common/persistence/tests/mysql_test_util.go:108
↓ 28 callers
Function
SetupPostgreSQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:91
↓ 28 callers
Function
SetupPostgreSQLSchema
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:108
↓ 28 callers
Function
TearDownPostgreSQLDatabase
(t *testing.T, cfg *config.SQL)
common/persistence/tests/postgresql_test_util.go:148
↓ 28 callers
Function
UnmarshalAny
(t require.TestingT, a *anypb.Any)
common/testing/protoutils/any.go:11
↓ 28 callers
Method
Validate
(ctx context.Context, namespaceName string, cbs []*commonpb.Callback)
chasm/lib/callback/validator.go:16
↓ 28 callers
Method
Values
(name string, fieldName string, values ...any)
common/persistence/visibility/store/query/interceptors_legacy.go:8
↓ 28 callers
Function
WithDedicatedCluster
WithDedicatedCluster requests a dedicated (non-shared) cluster for the test. Use this for tests that have cluster-global side effects.
tests/testcore/test_env.go:110
← previous
next →
901–1,000 of 43,335, ranked by callers