Documentation
¶
Index ¶
- func NewAPIHTTPClient() *http.Client
- func WithRequestEditor(ctx context.Context, editor api.RequestEditorFn) context.Context
- type CommunityPresentation
- type ManagedHost
- type OrganizationPage
- type ProjectPage
- type PublicPresentation
- type RoutePresentation
- type Router
- func (r *Router) RegisterRoutes(app *fiber.App, presentation RoutePresentation)
- func (r *Router) SetAllowPrivateDataSourceHosts(enabled bool)
- func (r *Router) SetApplicationURL(applicationURL string)
- func (r *Router) SetDocumentationURL(documentationURL string)
- func (r *Router) SetPublicAnalytics(destinations map[string]string)
- func (r *Router) SetPublicOrigins(publicOrigins []string)
- func (r *Router) SetSelfServiceRegistrationEnabled(enabled bool)
- func (r *Router) SetWorkspacePrivacyURL(value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIHTTPClient ¶
NewAPIHTTPClient builds the instrumented client required by a separately composed frontend presentation.
func WithRequestEditor ¶
WithRequestEditor adds distribution metadata to frontend API requests.
Types ¶
type CommunityPresentation ¶
type CommunityPresentation struct{}
CommunityPresentation is the explicit route presentation for Community builds.
func (CommunityPresentation) RegisterPublicRoutes ¶
func (CommunityPresentation) RegisterPublicRoutes(app *fiber.App, _ ManagedHost)
func (CommunityPresentation) RegisterWorkspaceRoutes ¶
func (CommunityPresentation) RegisterWorkspaceRoutes(fiber.Router, ManagedHost)
type ManagedHost ¶
type ManagedHost interface {
OrganizationPage(fiber.Ctx, string, slug.Slug) OrganizationPage
ProjectPage(fiber.Ctx, string, slug.Slug, slug.Slug) ProjectPage
RequestEditor(fiber.Ctx) func(context.Context, *http.Request) error
Render(fiber.Ctx, templ.Component) error
RedirectToLogin(fiber.Ctx, string) error
PublicPresentation(fiber.Ctx) PublicPresentation
APIBaseURL() string
}
ManagedHost is the narrow core frontend contract available to route presentations. It preserves core authentication, shell, rendering, and request-forwarding behavior.
type OrganizationPage ¶
type OrganizationPage struct {
Shell views.AuthenticatedShellData
CanDelete bool
}
OrganizationPage supplies the shell and permissions for a distribution-owned organization page.
type ProjectPage ¶
type ProjectPage struct {
Shell views.AuthenticatedShellData
CanUpdateProjects bool
}
ProjectPage is the core shell and authorization state required by a managed project page.
type PublicPresentation ¶
type PublicPresentation struct {
GA4MeasurementID string
PublicOrigin string
DocumentationURL string
ApplicationURL string
RegistrationEnabled bool
}
PublicPresentation is the configured public-page state made available to hosted routes.
type RoutePresentation ¶
type RoutePresentation interface {
RegisterPublicRoutes(*fiber.App, ManagedHost)
RegisterWorkspaceRoutes(fiber.Router, ManagedHost)
}
RoutePresentation supplies an explicit hosted or Community route set to the core frontend. The composition root must choose exactly one implementation.
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) RegisterRoutes ¶
func (r *Router) RegisterRoutes(app *fiber.App, presentation RoutePresentation)
func (*Router) SetAllowPrivateDataSourceHosts ¶
SetAllowPrivateDataSourceHosts controls private-host controls on data source forms.
func (*Router) SetApplicationURL ¶
SetApplicationURL keeps account links on the browser origin, including when the landing page uses another host.
func (*Router) SetDocumentationURL ¶
SetDocumentationURL configures the validated public documentation destination.
func (*Router) SetPublicAnalytics ¶
SetPublicAnalytics binds validated measurement IDs to their public origins.
func (*Router) SetPublicOrigins ¶
SetPublicOrigins configures the validated browser origins used for public URLs.
func (*Router) SetSelfServiceRegistrationEnabled ¶
SetSelfServiceRegistrationEnabled controls whether unauthenticated users can create accounts.
func (*Router) SetWorkspacePrivacyURL ¶
SetWorkspacePrivacyURL configures workspace privacy help.
Source Files
¶
- builder_conflict_diff.go
- builder_layout.go
- builder_proposal_review.go
- builder_state.go
- community_presentation.go
- dashboard.go
- environment_switcher.go
- handlers_account.go
- handlers_account_deletion.go
- handlers_alerts.go
- handlers_api_keys.go
- handlers_auth.go
- handlers_binding_setup.go
- handlers_bindings.go
- handlers_builder.go
- handlers_builder_mapping.go
- handlers_builder_runs.go
- handlers_builder_schema.go
- handlers_datasources.go
- handlers_definition_inspector.go
- handlers_environments.go
- handlers_events.go
- handlers_github_app.go
- handlers_member_invitations.go
- handlers_members.go
- handlers_notification_connections.go
- handlers_notifications.go
- handlers_odcs_contracts.go
- handlers_organization_deletion.go
- handlers_organizations.go
- handlers_pipeline_connections.go
- handlers_pipeline_creation.go
- handlers_pipeline_git.go
- handlers_pipeline_run_preview.go
- handlers_pipelines.go
- handlers_proof_configuration.go
- handlers_proof_receipts.go
- handlers_provider_connections.go
- handlers_queries.go
- handlers_roles.go
- handlers_run_completion.go
- handlers_run_progress.go
- handlers_run_recency.go
- handlers_runs.go
- handlers_schedules.go
- handlers_snowflake.go
- handlers_workspace.go
- handlers_workspace_connector.go
- http_acknowledgement.go
- managed_host.go
- observability.go
- openapi_drafts.go
- pagination.go
- permissions.go
- projects.go
- redirects.go
- request_editor.go
- security.go
- shell.go
- tracing.go
- ui.go
- unified_diff.go
- validation.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package dsparser provides connection URI parsers for each supported datasource type.
|
Package dsparser provides connection URI parsers for each supported datasource type. |
|
e2e
|
|
|
support/http-oauth-fixture
command
This fixture runs production SSR against synthetic API replies; it does not implement the OAuth protocol or persistence.
|
This fixture runs production SSR against synthetic API replies; it does not implement the OAuth protocol or persistence. |
|
support/pipeline-git-fixture
command
|
|
|
support/proof-receipt-fixture
command
|
|
|
Package runlineage projects an immutable pipeline version and persisted run facts into the read-only lineage shown on run detail surfaces.
|
Package runlineage projects an immutable pipeline version and persisted run facts into the read-only lineage shown on run detail surfaces. |
|
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |