Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PostHog/duckgres
/ functions
Functions
5,901 in github.com/PostHog/duckgres
⨍
Functions
5,901
◇
Types & classes
803
Method
ReleaseOrgConnectionLease
ReleaseOrgConnectionLease releases one active cluster-wide connection lease.
controlplane/configstore/org_connections.go:370
Method
ReleaseWorker
(id int)
controlplane/org_router_test.go:26
Method
ReleaseWorker
(id int)
controlplane/org_router_test.go:215
Method
ReleaseWorker
(id int)
controlplane/session_mgr_drain_test.go:30
Method
ReleaseWorker
(id int)
controlplane/session_mgr_drain_test.go:67
Method
ReleaseWorker
(id int)
controlplane/session_mgr_drain_test.go:261
Method
ReleaseWorker
(id int)
controlplane/session_mgr_drain_test.go:297
Method
ReleaseWorker
ReleaseWorker decrements the active session count for a worker.
controlplane/k8s_pool_acquire.go:116
Method
ReleaseWorker
(id int)
controlplane/session_mgr_test.go:38
Method
ReloadSnapshot
ReloadSnapshot forces an immediate reload of the config snapshot from the database, bypassing the poll interval, and fires OnChange callbacks exactly
controlplane/configstore/store.go:250
Method
ReloadSnapshot
()
controlplane/admin/live_aggregate_test.go:82
Method
RenewFlightEndpoint
(ctx context.Context, request *flight.RenewFlightEndpointRequest, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:416
Method
RequireTransportSecurity
()
controlplane/worker_mgr.go:1386
Method
RequireTransportSecurity
()
server/flightclient/flight_executor.go:873
Method
ResolveDatabase
(database string)
controlplane/control.go:222
Method
ResolveDatabase
(database string)
controlplane/sni_kubernetes_test.go:115
Method
ResolveDatabase
ResolveDatabase maps a database name to an org ID. Returns "" if not found.
controlplane/configstore/store.go:275
Method
ResolvePostgresConnection
(startupDatabase, sniPrefix string, useManagedSNI bool, username, password string)
controlplane/sni_kubernetes_test.go:136
Method
ResolveQueryLogDuckLakeConfig
(context.Context, string)
querylog_writer_mode_kubernetes.go:33
Method
ResolveQueryLogDuckLakeConfig
(ctx context.Context, orgID string)
querylog_writer_mode_kubernetes.go:55
Method
ResolveQueryLogDuckLakeConfig
(context.Context, string)
server/querylog_kafka_writer_test.go:146
Method
ResolveQueryLogEntryWriter
(_ context.Context, orgID string)
server/querylog_kafka_writer_test.go:94
Method
ResolveSNIPrefix
(prefix string)
controlplane/sni_kubernetes_test.go:129
Function
ResultGrid
({ result }: { result: QueryResult })
controlplane/admin/ui/src/pages/Impersonate.tsx:198
Method
RetireDrainingWorker
(workerID int, ownerCPInstanceID string, expectedOwnerEpoch int64, reason string)
controlplane/k8s_pool_test.go:536
Method
RetireDrainingWorker
(workerID int, cpID string, epoch int64, reason string)
controlplane/worker_lifecycle_test.go:101
Method
RetireDrainingWorker
RetireDrainingWorker atomically transitions a draining worker to retired. Returns true if the transition happened, false if the worker was no longer i
controlplane/configstore/store.go:1477
Method
RetireIdleOrHotIdleWorker
(record *configstore.WorkerRecord, reason string)
controlplane/k8s_pool_test.go:344
Method
RetireIdleOrHotIdleWorker
(record *configstore.WorkerRecord, reason string)
controlplane/worker_lifecycle_test.go:78
Method
RetireIdleOrHotIdleWorker
RetireIdleOrHotIdleWorker atomically transitions a worker from idle or hot_idle to retired. Returns true if the transition happened, false if the work
controlplane/configstore/store.go:1403
Method
RetireOrphanWorker
(record *configstore.WorkerRecord, reason string)
controlplane/k8s_pool_test.go:372
Method
RetireOrphanWorker
(record *configstore.WorkerRecord, reason string)
controlplane/worker_lifecycle_test.go:69
Method
RetireOrphanWorker
RetireOrphanWorker is the orphan-cleanup counterpart to RetireIdleOrHotIdleWorker. Whereas the latter only handles `idle` / `hot_idle`, this method tr
controlplane/configstore/store.go:1269
Method
RetireWorker
(id int)
controlplane/org_router_test.go:30
Method
RetireWorker
(id int)
controlplane/org_router_test.go:217
Method
RetireWorker
(id int)
controlplane/org_reserved_pool.go:338
Method
RetireWorker
(id int)
controlplane/session_mgr_drain_test.go:34
Method
RetireWorker
(id int)
controlplane/session_mgr_drain_test.go:73
Method
RetireWorker
(id int)
controlplane/session_mgr_drain_test.go:263
Method
RetireWorker
(id int)
controlplane/session_mgr_drain_test.go:299
Method
RetireWorker
RetireWorker removes a worker from the pool and deletes its pod.
controlplane/k8s_pool_lifecycle.go:20
Method
RetireWorker
(id int)
controlplane/session_mgr_test.go:40
Method
RetireWorkerIfNoSessions
(id int)
controlplane/org_router_test.go:32
Method
RetireWorkerIfNoSessions
(id int)
controlplane/org_router_test.go:219
Method
RetireWorkerIfNoSessions
(id int)
controlplane/org_reserved_pool.go:345
Method
RetireWorkerIfNoSessions
(id int)
controlplane/session_mgr_drain_test.go:36
Method
RetireWorkerIfNoSessions
(id int)
controlplane/session_mgr_drain_test.go:75
Method
RetireWorkerIfNoSessions
(id int)
controlplane/session_mgr_drain_test.go:265
Method
RetireWorkerIfNoSessions
(id int)
controlplane/session_mgr_drain_test.go:301
Method
RetireWorkerIfNoSessions
RetireWorkerIfNoSessions retires a worker only if it has no active sessions.
controlplane/k8s_pool_lifecycle.go:50
Method
RetireWorkerIfNoSessions
(id int)
controlplane/session_mgr_test.go:42
Function
RewriteBooleanPredicates
(sql string)
transpiler/boolpredicates.go:22
Function
RoleBadge
({ role }: { role: Role })
controlplane/admin/ui/src/pages/ConfigStore.tsx:233
Method
Rollback
()
tests/perf/publisher/publisher_test.go:55
Method
RoundTrip
(r *http.Request)
cmd/cache-proxy/proxy_test.go:28
Method
RowsAffected
()
tests/perf/publisher/publisher_test.go:63
Method
RowsAffected
()
server/conn_test.go:1402
Method
RowsAffected
()
server/conn_querylog_lifecycle_test.go:82
Method
RowsAffected
()
server/sessionmeta/sessionmeta_test.go:76
Method
RowsAffected
()
server/flightclient/flight_executor.go:644
Method
RowsAffected
()
server/flightsqlingress/ingress_test.go:260
Method
Run
Run flushes on a fixed interval until ctx is cancelled, then does a final flush so a graceful shutdown lands the last interval's counts.
controlplane/compute_meter.go:201
Method
Run
(ctx context.Context)
controlplane/janitor_leader_k8s_test.go:16
Method
Run
(ctx context.Context)
controlplane/janitor_leader_k8s_test.go:30
Method
Run
Run is a no-op stub.
controlplane/provisioner/controller_stub.go:22
Method
Run
(_ context.Context, req CommandRequest)
tests/scenario/dbt/runner_test.go:200
Method
Run
(ctx context.Context, req CommandRequest)
tests/scenario/dbt/steps.go:321
Method
RunningQueries
RunningQueries flattens every org's active sessions with their cached progress, attributed to org + user.
controlplane/admin_providers.go:31
Method
RunningQueries
()
controlplane/admin/live_aggregate_test.go:37
Method
SQLState
()
transpiler/transform/ddl_test.go:215
Method
SQLState
()
transpiler/transform/errors.go:12
Method
Scan
(dest ...any)
server/session_database_metadata_test.go:72
Method
Scan
(dest ...any)
server/executor.go:168
Method
Scan
(...any)
server/conn_describe_test.go:56
Method
Scan
(_ ...any)
server/conn_querylog_feedback_test.go:66
Method
Scan
(dest ...any)
server/session_database_metadata_remote_test.go:68
Method
Scan
(dest ...any)
server/conn_querylog_lifecycle_test.go:228
Method
Scan
(dest ...any)
server/sessionmeta/sessionmeta_test.go:63
Method
Scan
(dest ...any)
server/flightclient/flight_executor.go:556
Method
Scan
(dest ...any)
server/flightclient/flight_executor.go:606
Method
Scan
(...any)
server/flightclient/flight_executor.go:635
Function
SecretsDialog
({ user, onClose }: { user: OrgUser; onClose: () => void })
controlplane/admin/ui/src/pages/Users.tsx:432
Method
Send
(r *flight.Result)
duckdbservice/flight_handler_test.go:38
Method
SendHeader
(md metadata.MD)
server/flightsqlingress/ingress_test.go:251
Method
SendHeader
(metadata.MD)
duckdbservice/flight_handler_test.go:47
Method
SendHeader
(metadata.MD)
duckdbservice/copy_from_stdin_test.go:67
Method
SendMsg
(m any)
controlplane/session_mgr_drain_test.go:492
Method
SendMsg
(m any)
controlplane/session_mgr_drain_test.go:504
Method
SendMsg
(m any)
duckdbservice/copy_from_stdin_test.go:69
Function
Separator
({ className, orientation = "horizontal", }: { className?: string; orientation?: "horizontal" | "verti
controlplane/admin/ui/src/components/ui/separator.tsx:3
Method
SetDefaultWorkerMinHotIdle
(n int)
controlplane/org_router_test.go:232
Method
SetHeader
(metadata.MD)
duckdbservice/flight_handler_test.go:46
Method
SetHeader
(metadata.MD)
duckdbservice/copy_from_stdin_test.go:66
Method
SetInitialLimits
SetInitialLimits sets memory_limit and threads on a single session synchronously. Called during CreateSession so the new session never runs with unlim
controlplane/memory_rebalancer.go:218
Method
SetMaxWorkers
(n int)
controlplane/org_router_test.go:47
Method
SetMaxWorkers
(n int)
controlplane/org_router_test.go:228
Method
SetMaxWorkers
(n int)
controlplane/org_reserved_pool.go:369
Method
SetMaxWorkers
(n int)
controlplane/session_mgr_drain_test.go:51
Method
SetMaxWorkers
(n int)
controlplane/session_mgr_drain_test.go:90
Method
SetMaxWorkers
(n int)
controlplane/session_mgr_drain_test.go:280
← previous
next →
3,601–3,700 of 5,901, ranked by callers