Documentation
¶
Overview ¶
Package inspection collects feature-owned declarations and configuration provenance. It never resolves services, starts kernels or reads setting values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command supplies an explicit metadata-only CLI declaration. Parse and run this declaration before application Build/Run when inspecting without service startup. The pure collector can capture the final command registry, avoiding a second declaration list. It must not construct or start services.
Types ¶
type Report ¶
type Report struct {
Assembly foundation.Inspection `json:"assembly"`
Routes []foundryhttp.RouteInfo `json:"routes"`
Jobs []jobs.Description `json:"jobs"`
Schedules []schedule.Description `json:"schedules"`
Commands []cli.Description `json:"commands"`
Configuration []config.Entry `json:"configuration"`
Contracts *manifest.Document `json:"contracts,omitempty"`
Extensions []slots.Description `json:"extensions"`
}
type Sources ¶
type Sources struct {
Builder *foundation.Builder
HTTP *foundryhttp.Router
Jobs *jobs.Registry
Dispatcher *jobs.Dispatcher
Schedules *schedule.Registry
Commands *cli.Registry
Contracts *manifest.Manifest
Configuration []config.Report
// Models lists generated model extension declarations, such as a model
// package's FoundryExtensions().
Models []slots.Declaration
}
Sources borrows actual assembled registries or pure declarations. Builder inspection runs repeatable Register callbacks, never constructors or Boot. Supply either a job registry or its already assembled dispatcher, not both.