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
FetchPeers
(_ context.Context, path string)
controlplane/admin/live_aggregate_test.go:107
Function
Field
({ label, value, mono }: { label: string; value: React.ReactNode; mono?: boolean })
controlplane/admin/ui/src/components/QueryDetailDialog.tsx:17
Function
Field
({ label, children }: { label: string; children: React.ReactNode })
controlplane/admin/ui/src/pages/OrgDetail.tsx:332
Function
Field
({ label, value, mono }: { label: string; value: React.ReactNode; mono?: boolean })
controlplane/admin/ui/src/pages/Errors.tsx:33
Method
FlushComputeUsage
(d []configstore.ComputeUsageDelta)
controlplane/compute_meter_test.go:141
Method
FlushComputeUsage
FlushComputeUsage applies a batch of per-key deltas to the durable buffer via UPSERT-increment, so contributions from every CP pod sum into the same r
controlplane/configstore/compute_usage.go:73
Method
GCComputeUsage
(olderThan time.Time)
controlplane/compute_billing_api_test.go:66
Method
GCComputeUsage
GCComputeUsage hard-deletes buffered buckets older than the cutoff regardless of ack — the safety net that bounds table growth if billing stops pullin
controlplane/configstore/compute_usage.go:178
Function
GenerateSecretKey
GenerateSecretKey returns a cryptographically random secret key suitable for embedding in a BackendKey. Falls back to a time-based key if crypto/rand
server/wire/backend_key.go:24
Method
GetCatalog
()
duckdbservice/flight_handler_test.go:89
Method
GetDBSchemaFilterPattern
()
duckdbservice/flight_handler_test.go:93
Method
GetFlightInfo
(ctx context.Context, in *flight.FlightDescriptor, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:440
Method
GetFlightInfo
(context.Context, *flight.FlightDescriptor)
server/flightclient/flight_executor_test.go:84
Method
GetFlightInfoStatement
(ctx context.Context, cmd flightsql.StatementQuery, desc *flight.FlightDescriptor)
server/flightsqlingress/ingress.go:514
Method
GetFlightSessionRecord
(string)
controlplane/sni_kubernetes_test.go:173
Method
GetFlightSessionRecord
GetFlightSessionRecord returns a durable Flight reconnect row by session token.
controlplane/configstore/store.go:1800
Method
GetManagedWarehouse
(orgID string)
controlplane/provisioning/store.go:80
Method
GetManagedWarehouse
(orgID string)
controlplane/provisioning/api_test.go:56
Method
GetManagedWarehouse
(orgID string)
controlplane/admin/api_test.go:153
Method
GetOrg
(orgID string)
controlplane/provisioning/store.go:64
Method
GetOrg
(orgID string)
controlplane/provisioning/api_test.go:33
Method
GetOrg
(name string)
controlplane/admin/api_test.go:53
Method
GetQuery
()
duckdbservice/flight_handler_test.go:76
Method
GetQuery
()
duckdbservice/flight_handler_test.go:132
Method
GetRequestMetadata
(ctx context.Context, uri ...string)
controlplane/worker_mgr.go:1380
Method
GetRequestMetadata
(ctx context.Context, uri ...string)
controlplane/worker_rpc_security.go:188
Method
GetRequestMetadata
(ctx context.Context, uri ...string)
server/flightclient/flight_executor.go:867
Method
GetSession
(sessionToken string)
controlplane/flight_ingress.go:203
Method
GetSession
GetSession returns a session by token.
duckdbservice/service.go:1198
Method
GetSessionOptions
(ctx context.Context, request *flight.GetSessionOptionsRequest, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:424
Method
GetTransactionId
()
duckdbservice/flight_handler_test.go:55
Method
GetTransactionId
()
duckdbservice/flight_handler_test.go:80
Method
GetTransactionId
()
duckdbservice/flight_handler_test.go:136
Method
GetUser
(orgID, username string)
controlplane/admin/api_test.go:115
Method
Handle
(_ context.Context, r slog.Record)
internal/cliboot/logging.go:36
Method
Handle
(ctx context.Context, r slog.Record)
internal/cliboot/logging.go:117
Method
Handle
(_ context.Context, r slog.Record)
cmd/cache-proxy/proxy_test.go:41
Method
Handle
(_ context.Context, r slog.Record)
server/pg_catalog_airgap_test.go:20
Function
Header
({ id, actions }: { id: string; actions?: React.ReactNode })
controlplane/admin/ui/src/pages/OrgDetail.tsx:315
Method
Header
()
controlplane/session_mgr_drain_test.go:488
Method
HeadroomSpawnStats
(_, _, _ time.Duration)
controlplane/headroom_test.go:57
Method
HeadroomSpawnStats
HeadroomSpawnStats aggregates the spawn log for the headroom controller. PeakBurst groups spawns of the last burstWindow into fixed bucket-sized bins;
controlplane/configstore/spawn_log.go:38
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/org_router_test.go:44
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/org_router_test.go:225
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/org_reserved_pool.go:366
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/session_mgr_drain_test.go:48
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/session_mgr_drain_test.go:87
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/session_mgr_drain_test.go:277
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/session_mgr_drain_test.go:313
Method
HealthCheckLoop
HealthCheckLoop periodically checks worker health.
controlplane/k8s_pool_lifecycle.go:324
Method
HealthCheckLoop
(ctx context.Context, interval time.Duration, onCrash WorkerCrashHandler, onProgress ProgressHandler)
controlplane/session_mgr_test.go:54
Function
IdentityProvider
({ children }: { children: ReactNode })
controlplane/admin/ui/src/components/IdentityProvider.tsx:24
Function
Impersonate
()
controlplane/admin/ui/src/pages/Impersonate.tsx:25
Method
Impersonate
(c *gin.Context, org, username, sql string, allowWrite bool)
controlplane/admin_providers.go:258
Method
InvalidateQueryLogEntryWriter
(orgID string, writer QueryLogEntryWriter)
server/querylog_kafka_writer_test.go:104
Method
InvalidateQueryLogEntryWriter
(orgID string, writer QueryLogEntryWriter)
server/querylog_kafka_writer.go:892
Method
IsDatabaseNameAvailable
(name string)
controlplane/provisioning/store.go:221
Method
IsDatabaseNameAvailable
(name string)
controlplane/provisioning/api_test.go:156
Method
IsMigratingForOrg
(_ string)
controlplane/flight_ingress_test.go:21
Method
IsMigratingForOrg
(_ string)
controlplane/flight_ingress_test.go:38
Method
IsMigratingForOrg
(orgID string)
controlplane/multitenant.go:53
Method
IsOrgUserPassthrough
(string, string)
controlplane/sni_kubernetes_test.go:150
Method
IsOrgUserPassthrough
IsOrgUserPassthrough reports whether the given (org, user) is configured to bypass the PostgreSQL compatibility layer. Returns false for unknown users
controlplane/configstore/store.go:532
Method
JdbcCompatTest
()
scripts/client-compat/clients/jdbc/src/main/java/com/duckgres/compat/JdbcCompatTest.java:30
Function
JsonValue
({ value, className }: { value: unknown; className?: string })
controlplane/admin/ui/src/components/JsonView.tsx:11
Method
KillSession
KillSession tears down the session (and its exclusive worker) for pid by locating the owning org stack.
controlplane/admin_providers.go:170
Method
KillSession
(int32)
controlplane/admin/live_aggregate_test.go:46
Method
KillSessionByWorkerID
KillSessionByWorkerID tears down the session bound to the cluster-unique worker id on this replica, returning the count destroyed (0 or 1 — one sessio
controlplane/admin_providers.go:185
Method
KillSessionByWorkerID
(wid int)
controlplane/admin/live_aggregate_test.go:47
Method
KillUserSessions
KillUserSessions tears down every active session for (orgID, username) owned by THIS control-plane replica and returns the count destroyed. It is the
controlplane/admin_providers.go:230
Method
KillUserSessions
(org, user string)
controlplane/admin/live_aggregate_test.go:51
Method
LastInsertId
()
tests/perf/publisher/publisher_test.go:62
Method
LastInsertId
()
server/sessionmeta/sessionmeta_test.go:77
Method
LastProfilingOutput
()
server/executor.go:74
Method
LastProfilingOutput
()
server/executor.go:135
Method
LastProfilingOutput
()
server/profiling_noop_test.go:7
Method
LastProfilingOutput
()
server/profiling_test.go:191
Method
LastProfilingOutput
()
server/sessionmeta/sessionmeta_test.go:45
Method
LastProfilingOutput
()
server/sessionmeta/sessionmeta_test.go:78
Method
LastProfilingOutput
()
server/flightclient/flight_executor.go:472
Method
ListActions
(ctx context.Context, in *flight.Empty, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:464
Method
ListCRNames
ListCRNames returns the names of every Duckling CR in the namespace. Used by the admin drift finder to detect orphan CRs (CRs with no warehouse row).
controlplane/provisioner/k8s_client.go:239
Method
ListExpiredHotIdleSnapshots
ListExpiredHotIdleSnapshots is the lifecycle-typed counterpart used by the migrated janitor hot-idle path. The mock wraps the same underlying slice th
controlplane/janitor_test.go:96
Method
ListExpiredHotIdleSnapshots
ListExpiredHotIdleSnapshots is the snapshot-typed variant of ListExpiredHotIdleWorkers used by the janitor's hot-idle TTL reaper.
controlplane/configstore/lifecycle_store.go:36
Method
ListExpiredHotIdleSnapshotsForCP
(cpID string, now time.Time, ttl time.Duration)
controlplane/per_cp_hot_idle_reaper_test.go:18
Method
ListExpiredHotIdleSnapshotsForCP
ListExpiredHotIdleSnapshotsForCP is the snapshot-typed, owner-scoped variant of ListExpiredHotIdleWorkers used by the per-CP fallback reaper.
controlplane/configstore/lifecycle_store.go:46
Method
ListFlights
(ctx context.Context, in *flight.Criteria, opts ...grpc.CallOption)
controlplane/session_mgr_drain_test.go:436
Method
ListOrgUserSecrets
ListOrgUserSecrets returns all sealed secrets for one user, ordered by creation time so replay order is deterministic.
controlplane/configstore/user_secrets.go:74
Method
ListOrgs
()
controlplane/admin/api.go:162
Method
ListOrgs
()
controlplane/admin/api_test.go:35
Method
ListOrphanedWorkerSnapshots
ListOrphanedWorkerSnapshots is the lifecycle-typed counterpart used by the migrated janitor orphan path. The mock wraps the same orphan slice through
controlplane/janitor_test.go:57
Method
ListOrphanedWorkerSnapshots
(before time.Time)
controlplane/per_cp_hot_idle_reaper_test.go:27
Method
ListOrphanedWorkerSnapshots
ListOrphanedWorkerSnapshots is the snapshot-typed variant of ListOrphanedWorkers used by the orphan-cleanup path. Each returned snapshot binds the obs
controlplane/configstore/lifecycle_store.go:26
Method
ListStuckWorkerSnapshots
(spawningBefore, activatingBefore time.Time)
controlplane/janitor_test.go:70
Method
ListStuckWorkerSnapshots
ListStuckWorkerSnapshots is the snapshot-typed variant of ListStuckWorkers used by the janitor's stuck-spawn/activate reaper.
controlplane/configstore/lifecycle_store.go:56
Method
ListUsers
()
controlplane/admin/api.go:257
Method
ListUsers
()
controlplane/admin/api_test.go:96
Method
ListWarehousesByStates
(states []ManagedWarehouseProvisioningState)
controlplane/configstore/store.go:665
Method
ListWarehousesByStates
(states []configstore.ManagedWarehouseProvisioningState)
controlplane/provisioner/controller_test.go:31
Method
ListWorkerLifecycleStats
ListWorkerLifecycleStats returns grouped cluster-wide active worker lifecycle state by image and tenant binding for Prometheus observability, with sum
controlplane/configstore/store.go:829
← previous
next →
3,301–3,400 of 5,901, ranked by callers