Documentation
¶
Overview ¶
Package factoryprofile constructs the exact in-process runtime profiles published by standard element packages. Keeping this in one internal helper ensures descriptor registration, config discovery, and executable assembly use the same reference and artifact rules.
Index ¶
Constants ¶
const InProcessTransport = "in-process"
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry *graphruntime.Registry, entries ...Entry) error
Register publishes a complete exact profile for every supplied entry.
func Registrations ¶
func Registrations(entries ...Entry) ([]graphruntime.FactoryRegistration, error)
Registrations validates and snapshots exact profiles without mounting a factory or acquiring a provider, device, secret, or other runtime resource.
Types ¶
type Entry ¶
type Entry struct {
Factory element.Factory
Artifact inspect.ArtifactIdentity
}
Entry couples a standard element factory with its existing executable artifact identity. A zero Artifact deliberately preserves the identity used by Registry.Register: descriptor name plus descriptor digest.