Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Annotation is the Cobra command annotation key used to link commands to subsystems.
Annotation = "ocm.software/subsystem"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a central container for all registered subsystems.
func NewRegistryFromPluginManager ¶
func NewRegistryFromPluginManager(pm *manager.PluginManager) (*Registry, error)
NewRegistryFromPluginManager creates a new subsystem registry populated with all core subsystems and registers the plugin manager's schemes with each subsystem.
type Subsystem ¶
type Subsystem struct {
// Name is a computer-readable ID (e.g., "ocm-repository").
Name string
// Description is a high-level summary of the subsystem's purpose.
Description string
// Scheme is the runtime scheme providing the types for this subsystem.
Scheme *runtime.Scheme
}
Subsystem represents a logical grouping of OCM types with associated documentation.
func NewSubsystem ¶
Click to show internal directories.
Click to hide internal directories.