platform

package
v0.1.0-alpha.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package platform bootstraps deployment-level platform resources at server startup. Today that is the single, flag-gated platform project row (#605): when explicitly enabled, the server idempotently ensures the well-known platform project (domain.PlatformProjectID) exists. Disabled (the default) is a no-op, so no deployment gets a platform project created silently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(ctx context.Context, pool service.StatementPool, enabled bool) error

Ensure idempotently creates the platform project row when enabled. The row carries the well-known domain.PlatformProjectID; the server owns that id, so there is nothing for a caller to pass. Disabled (the default) is a no-op.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL