Documentation
¶
Overview ¶
Package roleassets is the single application-layer reader of the build-owned role catalog document. Every consumer of the role documents goes through Load, so one read and one whole-catalog validation govern them all.
The document is a generation-time authority only. Defaults projects it onto the values mulgae init writes into a new project configuration; nothing here participates in resolving an already configured value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Defaults ¶
func Defaults(definitions []rolecatalog.Definition) (appconfig.RoleDefaults, error)
Defaults projects loaded definitions onto init's build-owned role defaults.
func Load ¶
func Load(ctx context.Context, catalog ports.ContractCatalog) ([]rolecatalog.Definition, error)
Load returns the fixed role definitions in domain.FixedRoleOrder() order, after parsing and whole-catalog validation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.