factoryprofile

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL