Documentation
¶
Overview ¶
Package datatugext exposes the DataTug extension config for the platform host to compose. The host supplies the adapter for the domain's IDGenerator port, which keeps the domain free of any platform or third-party id library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var SpaceProfile = extension.SpaceRegistrationProfile{SpaceType: coretypes.SpaceTypeGroup}
SpaceProfile is DataTug's single Space registration profile: a cloud project's dedicated Space is a member-managed group (decision 0006), and a create request cannot name another type. Business keeps creating company Spaces through checkout.
Functions ¶
func Extension ¶
func Extension(ids facade4datatug.IDGenerator) extension.Config
Extension returns the DataTug extension config: its module identity, its HTTP routes, and the host-supplied IDGenerator adapter.
func ExtensionWithOptions ¶ added in v0.10.0
func ExtensionWithOptions(ids facade4datatug.IDGenerator, options api4datatug.RouteOptions) extension.Config
ExtensionWithOptions is a separate, additive composition surface. Existing hosts using ExtensionWithPlan keep shared creation unregistered.
func ExtensionWithPlan ¶ added in v0.4.0
func ExtensionWithPlan(ids facade4datatug.IDGenerator, plan api4datatug.PlanRouteOptions) extension.Config
ExtensionWithPlan binds the host's trusted authentication and plan adapters.
Types ¶
This section is empty.