Versions in this module Expand all Collapse all v1 v1.6.0 May 27, 2026 Changes in this version + var ErrComponentManagerFactoryNotRegistered = errors.New("component manager factory is not registered") + var ErrComponentManagerImplementationNameEmpty = errors.New("component manager implementation name is empty") + var ErrDuplicateDescriptor = errors.New("duplicate component manager descriptor") + var ErrUnknownComponentManagerImplementation = errors.New("unknown component manager implementation") + var ErrUnknownComponentType = errors.New("unknown component type") + type Catalog struct + func New(descriptors []Descriptor) (Catalog, error) + func (c Catalog) Get(componentType devicetypes.ComponentType, implementation string) (Descriptor, bool) + func (c Catalog) Implementations(componentType devicetypes.ComponentType) []string + func (c Catalog) ListImplementations() map[devicetypes.ComponentType][]string + func (c Catalog) SelectedDescriptors(componentManagers map[devicetypes.ComponentType]string) ([]Descriptor, error) + type ComponentManagerFactoryNotRegisteredError struct + ComponentType devicetypes.ComponentType + func (e ComponentManagerFactoryNotRegisteredError) Error() string + func (e ComponentManagerFactoryNotRegisteredError) Is(target error) bool + type ComponentManagerImplementationNameEmptyError struct + ComponentType devicetypes.ComponentType + func (e ComponentManagerImplementationNameEmptyError) Error() string + func (e ComponentManagerImplementationNameEmptyError) Is(target error) bool + type Descriptor struct + Capabilities capability.CapabilitySet + Implementation string + RequiredProviders []string + Type devicetypes.ComponentType + func (d Descriptor) Clone() Descriptor + func (d Descriptor) Equal(other Descriptor) bool + func (d Descriptor) Normalize() (Descriptor, error) + type DuplicateDescriptorError struct + ComponentType devicetypes.ComponentType + Implementation string + func (e DuplicateDescriptorError) Error() string + func (e DuplicateDescriptorError) Is(target error) bool + type UnknownComponentManagerImplementationError struct + Available []string + ComponentType devicetypes.ComponentType + Implementation string + RegisteredFor []devicetypes.ComponentType + func (e UnknownComponentManagerImplementationError) Error() string + func (e UnknownComponentManagerImplementationError) Is(target error) bool + type UnknownComponentTypeError struct + Name string + func (e UnknownComponentTypeError) Error() string + func (e UnknownComponentTypeError) Is(target error) bool