Documentation
¶
Index ¶
Constants ¶
View Source
const ( ComponentUsageAuthority = "usage-authority" ComponentConcurrency = "concurrency" ComponentMetering = "metering" ComponentBilling = "billing" )
Variables ¶
This section is empty.
Functions ¶
func MigrateComponents ¶
MigrateComponents runs DDL migrations for the named dual-plane components on an already-open admin handle. Verification stays with the caller (CLI verify pass or runtime OpenStore readiness).
func ParseComponents ¶
func PostgresComponents ¶
func SwapLookupPostgresComponentForTest ¶
func SwapLookupPostgresComponentForTest(fn func(component string) (func(context.Context, *bun.DB) error, func(context.Context, *bun.DB) error, error)) (restore func())
SwapLookupPostgresComponentForTest replaces component lookup for tests outside this package. Call the returned restore from t.Cleanup.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.