Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bex-co/bex
/ types & classes
Types & classes
84 in github.com/bex-co/bex
⨍
Functions
549
◇
Types & classes
84
↓ 4 callers
TypeAlias
apiError
operator/internal/api/server.go:85
↓ 1 callers
Struct
renderMetricValue
operator/internal/api/render.go:201
Class
dashboard/src/test/setup.ts:19
Struct
APIKey
APIKey is a machine credential: an OAuth2 client (client_credentials grant) in the platform's Hydra (docs/auth.md). The caller exchanges id+secret for
operator/internal/api/apikeys.go:34
Interface
APIKeyStore
APIKeyStore is Core's seam to the OAuth2 client registry — Hydra's admin API in production (NewHydraAPIKeys), a fake in tests. Core depends on this na
operator/internal/api/apikeys.go:45
Struct
App
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:
operator/api/v1alpha1/app_types.go:180
Struct
AppList
+kubebuilder:object:root=true AppList contains a list of App
operator/api/v1alpha1/app_types.go:199
TypeAlias
AppPhase
AppPhase mirrors the lifecycle state machine (211.09 §Agent Lifecycle). +kubebuilder:validation:Enum=Pending;Building;Deploying;Running;Hibernated;Fai
operator/api/v1alpha1/app_types.go:120
Struct
AppReconciler
AppReconciler reconciles an App: resolve an image (prebuilt or built from git) and run it as a revision on the selected runtime, recording status.
operator/internal/controller/app_controller.go:61
Struct
AppSpec
EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN! NOTE: json tags are required. Any new fields you add must have json tags for the fields to be se
operator/api/v1alpha1/app_types.go:28
Struct
AppStatus
AppStatus is the observed state of a App.
operator/api/v1alpha1/app_types.go:132
Struct
AppView
AppView is the neutral, bex-native projection of an App — spec intent + observed status. Core returns this; each adapter maps it to its own wire forma
operator/internal/api/core.go:82
Interface
CodeBlockProps
dashboard/src/common/components/code-block.tsx:6
Interface
ComboboxOption
dashboard/src/common/components/ui/combobox.tsx:17
Interface
ComboboxProps
dashboard/src/common/components/ui/combobox.tsx:23
Interface
Config
dashboard/src/config/config.ts:1
Struct
Core
Core is the shared domain layer. Every product action lives here exactly once; REST and GraphQL are presentation only.
operator/internal/api/core.go:112
Struct
CreatePostgresRequest
CreatePostgresRequest is the POST /v1/postgres body (bex subset of Render's).
operator/internal/api/postgres.go:71
Struct
Database
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:
operator/api/v1alpha1/database_types.go:109
Struct
DatabaseList
+kubebuilder:object:root=true DatabaseList contains a list of Database.
operator/api/v1alpha1/database_types.go:123
TypeAlias
DatabasePhase
DatabasePhase mirrors the provisioning lifecycle. +kubebuilder:validation:Enum=Pending;Provisioning;Ready;Failed
operator/api/v1alpha1/database_types.go:55
Struct
DatabaseReconciler
DatabaseReconciler projects a Database into a CloudNativePG Cluster and surfaces the connection info. Optionally exposes an external SNI endpoint via
operator/internal/controller/database_controller.go:134
Struct
DatabaseSpec
DatabaseSpec is the desired state of a managed PostgreSQL — the Render-style "add a Postgres" unit. The operator projects it to a CloudNativePG Cluste
operator/api/v1alpha1/database_types.go:27
Struct
DatabaseStatus
DatabaseStatus is the observed state of a Database.
operator/api/v1alpha1/database_types.go:65
Interface
DatePickerProps
dashboard/src/common/components/ui/date-picker.tsx:43
Interface
EmptyStateProps
dashboard/src/common/components/empty-state.tsx:6
Struct
Identity
Identity is the authenticated caller: an OAuth2 client (API key) validated by Hydra introspection or a Kratos identity validated by its session. Subje
operator/internal/api/auth.go:43
Interface
ImportMeta
dashboard/src/vite-env.d.ts:15
Interface
ImportMetaEnv
dashboard/src/vite-env.d.ts:4
Struct
LogEntry
LogEntry is one log line in Render's log shape: a timestamp, the message, and a label set. Render tags every entry with labels (instance/type/...); be
operator/internal/api/core.go:104
Struct
LogQuery
LogQuery is the resolved filter set for QueryLogs / FollowLogs.
operator/internal/api/logs.go:61
Interface
MarkdownRendererProps
dashboard/src/common/components/markdown-renderer.tsx:10
Struct
MetricPoint
MetricPoint is one (timestamp, value) sample of a series.
operator/internal/api/metrics.go:74
Struct
MetricQuery
MetricQuery is the resolved request for the Metrics verb, shared by every adapter. Metric selects which series to return; the rest are filters/options
operator/internal/api/metrics.go:91
Struct
MetricSeries
MetricSeries is one labeled time-series — Render's metrics shape. Labels identify the series (e.g. instance, resource, status); Unit names the value's
operator/internal/api/metrics.go:82
Interface
MockQueryResult
dashboard/src/test/mocks/apollo.ts:11
Struct
OpenSandbox
OpenSandbox is a client for one OpenSandbox server.
operator/internal/runtime/opensandbox.go:32
Interface
PageHeaderProps
dashboard/src/common/components/page-header/index.tsx:4
FuncType
PodLogSource
PodLogSource fetches the raw (timestamped) log stream for one pod container. Core depends on this narrow function instead of a full client-go clientse
operator/internal/api/core.go:99
FuncType
PodLogStream
PodLogStream streams a pod container's logs live (Follow:true) until ctx is cancelled. It is PodLogSource's tail-follow sibling — kept separate so Cor
operator/internal/api/logs.go:58
Struct
PodResourceUsage
PodResourceUsage is one pod's current CPU/memory usage — a metrics-server snapshot. CPUCores is fractional vCPU, MemoryBytes is bytes; Timestamp is th
operator/internal/api/metrics.go:123
Struct
PostgresConnectionInfo
PostgresConnectionInfo mirrors Render's postgresConnectionInfo schema.
operator/internal/api/postgres.go:60
Struct
PostgresView
postgres.go extends Core with managed-Postgres methods over the Database CR, mirroring Render's /v1/postgres API. Same one-Core design: REST and Graph
operator/internal/api/postgres.go:40
Interface
Register
dashboard/src/router.tsx:36
Struct
RequestMetricsRequest
RequestMetricsRequest is the backend-neutral request-metric ask handed to a RequestMetricsSource. The source (Prometheus over Traefik) owns the query
operator/internal/api/metrics.go:141
FuncType
RequestMetricsSource
RequestMetricsSource returns request time-series for an App from the ingress metrics backend (Traefik scraped by Prometheus). nil => request metrics r
operator/internal/api/metrics.go:157
Class
ResizeObserver
dashboard/src/test/setup.ts:19
FuncType
ResourceMetricsSource
ResourceMetricsSource returns the current per-pod usage for an App's pods. Core depends on this narrow function instead of the metrics-server clientse
operator/internal/api/metrics.go:135
Struct
Server
Server wires the adapters (REST + GraphQL + MCP) over one Core and one auth gate. All surfaces mount on the same mux, share the auth middleware, and c
operator/internal/api/server.go:33
Struct
Target
Target is how the edge reaches a sandbox: host:port plus a path prefix (e.g. /proxy/3000 for OpenSandbox's per-sandbox endpoint).
operator/internal/runtime/opensandbox.go:21
Interface
UseCookieStorageStateOptions
dashboard/src/common/hooks/use-cookie-storage-state/use-cookie-storage-state.ts:4
Interface
UseLocalStorageStateOptions
dashboard/src/common/hooks/use-local-storage-state.ts:6
Interface
UseSessionStorageStateOptions
dashboard/src/common/hooks/use-session-storage-state.ts:6
Interface
UserAvatarButtonProps
dashboard/src/common/components/user-nav.tsx:20
Interface
Window
dashboard/src/vite-env.d.ts:19
Struct
cacheEntry
operator/internal/api/auth.go:77
Struct
coreCtxKey
operator/internal/api/graphql.go:378
Struct
createAPIKeyArgs
operator/internal/api/mcp.go:211
Struct
ctxKey
operator/internal/api/auth.go:48
Struct
dbPlan
dbPlan is one entry in the managed-Postgres plan catalog: a fixed allocation, exactly like the compute tier ladder. MVP plans are single-instance and
operator/internal/controller/database_controller.go:43
Struct
fakeKeyStore
fakeKeyStore is the in-memory APIKeyStore for adapter tests.
operator/internal/api/apikeys_test.go:30
Struct
getMetricsArgs
getMetricsArgs mirrors Render's get_metrics: a required `resource` array of service ids and `metricTypes` (bex metric ids: cpu / memory / instance_cou
operator/internal/api/mcp.go:72
Struct
getMetricsResult
operator/internal/api/mcp.go:82
Struct
hydraAPIKeys
hydraAPIKeys implements APIKeyStore over Hydra's admin API.
operator/internal/api/apikeys.go:81
Struct
hydraClient
hydraClient is the subset of Hydra's OAuth2 client object bex reads/writes.
operator/internal/api/apikeys.go:96
Struct
listAPIKeysResult
operator/internal/api/mcp.go:215
Struct
listLogsArgs
listLogsArgs mirrors Render's list_logs: a required `resource` array of service ids and an optional `limit`. bex omits Render's structured-log filters
operator/internal/api/mcp.go:58
Struct
listLogsResult
operator/internal/api/mcp.go:63
Struct
listServicesResult
listServicesResult wraps the array — MCP tool outputs must be JSON objects.
operator/internal/api/mcp.go:50
Struct
oryAuth
oryAuth validates real credentials against the Ory substrate (docs/auth.md): a bearer token is introspected at Hydra's admin endpoint; otherwise an Or
operator/internal/api/auth.go:63
Struct
podMetricsList
podMetricsList is the subset of metrics.k8s.io/v1beta1 PodMetricsList bex reads: per-pod, per-container usage as Quantity strings ("12m" CPU, "34Mi" m
operator/internal/api/metricsource.go:66
Struct
promRangeResponse
promRangeResponse is the subset of Prometheus's query_range result bex reads.
operator/internal/api/metricsource.go:236
Struct
renderLabel
renderLabel is Render's logLabel ({name, value}); the REST logs API returns labels as an ordered array rather than Core's map.
operator/internal/api/render.go:123
Struct
renderLog
renderLog is Render's public-API log object (id/message/timestamp/labels all required by the spec).
operator/internal/api/render.go:130
Struct
renderLogList
renderLogList is the logs envelope; Render marks all four fields required, so all four keys are always present. The cursors bound the returned batch:
operator/internal/api/render.go:140
Struct
renderMetricLabel
--- Metrics (Render metrics-API shape) --- Render's metrics endpoints return an array of time-series, each with a `labels` array ({field, value}), a
operator/internal/api/render.go:196
Struct
renderMetricSeries
renderMetricSeries is one element of a Render metrics response array.
operator/internal/api/render.go:207
Struct
renderService
renderService mirrors components.schemas.service (the fields bex has a real equivalent for) plus bex-native extras.
operator/internal/api/render.go:44
Struct
revokeAPIKeyArgs
operator/internal/api/mcp.go:219
Struct
revokeAPIKeyResult
operator/internal/api/mcp.go:223
Struct
sandbox
operator/internal/runtime/opensandbox.go:56
Struct
serviceArgs
serviceArgs is the shared single-service argument. Render's tools key on `serviceId` (see get_service / list_deploys); for bex that id is the App name
operator/internal/api/mcp.go:45
Struct
serviceWithCursor
serviceWithCursor is components.schemas.serviceWithCursor — the list-item envelope. Render's GET /v1/services returns an array of these.
operator/internal/api/render.go:62
Struct
tokenRequest
tokenRequest is a simplified representation of the Kubernetes TokenRequest API response, containing only the token field that we need to extract.
operator/test/e2e/e2e_test.go:335