MCPcopy Create free account

hub / github.com/bex-co/bex / types & classes

Types & classes84 in github.com/bex-co/bex

↓ 4 callersTypeAliasapiError
operator/internal/api/server.go:85
↓ 1 callersStructrenderMetricValue
operator/internal/api/render.go:201
Class
dashboard/src/test/setup.ts:19
StructAPIKey
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
InterfaceAPIKeyStore
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
StructApp
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:
operator/api/v1alpha1/app_types.go:180
StructAppList
+kubebuilder:object:root=true AppList contains a list of App
operator/api/v1alpha1/app_types.go:199
TypeAliasAppPhase
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
StructAppReconciler
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
StructAppSpec
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
StructAppStatus
AppStatus is the observed state of a App.
operator/api/v1alpha1/app_types.go:132
StructAppView
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
InterfaceCodeBlockProps
dashboard/src/common/components/code-block.tsx:6
InterfaceComboboxOption
dashboard/src/common/components/ui/combobox.tsx:17
InterfaceComboboxProps
dashboard/src/common/components/ui/combobox.tsx:23
InterfaceConfig
dashboard/src/config/config.ts:1
StructCore
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
StructCreatePostgresRequest
CreatePostgresRequest is the POST /v1/postgres body (bex subset of Render's).
operator/internal/api/postgres.go:71
StructDatabase
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase` +kubebuilder:
operator/api/v1alpha1/database_types.go:109
StructDatabaseList
+kubebuilder:object:root=true DatabaseList contains a list of Database.
operator/api/v1alpha1/database_types.go:123
TypeAliasDatabasePhase
DatabasePhase mirrors the provisioning lifecycle. +kubebuilder:validation:Enum=Pending;Provisioning;Ready;Failed
operator/api/v1alpha1/database_types.go:55
StructDatabaseReconciler
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
StructDatabaseSpec
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
StructDatabaseStatus
DatabaseStatus is the observed state of a Database.
operator/api/v1alpha1/database_types.go:65
InterfaceDatePickerProps
dashboard/src/common/components/ui/date-picker.tsx:43
InterfaceEmptyStateProps
dashboard/src/common/components/empty-state.tsx:6
StructIdentity
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
InterfaceImportMeta
dashboard/src/vite-env.d.ts:15
InterfaceImportMetaEnv
dashboard/src/vite-env.d.ts:4
StructLogEntry
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
StructLogQuery
LogQuery is the resolved filter set for QueryLogs / FollowLogs.
operator/internal/api/logs.go:61
InterfaceMarkdownRendererProps
dashboard/src/common/components/markdown-renderer.tsx:10
StructMetricPoint
MetricPoint is one (timestamp, value) sample of a series.
operator/internal/api/metrics.go:74
StructMetricQuery
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
StructMetricSeries
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
InterfaceMockQueryResult
dashboard/src/test/mocks/apollo.ts:11
StructOpenSandbox
OpenSandbox is a client for one OpenSandbox server.
operator/internal/runtime/opensandbox.go:32
InterfacePageHeaderProps
dashboard/src/common/components/page-header/index.tsx:4
FuncTypePodLogSource
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
FuncTypePodLogStream
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
StructPodResourceUsage
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
StructPostgresConnectionInfo
PostgresConnectionInfo mirrors Render's postgresConnectionInfo schema.
operator/internal/api/postgres.go:60
StructPostgresView
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
InterfaceRegister
dashboard/src/router.tsx:36
StructRequestMetricsRequest
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
FuncTypeRequestMetricsSource
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
ClassResizeObserver
dashboard/src/test/setup.ts:19
FuncTypeResourceMetricsSource
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
StructServer
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
StructTarget
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
InterfaceUseCookieStorageStateOptions
dashboard/src/common/hooks/use-cookie-storage-state/use-cookie-storage-state.ts:4
InterfaceUseLocalStorageStateOptions
dashboard/src/common/hooks/use-local-storage-state.ts:6
InterfaceUseSessionStorageStateOptions
dashboard/src/common/hooks/use-session-storage-state.ts:6
InterfaceUserAvatarButtonProps
dashboard/src/common/components/user-nav.tsx:20
InterfaceWindow
dashboard/src/vite-env.d.ts:19
StructcacheEntry
operator/internal/api/auth.go:77
StructcoreCtxKey
operator/internal/api/graphql.go:378
StructcreateAPIKeyArgs
operator/internal/api/mcp.go:211
StructctxKey
operator/internal/api/auth.go:48
StructdbPlan
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
StructfakeKeyStore
fakeKeyStore is the in-memory APIKeyStore for adapter tests.
operator/internal/api/apikeys_test.go:30
StructgetMetricsArgs
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
StructgetMetricsResult
operator/internal/api/mcp.go:82
StructhydraAPIKeys
hydraAPIKeys implements APIKeyStore over Hydra's admin API.
operator/internal/api/apikeys.go:81
StructhydraClient
hydraClient is the subset of Hydra's OAuth2 client object bex reads/writes.
operator/internal/api/apikeys.go:96
StructlistAPIKeysResult
operator/internal/api/mcp.go:215
StructlistLogsArgs
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
StructlistLogsResult
operator/internal/api/mcp.go:63
StructlistServicesResult
listServicesResult wraps the array — MCP tool outputs must be JSON objects.
operator/internal/api/mcp.go:50
StructoryAuth
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
StructpodMetricsList
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
StructpromRangeResponse
promRangeResponse is the subset of Prometheus's query_range result bex reads.
operator/internal/api/metricsource.go:236
StructrenderLabel
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
StructrenderLog
renderLog is Render's public-API log object (id/message/timestamp/labels all required by the spec).
operator/internal/api/render.go:130
StructrenderLogList
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
StructrenderMetricLabel
--- 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
StructrenderMetricSeries
renderMetricSeries is one element of a Render metrics response array.
operator/internal/api/render.go:207
StructrenderService
renderService mirrors components.schemas.service (the fields bex has a real equivalent for) plus bex-native extras.
operator/internal/api/render.go:44
StructrevokeAPIKeyArgs
operator/internal/api/mcp.go:219
StructrevokeAPIKeyResult
operator/internal/api/mcp.go:223
Structsandbox
operator/internal/runtime/opensandbox.go:56
StructserviceArgs
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
StructserviceWithCursor
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
StructtokenRequest
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